:root {
  --highlight: #000000;
  --midtone1: #ffd700;
  --midtone2: #d5cb13;
  --shadow: #000000;
}
:active {
    transition: 0.01s ease-in-out;
}
:hover {
    transition: 0.2s ease-in-out;
}
* {
    transition: 0.4s ease-in-out;
    background-color: var(--shadow);
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 5%;
    margin-right: 5%;
}
body {
    background-color: var(--highlight);
    font-family: 'Victor Mono', monospace;
    color: white;
    margin: 0 10%;
    margin-bottom: 5%;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}
p {
    line-height: 160%;
}
html {
    scroll-behavior: smooth;
}
section {
    border-radius: 5px;
    border: 3px solid var(--midtone2);
}
section:hover {
    border-color: var(--midtone1);
}
section:active {
    border-color: var(--highlight);
    border-radius: 0;
}
subsection {
    width: 26%;
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin: 1.5%;
    display: inline-block;
    vertical-align: top;
    border-radius: 5px;
    border: 3px solid var(--midtone2);
}
subsection:hover {
    border-color: var(--midtone1);
}
subsection:active {
    border-radius: 0;
}

ul {
    margin-left: 1%;
    list-style: square;
}
a {
    color: var(--midtone1);
}



.button {
    background-color: #0b1012;
    font-family: 'Victor Mono', monospace;
    border: 3px solid #AAA;
    border-radius: 10px;
    color: white;
    padding: 6px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease-in-out;
}

.button:hover {
    background-color: #0b1012;
    color: white;
}

.button:active {
    background-color: white;
    color: #0b1012;
}



button {
    font-family: inherit;
    color: var(--highlight);
    background-color: white;
    text-align: center;
    padding: 2% 4%;
    text-decoration: none;
    border: 3px solid white;
    border-radius: 5px;
}
button:hover {
    color: var(--shadow);
    background-color: var(--midtone1);
    cursor: pointer;
    transform: rotate(5deg);
}
button:active {
    background-color: var(--midtone2);
    border-color: var(--midtone2);
    transition: 0.01s ease-in-out;
}
b {
    padding: 0;
    margin: 0;
}
footer {
    margin: 1%;
}

.topnav {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    border-radius: 5px;
    background-color: transparent;
    border: 3px solid var(--midtone1);
}
.topnav a {
    margin: 0;
    float: left;
    color: var(--highlight);
    background-color: white;
    text-align: center;
    padding: 1% 2%;
    text-decoration: none;
    border: 3px solid var(--shadow);
    border-radius: 5px;
}
.topnav a:hover {
    color: var(--shadow);
    background-color: var(--midtone1);
}
.active {
    color: var(--shadow);
    background-color: var(--midtone1);
}
.heading {
    font-size: 2.5vw;
}
.subheading {
    font-size: 1.7vw;
}
.text {
    font-size: 1vw;
}
.centered {
    text-align: center;
    position: absolute;
}
.clickable,h1 {
    text-decoration: none;
    background-image: linear-gradient(var(--midtone1), var(--midtone1));
    background-repeat: no-repeat;
    background-size: 0 0.1em;
    background-position: 0 100%;
    cursor: pointer;
}
.clickable:hover,.clickable:focus,.clickable:active,h1:hover,h1:focus,h1:active {
    background-size: 100% 0.1em;
    animation: bounce 2s;
}
.animRect {
    animation: hExit 9999s;
    filter: blur(15px);
    z-index: 99;
    position: fixed;
    top: -25px;
    left: 0;
    width: 1000%;
    height: 200%;
}
.noAnimRect {
    z-index: 99;
    position: fixed;
    top: -25px;
    left: 0;
    width: 1000%;
    height: 0;
    filter: blur(15px);
}
.animTrans {
    filter: blur(15px);
    animation: enterExit 1s;
    z-index: 99;
    position: fixed;
    width: 1000%;
    height: 0;
}
.splashStateRect {
    position: fixed;
    top: -25px;
    left: 0;
    width: 1000%;
    height: 200%;
}
.themeButton {
    color: var(--highlight);
    background-color: var(--shadow);
    border-top-color: var(--highlight);
    border-left-color: var(--midtone1);
    border-right-color: var(--midtone2);
    border-bottom-color: var(--shadow);
    border-radius: 5px;
    border-width: 20px;
    border-style: solid;
    position: fixed;
    top: 85%;
    left: 90%;
    padding: 0.01px;
}
.themeButton:hover {
    transform: rotate(10deg);
}
.fontButton {
    font-family: Times;
    font-style: bold;
    color: var(--highlight);
    background-color: var(--shadow);
    border-top-color: var(--highlight);
    border-left-color: var(--midtone1);
    border-right-color: var(--midtone2);
    border-bottom-color: var(--shadow);
    border-radius: 5px;
    border-width: 5px;
    border-style: solid;
    position: fixed;
    top: 75%;
    left: 90%;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px  ;
}
.fontButton:hover {
    transform: rotate(10deg);
    background-color: var(--shadow);
    color: var(--highlight);
}

#splash {
    position: fixed;
    text-align: center;
    top: 47.5%;
    left: 45%;
    margin: 0;
}

@keyframes hExit {
    0% { height: 100vh; }
    0.01% { height: 0; }
    100% { height: 0; }
}
@keyframes enterExit {
    0% { height: 0; }
    25% { height: 200%;}
    100% { height: 0;}
}
@keyframes bounce {
    0% { transform: translate(0px,0px) rotate(0deg); }
    25% { transform: translate(0px,-2px) rotate(0deg); }
    50% { transform: translate(0px,2px) rotate(0deg); }
    75% { transform: translate(0px 0px) rotate(0deg); }
    100% { transform: translate(0px,0px) rotate(0deg); }
}
@media (max-width: 500px) {
    subsection {
        width: 90%;
    }
}

::-webkit-scrollbar {
    width: 10px;
    border-radius: 3px;
}
::-webkit-scrollbar-track {
    background: var(--midtone2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb {
    background: var(--highlight);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--midtone1);
    border-radius: 3px;
}
  
