:root {
    font-family: Manrope, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    --max-width: 1280px;
    --inner-max-width: 1100px;
    --color-secondary: #00e6fe;

    color-scheme: light dark;
    color: rgba(0, 0, 0, 0.87);
    background-color: #ffffff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    --oscillation-animation: oscillation 1s ease-in-out;
}

button {
    cursor: pointer;
}

@keyframes oscillation {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(0.7rem);
    }

    100% {
        transform: translateX(0);
    }
}

a {
    text-decoration: none;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
}

.root {
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: auto;
    width: min(1440px, 100%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (prefers-color-scheme: light) {
    :root {
        color: rgba(0, 0, 0, 0.87);
        background-color: #ffffff;
    }
}

.hero-nav {
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav {
    background-color: white;
}

.hero h1,
.hero p {
    margin: 0;
}

.hero {
    display: grid;
    grid-template-columns: 6fr 9fr;
    height: fit-content;
    padding-inline: 2rem;
    background: linear-gradient(#feffff 0%, #ddf1f9 20%, #a0d8ef 100%);
    padding-bottom: 2rem;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.hero__summary {
    border-left: 2px solid green;
    padding-left: 2rem;
}

.hero__left h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 50px;
}

.hero__left h2 {
    font-weight: 500;
    color: green;
}

.hero__left p {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 180%;
}

.hero__right {
    margin-left: auto;
    border-radius: 1rem;
    overflow: hidden;
}

.hero__right img {
    transition: 300ms;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero__right img:hover {
    transform: scale(1.1);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1.25rem;
}

.services__card {
    display: flex;
    flex-direction: column;
    grid-area: 2rem;
    align-items: center;
    justify-content: center;
}

.services img {
    width: 4rem;
    height: 4rem;
}

.services h3 {
    font-weight: 400;
    text-align: center;
    font-size: 1rem;
}


.slide-in {
    opacity: 0;
    transform: translateX(1rem);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #a0d8ef;
    padding: 1.25rem;
}

footer img {
    /* aspect-ratio: 394/102; */
    width: 20rem;
}

@media screen and (max-width: 700px) {
    .hero-nav {
        max-height: auto;
    }

    .hero {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: start;
        padding-bottom: 3rem;
    }

    .hero__right {
        margin-left: 0;
    }
}