@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
}

html, body, #root {
    min-height: 100%;
}

body {
    font-family: Roboto, system-ui, -apple-system, Arial, sans-serif;
    font-size: 14px;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.4;
    background-color: #f3f3f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#root {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    margin: 0;
}

.page-body {
    width: 95vw;
    max-width: 1440px;
    flex-grow: 1;
    margin-top: 5rem;

    @media (max-width: 767px) {
        width: 90vw;
    }
}

.header {
    position: fixed;
    z-index: 20;
    background-color: #133359;
    color: white;
    width: 100%;
    display: grid;
    place-items: center;
}

.header .logo {
    width: auto;
    height: 2rem;
    transition: opacity 0.3s ease;
}

.header .wrapper {
    width: 95vw;
    max-width: 1440px;

    @media (max-width: 767px) {
        width: 90vw;
    }

    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    justify-self: flex-end;
}

.button {
    border: 1px solid #FFFFFF;
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    font-size: 16px;
}

.button:hover {
    background-color: #224268;
}

.logo-wrapper {
    display: grid;
    place-items: center;
    height: 50vh;
}

.logo-wrapper .logo {
    width: min(50vw, 35vh);
    height: min(50vw, 35vh);
    z-index: 22;
}

.overlay {
    background-position: center;
    background-size: cover;
    line-height: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    width: 100%;
    height: 60vh;
}

.bg-overlay {
    background-color: #133359;
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
}

.shape {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.shape svg {
    width: 100%;
    height: auto;
    fill: #f3f3f9;
}


.body {
    width: 95vw;
    max-width: 1440px;
    margin-top: 5vh;

    @media (max-width: 767px) {
        width: 90vw;
        margin-top: 15vh;
    }
}

.footer {
    width: 95vw;
    max-width: 1440px;

    @media (max-width: 767px) {
        width: 80vw;
    }

    font-size: 12px;
    color: #6c757d;
    border-top: 1px solid #adb5bd;
    margin-top: 5rem;
    padding: 2rem 0;
    gap: 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer .navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;

    @media (max-width: 767px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.footer .social-list {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer .social-list svg {
    cursor: pointer;
    width: 32px;
    height: 32px;
    fill: #6c757d;
    transition: fill 0.2s ease;
}

.footer .social-list svg:hover {
    fill: #133359;
}

@media (max-width: 767px) {
    .footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer .social-list {
        justify-content: center;
    }
}

.benefit-cards {
    display: flex;
    align-items: stretch;
    justify-content: space-evenly;
    gap: 3rem;
    max-width: 90%;
    margin: auto;

    @media (max-width: 767px) {
        flex-direction: column;
    }
}

.benefit-cards .card {
    flex-basis: 25%;
    border-radius: 8px;
    border: 2px solid #224268;
    background-color: #f3f3f9;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.card .card-img {
    width: 60%;
}

.card h3 {
    font-size: 1.8rem;
}

.card p {
    margin-top: auto;
    font-size: 1.1rem;
}

.try-button {
    background-color: #133359;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    margin: 4rem auto;
    display: block;
    width: 25%;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;

    @media (max-width: 767px) {
        width: 90%;
    }
}

.try-button:hover {
    background-color: #224268;
}

.main-text {
    max-width: 80%;
    margin: auto;
}

.header-logo {
    width: 50px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

