:root {
    --red: #ff1843;
    --green: #5fff56;
    --blue: #0095ff;
    --pink: #ff008e;
    --orange: #ff6f00;
    --purple: #6b5fff;
    --nearBlack: #00122c;

    --tp: #ffffff31;

    --curve: cubic-bezier(.24,1.19,.43,1.654);
}

@font-face {
    font-family: Fredoka;
    src: url("../a_assets/fonts/Fredoka.ttf")
}

@font-face {
    font-family: Rubik;
    src: url("../a_assets/fonts/Rubik.ttf")
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #262626;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;

    background-color: #000;

    scrollbar-width: thin;
}

html, body {
    overscroll-behavior: none;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
    margin-left: 50px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Rubik, sans-serif;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    padding: 0 10px;
    white-space: pre-wrap;

    user-select: none;
}

h1 {font-size: 45px;}
h2 {font-size: 40px;}
h3 {font-size: 35px;}
h4 {font-size: 25px;}
h5 {font-size: 17px;}

p {
    font-family: Fredoka, sans-serif;
    font-weight: 600;
    padding-left: 10px;
    padding-right: 10px;
    word-wrap: break-word;
    white-space: pre-wrap;

    user-select: none;
}

a {
    font-family: Fredoka, sans-serif;
    font-weight: 600;
    font-size: 25px;
    padding-left: 10px;
    padding-right: 10px;
    word-wrap: break-word;
    white-space: pre-wrap;
    transition: font-size 0.3s var(--curve);
    cursor: pointer;

    user-select: none;
}

h1 a {
    display: inline-block;
    transition: transform 0.3s var(--curve);
    cursor: pointer;

    user-select: none;
}

h1 a:hover {
    transform: scale(1.1);
}

h1 a:active {
    transform: scale(1);
}

img {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;

    user-drag: none;
    -webkit-user-drag: none;
}

* input {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;

    user-drag: none;
    -webkit-user-drag: none;
}

.sidebar-base {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--purple);
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 9999;
}

.top-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    z-index: 100;

    background: var(--purple);
}

.top-group + * {
    margin-top: auto;
}

.sidebar-expanded {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--purple);
    position: fixed;
    top: 0;
    left: 0;
    width: 450px;
    height: 100vh;
    box-sizing: border-box;
    z-index: 9998;

    transform: translateX(-450px);

    /*padding: 0 10px;*/

    transition: transform 0.25s ease;
}

.sidebar-bottom {
    position: absolute;
    bottom: 0;
    background-color: var(--purple);
}

.sidebar-expanded h1, .sidebar-expanded h2, .sidebar-expanded h3, .sidebar-expanded h4, .sidebar-expanded h5, .sidebar-expanded h6 {
    color: white;
    margin: 1px 0;
    padding: 0 0 6px;
    text-align: left;
}

.sidebar-base *:first-child {
    margin: 0;
    color: white;
    font-weight: bold;
    transform: rotate(0deg);
    align-self: center;
    transform-origin: center;

    position: static;
    top: 0;
    left: 0;
}

.sidebar-base > *:nth-child(-n + 5) {
    margin-bottom: 10px;
}


.sidebar-base * {
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
}

.sidebar-base ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-base a {
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sidebar-base img {
    max-width: 30px;
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.sidebar-base input {
    max-width: 30px;
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s var(--curve);
}

.sidebar-base input:hover {
    transform: scale(1.35) rotate(-90deg);
}

.sidebar-base input:active {
    transform: scale(1.15) rotate(-100deg);
}

.sidebar-base h3 {
    color: white;
    font-weight: bolder;
    width: 30px;
    padding-top: 5px;
}

.sidebar-base h4 {
    color: white;
    font-style: italic;
    font-weight: bold;
    padding: 0;
    width: 30px;
    margin-bottom: 15px;
}

.sidebar-base:hover .hidden-nav {
    pointer-events: auto;
    opacity: 1;
}

.socials img {
    max-width: 25px;
}

.socials {
    padding: 0;
    align-items: center;
    display: flex;
}

.socials a {
    padding: 0 7px;
}

.socials a img {
    transition: transform 0.3s var(--curve);
}

.socials a img:hover {
    transform: scale(1.35);
}

.socials a img:active {
    transform: scale(1.15) rotate(-10deg);
}

.gap {
    background-color: var(--purple);
}

div.gap {
    padding-top: 60px;
}

#cursor-follow {
    z-index: 0 !important;
    background: radial-gradient(circle at center, var(--purple) 0%, transparent 50%);
    height: 500px;
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    position: fixed;
}

.tileable-stars-black {
    background-image: url("/a_assets/images/bg-assets/invis-black-stars.png");
    background-size: 100px;
    background-repeat: repeat;

    min-height: 100vh;
    height: 100%;

    display: grid;
    position: relative;
    text-align: center;
    color: white;
    /*align-items: center;*/
    -webkit-text-stroke: 7px black;
    paint-order: stroke fill;

    animation: scrollStars 60s linear infinite;
}

.tileable-pattern-purple {
    background-image: url("/a_assets/images/bg-assets/purplepattern.png");
    background-size: 280px;
    background-repeat: repeat;
    height: 100vh;

    display: grid;
    position: relative;
    text-align: center;
    color: white;
    /*align-items: center;*/
    -webkit-text-stroke: 7px black;
    paint-order: stroke fill;

    animation: scrollPattern 60s linear infinite;
}

@keyframes swayUpDown {
    0%, 100% {
        transform: translateY(75px);
    }
    50% {
        transform: translateY(150px);
    }
}

@keyframes scrollStars {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px -700px;
    }
}

@keyframes scrollPattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@view-transition {
    navigation: auto;
}

.side-links {
    color: white;
    padding-left: 0;
    padding-bottom: 10px;
    text-decoration: underline solid transparent;
    transition: all 0.3s var(--curve);
}

.side-links:hover {
    text-decoration: underline solid white;
    font-size: 37px;

    transition: all 0.3s var(--curve);
}

.side-links:active {
    text-decoration: underline solid white;
    font-size: 30px;

    transition: all 0.3s var(--curve);
}

.side-headers {
    padding-top: 8px !important;
    font-size: 30px;
    padding-bottom: 9px !important;
}

.social-container {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.fof-text {
    font-size: 100px;
    -webkit-text-stroke: 14px black;
    animation: swayUpDown 1.5s ease-in-out infinite;
    color: #FFDB58;
}

.sidebar-top {
    height: calc(100% - 82px);

    overflow-y: auto;
}

#yearText {
    padding-right: 0 !important;
}

#arrow {
    cursor: pointer;
}