/* Hero Section */
.hero{
    position: relative;
    height: 50svh;
    width: 100%;
    overflow: hidden;
}

.hero>h1{
    position: absolute;
    bottom: 1em;
    left: 2em;
    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.supplier{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 1.5em;
    place-items: center;
    padding-inline: 5%;
}

section>article>h2{
    margin-top: 0;
}

section>article>img{
    display: block;
    height: 6em;
    width: 80%;
    margin-inline: auto;
    margin-bottom: 2em;
}

section.supplier>img{
    height: 100%;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 1em;
}

section.supplier>aside{
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
    font-size: 1.5em;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    color: var(--black);
    fill: var(--black);
}

section.supplier>aside>div{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0.5em;
    height: 100%;
}

section.supplier>aside>div>p{
    margin: auto;
}

section.supplier>aside>div>svg{
    width: 50%;
    aspect-ratio: 1/1;
    margin: auto;
}

@media (min-width: 761px){
    /* Hero Section */
    .hero{
        height: 70svh;
    }

    .hero h1{
        left: 1em;
    }
}

@media (min-width: 1166px){
    /* Hero Section */
    .hero{
        height: 80svh;
    }

    .hero h1{
        left: 2em;
    }

    /* Product Section */
    section.supplier{
        width: min(90%, 1750px);
        gap: 3em;
    }

    section.supplier:nth-of-type(even)>article{
        order: 2;
    }

    section.supplier>aside{
        grid-column: span 2;
    }
}