﻿
header {
    height: 10vh;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-sizing: border-box;
}

    header img {
        max-height: 8vh;
    }

.header__logo a {
    display: flex;
    justify-content: center;
   text-decoration: none;
    align-items: center;
    gap: 10px;
}

    .header__logo a span {
        color: var(--fontColor1);
        padding-left: 10px;
        border-left: 2px solid var(--backgroundColor2);
        text-decoration: none;
        font-family: var(--defaultFont);
        height: 50%;
    }

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

    nav ul {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }


        nav ul li {
            list-style: none;
        }

            nav ul li a {
                text-decoration: none;
                padding: 15px;
                color: var(--fontColor1);
                font-size: 20px;
                border-radius: 15px;
                font-family: var(--defaultFont);
                transition: .3s;
            }

                nav ul li a:hover {
                    background-color: var(--corLogo);
                    color: white;
                }

#themeMode {
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.menuButton, .closeMenuButton {
    background-color: transparent;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

    .menuButton span, .closeMenuButton span {
        font-size: 40px;
        color: var(--fontColor1);
        transition: .3s;
    }

    .menuButton:hover span {
        background-color: var(--corLogo);
        color: white;
    }


#bookmarkViewButton{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}



@media (max-width: 768px) {
    nav {
        position: fixed;
        background-color: var(--corLogo);
        right: -100vw;
        flex-direction: column;
        top: 0;
        justify-content: start;
        align-items: end;
        z-index: 3;
        height: 100vh;
        width: 90vw;
        transition: .3s;
    }

        nav.show {
            right: 0;
        }

        nav ul {
            flex-direction: column;
            align-items: end;
            margin-right: 20px;
            width: 100%;
            box-sizing: border-box;
        }

            nav ul li {
                text-align: right;
            }

                nav ul li a {
                    text-align: right;
                    justify-content: end;
                    font-size: 30px;
                }

    #themeMode {
        justify-content: end;
    }

    .menuButton, .closeMenuButton {
        display: flex;
    }

    .closeMenuButton {
        padding: 20px;
        margin: 20px 0;
        margin-right: 20px;
        background-color: var(--backgroundColor);
        color: var(--fontColor1);
        width: calc(100% - 40px);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: end;
    }

        .closeMenuButton:hover {
            background-color: var(--corLogo);
        }
}
