/*header*/

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    a, a:visited {
        cursor: default;
        width: min-content;
        align-self: center;
    }
}

#logo {
    height: 80px;
    max-height: 21.5vh;
    margin-top: min(20px, 3.5vh);
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#pages {
    width: 100%;
    height: 100px;
    max-height: 12.5vh;
    display: flex;
    align-items: center;
    z-index: 1;
    transition: top 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: sticky;
    justify-content: center;
    margin-bottom: 15px;
}

.nav-down {
    top: -1px;
    box-shadow: 0 0 10px 10px rgb(0,0,0,0.15);
}

.nav-up {
    top: -100px;
}




#pages>a {
    display: inline-block;
    width: min(150px,20vw);
    height: 2em;
    max-height: 12.5vh;
    line-height: min(2em, 12.5vh);
    font-size: min(2em, 12.5vh);
    font-weight: bold;
    cursor: pointer;
    margin-inline: min(30px, 4vw);
    border-top: 2px solid;
    border-bottom: 2px solid;
    text-decoration: none;
}

#options {
    position: absolute;
    top: 2vh;
    right: 2vh;
    display: flex;
    align-items: center;
    z-index: 2;
}

#theme {
    height: min(40px,7.5vh);
    font-size: min(40px,7.5vh);
    line-height: min(40px,7.5vh);
    font-family: inherit;
    margin-right: min(15px,2.8125vh);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s linear;
    border-radius: min(20px,3.75vh);
    /*visibility: collapse;*/
}

#theme:after {
    visibility: visible;
}

#language {
    width: min(60px,11.25vh);
    height: min(40px,7.5vh);
    font-family: inherit;
    font-size: min(18px, 5vh);
    border: none;
    border-radius: min(10px,1.875vh);

    text-align: center;
    cursor: pointer;


    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}