* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Lexend", sans-serif;
    background-color: #f1f2f9;
    color: #484e70;
}


/* LAYOUT */
.elements-container {
    width: 95%;
    max-width: 1350px;
    margin: 0 auto;
}

section {
    padding: 1.5rem 0;
}

.section-content-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, p, span {
    margin: 0;
    max-width: 700px;
}

h1 {
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #484e70;
}

p, li {
    font-size: 1rem;
    line-height: 1.875;
    letter-spacing: 1.375px;
    color: #646a87;
}

ul {
    margin: 0;
    padding-left: 1.5rem;
}

a {
    text-decoration: none;
    color: #484e70;
}

a.link {
    font-weight: 800;
    color: #3749ae;
    text-decoration: underline;
}

a.link:hover {
    color: #0021db;
}

span.small-text {
    font-size: 0.875rem;
    font-weight: 350;
    color: #646a87;
}


/* SHARED STYLES */
a:hover, 
.cta-btn:hover {
    cursor: pointer;
}

.cta-btn {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.75px;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 0.25rem;
    border: none;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.btn.fa-solid, .btn.fa-regular {
    opacity: 0.375;
    font-size: 1.125rem;
    margin-top: 0.0625rem;
    margin-bottom: -0.0625rem;
}


/* SECTION-SPECIFIC STYLES */
/* HEADER */
header {
    margin: 0;
    padding: 1rem 0;
    background-color: #f1f2f9;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid #0019a810;
}

.header.elements-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.header.logo-and-site-name-container {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.header.logo {
    height: 2.5rem;
    width: 3rem;
    object-fit: cover;
    border-radius: 0.25rem;
}

.header.site-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

header .cta-btn {
    background-color: #d4d7ed;
    color: #001799;
    width: 100%;
}

header .cta-btn:hover {
    background-color: #dddff1;
}

.header.btn-container {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

.header.btn-text.sm-med-lg-screen {
    display: none;
}

.header.btn-support-text {
    color: #646a87;
    font-size: 0.625rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.75px;
}


/* INTRO SECTION */
.intro-section .elements-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.intro-section {
    background-color: #f1f2f9;
    padding: 8.125rem 0 7rem 0;
}

.intro.section-content-container {
    margin-top: 4.5rem;
}

.intro.section-content-container p {
    max-width: 650px;
}

.intro.image-and-small-text-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: start;
    gap: 0.875rem;
    max-width: 550px;
}

.intro.tiny-photo {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    object-fit: cover;
    outline: 1px solid #24252b50;
}

.intro.small-text {
    line-height: 1.75;
    letter-spacing: 1.25px;
    max-width: 675px;
}

.intro .hero-img {
    width: 100%;
    max-width: 550px;
}


/* FOOTER */
footer {
    border-top: 1px solid #0019a810;
    padding: 2rem 0;
    letter-spacing: 0.5px;
}

.footer.elements-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
}

.footer.copyright-text {
    line-height: 1.5;
}

.footer.links-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.footer-link:hover {
    text-decoration: underline;
}


/* MEDIA QUERIES */
@media (min-width: 370px) {
    .header.btn-support-text {
        font-size: 0.75rem;
    }
}

@media (min-width: 400px) {
    .header.btn-text.extra-sm-screen {
        display: none;
    }

    .header.btn-text.sm-med-lg-screen {
        display: inline;
    }
}

@media (min-width: 440px) {
    .intro.image-and-small-text-container {
        margin-top: unset;
        flex-direction: row;
        align-items: center;
    }

    .intro.tiny-photo {
        height: 4rem;
        width: 4rem;
    }
}


@media (min-width: 630px) {
    h1 {
        font-size: 2.75rem;
    }

    p, li {
        font-size: 1.125rem;
    }

    .cta-btn {
        width: fit-content;
    }

    .header.btn-container {
        width: fit-content;
    }

    .intro.section-content-container {
        margin-top: 2rem;
    }

    .footer.elements-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: start;
    }
}

@media (min-width: 900px) {
    .intro-section .elements-container {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        align-items: start;
    }
} 