@font-face {
    font-family: "open_sans";
    src: url(../resources/fonts/open_sans.ttf);
}

@font-face {
    font-family: "open_bold";
    src: url(../resources/fonts/open_bold.ttf);
}



.header {
    width: 100%;
    z-index: 10;
    position: fixed;
}


.header--sec1--div1 {
    max-width: 1600px;
    width: 96%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 4fr 1.2fr 0.05fr 0.6fr;
    margin-top: 1rem;
    padding: 0.5rem;
    column-gap: 0.4rem;
    justify-content: center;
    align-items: center;
    background-color: #ffffff52;
    transition: background-color 0.3s ease;

}

.header--sec1--div1.scrolled {
    background-color: white !important;
}

.logo {
    width: 10rem;
}

.logo2 {
    width: 8rem;
}

.header--sec1--div2 {
    display: flex;
    margin-left: 0.4rem;
    justify-content: start;
    align-items: center;
}

.header--sec1--div3 {
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 1.6rem;
    /* background-color: #000000; */
}

.header--sec1--div3 a {
    font-family: "open_sans";
    font-weight: 600;
    text-decoration: none;
    font-size: 1.3rem;
    color: #3F403F;
    text-transform: uppercase;

}


.header--sec1--div4 {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: aqua; */
}

.header--sec1--div4 a {
  text-decoration: none;
    
}

.header--sec1--div4:hover {
    cursor: pointer;
}

.header--btn1 {
     border: none;
    outline: none;
    box-shadow: none;
    border: none;
    background-color: #475841;
    padding: 0.8rem;
    color: white;
    text-decoration: none;
    font-family: "open_sans";
    font-weight: 650;
    font-size: 1.3rem;
    letter-spacing: 1px;
    border-radius: 5px;

}

.header--btn1:hover{
 cursor: pointer;
 background:#3F403F;
 /* border: solid #3F403F 2px; */
 
  transition: all 0.3s ease;
}

.header--sec1--div5 {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: red; */
    column-gap: 1rem;

}

.hr1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.1rem;
    background-color: rgb(255, 255, 255);
    opacity: 100%;
    height: 100%;

}

.header--img1 {
    width: 40px;
    filter: brightness(90%);
}

.lang-link.active img {
    border: 2px solid #475841;
    border-radius: 50%;
    padding: 1px;
}

.header--img1:hover {
    cursor: pointer;

}

@media screen and (min-width:1200px) {
    .header--sec1--div1 {
    grid-template-columns: 1fr 4fr 1fr 0.03fr 0.6fr;
    column-gap: 0.3rem;
    

}

.header--sec1--div2{
    /* background-color: #000000; */
 padding-left: 1rem;
}

}

@media screen and (max-width:1302px) {
    .header--btn1 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .header--sec1--div3 a {
        font-size: 1.3rem;
    }

}

@media screen and (max-width:1049px) {
    .header--btn1 {
        font-size: 1rem;
        text-align: center;

    }

    .header--sec1--div3 a {
        font-size: 1.2rem;
    }

    .header--sec1--div3 {
        column-gap: 2rem;
    }

    .header--img1 {
        width: 35px;

    }

}

@media screen and (max-width:1100px) {


    .header--sec1--div3 a {
        font-size: 1.2rem;
    }

    .header--sec1--div3 {
        column-gap: 1.2rem;
    }

    .header--img1 {
        width: 32px;

    }

    .header--btn1 {
        padding: 0.9rem;
        font-weight: 650;
        font-size: 1rem;
        /* letter-spacing: 1px; */

    }

}

@media screen and (min-width:957px) and (max-width:1002px) {
    .logo{
        width:9rem ;
    }
}

@media screen and (max-width:1002px) {


    .header--sec1--div3 a {
        font-size: 1.1rem;
    }

    .header--sec1--div3 {
        column-gap: 1.3rem;
    }

    .header--img1 {
        width: 32px;

    }

    .header--btn1 {
        padding: 0.7rem;
        font-weight: 650;
        font-size: 1rem;
        /* letter-spacing: 1px; */

    }

}

@media screen and (min-width:951px) {
    .header--sec2--div1 {
        display: none;
    }

}

@media screen and (max-width:950px) {
    .header--sec1--div1 {
        display: none;
    }

    .header--sec2--div1 {
        display: flex;
    }

    .header--sec1--div4 {
        margin-top: 1rem;
    }

    .overlay {
        height: 0%;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: rgb(255, 255, 255);
        /* background-color: rgba(0,0,0, 0.9); */
        overflow-y: hidden;
        transition: 0.5s;
    }

    .overlay-content {
        position: relative;
        top: 5%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
        text-transform: uppercase;
    }

    .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 24px;
        color: #000000;
        display: block;
        transition: 0.3s;
        font-family: "open_sans";
        font-weight: 500;
    }

    .overlay a:hover,
    .overlay a:focus {
        color: #f1f1f1;
    }

    .overlay .closebtn {
        position: absolute;
        top: 0px;
        right: 40px;
        font-size: 45px;
    }



    .header--sec2--div1 {
        width: 100%;
        z-index: 10;
        position: fixed;
        /* background-color: #f1f1f152; */
        transition: background-color 0.3s ease;


    }

    .header--sec2--div1.scrolled {
        background-color: white;
    }



    .header--sec2--div2 {
        width: 100%;
        display: flex;
        flex-direction: row;
        padding: 0.9rem;


    }

    .header--sec2--div3 {
        width: 40%;
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        margin-left: 1rem;

    }

    .header--sec2--div4 {
        width: 45%;
        display: flex;
        flex-direction: row;
        justify-content: end;
        align-items: top;
        padding: 0px 10px;
        /* background-color: red; */

    }

    .header--sec2--div6 {
        width: 10%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0px 10px;
        column-gap: 10px;
        /* background-color: #475841; */

    }

    .header--sec2--img1 {
        width: 31px;
        height: 31px
    }

    /* .logo3 {
        width: 5rem;
    } */

    .header--sec2--div5 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }


}

@media screen and (max-height: 450px) {
    .overlay {
        overflow-y: auto;
    }

    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 0px;
        /* right: 35px; */
    }




}


@media screen and (max-width:677px) {
    .header--sec2--div3 {
        width: 35%;
    }

    .header--sec2--div4 {
        width: 45%;
    }

    .header--sec2--div6 {
        width: 15%;
        padding: 0px 5px;

    }
}

@media screen and (max-width:530px) {
    .header--sec2--div3 {
        width: 40%;
    }

    .header--sec2--div4 {
        width: 40%;
    }

    .header--sec2--div6 {
        width: 20%;
        padding: 0px 10px;

    }
}

@media screen and (max-width:369px) {
    .header--sec2--div2 {
        column-gap: 5px;
    }

    .header--sec2--div3 {
        width: 30%;
    }

    .header--sec2--div4 {
        width: 38%;
    }

    .header--sec2--div6 {
        width: 20%;
        padding: 0px 0px;
        column-gap: 5px;

    }


}