@import url(../../variables/colorVariables.css);
@import url(../../variables/variables.css);

:root {
    --bottom-height: 4px;
    --header-font-size: 30px;
    --header-chevron: 17px;
    --extension-space: 25px;
    --chevron-color: #B2B2B2;
}

#header-container-pc {
    background-color: transparent;
    height: var(--default-header-height);
    border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
    border-bottom: var(--default-border-color) 3px solid;
    width: calc(100% - 60px);
    max-width: calc(1600px - 60px);
    margin-left: auto;
    margin-right: auto;
    top: 260px;
    left: 50%;
    transition: var(--default-header-transition) top;
    /*box-shadow: var(--default-shadow);*/
}

#header-container-mobile {
    --top-space: 145px;
    transition: 250ms all;
    height: calc(100vh - var(--top-space));
    width: 300px;
    top: 110px;
    right: -350px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: var(--site-tertiary-first-der);
    border-radius: var(--default-border-radius);
}

#header-container-mobile::-webkit-scrollbar {
    display: none;
}

#header-mobile-button {
    width: 10%;
    display: none;
    color: var(--site-primary-third-der);
    transition: 250ms all;
}

#header-mobile-button:hover {
    color: var(--site-primary);
}

#header-nav-buttons {
    width: 75%;
}
#header-search-container {
    width: 17%;
    padding: 10px 2px;

}

#header-language-button {
    width: 8%;
    padding: 10px 2px;
}

#header-image-container{
    padding: 10px;
}


#mobile-buttons-container{

}

.mobile-button{
    color: black;
    text-decoration: none;
    padding: var(--default-text-padding);
    font-size: 28px;
    cursor: pointer;
    display: none;
}

.mobile-button .mobile-circle{
    font-size: 5px;
    padding: 0 8px;
}

.mobile-button:hover{
    color: var(--site-primary);
}

.normal-button {
    text-decoration: none;
    -webkit-text-decoration-style: unset;
    user-select: none;
    color: black;
    font-size: var(--header-font-size);
    margin: 0 10px 0 10px;
}

.dropdown-button {
    user-select: none;
    font-size: var(--header-font-size);
    margin: 0 10px 0 10px;
}
.dropdown-main-button {
    text-decoration: none;
    -webkit-text-decoration-style: unset;
    text-decoration: black;
    color: black;
    user-select: none;
}

.dropdown-button span {
    font-size: var(--header-chevron);
    width: 35px;
    transition: var(--default-ms) transform;
    color: var(--chevron-color);
}

.normal-button:hover, .dropdown-button:hover, .dropdown-main-button:hover, .language-button-pc:hover  {
    color: var(--read-more-color);
    cursor: pointer;
}

.extension-space {
    height: var(--extension-space);
}

.extension {
    top: calc(100% + var(--extension-space));
    transition: 150ms all ease 0s;
    display: grid;
    grid-template-rows: 0fr;
    border-radius: var(--default-border-radius);
    overflow: hidden;
    background-color: var(--default-container-color);
    box-shadow: var(--default-shadow);
    /*overflow: hidden;*/
}


.extension div {
    overflow: hidden;
}

.extension div::-webkit-scrollbar {
    display: none;
}



.extension-button {

}

.extension-button a{
    text-decoration: none;
    padding: 5px 5px;
    color: black;
    font-size: 28px;
}

.extension-button:hover a{
    color: var(--read-more-color);
}
.extension-button:hover {
    background-color: #efefef;
}

.extension-button:not(:last-child) {
    border-bottom: var(--default-border-color) 2px solid;
}

.search-container {
    width: 100%;
    box-shadow: var(--default-shadow);
    height: 100%;
    border: 1px solid var(--default-border-color);
    border-radius: var(--default-border-radius);

}

.search-container input {
    border-radius: var(--default-border-radius) 0 0 var(--default-border-radius);
    font-size: 28px;
    border: 0;
    outline: 0;
}

.search-container input::placeholder {
    color: var(--default-placeholder)
}

.language-button-pc {
    width: 100%;
    box-shadow: var(--default-shadow);
    height: 100%;
    font-size: 28px;
    border: 1px solid var(--default-border-color);
    border-radius: var(--default-border-radius);
    text-decoration: none;
    color: black;
    cursor: pointer;
    user-select: none;
    transition: 200ms color;
}


@media screen and (min-width: 1120px) and (max-width: 1500px) {


    #header-mobile-button {
        width: 5%;
        display: flex;
    }

    #header-nav-buttons {
        width: 65%;
    }
    #header-search-container {
        width: 22%;
        padding: 10px 2px;

    }
    #header-language-button {
        width: 8%;
        padding: 10px 2px;
    }





    .pc-button:nth-child(8) {
        display: none !important;
    }

    .mobile-button:nth-child(8) {
        display:  flex !important;
    }


    .pc-button:nth-child(7) {
        display: none !important;
    }
    .mobile-button:nth-child(7) {
        display:  flex !important;
    }

    .pc-button:nth-child(5) {
        display: none !important;
    }
    .mobile-button:nth-child(5) {
        display:  flex !important;
    }





}

@media screen and (min-width: 800px) and (max-width: 1120px) {


    #header-mobile-button {
        width: 5%;
        display: flex;
    }

    #header-nav-buttons {
        width: 45%;
    }

    #header-search-container {
        width: 40%;
        padding: 10px 2px;

    }

    #header-language-button {
        width: 10%;
        padding: 10px 2px;
    }



    .language-buttons {
        display: flex !important;
    }

    .pc-button:nth-child(8) {
        display: none !important;
    }
    .mobile-button:nth-child(8) {
        display:  flex !important;
    }

    .pc-button:nth-child(7) {
        display: none !important;
    }
    .mobile-button:nth-child(7) {
        display:  flex !important;
    }

    .pc-button:nth-child(6) {
        display: none !important;
    }
    .mobile-button:nth-child(6) {
        display:  flex !important;
    }

    .pc-button:nth-child(5) {
        display: none !important;
    }
    .mobile-button:nth-child(5) {
        display:  flex !important;
    }

    .pc-button:nth-child(4) {
        display: none !important;
    }
    .mobile-button:nth-child(4) {
        display:  flex !important;
    }


}


@media screen and (min-width: 0px) and (max-width: 750px) {
    #header-container-pc {
        opacity: 1;
    }
}

@media screen and (min-width: 660px) and (max-width: 800px) {



    #header-mobile-button {
        width: 10%;
        display: flex;
    }

    #header-nav-buttons {
        width: 38%;
    }

    #header-search-container {
        width: 40%;
        padding: 10px 2px;

    }

    #header-language-button {
        width: 12%;
        padding: 10px 2px;
    }

    .language-buttons {
        display: flex !important;
    }

    .pc-button:nth-child(8) {
        display: none !important;
    }
    .mobile-button:nth-child(8) {
        display:  flex !important;
    }

    .pc-button:nth-child(7) {
        display: none !important;
    }
    .mobile-button:nth-child(7) {
        display:  flex !important;
    }

    .pc-button:nth-child(6) {
        display: none !important;
    }
    .mobile-button:nth-child(6) {
        display:  flex !important;
    }

    .pc-button:nth-child(5) {
        display: none !important;
    }
    .mobile-button:nth-child(5) {
        display:  flex !important;
    }

    .pc-button:nth-child(4) {
        display: none !important;
    }
    .mobile-button:nth-child(4) {
        display:  flex !important;
    }

    .pc-button:nth-child(3) {
        display: none !important;
    }
    .mobile-button:nth-child(3) {
        display:  flex !important;
    }


}


@media screen and (min-width: 500px) and (max-width: 660px) {



    #header-mobile-button {
        width: 10%;
        display: flex;
    }

    #header-nav-buttons {
        width: 38%;
    }

    #header-search-container {
        width: 40%;
        padding: 10px 2px;

    }

    #header-language-button {
        width: 12%;
        padding: 10px 2px;
    }

    .language-buttons {
        display: flex !important;
    }


    .pc-button:nth-child(8) {
        display: none !important;
    }
    .mobile-button:nth-child(8) {
        display:  flex !important;
    }

    .pc-button:nth-child(7) {
        display: none !important;
    }
    .mobile-button:nth-child(7) {
        display:  flex !important;
    }

    .pc-button:nth-child(6) {
        display: none !important;
    }
    .mobile-button:nth-child(6) {
        display:  flex !important;
    }

    .pc-button:nth-child(5) {
        display: none !important;
    }
    .mobile-button:nth-child(5) {
        display:  flex !important;
    }

    .pc-button:nth-child(4) {
        display: none !important;
    }
    .mobile-button:nth-child(4) {
        display:  flex !important;
    }

    .pc-button:nth-child(3) {
        display: none !important;
    }
    .mobile-button:nth-child(3) {
        display:  flex !important;
    }

    .pc-button:nth-child(2) {
        display: none !important;
    }
    .mobile-button:nth-child(2) {
        display:  flex !important;
    }


}
@media screen and (min-width: 0px) and (max-width: 600px) {
    #header-container-pc {
        width: calc(100% - 10px);
        top: 120px;
    }



}

@media screen and (min-width: 0px) and (max-width: 500px) {


    #header-mobile-button {
        width: 15%;
        display: flex;
    }

    #header-nav-buttons {
        width: 0%;
    }

    #header-search-container {
        width: 65%;
        padding: 10px 2px;

    }

    #header-language-button {
        width: 20%;
        padding: 10px 2px;
    }


    /*#header-container-pc {*/
    /*    width: 100%;*/
    /*}*/


    .language-buttons {
        display: flex !important;
    }



    .pc-button:nth-child(8) {
        display: none !important;
    }
    .mobile-button:nth-child(8) {
        display:  flex !important;
    }

    .pc-button:nth-child(7) {
        display: none !important;
    }
    .mobile-button:nth-child(7) {
        display:  flex !important;
    }

    .pc-button:nth-child(6) {
        display: none !important;
    }
    .mobile-button:nth-child(6) {
        display:  flex !important;
    }

    .pc-button:nth-child(5) {
        display: none !important;
    }
    .mobile-button:nth-child(5) {
        display:  flex !important;
    }

    .pc-button:nth-child(4) {
        display: none !important;
    }
    .mobile-button:nth-child(4) {
        display:  flex !important;
    }

    .pc-button:nth-child(3) {
        display: none !important;
    }
    .mobile-button:nth-child(3) {
        display:  flex !important;
    }

    .pc-button:nth-child(2) {
        display: none !important;
    }
    .mobile-button:nth-child(2) {
        display:  flex !important;
    }

    .pc-button:nth-child(1) {
        display: none !important;
    }
    .mobile-button:nth-child(1) {
        display:  flex !important;
    }


}




