* {
    padding: 0;
    margin: 0;
}

:root {
    --primary: #ffcc00;
    --secondary: #670305;
    --tetriary: #fc3232;
}

.yellow {
    --primary: #ffcc00;
    --secondary: #670305;
    --tetriary: #fc3232;
}

.pink {
    --primary: #f9aecd;
    --secondary: #fa339c;
    --tetriary: #78034a;
}

.purple {
    --primary: #beb0ff;
    --secondary: #9535f9;
    --tetriary: #69197c;
}

.blue {
    --primary: #56ddf0;
    --secondary: #0050ff;
    --tetriary: #03357c;
}

.green {
    --primary: #c0ed0c;
    --secondary: #2add5d;
    --tetriary: #014c35;
}

html {
    overflow-x: hidden;
    overflow-y: hidden;
}

.wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    font-family: sans-serif;
    background-color: var(--primary);
}

main {
    margin: 10vh auto;
    padding: 5vh 3vw;
    width: 85vw;
    height: 80vh;
    background-color: rgb(from var(--tetriary) r g b / 95%);
    color: var(--primary);
    background-blend-mode: screen;
    box-sizing: border-box;
}

.swapAnimation {
    animation: swap 1.5s cubic-bezier(1.00, 0.05, 0.35, 0.91);
}

.swapAnimationReverse {
    animation: swap 1.5s cubic-bezier(1.00, 0.05, 0.35, 0.91);
    animation-direction: reverse;
}

@keyframes swap {
    0% {
        margin-left: 7.5vw;
    }

    50% {
        margin-left: -100vw;
        margin-top: 10vh;
    }

    51% {
        margin-left: -100vw;
        margin-top: 100vh;
    }

    52% {
        margin-top: 100vh;
        margin-left: 100vw;
    }

    53% {
        margin-top: 10vh;
    }

    100% {
        margin-left: 7.5vw;
    }
}

canvas {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
}

button {
    border-style: solid;
    border-width: 2px;
    border-color: hsl(from var(--primary) h s calc(l - 5));
    font-weight: bold;
    background-color: var(--primary);
    color: var(--tetriary);
    font-size: 1.3rem;
    transition: filter 1s;
    padding: 5px;
}

button:disabled {
    filter: brightness(0.8);
    background-color: var(--primary);
    color: var(--tetriary);
}


.dropdown {
    background-color: var(--tetriary);
    color: var(--primary);
    font-weight: bold;
    font-size: 1.8rem;
    transition: box-shadow 0.2s, height 0.2s;
    padding: max(1vh, 5px) max(0.5vw, 5px);
    position: absolute;
}

.themes {
    right: 0;
    bottom: 0;
}

.dropdownContent {
    margin: 1vh 0;
    width: 100%;
    display: flex;
    gap: 1vh;
    justify-content: space-between;
    flex-direction: column;
}

.dropdown .dropdownContent {
    pointer-events: none;
    display: none;
}

.dropdown:hover .dropdownContent {
    pointer-events: auto;
    display: flex;
}

.dropdown:hover {
    box-shadow: 0px 0px 0px 2px var(--secondary);
}

.title {
    font-size: 3rem;
    height: 10vh;
}

.mainContent {
    margin-top: 1.2vh;
    height: 60vh;
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
}

#alignBetter {
    margin-top: 13vh;
}

@media screen and (max-width: 800px) {
    .mainContent {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        overflow: auto;
    }

    #alignBetter {
        margin-top: 0;
    }

    .title{
        font-size: 1.5rem;
    }
}

.rightContent h2,
.leftContent h2 {
    margin: 2vh 0 1vh;
}

.rightContent img,
.leftContent img {
    width: 95%;
    height: auto;
    background-color: var(--primary);
    padding: 5px;
}

.section {
    height: 105%;
}

.sectionButtons {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.sectionButton {
    width: 20%;
    border-color: hsl(from var(--primary) h s calc(l - 10));
    padding: 5px 0px 5px 1vw;
    transition: transform 0.4s cubic-bezier(0, 0.05, 0.35, 1), filter 0.5s;
    text-align: left;
}

.sectionButton:hover {
    transform: translateY(-1vh);
}

.mobileOnly {
    display: none;
}

.mobileOnly.dropdown{
    position: absolute;
    left: 0;
    top: 0;
}

@media screen and (max-width: 1200px) {
    .sectionButton {
        font-size: 1rem;
    }
}

@media screen and (max-width: 800px) {
    .mobileOnly {
        display: block;
    }

    .sectionButtons{
        display: none;
    }
}

#firstYear {
    display: none;
}

#blocks {
    display: none;
}

#schedule {
    display: none;
}