/**
Layout.
 */

/* a. General Styles
/* ------------------------------------------------------------------ */

:root {
    --accent-color: #2b6fb5;
    --accent-color-dim: #0067c8;
}

body {
    color: #000000;
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

section {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

section a:hover, section a:focus {
    color: var(--accent-color);
}

/* b. Header Styles
/* ------------------------------------------------------------------ */

header {
    position: relative;
    height: 800px;
    min-height: 500px;
    width: 100%;
    /* transform: translateZ(1px) scale(1.0); */
    background-position: center;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    text-align: center;
    /*blur: 100px;*/
    overflow: hidden;
}

/* vertically center banner section */

header:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

header .banner {
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    width: 98%;
    user-select: none;
}

header .banner .logo {
    width: 50%;
}

header .banner .logo-bg {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: #ffffffa6;
}

header .banner .logo img {
    max-width: 350px;
    width: 90%;
}

header .logo-btn {
    display: none;
}

header .header-contact {
    display: inline-block;
    margin-top: 2.5rem;
    background-color: #cccccc;
    padding: 0.5rem 2rem;
    color: #000000;
    border-radius: 1rem;
    transition: all 0.25s ease-in-out;
}

header .header-contact:hover {
    background-color: var(--accent-color);
}

header .banner-color-bg {
    -moz-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(15px);
    -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    background-color: rgba(53, 53, 53, 0.90);
    border-radius: 10px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.4);
}

/* scrolldown link */
header .scrolldown a {
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -29px;
    color: #ffffff;
    display: block;
    height: 42px;
    width: 42px;
    font-size: 42px;
    line-height: 42px;
    border-radius: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 20px #00000052;
}

header .scrolldown a:hover {
    color: var(--accent-color);
}

/* primary navigation
--------------------------------------------------------------------- */

#nav-wrap ul, #nav-wrap li, #nav-wrap a {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    user-select: none;
}

/* nav-wrap */

#nav-wrap {
    font: 15px 'opensans-bold', sans-serif;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 auto;
    z-index: 1000;
    position: fixed;
    left: 0;
    top: 0;
}

/* hide toggle button */

#nav-wrap > a.mobile-btn {
    display: none;
}

ul#nav {
    min-height: 52px;
    width: auto;
    /* center align the menu */
    text-align: center;
}

ul#nav li {
    position: relative;
    list-style: none;
    height: 52px;
    display: inline-block;
}

/* Links */
ul#nav li a {
    /* 8px padding top + 8px padding bottom + 32px line-height = 48px */
    display: inline-block;
    padding: 8px 13px;
    line-height: 36px;
    text-decoration: none;
    text-align: left;
    color: #000000;
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}

ul#nav li.current a:hover {
    text-shadow: inherit;
}

ul#nav li a:hover {
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    text-decoration-thickness: 0.125rem;
}

ul#nav li a:active {
    background-color: transparent !important;
}

ul#nav li.current a {
    color: var(--accent-color-dim);
}

/* c. About Section
/* ------------------------------------------------------------------ */

#about span {
    color: var(--accent-color);
    font-weight: bold;
}

#about .people {
    padding-top: 3rem;
    text-align: center;
}

#about .logo {
    text-align: center;
    padding-bottom: 2rem;
}

#about .logo img {
    max-width: 250px;
    width: 85%;
}

/* d. Services Section
/* ------------------------------------------------------------------ */

#services h2 {
    text-align: center;
    padding-bottom: 3rem;
}

#services .sub {
    border-bottom: 4px solid var(--accent-color);
    color: #000000 !important;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 3rem;
}

#services span {
    color: var(--accent-color);
}

#services .row + .row {
    padding-top: 5rem;
}

#services .four {
    text-align: left;
}

#services .eight {
    text-align: justify;
}

/* e. Contact Section
/* ------------------------------------------------------------------ */

#contact h1 {
    font: 18px/24px 'opensans-bold', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #EBEEEE;
}

#contact .contact + .contact {
    padding-top: 3rem;
}

#contact .contact .title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#contact .contact .description {
    margin-left: 1rem;
}

#contact .contact .title i {
    margin-right: 2rem;
}

#contact a:hover {
    text-decoration: underline !important;
}

/* i. Footer
/* ------------------------------------------------------------------ */

footer {
    padding-top: 48px;
    padding-bottom: 10px;
    color: #303030;
    font-size: 14px;
    text-align: center;
    position: relative;
    background: #ffffff;
    user-select: none;
}

footer a, footer a:visited {
    color: #525252;
}

footer a:hover, footer a:focus {
    color: #ffffff;
}

/* copyright */

footer .copyright {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

footer .copyright li {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 24px;
}

.ie footer .copyright li {
    display: inline;
}

footer .copyright li:before {
    content: "\2022";
    padding-left: 10px;
    padding-right: 10px;
    color: #095153;
}

footer .copyright li:before {
    content: "\2022";
    padding-left: 10px;
    padding-right: 10px;
    color: #095153;
}

footer .copyright li:first-child:before {
    display: none;
}

footer .row.bottom {
    font-size: 16px;
    padding-top: 60px;
}

footer a:hover {
    color: #11aab0;
}

footer .sociallinks {
    display: inline-block;
    float: left;
}

footer .langselector {
    display: inline-block;
    float: right;
    position: relative;
    text-align: right;
}

footer .langselector a {
    margin-right: 10px;
}

footer .langselector a.lang-bold {
    font-weight: bold;
}

footer .langselector a:last-child {
    margin-right: 0 !important;
}

footer .langselector i {
    font-size: 2rem;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

/* j. Custom
/* ------------------------------------------------------------------ */

/* Go To Top Button */
#go-top {
    position: absolute;
    top: -24px;
    left: 50%;
    margin-left: -30px;
}

#go-top a {
    text-decoration: none;
    border: 0 none;
    display: block;
    width: 60px;
    height: 60px;
    background-color: #525252;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #ffffff;
    font-size: 21px;
    line-height: 60px;
    border-radius: 100%;
}

#go-top a:hover {
    background-color: var(--accent-color);
}

/* Background scrollable image */

#background-page-header {
    z-index: -2;
    width: 100%;
    height: 100%;
    display: block !important;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
    background: #ffffff;
}

#background-page-header img {
    height: 100vh;
    max-width: 50%;
    margin-top: 8rem;
}

h1, h2 {
    text-transform: uppercase;
    user-select: none;
    margin-bottom: 3rem;
}

.no-cursor {
    cursor: default;
}

/* People */

.person {
    background-color: #00000047;
    border-radius: 2rem;
    color: #ffffff;
    display: inline-block;
    margin: 1rem;
    max-width: 200px;
    opacity: 0.9;
    padding: 1.5rem 1rem 1rem;
    vertical-align: top;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out, background-color 0.2s ease-in-out;
    text-align: center;
}

.person.highlight {
    background-color: rgba(255, 255, 255, 0.77);
    color: #000000;
}

.person:hover {
    background-color: rgba(0, 0, 0, 0.64);
    opacity: 1;
}

.person.highlight:hover {
    background-color: rgba(255, 255, 255, 0.90);
    opacity: 1;
}

.person .image img {
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    max-width: 150px;
}

.person .name {
    font-weight: 800;
}

.person .bio {
    font-size: 1.5rem;
    line-height: 2.25rem;
    margin-left: 5%;
    padding-top: 1rem;
    text-align: center;
    width: 90%;
}