/* Hero Section */
.hero{
    position: relative;
    height: 50svh;
    width: 100%;
    overflow: hidden;
}

.hero>h1{
    position: absolute;
    bottom: 1em;
    left: 0.5em;
    color: var(--white);
    text-align: center;
    margin: 0;
    filter: drop-shadow(1px 1px 0 var(--black));
}

.hero img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.header{
    width: min(1100px, 90%);
    font-size: 1.2em;
    font-weight: 300;
    text-align: center;
    font-style: italic;
    text-wrap: balance;
}

/* Product Section */
section.service{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    place-items: center;
    padding-inline: 5%;
}

section.service>article>h2{
    margin-top: 0;
}

section.service>img{
    height: 100%;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 1em;
}

@media (min-width: 761px){
    /* Hero Section */
    .hero{
        height: 70svh;
    }

    .hero h1{
        left: 1em;
    }

    /* Product Section */
    section.service{
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (min-width: 850px){
    section.service:nth-of-type(even)>article{
        order: 2;
    }
}

@media (min-width: 1166px){
    /* Hero Section */
    .hero{
        height: 80svh;
    }

    .hero h1{
        left: 2em;
    }

    /* Product Section */
    section.service{
        width: min(90%, 1750px);
        gap: 3em;
    }
}