.bar1, .bar2, .bar3 {
    width: 30px;
    height: 5px;
    background-color: var(--dark-blue);
    transition: 0.4s;
}

.bar1{
    margin-bottom: 5px;
}

.bar2{
    margin: 5px 0;
}

.bar3{
    margin-top: 5px;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
  }

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.mobile-menu-wrapper{
    display: none;

    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    background-color: white;
    z-index: 999;
    width: 100%;
    min-height: 160vh;
    height: fit-content;
    padding-top: 20px;
}

.mobile-menu-wrapper .l{
    font-weight: bold;
    color: var(--dark-blue);
    /* text-decoration: none; */
}

.mobile-menu-wrapper .s{
    font-weight: bold;
    color: var(--main-gray);
} 

.mobile-menu-wrapper.show{
    display: flex;
}

.mobile-menu-wrapper .main-menu, .mobile-menu-wrapper .main-menu-icon{
    margin: 16px 0;
}

br.mobile-only{
    display: none;
}
.mobile-hamburger{
    display: none;
}
@media only screen and (max-width: 1290px) {
    .padded-section:not(.theme-header){
        padding: 0 32px;
    }
    .home-3#home-3{
        padding: 0 32px;
    }
    .theme-header{
        padding-left: 32px;
        padding-right: 32px;
    }
    /* .double-form{
        display: none;
    } */
    .first-footer-section{
        grid-column: 1 / span 3;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    .footer-menu{
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-menu .menu-section:first-child {
        padding-right: 0;
    }
    .cta-divider{
        padding: 50px;
        border-radius: 25px;
    }
    /* .pack-split{
        display: none;
    } */
    .homepage-vantaggi h1{
        text-align: center;
    }
    .external-post-section {
        padding-left: 16px;
        padding-right: 16px;
    }
    .pages-menu:not(:first-child){
        margin-left: 6px;
    }
}

@media only screen and (max-width: 1050px) {
    .wobble-item{
        display: none;
    }
    
    .pack-split-row .pack-split-c{
        /* width: 500px; */
    }
}
@media only screen and (max-width: 920px) {
    .cta-divider{
        flex-direction: column;
        align-items: center;
    }
    .cta-divider-text-wrapper {
        max-width: 100%;
    }
    .cta-divider-cta-wrapper {
        margin-top: 40px;
    }
    
}
@media only screen and (max-width: 1024px) {
    .mobile-hamburger{
        display: block;
    }
    header{
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        
        z-index: 10;
        background: white;
    }
    .pack-split-row {
        display: grid!important;
        gap: 30px!important;
        grid-template-columns: repeat(1, 1fr)!important;
        text-align: center;
    }
    .pack-split-row .wp-block-column:not(:first-child):not(:last-child){
        /* margin: 30px 0; */
    }
    br.mobile-only{
        display: block;
    }
    
    .theme-header{
        padding: 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        z-index: 10;
    }
    
    .logo-wrapper{
        align-items: center;
    }
    
    .logo-wrapper a, .logo-wrapper img{
        height: 40px;
    }

    .logo-wrapper img{ 
        margin-top: 0;
    }
    
    .menu-desktop{
        display: none;
    }
    
    .menu-hamburger{
        display: block;
    }
    
    .footer-menu {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .footer-menu .menu-section {
        text-align: center;
    }
    
    .footer-menu .menu-section .phone{
        flex-direction: column;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .mobile-space{
        margin-top: 20px;
    }
    
    .content-hidden{
        display: none;
    }
    
    .menu-section .payment-icons{
        width: fit-content;
        margin: 8px auto 18px auto;
    }
    
    .footer-address{
        text-align: center;
        padding-bottom: 14px!important;
    }
    
    .footer-links p{
        font-weight: normal;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links p a{
        margin-right: 0;
        margin-bottom: 8px;
    }

    .first-footer-section{
        grid-column: 1 / span 1;
        margin-bottom: 0;
    }
    .pack-split-row .pack-split-c{
        width: 280px;
    }
    .wp-block-bto-page-header h2{
        overflow: hidden;
    }
    
    .footer-menu .menu-section .phone img {
        height: 16px;
    }

    .footer-menu .menu-section .phone p {
        font-size: 16px;
    }
    
    .mobile-hidden{
        display: none!important;
    }
    
    .tri-column{
        margin-bottom: 50px;
    }

    .homepage-vantaggi{
        margin-top:50px;
    }
}
