@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Quicksand&family=Raleway&display=swap');
        
@media screen and (max-width: 900px) {
    #navbar {
        height:60px;
        width: 60px;
        padding: 0px;
        overflow:hidden;
    }
    #navbar-expanded {
        height: 59px;
        overflow-x: shown;
        overflow-y:hidden;
        white-space: nowrap;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .nonMenuIcon {
        display: none;
    }
    #main {
        margin-left: 0px;
        margin-top: 65px;
    }
    #closeBttn {
        display:none;
    }
    button {
        background-color: #5050f0;
        color: #ffffff;
    }
    .navbarIcon {
        margin-top: 0px;
    }
}

@media screen and (min-width: 901px) {
    #navbar {
        height:101%;
        width: 60px;
        padding: 3px;
    }
    #navbar-expanded {
        height: 100%;
        overflow-x: hidden;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    #main {
        margin-left: 60px;
        margin-top: 30px;
    }
    button {
        background-color: #00000000;
        color: #000000;
    }
    button:hover {
        background-color: #5050f0;
        color: #ffffff;
    }
    .navbarIcon {
        margin-top: 3px;
    }
}

body {
    margin:0;
    padding:0;
    transition: background-color 0.5s;
}

#main {
    transition: margin-left 0.5s;
    overflow-x: hidden;
    text-align: center;
    padding: 5px;
}

#navbar {
    margin: 0;
    padding: 0;
    border: 2px solid #000000a0;
    border-right: none;
    position: fixed;
    top: -3px;
    left: -3px;
    transition: 0.5s;
}

#navbar-expanded {
    margin: 0;
    padding: 0;
    width: 0;
    position: fixed;
    top: -2px;
    left: 58px;
    transition: 0.5s;
}

/* The margin-top for .navlink was ridiculously hard to figure out.
Here's how to make them line up with the navbarIcons in case the spacing changes:
Basically, we want the navlinks to take up the same vertical space as the navbarIcons.
To that, we set the navlinks' height to the navbarIcons' height. Then, we set the
navlinks' padding to the navbarIcons' padding added to their margin. It would be simpler
to just set the navlinks' margin and padding to their navbarIcon counterparts, but the
margins keep collapsing, so it needs to be all padding. */
.navlink {
    user-select: none;
    cursor: pointer;
    padding: 0;
    display: block;
    position: static;
    white-space: nowrap;
    text-decoration: none;
    font-size: 24px;
    font-family: "Comfortaa", sans-serif;
    transition: 0.2s;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 3px;
}

.navlink:hover {
    color: #808080a0;
}

#navLinkWrapper {
    margin-top: 20px;
}

.navbarIcon {
    cursor: pointer;
    user-select: none;
    border-radius: 50%;
    padding: 3px;
    margin: 3px;
    font-size: 48px;
    width: 48px;
    height: 48px;
    transition: color 0.5s;
}

.navbarIcon:hover {
    background-color: #80808050;
}

#themeButton {
    position: fixed;
    cursor: pointer;
    right: 10px;
    bottom: 10px;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: transparent;
    transition: 
        background-color 0.2s;
}

#themeButtonSymbol {
    font-size: 60px;
    transition:
        color 0.5s;
}

.closeBttn {
    float: right;
    position: absolute;
    right: 5px;
    top: 5px;
}

.material-symbols-rounded {
    font-variation-settings:
    'FILL' 0,
    'wght' 700,
    'GRAD' 0,
    'opsz' 48;
    user-select: none;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #d0d0d0;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background: #9090ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7070ff;
}

details {
    border: 2px solid #808080;
    border-radius: 10px;
    padding: 0px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
}

.details-content {
    margin: 5px;
}

summary {
    display: block;
    background-color: #00000000;
    font-family: "Raleway",sans-serif;
    font-size: 27px;
    cursor: pointer;
    user-select: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 5px;
    text-align: center;
    transition: 
        background-color 0.2s,
        color 0.5s;
}

details > p {
    margin: 5px;
}

summary::after {
    margin-right: 1ch;
    margin-left: 1ch;
    display: inline-block;
    font-size: 32px;
    transition: 
        color 0.5s;
    content: '+';
}

details[open] > summary::after {
    rotate: 45deg;
}

details[open] > summary {
    border-bottom: 2px solid #808080;
}

details > summary {
    list-style: none;
}
details > summary::marker,
details > summary::-webkit-details-marker {
    display: none;
}

details.small {
    width: 50%;
}

p {
    font-family:"Raleway",sans-serif;
    font-size:20px;
    cursor: default;
    transition: color 0.5s;
}

h1.docHead {
    font-size: 76px;
    border-radius: 20px;
    color:#3030f0;
    background: linear-gradient(180deg, #9090ff, #6060ff);
    padding: 7px;
    margin: 0px;
    display: inline-block;
}

h1 {
    color:#7070f0;
    font-family:"Comfortaa",sans-serif;
    font-size:64px;
    user-select: none;
}

h2 {
    color: #6060f0;
    font-family:"Quicksand",sans-serif;
    font-size:32px;
    user-select: none;
    transition:
        color 0.5s;
}

button {
    user-select: none;
    font-family: "Quicksand", sans-serif;
    font-size: 25px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid #5050f0;
    margin: 5px;
    transition: 
        background-color 0.2s,
        color 0.5s;
}

::selection {
    color: #0000b0;
    background-color: #b0b0ff;
}
