/* Responsive design */
/*  */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .content{
        margin: 0 4%;
        width: 92%;
    }

}

/*  */
@media only screen and (max-width: 1024px) {
    .content{
        margin: 0 4%;
        width: 92%;
    }

    .container-offerta-moderno.glass-card {
        width: 92%!important;
        margin: 0 4%;
    }

    #offers-grid.offers-grid-container {
        gap: 10px!important;
    }

    header {
        display: none!important;
    }

    header.mobile-header {
        display: initial!important;
        position: relative;
    }

    header.mobile-header nav {
        position: fixed;
        z-index: 9990;
        bottom: 0;
        background: #2c2c2c;
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); /* Ombra più pronunciata */
    padding: 20px;
            width: 700px;
            left: calc(50% - 350px);
    }

    header.mobile-header ul {
        display: flex;
        justify-content: center;
        gap: 50px;

    }

    header.mobile-header ul li a {
        color: #ccc;
    }

    header.mobile-header ul li a:hover,
        header.mobile-header ul li.current-menu-item a {
        color: #6FF8DF;

    }

    .divider.header {
        display: none;
    }

    .banner-hero {
        padding: 60px;
        }

    .navbar-mobile {
        display: initial;
    }

    ul.main-menu,
    .social {
        display: none;
    }

    .col-3 {
        width: 50%!important;
    }

    #scrollTopBtn {
  position: fixed;
  padding: 20px;
  bottom: 150px;
  right: 50px;
}

.vellum-mobile-nav {
    opacity: 1;
}

article {
    width: 92%;
    margin: 0 auto;
}

}

@media only screen and (max-width: 921px) {
    #filter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

    #filter-form input#search {
        width: 100%;
    }

}

/**/
@media only screen and (max-width: 768px) {
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-6,
    .col-8,
    .col-10 {
        width: 100%!important; /* Per sovrascrivere le dimensioni delle colonne */
    }
    
    .flex {
        flex-direction: column;
    }

    .banner-hero {
    padding: 40px;
    }

    a.cta {
        width: 100%!important;
    }
   
    header.mobile-header nav {
        width: 100%!important;
        
        margin: 0 auto;
        left: 50%;          /* punta al centro del contenitore */
        transform: translateX(-50%); /* sposta l'elemento di metà della sua larghezza */
    }



    header.mobile-header ul {
        height: 51px;
        padding: 10px;
        gap: 30px;
    }

    .vellum-mobile-nav ul li:nth-child(4) {
        display: none;
    }

    .app-background {
        padding: 20px;
    }

}

@media only screen and (max-width: 545px) {

        header.mobile-header ul li span {
        display: none;
    }

    header.mobile-header ul li i {
        font-size: 30px;
    }

        header.mobile-header ul {
        height: 51px;
        padding: 30px;
        gap: 50px;
    }

    .filtro {
        flex-direction: column;
        gap: 20px;
    }

    .filtro select {
        width: 100%;
    }
}

/**/
@media only screen and (max-width: 320px) {
    
}
