section.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 80dvh;
    display: flex;
    align-items: center;
    background-color: black;
    color: var(--white-text);
    background-image: url("../../assets/homepage/hero-section-background-mobile.webp");
    background-position: center;
    background-size: cover;

    & > div.maxwidth{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 20px;

        & > :where(h1, h2){
            text-shadow: 1px 1px 0px black;
        }

        & > picture{
            width: 190px;
            margin-bottom: 20px;

            & > img{
                width: 100%;
                height: 100%;
            }
        }
    }
}

@media (max-width: 425px){
    section.hero-section > div.maxwidth > picture{
        width: 170px;
    }
}

/* 2. Versione Tablet (Schermi medi) */
@media (min-width: 426px) and (max-width: 768px) {
    section.hero-section {
    background-image: url('../../assets/homepage/hero-section-background-tablet.webp');
  }
}

/* 3. Versione Laptop / Desktop Standard */
@media (min-width: 769px) and (max-width: 1440px) {
    section.hero-section {
    background-image: url('../../assets/homepage/hero-section-background-laptop.webp');
  }
}

/* 4. Versione Monitor Grandi / Retina */
@media (min-width: 1441px) {
  section.hero-section {
    background-image: url('../../assets/homepage/hero-section-background.webp');
  }
}