@charset "UTF-8";

:root {
    --nav-bg-color: var(--main-color);
    --nav-fg-color: var(--bg-color)
}

img.loadingIcon {
    width: 30px;
    height: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg)
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

nav.loading {
    background-color: var(--bg-color);
    box-shadow: none
}

nav {
    font-family: var(--normal-font);
    font-size: 1.0833rem;
    background-color: var(--nav-bg-color);
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12)
}

nav .container {
    max-width: var(--my-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center
}

nav .container .links {
    display: flex;
    flex-direction: row;
    align-items: center
}

nav .container .other,
nav .container .other .icons {
    display: flex;
    align-items: center
}

nav .container .other {
    flex-direction: row-reverse
}

nav a,
nav a:link,
nav a:visited {
    color: var(--nav-fg-color);
    background-color: var(--nav-bg-color);
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
    font-weight: 400
}

.active,
.active:active,
.active:hover,
.active:link,
.active:visited,
nav a:active,
nav a:hover,
nav a:visited:hover {
    color: var(--nav-bg-color);
    -webkit-text-fill-color: var(--nav-bg-color);
    background-color: var(--nav-fg-color)
}

nav img#theme-button {
    filter: invert(100%);
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0 10px 0 20px;
    cursor: pointer
}

nav img#theme-button:hover {
    opacity: .8
}

nav .title,
nav .title:active,
nav .title:hover,
nav .title:link,
nav .title:visited {
    float: right;
    font-weight: 700;
    color: var(--nav-fg-color);
    -webkit-text-fill-color: var(--nav-fg-color);
    background-color: var(--nav-bg-color);
    padding: 10px
}

nav .hamburger {
    display: none
}

@media screen and (max-width:840px) {
    nav .container {
        flex-direction: column-reverse
    }

    nav .container .other {
        justify-content: space-between;
        width: 100%
    }

    nav .container .other {
        flex-direction: row
    }

    nav .title,
    nav .title:active,
    nav .title:hover,
    nav .title:link,
    nav .title:visited {
        padding: 10px 20px
    }

    nav .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin: 0 20px 0 10px
    }

    nav .bar1,
    nav .bar2,
    nav .bar3 {
        width: 25px;
        height: 3px;
        background-color: #fff;
        transition: all .2s
    }

    nav .container .links {
        display: none
    }

    nav.responsive .links {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        width: 100%
    }

    nav.responsive a {
        text-align: left;
        padding-left: 20px
    }

    nav.responsive a {
        color: var(--nav-fg-color)
    }

    nav.responsive a.active {
        color: var(--nav-bg-color)
    }

    nav.responsive a:hover {
        color: var(--nav-bg-color);
        -webkit-text-fill-color: var(--nav-bg-color);
        background-color: var(--nav-fg-color)
    }

    nav.responsive .title {
        float: none;
        display: block;
        text-align: left;
        color: var(--nav-fg-color);
        background-color: var(--nav-bg-color);
        opacity: 1
    }

    nav.responsive .title:hover {
        color: var(--nav-fg-color);
        -webkit-text-fill-color: var(--nav-fg-color);
        background-color: var(--nav-bg-color)
    }

    nav.responsive .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px)
    }

    nav.responsive .bar2 {
        opacity: 0
    }

    nav.responsive .bar3 {
        transform: rotate(45deg) translate(-5px, -6px)
    }
}