:root {
    --navy: #063057;
    --dk-blue: #074b8a;
    --blue: #0f6ac0;
    --lt-blue: #409aee;
    --white: #f0f0f0;
    --black: #212121;
    --lt-black: #2c2c2c;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins/Poppins-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins/Poppins-Bold.ttf');
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    color: var(--black);
    padding: 0;
    margin: 0;
    
    background-color: var(--white);
}

nav {
    position: sticky;
    top: 0;
    z-index: 1;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding: 10px 50px;

    border-bottom: 2px solid var(--blue);

    background-color: var(--white);
}

#tagline {
    margin: -5px 0 0;
    font-style: italic;
    font-size: 18px;
    color: var(--dk-blue);
}

nav h1 {
    margin: 0;

    font-size: 50px;
    color: var(--dk-blue);

    transition: color .3s ease;
}

nav h1:hover {
    color: var(--blue);
}

nav a {
    text-decoration: none;
}

#nav-links a {
    font-size: 20px;
    color: #6f6f6f;

    margin-right: 20px;
    
    transition: color .2s ease;
}

#nav-links a:hover {
    color: var(--blue);
}

#content-wrapper {
    padding: 0 100px;
}

.hero {
    height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-bottom: 1px solid #4f4f4f;

    background: linear-gradient(0.05turn, var(--dk-blue), #5dabe0);
}

.hero h2 {
    text-align: center;
    color: white;
    font-size: 100px;

    filter: drop-shadow(0px 0px 1px #212121);
}

#about::before {
    content: '';
    display: block;
    height: 92px;
    margin-top: -82px;
}

section {
    padding-bottom: 50px;
    margin-bottom: 50px;
}

section h2 {
    font-size: 36px;
    color: var(--blue);
}

section > div {
    display: flex;
    align-items: center;
}

.flex-column {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.flex-column > div {
    display: flex;
    align-items: center;
}

section > div, section > p {
    padding: 0 70px;
}

section p {
    font-size: 18px;
}

section i {
    margin-right: 10px;
    font-size: 24px;
    color: var(--dk-blue);
}

.bottom-border {
    width: 100%;
    margin-bottom: -5px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--lt-blue);
}

.list-number {
    margin: 0;
    min-width: 42px;
    font-size: 28px;
    color: var(--dk-blue);
}

@media (width <= 1150px) {
    .hero {
        height: 280px;
        padding: 0 10px;
    }

    .hero h2 {
        font-size: 75px;
    }
}

@media (width <= 900px) {
    .hero {
        height: 250px;
        padding: 0 10px;
    }

    .hero h2 {
        font-size: 60px;
    }

    #content-wrapper {
        padding: 0 50px;
    }

    section h2 {
        font-size: 30px;
    }

    section > p, section > div {
        padding: 0 50px;
    }

    #about::before {
        height: 102px;
        margin-top: -92px;
    }
}

@media (width <= 660px) {
    nav {
        flex-direction: column;
        justify-content: initial;
        align-items: center;

        padding: 10px 20px;
    }

    nav h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }

    #tagline {
        margin-top: -14px;
        margin-bottom: 5px;
        font-size: 14px;
    }

    nav a {
        margin-right: 0;
    }

    #about::before {
        height: 112px;
        margin-top: -102px;
    }
}

@media (width <= 500px) {
    .hero {
        height: 200px;
        padding: 0 10px;
    }

    .hero h2 {
        font-size: 40px;
    }

    #content-wrapper {
        padding: 0 30px;
    }

    section h2 {
        font-size: 25px;
    }

    section > p, section > div {
        padding: 0 30px;
    }

    section p {
        font-size: 16px;
    }

    section > div {
        gap: 15px
    }

    section i {
        font-size: 32px;
    }

    .list-number {
        margin: 0;
        font-size: 40px;
    }

    #about::before {
        height: 122px;
        margin-top: -112px;
    }
}