@media (max-width: 1365px) {
    .platee {
        width: 35px;
        height: 35px;
    }
    .platee img {
        width: 20px;
    }
}
@media (max-width: 1279px) {
    
    .formazoneflex {
        width: 50%;
    }
    .formazoneflextwo {
        width: 65%;
    }
    .formazoneh {
        max-width: 330px;
        font-size: 47px;
    }
    .formazonep {
        font-size: 18px;
    }
    .swiper-pagination {
        bottom: 135px !important;
        left: 10px !important;
    }
    .siamop {
        font-size: 20px;
    }
    .questeflex p {
        font-size: 18px;
    }
    .questo .questop {
        font-size: 20px;
    }
    .coursemain .sample .fondo video {
        width: 100%;
    }    
    .course .theme a {
        font-size: 20px;
    }
    .course .theme p {
        font-size: 16px;
    }
    .custom-form input {
        width: 100%;
        max-width: 585px;
    }
    .custom-form textarea {
        max-width: 585px;
        width: 100%;
    }
}
@media (max-width: 991px) {
    .swiper {
        height: auto;
    }
    
    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: auto; /* Let content dictate the height */
    }
    .banner {
        height: 640px;
    }
    .formazoneflexz {
        width: 50%;
    }
    .formazoneh {
        max-width: 238px;
        font-size: 36px;
    }
    .formazonep {
        font-size: 16px;
    }
    .swiper-pagination {
        bottom: 30px !important;
        left: 25px !important;
    }
    .siamo {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .questecon {
        gap: 30px;
        padding: 40px 0px;
    }
    .questeflex p {
        font-size: 15px;
        font-weight: 400;
    }
    .happyman {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        padding: 50px 40px;
        place-items: center;
    }
    .coursemain {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .male {
        background: #f3f6f7;
        padding-bottom: 50px;
    }
    .happywomen {
        background: #373A40;
        padding: 50px 0;
        margin-top: 100px;
    }
}
@media (max-width: 767px) {
    .swiper-pagination {
        bottom: 90px !important;
        left: -50px !important;
    }
    .container {
        padding: 0 20px;
    }
    .formazone {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        padding-top: 40px;
    }
    .formazoneflex {
        width: 100%;
    }
    .formazoneflexz {
        width: 100%;
    }
    .banner {
        height: auto;
    }
    .formazoneh {
        max-width: 100%;
        font-size: 36px;
    }
    .formazonep {
        max-width: 100%;
        font-size: 16px;
    }
    .swiper {
        height: auto;
    }
    
    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: auto; /* Let content dictate the height */
    }
/* end      */
    .siamo {
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .siamop {
        font-size: 16px;
        padding-top: 15px;
    }
    .questo {
        background: rgba(247, 247, 247, 0.70);
        padding: 40px 0;
    }
    .siamoh {
        font-size: 23px;
    }
    .questecon {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 40px 0px;
    }
    .icons {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .questeflex p {
        font-size: 16px;
        font-weight: 400;
    }
    .questo .questop {
        font-size: 18px;
    }
    .happyman {
        gap: 30px;
        padding: 40px 20px;
    }
    .corsohs {
        font-size: 26px;
        font-weight: 700;
    }
    .platee {
        display: none;
    }
    .coursemain .sample {
        border: 15px solid #FFF;
        display: flex;
        align-items: center;
        gap: 20px;
        height: auto;
        position: relative;
        flex-direction: column;
    }
    .course .theme {
        gap: 20px;
        padding: 20px;
    }
    .coursemain .sample .fondo {
        width: 100%;
    }
    .coursemain .sample .rounded {
        width: 90px;
        height: 90px;
        left: -35px;
    }
    .corsolinegif {
        margin-bottom: 20px;
    }
    .happywomen {
        padding: 40px 0;
        margin-top: 50px;
    }
    .contattaci {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        place-items: center;
    }
    .btn {
        font-size: 20px;
        font-weight: 600;
        height: 50px;
        width: 160px;
    }
    #laformazione .btn {
        font-size: 18px;
    }
    .formmobile {
        width: 100%;
        max-width: 585px;
        margin: 0 auto;
    }
    .slideone .imgpas {
        width: 100%;
    }
    .foobar, .foobars {
        font-size: 16px;
    }
    .privacy {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        gap: 12px;
    }
    .footermain {
        flex-direction: column;
        align-items: start;
        gap: 12px;
    }
}