/* Emir Media */

@media screen and (min-width: 1920px) {
    .container {
        width: 100%;
        max-width: calc(1920px - 20px);
    }
    footer {
        width: 100%;
        max-width: calc(1920px - 20px);
    }
}

@media screen and (max-width: 1680px) {
    .container {
        width: 100%;
        max-width: calc(1442px - 20px);
    }
    footer {
        width: 100%;
        max-width: calc(1442px - 20px);
    }
   
    .image-side{
        width: 100%;
        max-width: calc(600px - 30px);
    }
    
    .image-side img{
        width: 100%;
        height: auto;
    }
    
    .cardImg img:nth-last-child{
        bottom: 50px;
    }
}

@media screen and (max-width: 1420px) {
    .container {
        width: 100%;
        max-width: calc(100% - 20px);
    }
    footer {
        width: 100%;
        max-width: calc(100% - 20px);
    }
}


@media screen and (max-width: 1370px) {
    .our-history-title {
        width: 100%;
        max-width: calc(100% - 30px);
    }

    .our-history-title img {
        width: 100%;
        height: auto;
    }

}

@media screen and (max-width: 1260px) {
    .about-section {
        flex-wrap: wrap;
    }

    .histrory-arrow {
        display: none;
    }

    .contact-us{
        flex-direction: column;
    }
}



@media screen and (max-width: 1240px) {
.image-side{
    max-width: 450px;
    width: 100%;
}
}
@media screen and (max-width: 1185px) {
    .cardImg img {
        width: auto;
        height: 100%;
    }

    .quality .flex{
        flex-direction: column !important;
    }


}

@media screen and (max-width: 1130px) {
    .grid-content {
        grid-gap: 10px;
    }

    .contact-us .content-box{
    flex-direction: column;
    flex-direction: column-reverse;
    }

    .contact-us iframe{
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 1071px) {
    .grid-content {
        grid-gap: 5px;
    }
}

@media screen and (max-width: 1030px) {
    .prodCard {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cardBlack {
        max-width: 605px;
        padding: 30px;
        order: 2;
    }

    .cardInfo {
        max-width: 360px;
        padding: 30px;
        order: 3;
    }

    .cardImg {
        width: calc(100%);
        width: 100%;
        height: 480px;
        margin: 0px;
        order: 1;
    }

    .cardImg img {
        width: 100%;
        height: auto;
    }

    .our-history .text-box {
        position: unset;
        padding-bottom: 10px;
    }

    #about-us .content-box {
        max-width: 805px;
    }

    .grid-content {
        position: relative;
        grid-template-areas:
            "block1 block1-1 block4 "
            "block2 block3 block4";
        max-width: 805px;
        width: 100%;
        margin-top: 30px;
        grid-gap: 30px;
        top: -150px;


    }

    #about-text br {
        display: none;
    }

    .block1,
    .block1-1 {
        position: unset;

        margin-top: 220px;
    }

    .about1,
    .about2 {
        max-width: 330px;
    }

    .about3,
    .about4 {
        max-width: 322px;
    }

    .about5,
    .about6 {
        max-width: 260px;
    }



    .prodCard:nth-of-type(even) {
        flex-direction: row;
    }

}

@media screen and (max-width: 990px) {
    .grid-content {
        grid-gap: 30px;
    }

    .grid-content {
        width: 100%;
        max-width: calc(100% - 20px);
    }

    .grid-content img {
        width: auto;
        height: 100%;
    }

    .block1,
    .block1-1,
    .block2,
    .block3,
    .block4 {
        width: 100%;
        max-width: 290px;
    }

    .about3,
    .about4,
    .about2,
    .about1 {
        max-width: 290px;
    }

}

@media screen and (max-width: 955px) {

    .block1,
    .block1-1,
    .block2,
    .block3,
    .block4 {
        width: 100%;
        max-width: 250px;
    }

    .about3,
    .about4,
    .about2,
    .about1 {
        max-width: 250px;
    }

    .hero-text h1 {
        font-size: 70px;
    }

    .hero-text h2 {
        font-size: 50px;
    }
}

@media screen and (max-width: 945px) {

    nav .languages {
        display: none !important;
    }

    .bar {

        display: block;
        width: 30px;
        height: 2px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: #818181;
    }

    .hamburger {
        display: block !important;
        cursor: pointer !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0 !important;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed !important;
        z-index: 99;
        left: -120% !important;
        top: 5rem !important;
        flex-direction: column !important;
        align-items: center !important;
        background-color: #fff !important;
        width: 100% !important;
        border-bottom-left-radius: 10px !important;
        border-bottom-right-radius: 10px !important;
        text-align: center !important;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);

        padding-bottom: 50px;
        padding-top: 50px;
    }

    .nav-menu.active {
        left: 0 !important;
        height: 100vh !important;
    }

    .nav-menu.active>.links,
    .mobile-languages {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .nav-menu.active>.links li {
        margin-bottom: 10px;
        margin-right: 0 !important;

    }

    .nav-menu.active>.links li>a:hover {
        color: var(--Green) !important;

    }


    .mobile-languages {
        display: none !important;
    }

    .dropdown-nav {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }


}


@media screen and (max-width: 855px) {
    .cardImg img {
        width: auto;
        height: 100%;
    }


    .grid-content {
        gap: 5px;
    }

    .history-dates {
        max-width: 350px;
    }

    .history-dates img {
        max-width: 300px;
    }

    #quality>.content-box>.flex {
        flex-direction: column!important;
        flex-direction: column-reverse;
    }

.image-side{
    max-width: 100%;
    margin-top: 20px;
    position: unset;
    margin-bottom: 50px;
}

    .paragraph-side{
        max-width: 100%;
    }

    .quality-text-box{
        flex-direction: column !important;

    }

    .quality-text-box p:first-of-type {
        max-width: 100%!important;
        margin-bottom: 20px;
    }
    .quality-text-box p:last-of-type {
        max-width: 100%!important;
        
    }

    .quality-text-box p{
        max-width: 100%;
    }

    .quality-text-box:first-child{
        margin-bottom: 20px;
    }

    #units {
        flex-direction: column!important;
    }

    .sustainability-paragraph{
        max-width: 100%;
        margin-bottom: 20px;
        position: unset;
    }

    .production-box-right{
        max-width: 100%;
    }

    .production-box-left{
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 812px) {

    .container h1 {
        font-size: 60px;
    }

    .container h2 {
        font-size: 50px;
    }

    .history-text-box {
        flex-direction: column;
        width: 100% !important;
    }

    .history-text-box p {
        max-width: 100% !important;
        width: 100% !important;
    }

    .history-text-box p:first-of-type {
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;

    }


    .history-gallery {
        max-width: 100%;
        height: auto;
    }

    .history-gallery img {
        width: 100%;
        height: auto;
    }

    .history-workers {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }


    footer .footer-links  {
        margin-left: 20px;
    }

    footer{
        margin: auto;
    }

    .quality-image-last{
        max-width: 500px;
        width: 100%;
        height: auto;
    }

    .quality-image-last img{
        width: 100%;
    }

    #about-text{
        margin-bottom: 100px;
    }

}




@media screen and (max-width: 783px) {

    .sales-block1,
.sales-block2 {
    display: block !important;
}
    .grid-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        /* margin-bottom: ; */
    }

    .block1, .block1-1, .block2, .block3, .block4 {
        width: 100%;
        max-width: 100%;}

        .block1-1{
            margin-top: 20px;
        }

        .about-arrow {
            display: none;
        }

        .about-section{
            margin-bottom: 60px;
        }
}

@media screen and (max-width: 768px) {
    .cardImg {
        max-width: 100%;
        height: 300px;
    }

    .cardImg img {
        width: 100%;
        height: auto;
    }

    .cardBlack {
        width: 100%;
        max-width: 100%;
    }

    .cardInfo {
        max-width: 100%;
        width: 100%;
    }

    .production-region svg{
        width: 100%;
        max-width: 450px;
    }
}

@media screen and (max-width: 740px) {
    .contact-field input{
        max-width: 300px !important;
    }
    .contact-field textarea{
        max-width: 300px !important;
    }
    .contact-field button{
        max-width: 300px !important;
    }

    .name-box, .message-box{
        width: 100%;
        max-width: 300px;
    }

    .contact-field>.flex {
        flex-direction: column;
        max-width: 300px ;
        width: 100%;}

        .contact-field{
            max-width: 620px;
            width: 100%;
        }
}
@media screen and (max-width: 650px) {
    .hero-text h1 {
        font-size: 55px;
    }

    .hero-text h2 {
        font-size: 55px;
    }

    .imgBox img{
        left: -100px;
    }

    .quality-circles{
        margin-top: -50px;
        /* flex-direction: column; */
        flex-wrap: wrap;
    }

    .quality-circles svg{
        margin-bottom: 20px;
        width: 100%;
        max-width: calc(100% /3 - 5px);
    }

    .sustainability-units svg{
        width: 100%;
        height: auto;
        margin-top: 40px;
    }

    #sustainabilty h1 {
        font-size: 45px;
    }

    .contact-field .content-box, form{
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        max-width: 500px;
        width: 100%;
    }

    .production-box-left p {
        margin-bottom: 20px;
    }

    .benefits{
        flex-wrap: wrap;
    }

    .benefits h1{
        font-size: 45px;
    }

    .benefit-item-card{
        max-width: 100%;
    }

    .btn-arrows{
        display: none;
    }

    .our-team{
        flex-wrap: wrap;
    }

    .top-menu{
        margin: auto;
        margin-top: 20px !important;
    }

    .contact-field{
        max-width: 100%;
        margin: 0;
        margin-top: 40px;
    }

    .name-box, .message-box{
        max-width: 100%;
    }

    .contact-field>.flex{
        max-width: 100%;
    }

    .contact-field input{
        max-width: 100% !important;
    }

    .contact-field textarea{
        width: 100%;
        max-width: 100% !important;
    }

    .email-box button{
        width: 100%;
        max-width: 100% !important;
    }
    
    .w100{
        width: 100%;
    }

    footer{
        flex-wrap: wrap;
    }

    footer .footer-links{
        margin: 0;
        margin-top: 30px;
    }

    .our-history-title img{
        max-width: calc(100vw - 20px);
    }


 .message-box{
    margin-bottom: 20px;
 }



    .contact-field input{
        width: 100%;
    }

    footer>.footer-links {
        flex-wrap: wrap;}

        .footer-address{
            margin-bottom: 20px;
            margin-top: 30px;
        }

    .text-box{
        padding-bottom: 20px;
    }

}

@media screen and (max-width: 545px) {


    .prodCard {
        width: auto;
        height: 100%;
    }

    .cardImg img {
        width: auto;
        height: 100%;
    }

    .hero-text h1 {
        font-size: 50px;
    }

    .hero-text h2 {
        font-size: 35px;
    }

    .hero-text {
        margin-left: 0;
        top: 152px;
    }

    .imgBox img:nth-child(2) {
        left: 395px
    }

    .history-workers img {
        max-width: 170px !important;
        min-height: 247px !important;
        width: 100%;
        height: 100%;


    }

    .history-workers img:first-of-type {
        margin-right: 15px !important;
        margin-bottom: 15px !important;
    }

    .history-workers img:last-of-type {
        margin-left: 15px !important;

    }

    .grid-content {
        display: block !important;
        /* margin-left: 20px!important;
    margin-right: 20px!important; */
        position: unset !important;
        margin: auto;
    }


    .grid-content img {
        width: 100%;
    }

    .about1,
    .about2 {
        max-width: 353px;
        width: 100%;
    }

    .about2,
    .about4 {
        margin-bottom: 20px;
    }

    .about3,
    .about4 {
        max-width: 353px;
        width: 100%;
    }

    .about5,
    .about6 {
        max-width: 353px;
        width: 100%;
    }

    .block1,
    .block1-1 {
        margin-left: 0;
        margin-top: 20px;
    }
}

@media screen and (max-width: 450px) {



    .hero-text h2 {
        font-size: 30px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .history-dates img {
        max-width: 300px;
        width: 100%;
    }

    .history-dates {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

  


    .history-workers img:last-of-type {
        /* margin-left: 0 !important; */
        margin-top: 15px !important;

    }

    .history-workers img:nth-last-of-type(2) {
        margin-left: 0 !important;
        margin-top: 15px !important;

    }

}