:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
}

body {
    font-family: "JetBrains Mono", monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    --bg-color: #262626;
    --text-color: #f5f5f5;
}

#theme-switch .light {
    display: none;
}

#theme-switch .dark {
    display: inline;
}

body.dark-mode #theme-switch .dark {
    display: none;
}

body.dark-mode #theme-switch .light {
    display: inline;
}


header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
    padding: 10px;
    background-color: #020aa6;
    color: #fff;
    font-size: 20px;
}

footer {
    display: block;
    justify-content: center;
    align-items: center;
    margin: 10px;
    padding: 15px;
    background-color: #020aa6;
    color: #fff;
    font-size: 15px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    background-color: #323ca8;
    transition: 0.7s;
    padding-top: 25px;
    text-align: center;
}

.sidenav a {
    padding-top: 25px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    display: block;
    transition: 0.7s;
}

.sidenav .closebtn {
    position: absolute;
    top: 2px;
    font-size: 25px;
    right: 25px;
}

button {
    font-family: "JetBrains Mono", monospace;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 0;
    background-color: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
}

button:active {
    font-family: "JetBrains Mono", monospace;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

button a {
    font-family: "JetBrains Mono", monospace;
    color: #000;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

button a, a {
    text-decoration: none;
}

a {
    color: #0069FF;
    text-decoration: underline;
}

a:visited {
    font-family: "JetBrains Mono", monospace;
    text-decoration: none;
}

a:hover, a:active {
    font-family: "JetBrains Mono", monospace;
    color: #000;
    text-decoration: underline;
}

button:focus-visible,
a:focus-visible {
    font-family: "JetBrains Mono", monospace;
    outline: 2px dotted;
    outline-offset: -4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    font-family: "JetBrains Mono", monospace;
    outline: none;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 25px;
    }
    .sidenav a {
        font-size: 15px;
    }
}