@media screen and (max-width: 1590px){
    .container, .gallery-hidden{
        padding-left: 20px;
        padding-right: 20px;
    }
    .last-screen-container{
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
    }
    .big-screen-2{
        height: auto;
        padding: 50px 0;
        aspect-ratio: auto;
    }
    .design-gallery-container{
        margin-left: 0px;
    }
    .next-gallery{
        bottom: 16px;
        left: 50%;
        top: unset;
        right: unset;
        transform: translateX(-50%);
    }
    .design-gallery-container .swiper-wrapper .swiper-slide{
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media screen and (max-width: 1500px){
    .flex-nav{
        gap: 70px;
    }
    .three-col-grid{
        gap: 60px;
    }
    .two-col-grid{
        column-gap: 60px;
    }
}
@media screen and (max-width: 1400px){
    .contact-screen-grid{
        grid-template-columns: auto 800px;
        gap: 30px;
    }
}
@media screen and (max-width: 1350px){
    .screen-2 .slider-title-50.bottom-50,  .screen-2 .default-p.bottom-85, .slider-title-30.bottom-50, .slider-title-40.bottom-50{
        padding-bottom: 20px;
    }
    .main-menu-blue.active{
        width: 70%;
    }
    .close-menu{
        left: 30%;
    }
    .social-header{
        margin-top: 50px;
    }
}
@media screen and (max-width: 1250px){
    .contact-screen-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}
@media screen and (max-width: 1200px){
    .optiblu-percent, .screen-2 .slider-title-50.bottom-50{
        font-size: 40px;
    }
    .list-p{
        font-size: 30px;
    }
    .scroll-cursiv-list .list-p{
        font-size: 25px;
    }
    .s2-col, .s2-col.width-50{
        width: 70%;
    }
}
/* media height for header */
@media screen and (max-height: 700px){
    .social-header{
        margin-top: 20px;
    }
}
@media screen and (max-height: 930px){
    .main-menu{
        max-height: 500px;
    }
}
/* end media for header */

@media screen and (max-width: 1050px){
    .screen-2{
        height: auto;
        padding: 50px 0;
        aspect-ratio: auto;
    }
    .s3-flex{
        column-gap: 20px;
    }
    .three-col-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-form-container{
        margin-top: 0;
        padding: 50px 20px;
    }
    .two-col-txt-link{
        flex-direction: column;
    }
}
@media screen and (max-width: 1000px){
    .screen-1{
        height: 100vh;
        height: 100dvh;
        min-height: 550px;
    }
    .tik-tok-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .sticky-element{
        display: none;
    }
    .sticky-section{
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
}
@media screen and (max-width: 950px){
    .single-container-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .white-bg.padd-100{
        padding-top: 30px;
        padding-bottom: 60px;
    }
    .white-bg.padd-100 .container.m-auto.space-between, .res-space-between, .dark-bg.padd-100 .container.m-auto.space-between{
        flex-direction: column;
        gap: 30px;
    }
    .non-s4{
        display: none;
    }
    .s4-col{
        width: 100%;
    }
    .s4-anchor, .s6-col2{
        display: none;
    }
    .s4-hidden{
        display: block;
    }
    .recent-grid, .blog-grid, .local-list-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-grid{
        column-gap: 50px;
        row-gap: 40px;
    }
    .about-flex div:first-child, .about-flex div:last-child{
        display: none;
    }
    .about-flex{
        justify-content: center;
        margin-bottom: 50px;
    }
}
@media screen and (max-width: 850px){
    .flex-screen-5{
        flex-direction: column;
        gap: 30px;
    }
    .flex-screen-5{
        padding-right: 0;
    }
    .discover-element .slider-anchor.flex-end{
        justify-content: center;
    }
    .w-50{
        max-width: 100%;
    }
    .contact-form-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .s3-flex{
        flex-direction: column;
        gap: 30px;
    }
    .ppc-flex{
        gap: 50px;
    }
    .block-850{
        display: flex;
        justify-content: center;
    }
    .col-mob{
        flex-direction: column-reverse;
        gap: 30px;
    }
    .s3-col2{
        display: flex;
        justify-content: center;
    }
    .s3-anchor{
        display: none;
    }
    .s3-col3{
        width: 100%;
        max-width: none;
        align-items: center;
        text-align: center;
    }
    .standard-screen, .blog-onpage, .large-screen, .padd-120-b-190, .padd-120-b-100, .big-standard-screen{
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .padd-top-120{
        padding-top: 80px;
    }
    .s3-hidden{
        display: flex;
        justify-content: center;
    }
    .screen-3{
        padding-top: 30px;
        padding-bottom: 65px;
        background: url(https://media.magnetif.ro/2022/09/Group-3-2.webp);
    }
    .contact-screen-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        text-align: center;
    }
    .two-col-grid, .local-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .local-grid .flex{
        display: none;
    }
    .tik-tok-grid, .alt-local-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-screen{
        background: url(https://media.magnetif.ro/2022/09/Group-13.webp);
        background-position: center top !important;
    }
    .s6-anchor, .hidden-850{
        display: none;
    }
    .screen-flex{
        flex-direction: column;
        gap: 35px;
    }
    .s6-col3{
        margin-left: 0;
        width: 100%;
    }
    .blue-grid{
        margin-top: 35px;
    }
    .blue-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .screen-6.screen-padd, .screen-7.screen-padd{
        padding-top: 30px;
        padding-bottom: 50px;
    }
    .s6-col1, .s6-col3{
        margin-top: 0;
    }
    .s6-col1{
        width: 100%;
    }
    .s6-img{
        display: block;
        max-width: 230px;
    }
    .s6-hidden{
        display: block;
    }
    .not-mob{
        display: none;
    }
    .copyright-container{
        flex-direction: column-reverse;
        gap: 15px;
    }
    .main-menu-blue{
        padding-bottom: 0;
        border-radius: 0% 0% 0% 100%;
    }
    .main-menu-blue.active{
        width: 100%;
        height: 100%;
        border-radius: 0% 0% 0% 28%;
        padding-left: 40px;
        padding-right: 40px;
    }
    .close-menu{
        left: 50%;
    }
}
@media screen and (max-width: 700px){
    .single-title{
        font-size: 30px;
        line-height: 40px;
    }
    .single-container h2{
        font-size: 25px;
        line-height: 35px;
    }
    .single-container h3{
        font-size: 20px;
        line-height: 30px;
    }
    .scroll-cursiv-list .list-line{
        margin-right: auto;
    }
    .screen-front-2{
        background: url(https://media.magnetif.ro/2022/09/Group-7.webp);
    }
    .s2-col, .s2-col.width-50{
        width: 100%;
    }
    .s2-img{
        display: block;
    }
    .sticky-image-element{
        aspect-ratio: unset;
        padding: 150px 20px 20px;
    }
    .single-sidebar{
        padding: 15px;
    }
    .optiblu-grid, .instagram-grid, .search-result, .local-list-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .last-screen-container{
        background: url(https://media.magnetif.ro/2022/09/s8-copy.webp);
        background-repeat: no-repeat !important;
        background-size: cover !important;
        border-radius: 15px;
        padding: 150px 20px 40px 20px;
    }
    .last-screen{
        padding-top: 30px;
        padding-bottom: 60px;
    }
    .screen-link-1{
        background: url(https://media.magnetif.ro/2023/02/bg.png);
    }
    .sub-700{
        display: block;
    }
    .screen-email-1{
        background: url(https://media.magnetif.ro/2023/02/bg-1.png);
    }
    .screen-link-3, .screen-link-4, .screen-email-3, .screen-email-5{
        padding-top: 0 !important;
        padding-bottom: 50px !important;
    }
    .screen-link-3{
        background: #ABBBC4;
    }
    .screen-link-4{
        background: #324E5F;
    }
    .screen-email-3{
        background: #96D8F6;
    }
    .screen-email-5{
        background: #193F55;
    }
}
@media screen and (max-width: 600px){
    .screen-seo-3{
        background: #A2C4D7;
    }
    .screen-seo-3-img{
        display: block;
        margin-top: -80px;
        margin-bottom: 20px;
        width: 100%;
    }
    .screen-google-1{
        background: url(https://media.magnetif.ro/2023/01/bg-2.webp);
    }
    .screen-google-3{
        background: #C6CACC;
    }
    .hidden-desktop{
        display: block;
    }
    .screen-google-3-img{
        display: block;
        width: 100%;
        margin-top: -80px;
    }
    .screen-google-3-h-m{
        display: none;
    }
    .screen-local-8{
        padding-top: 300px;
        padding-bottom: 50px;
        background-image: url(https://media.magnetif.ro/2023/12/Bitmap-5.webp);
    }
    .screen-local-3 {
        background: #A2C4D7;
    }
    .screen-local-1{
        background-image: url(https://media.magnetif.ro/2023/12/bg-2.webp);
    }
    .contact-form-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .padd-390-120{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .contact-bg{
        padding-top: 150px;
        padding-bottom: 100px;
        height: auto !important;
        aspect-ratio: unset !important;
    }
    .screen-front-1{
        background: url(https://media.magnetif.ro/2022/09/bg-1.webp);
    }
    .center-text-mobile{
        text-align: center;
    }
    .center-text-mobile .special-list li::before{
        left: 50%;
        transform: translateX(-50%);
    }
    .hidden-mobile{
        display: none;
    }
    .logo-magnetif{
        width: 168px;
    }
    .slider-title, .slider-title *:not(strong){
        font-size: 46px;
        line-height: 50px;
    }
    .slider-title * br, .slider-title-50 * br, .slider-title-30 * br, .slider-title-40 * br{
        display: none;
    }
    .slider-title-50 *:not(strong), .slider-title-50{
        font-size: 36px;
        line-height: 48px;
    }
    .slider-title-30 *:not(strong), .slider-title-30{
        font-size: 25px;
        line-height: 38px;
    }
    .slider-title-40 *:not(strong), .slider-title-40{
        font-size: 30px;
    }
    .contact-form-home .form-home-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    .contact-form-home input:not([type=submit])::placeholder, .contact-form-home input:not([type=submit]){
        text-align: center;
    }
    .contact-form-home .special-submit{
        justify-content: center;
    }
    .footer-container{
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .footer-list-item{
        flex-direction: column;
        gap: 15px;
    }
    .social-footer{
        text-align: center;
    }
    .social-footer-grid{
        justify-content: center;
    }
    .social-footer, .copyright-container{
        margin-top: 50px;
    }
    .right-side-copy{
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .desktop-nav{
        display: none;
    }
    .mobile-nav{
        display: block;
        padding-top: 70px;
    }
    .main-menu{
        overflow-y: auto;
    }
    .main-menu li a, .main-menu li{
        font-size: 25px;
    }
    .services-dropdown li a{
        font-size: 20px;
    }
    .main-menu-container.active{
        overflow-y: auto;
        min-height: 700px;
    }
    .recent-grid, .blog-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .ppc-flex>div{
        width: 100%;
    }
    .blog-bg.screen-1{
        height: auto;
        min-height: 1000px;
    }
    .slider-title.small-slider-title, .slider-title.small-slider-title *:not(strong){
        font-size: 35px;
        line-height: 45px;
    }
}
@media screen and (max-width: 420px){
    .slider-title, .slider-title *:not(strong){
        font-size: 42px;
        line-height: 48px;
    }
    .white-bg.padd-100 .slider-title h3{
        font-size: 30px;
        line-height: 35px;
    }    
}
@media screen and (max-width: 350px){
    .slider-anchor span{
        font-size: 15px;
    }
}