:root {
    /* Colors */
    --brand-primary: #00aada;
    --brand-dark: #006faa;
    --brand-extra-dark: #052937;
    --text: #334652;
    --gray: #97aeb7;
    --light-gray: #e6ecee;

    /* Sizing */
    --nav-height: 60px;

    /* Fonts */
    --font-primary: 'Rubik', sans-serif;

    /* Box shadows */
    --box-shadow: 0px 3px 6px 0px rgba(42,44,56,0.2);
}

html {
    margin: 0;
    padding: 0;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text);
}
a {
    color: var(--brand-primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
p, li {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.875rem;
    font-weight: 400;
}
li {
    margin-bottom: 1rem;
}
p.big-text {
    font-size: 1.375rem;
    line-height: 2.25rem;
}
h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--brand-dark);
    text-align: center;
}
h1 {
    margin: 0 auto 1.875rem;
    font-size: 2.625rem;
    line-height: 3rem;
    color: #fff;
    text-align: left;
}
h2 {
    font-size: 2.25rem;
}
h3 {
    font-size: 1.625rem;
    color: var(--text);
    text-align: left;
}
.text-big {
    font-size: 1.125rem;
}

/* Nav */
#navbar {
    display: flex;
    align-items: center;
    box-sizing: content-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0px 2px 4px 0px rgba(42,44,56,0.40);
    z-index: 1;
    transition: top 0.2s ease-in;
}
#navbar .content {
    display: flex;
    align-items: center;
    height: var(--nav-height);
}
#navbar img {
    height: calc(var(--nav-height) - 16px);
}
.nav {
    display: flex;
    align-items: center;
    gap: 45px;
}
.nav a {
    display: flex;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-dark);
    transition: color 0.2s ease-in;
}
.nav a:hover {
    color: var(--brand-primary);
    transition: color 0.2s ease-in;
    text-decoration: none;
}
.main {
    min-height: calc(100vh - 140px);
}
.content {
    width: calc(100% - 2.5rem);
    max-width: 1200px;
    min-width: 280px;
    margin: auto;
}
.section {
    padding: 5rem 0 6.25rem 0;
}
.spotlight {
    background: radial-gradient(circle at center 200%, var(--text-light), var(--brand-extra-dark));
    color: #fff;
}

/* Footer */
.footer {
    padding: 2.375rem 0;
    background: var(--brand-extra-dark);
    color: var(--gray);
}
.footer .flex-col {
    min-width: 250px;
}
.footer a {
    display: block;
    padding-bottom: 10px;
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease-in;
}
.footer a:hover {
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.2s ease-in;
}

/* Hero*/
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 622px;
    background: url('../images/hero_lg.webp') #0a0e10 no-repeat center right;
    background-size: auto 100%;
    color: #fff;
}

/* About */
.company-bg {
    background: url('../images/about.webp') no-repeat top right;
    background-size: 43% auto;
}

/* Leadership */
.leadership-bg {
    background: url('../images/bg_leadership.png') no-repeat center center;
    background-size: cover;
}

.stefanie img {
    border: 2px solid var(--gray);
    border-radius: 50%;
}

/* Services */
.services ul {
    padding-left: 20px;
}
.services li {
    margin-bottom: 10px;
}

@media screen and (max-width: 1600px) {
    .hero {
        border-image: linear-gradient(rgba(0, 50, 76, 0.7) 0%, rgba(0, 50, 76, 0.7) 100%) fill 1;
    }
}
@media screen and (max-width: 1100px) {
    div.flex-row {
        display: block;
    }
    p {
        margin-top: 1em !important;
        margin-bottom: 1em !important;
    }
    h1,
    h2.align-left,
    .stefanie h3,
    p {
        text-align: center;
    }
    p,
    .max-width-650 {
        margin: auto;
    }
    div.max-width-40p,
    div.max-width-50p,
    div.max-width-60p {
        max-width: calc(100% - 2.5rem);
        margin: auto;
    }
    .company-img {
        margin-bottom: 40px;
    }
    .company-bg {
        background: none;
    }
    .stefanie h2 {
        margin-top: 60px;
    }
    .stefanie .flex-col {
        margin: auto
    }
    .services img {
        margin: 40px 0 20px 0;
    }
    .footer .flex-col {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 900px) {
    .footer .flex-col {
        min-width: 100%;
    }
}
@media screen and (max-width: 640px) {
    .nav {
        display: none;
    }
    #navbar img {
        margin: auto;
    }
    .section {
        padding: 3.75rem 0;
    }
    .hero {
        padding-top: var(--nav-height);
    }
}
@media screen and (max-width: 480px) {
    .section {
        padding: 3.125rem 0 4rem 0;
    }
}
