@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;400;500;800&display=swap");
:root {
    --primary-color: rgba(252, 252, 252, 1);
    --secondary-color: rgba(210, 210, 210, 1);
    --accent-color: rgba(102, 16, 242, 1);
    --active-color: rgba(164, 107, 255, 1);
    --alt-color: rgba(27, 27, 27, 0.7);
    --background-color: rgba(0, 29, 74, 1);
    --alt-background-color: rgba(78, 74, 89, 0.9);
}

* {
    font-family: 'Manrope', sans-serif !important;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.025em;
    -ms-overflow-style: none;
    scrollbar-width: none; 
    /* border: 1px solid red; */
}

*::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-snap-points-y: repeat(100vh);
}

body {
    opacity: 0.9;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--primary-color);
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--alt-color) 100%);
    overflow-y: scroll !important;
    scroll-snap-type: y mandatory;
    scroll-snap-points-y: repeat(100vh);
    overscroll-behavior-y: none;
}

section {
    z-index: 2;
    min-height: 100vh;
    min-width: 100vw;
    scroll-snap-align: start;
}

nav {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    top: 0;
    z-index: 9;
    padding: 3.5rem 2rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

nav div:first-of-type {
    height: 10vw;
    max-height: 3rem;
    width: 15rem;
    /* margin-top: 0.25rem; */
    background-image: url("../assets/SPARKHS-DARK-TRANSPARENT-CROPPED.png");
    position: fixed;
    transform-origin: center !important;
}

nav .button-container {
    margin-left: auto;
    max-width: 100%;
    justify-content: flex-end;
    justify-self: flex-end;
    margin-right: 4rem;
    padding-right: 0.3rem;
}

nav button {
    font-size: 0.9rem !important;
    text-align: center;
    justify-content: center;
    padding: 0.5rem 1rem !important;
}

button svg {
    width: 0.9rem !important;
    height: 0.9rem !important;
    fill: var(--primary-color) !important;
    margin-left: 0.25rem;
}

nav button:first-of-type {
    background: transparent !important;
    border: 0.5px solid var(--primary-color) !important;
}

nav button:last-of-type {
    background: rgba(102, 16, 242, 0.6) !important;
    border: none !important;
}

nav button:last-of-type:hover {
    background: var(--accent-color) !important;
}

.content-hidden {
    opacity: 0 !important;
}

#nav-open {
    height: 3rem;
    width: 3rem;
    margin-right: auto;
    margin-left: 4rem;
    opacity: 0.8;
    font-size: 1.25rem;
    background-color: transparent;
    color: var(--secondary-color) !important;
    border-radius: 0.5rem;
    overflow: hidden !important;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#nav-open h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2) !important;
    font-weight: bold !important;
}

nav div:first-of-type:hover, #nav-open:hover  {
    opacity: 1;
    scale: 1.2;
}

.img {
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 0vw;
    opacity: 0;
    /* width: 40vw;
    opacity: 1; */
    background-color: var(--accent-color);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    overflow-y: scroll !important;
    z-index: 8;
    pointer-events: none;
}

.nav-scale {
    margin-left: 1.5rem !important;
    scale: 1.2 !important;
    pointer-events: all !important;
}

.nav-move {
    margin-top: -1.5rem !important;
}

.menu-open {
    opacity: 1 !important;
    width: 25vw !important;
    pointer-events: all !important;
}

.section-blur {
    opacity: 0.7;
    overflow-y: hidden !important; 
    pointer-events: none;
}

.frozen {
    overflow: hidden !important;
    pointer-events: none;
    opacity: 0.7;
}

.terms {
    position: absolute;
    height: 0%;
    max-height: 80vh;
    padding: 1rem;
    width: 37.5vw;
    max-width: 100%;
    padding: 1rem;
    background-color: rgba(27, 27, 27, 0.9);
    border: 0.5px solid var(--secondary-color);
    border-radius: 1rem;
    overflow-y: scroll;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    justify-content: center !important;
    transition: height 1s ease, opacity 0.5s ease;
}

.terms h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.terms h4 {
    margin: 0.5rem 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.terms h6 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: normal !important;
}

.terms-open {
    opacity: 1 !important;
    height: 100% !important;
    pointer-events: all;
}

.terms div {
    height: 100%;
    width: 100%;
    padding: 2rem 1rem 2rem 1rem;
}

.terms .button-container {
    height: 5rem;
    margin-top: -2rem;
    padding: 0;
}

.terms button {
    width: 100%;
    text-align: center;
    justify-content: center;
    border: 0.25px solid var(--secondary-color);
    background-color: var(--accent-color) !important;
    opacity: 0.8;
}

.terms button:hover a, .terms a:hover {
    letter-spacing: normal !important;
    opacity: 1 !important;
}

.container {
    margin: 0;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    background-size: 1rem 0rem;
    cursor: pointer;
}

a:hover, button:hover a {
    color: var(--primary-color);
    background: linear-gradient(360deg, var(--primary-color) 0%, var(--primary-color) 10%, transparent 10%);
    background-size: 1.5rem 1.5rem;
}

a:hover:not(.no-link):not(.terms-accept), button:hover a {
    letter-spacing: 0.1rem;
}

button:hover:disabled {
    cursor: not-allowed !important;
}

a:active, button:active a {
    background: linear-gradient(360deg, var(--active-color) 5%, var(--active-color) 10%, transparent 10%);
}

a:active, button:active a, .link-active, select:active, select:focus, input:active, input:focus, textarea:active, textarea:focus {
    color: var(--active-color) !important;
    transform: translateY(4px);
    opacity: 1;
}

.submitted input:not(:placeholder-shown):invalid, .submitted select:not(:placeholder-shown):invalid, .submitted button:invalid {
    opacity: 1;
    color: rgba(255, 0, 0, 1) !important;
    border-color: rgba(255, 0, 0, 1) !important;
}

button, input:not([type="checkbox"]), select, option, textarea {
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: inherit;
    border-radius: 0.2rem;
    text-align: left;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-color: var(--alt-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none; 
}

select {
    padding: 0.25rem 1rem;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgba(252, 252, 252, 1)'><polygon points='50,40 100,15 100,30 50,55 0,30 0,15'/></svg>") no-repeat 95% 60%;
    background-size: 0.6em;
    appearance: none;
}

select:disabled {
    opacity: 0.5 !important;
}

button:disabled {
    opacity: 0.5 !important;
    pointer-events: none;
}

button, select, .special-text, .bold-text, nav div:first-of-type {
    cursor: pointer;
}

input, textarea {
    background: transparent !important;
    border: 0.5px solid var(--primary-color);
}

input::placeholder, textarea::placeholder {
    color: var(--secondary-color);
    opacity: 0.6;
}

input:hover, textarea:hover {
    color: var(--primary-color);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    background-color: var(--accent-color);
    height: 1rem;
    border-radius: 0.25rem;
    width: 1rem;    
 }

label {
    width: 100%;
    color: var(--secondary-color);
}

.loader {
    display: none;
    position: absolute;
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    border: 0.3rem solid var(--alt-color);
    border-top: 0.3rem solid var(--primary-color);
    justify-self: center;
    align-self: center;
    z-index: 7;
    filter: blur(0.3px);
    opacity: 0.8;
}

.loading {
    filter: blur(0.5px);
    display: inline-flex !important;
    animation: spin 1s linear infinite;
}

.loader-alt {
    margin-top: 8rem !important;
}

.blur {
    filter: blur(3px) !important;
    pointer-events: none !important;
}

.button-container {
    display: flex;
    align-items: center;
    width: 80%;
    gap: 0.5rem;
}

.button-container button:first-of-type {
    background-color: var(--accent-color);
}

.button-container button:last-of-type {
    background: transparent;
    border: 0.5px solid var(--primary-color);
}

/* * {
    border: 1px solid red !important;
} */

#info {
    min-height: 100vh;
}

body .iframe {
    display: grid;
    margin-bottom: -1rem;
    justify-content: center;
    align-items: center;
    min-width: 77.5% !important;
    width: 30vw !important;
    max-height: 40% !important;
    height: 32.5vh !important;
    aspect-ratio: 16 / 9 !important;
    background-image: url("../assets/home/SPARKHS-VIDEO-IMAGE-2.png") !important;
    background-position: 50% 50% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    box-shadow: inset 0px 25px 60px black, 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    /* filter: brightness(90%); */
    cursor: pointer;
    border: 0.15px solid var(--secondary-color);
}

.iframe h3 {
    position: absolute;
    justify-self: flex-start;
    align-self: flex-start;
    margin-top: 1.15rem;
    margin-left: 1.15rem;
    z-index: 3;
    font-size: 1.15rem !important;
    font-weight: normal;
}

.iframe div {
    background: url("../assets/home/HOME-PLAY-BUTTON.png") 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    width: 4.5rem;
    height: 4.5rem;
}

body iframe {
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 30vh;
    margin-top: 0;
    aspect-ratio: 16 / 9 !important;
    border-radius: 0.25rem;
    box-shadow: inset 0px 25px 60px black, 2px 2px 4px rgba(0, 0, 0, 0.3);
}

iframe:empty {
    display: none !important;
}

.frame-open {
    height: 20vh !important;
    margin-bottom: 3rem !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
}

.background-overlay {
    position: absolute;
    pointer-events: none;
    left: 0;
    min-width: 100vw;
    height: 100%;
    min-height: 100vh;
    background-size: 4.5rem 4.5rem;
    background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, var(--alt-color) 1px), /* alt color */
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 1px, var(--alt-color) 1px);
    animation: move 100s linear infinite;
    animation-play-state: paused;
}

.running {
    animation-play-state: running;
    background-size: 5rem 5rem !important;
    opacity: 0.7 !important;
}

.grid {
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scroll-snap-points-y: repeat(100vh);
}

.grid-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.sponsor {
    display: grid !important;
    justify-content: space-between !important;
    width: 85%;
    /* height: 10vh !important; */
    height: 5vh !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
    /* overflow-y: scroll; */
    overflow-y: hidden;
    grid-template-columns: repeat(4, 1fr) !important;
}

#home .sponsor .grid-item {
    scale: 0.7;
    opacity: 0.8;
    min-height: 5vh !important;
    filter: brightness(0.01) saturate(0%) invert(1);
    cursor: pointer;
}

.sponsor .grid-item:hover {
    scale: 1 !important;
    opacity: 1 !important;
}

.sponsor p {
    margin: 0 1rem -0.5rem 1rem;
    grid-column: 1 / 5;
    width: 100%;
    /* justify-self: center;
    text-align: center;
    min-width: 100%; */
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 80%;
    padding: 1rem;
    margin-top: 3rem;
    /* border: 0.5px solid var(--primary-color); */
    border-radius: 0.75rem;
    /* box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: var(--alt-color); */
}

.register-form .title-text {
    text-align: center;
}

.register-form .title-text h1 {
    font-size: 2rem;
    line-height: 2rem;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 50vw !important;
}

.register-form .title-text p, .register-form .title-text h1 {
    /* min-width: 100vw !important; */
    margin: 0 !important;
}

.form {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(2, 1fr);
    margin-top: -1rem;
    gap: 0.5rem;
}

.form:has(.new-form) {
    display: flex !important;
    flex-direction: column !important;
}

.restrict-height {
    display: flex !important;
    flex-direction: column !important;
}

.new-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.form h2 {
    margin: 0.5rem 0 1rem 0;
}

.form-alert {
    display: none;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-top: 0.25rem;
}

.alert {
    display: block !important;
}

.minimized {
    scale: 0.8 !important;
    opacity: 0.9 !important;
}

.disappear {
    opacity: 0 !important;
}

.form button, .new-form button, .new-form input {
    grid-column: 1 / 3;
    justify-content: center;
    background-color: var(--alt-color);
    opacity: 0.7;
}

.new-form input {
    opacity: 1;
}

.form button:hover, .new-form button:hover {
    opacity: 1;
}

.form-item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    min-width: 100%;
    overflow-x: visible;
}

.form-item input:not([type="checkbox"]), .form button, select, .new-form button, .form-item textarea {
    border: 0.5px solid var(--primary-color);
    width: 100%;
}

.form-item input:not([type="checkbox"]) {
    max-width: 10rem;
}

select:not(.attendance) {
    max-width: 12rem;
}

.form-special, .agree-container, .form-alert, .form h2, .verify {
    grid-column: 1 / 3;
}

.form-item:has(input[type="checkbox"]){
    flex-direction: row;
}

.agree-container {
    margin: 0.75rem 0 0 0;
}

.verify input::-webkit-outer-spin-button, .verify input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.verify input {
    margin-bottom: 0.2rem;
}

.verify button {
    margin-bottom: 1rem;
    justify-self: center;
    align-self: center !important;
}

.verify button:first-of-type {
    border: none;
    padding: 0.25rem 1rem;
}

.verify button:last-of-type {
    opacity: 0.8;
}

.special-text {
    background: linear-gradient(100deg, transparent 3%, var(--accent-color) 3%, transparent 95%, var(--accent-color) 95%, transparent 95%);
    display: inline-flex;
    align-items: center;
    padding: 0.05rem;
    padding-left: 0.7rem;
    margin-left: -0.25rem;
}

.special-text:hover {
    letter-spacing: 0.15rem;
}

.title-text {
    max-width: 85%;
    z-index: 2;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-text h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 0rem;
    max-width: 80%;
}

.title-text p {
    color: var(--secondary-color);
    max-width: 80%;
    font-size: 1rem !important;
}

.bold-text {
    font-weight: bold !important;
}

.alt-text {
    color: var(--secondary-color) !important;
    font-size: 0.8rem !important;
}

.req-text {
    color: red !important;
    font-weight: bold;
    opacity: 0.8 !important;
}

.timer-text {
    position: absolute;
    margin: auto;
    /* top: 1rem; */
    top: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: none;
    text-align: center;
    z-index: 10;
    padding: 0.1rem 0 0.1rem 0;
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--background-color) 100%);
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timer-text:hover {
    letter-spacing: 0.025rem;
}

.timer-text::after {
    content: "(Register NOW!)";
    margin-left: 0.5rem;
    font-size: 0;
    opacity: 0;
    margin-left: 0.1rem;
}

.timer-text:hover::after {
    font-size: 0.7rem;
    opacity: 1;
    margin-left: 0.5rem;
}

.timer-text span {
    font-weight: normal;
    color: var(--primary-color);
}

/* .top-button {
    position: fixed;
    z-index: 10;
    right: 3rem;
    bottom: 4rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top-button h2, .top-button p {
    margin: 0 !important;
}

.top-button h2 {
    transform: rotate(270deg);
    font-size: 2.5rem;
    height: 2.5rem;
    width: 2.5rem;
    align-self: flex-start;
    border: 0.25px solid var(--secondary-color);
    border-radius: 50%;
    background: var(--alt-color);
    aspect-ratio: 1 / 1 !important;
}

.top-button p {
    margin-top: 0.5rem !important;
} */

#home {
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--background-color) 100%);
}

.grid-special {
    background: radial-gradient(circle at bottom left, rgba(102, 16, 242, 0.7) 37%, var(--alt-color) 100%);
    height: 100vh;
}

#home .sponsor .grid-item:first-of-type {
    background-image: url("../assets/home/logos/BEST-BUY-LOGO.svg.png");
}

#home .sponsor .grid-item:nth-of-type(2) {
    background-image: url("../assets/home/logos/META-LOGO.svg.png");
}

#home .sponsor .grid-item:nth-of-type(3) {
    background-image: url("../assets/home/logos/3M-LOGO.svg.png");
}

#home .sponsor .grid-item:last-of-type {
    background-image: url("../assets/home/logos/RBA-LOGO.jpg.png");
}

.menu .button-container {
    align-self: flex-start;
    justify-self: flex-end;
    flex-direction: column;
    align-content: center !important;
    width: 100%;
    margin-top: 5rem;
    margin-left: 0.5rem;
    gap: 0 !important;
}

.menu h3 {
    text-align: left;
    margin: 1rem;
    margin-bottom: 0.5rem;
    width: 85%;
    padding: 0.2rem;
    font-size: 1.5rem;
    border-radius: 0.1rem;
    border: 0.25px solid var(--secondary-color);
    cursor: pointer;
}

.menu button {
    justify-content: flex-start;
    width: 100%;
    border: none !important;
    box-shadow: none;
    background-color: transparent;
    font-size: 1.25rem !important;
    padding: 0.1rem 2.5rem !important;
}

.menu button:hover, .menu-active {
    background-color: var(--alt-color) !important;
}

.menu-active:hover, .menu button:has(.menu-active):hover {
    background-color: transparent !important;
}

.menu .sponsor, footer .sponsor  {
    gap: 1rem;
    grid-template-columns: repeat(5, 1fr) !important;
    overflow: hidden;
    min-height: 3rem !important;
    /* margin-top: 55vh !important; */ /* 85vh */
}

.menu .sponsor .grid-item, footer .sponsor .grid-item {
    opacity: 0.9;
    scale: 0.9;
    min-height: 3rem !important;
    cursor: pointer;
}

.menu .sponsor .grid-item:hover, footer .sponsor .grid-item:hover {
    scale: 1;
}

.menu .sponsor .grid-item:first-of-type, footer .sponsor .grid-item:first-of-type {
    background-image: url("../assets/home/logos/INSTAGRAM-ICON.png");
}

.menu .sponsor .grid-item:nth-of-type(2), footer .sponsor .grid-item:nth-of-type(2)  {
    background-image: url("../assets/home/logos/DISCORD-ICON.png");
}

.menu .sponsor .grid-item:nth-of-type(3), footer .sponsor .grid-item:nth-of-type(3) {
    background-image: url("../assets/home/logos/TIKTOK-ICON.png");
}

.menu .sponsor .grid-item:nth-of-type(4), footer .sponsor .grid-item:nth-of-type(4) {
    background-image: url("../assets/home/logos/YOUTUBE-ICON.png");
}

.menu .sponsor .grid-item:last-of-type, footer .sponsor .grid-item:last-of-type {
    background-image: url("../assets/home/logos/TWITTER-ICON.png");
}

.tag {
    border: 0.25px solid var(--primary-color);
    border-radius: 0.1rem;
    padding: 0.25rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: transparent;
    min-width: 0rem !important;
}

.tag:hover {
    letter-spacing: 0.05rem;
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--alt-color) 100%) !important;
}

/* -- FAQ -- */

#faq .background-overlay {
    background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, var(--alt-color) 1px), /* alt color */
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
}

#faq > .grid {
    flex-direction: column !important;
}

#faq .title-text, #faq .title-text h1, #faq .title-text p {
    width: 100%;
    text-align: center;
}

#faq .button-container {
    justify-content: center;
}

.box {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 85%;
    gap: 1rem;
    padding: 1rem;
    overflow-y: scroll;
}

.item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border: 0.5px solid var(--primary-color);
    border-radius: 0.5rem;
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--background-color) 100%);
}

.item .title-text {
    align-items: flex-start;
}

/* -- FOOTER -- */ 

body > section:last-of-type {
    border-bottom: 1px solid var(--secondary-color) !important;
}

footer {
    scroll-snap-align: start;
    width: 80vw !important;
    min-height: 40vh !important;
}

footer > .grid {
    max-height: 100vh !important;
    flex-direction: column;
    justify-content: space-between;
}

footer > .grid > .grid-item {
    min-width: 100%;
    flex-direction: row;
    justify-content: center;
    overflow: visible;
}

.footer-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    max-height: 30vh !important;
    padding: 0 2.5rem;
    box-sizing: border-box;
}

.footer-text h3 {
    margin: 0;
    cursor: pointer;
    font-size: 1rem;
}

.footer-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
    min-width: 12rem;
}

.footer-text .img {
    background-image: url("../assets/SPARKHS-DARK-TRANSPARENT-CROPPED.png");
    height: 3rem;
    width: 100%;
    background-position: 0% 50% !important;
}

.footer-text .img:hover {
    transform: translateY(4px);
}

.footer-container {
    border-left: 0.5px solid var(--secondary-color);
    border-right: 0.5px solid var(--secondary-color);
}

.footer-container .footer-text {
    border-right: 0.5px solid var(--secondary-color);
}

.footer-container .footer-text p {
    margin-left: 0.75rem;
}

.footer-container .footer-text a {
    color: var(--secondary-color);
}

.footer-text a:hover {
    color: var(--primary-color) !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
    font-style: normal;
    margin-top: -0.25rem;
    /* gap: 0.25rem; */
}

.footer-important {
    margin-top: 0.25rem;
}

.footer-important p {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.sub-footer-text {
    margin-top: 1rem;
    font-size: 0.5rem !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    text-align: left;
    align-self: flex-start !important;
    justify-self: flex-start !important;
}

.button-container .join-button:first-of-type {
    border: 0;
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--background-color) 100%) !important;
}

.button-container .join-button:first-of-type:hover {
    border: 0.25px solid var(--primary-color);
    background: radial-gradient(circle at bottom left, var(--accent-color) 37%, var(--alt-color) 100%) !important;
}

footer .button-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 100%;
}

footer .button-container input, footer .button-container button {
    border: 0.25px solid var(--primary-color) !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

footer > .grid > .grid-item > .footer-text:last-of-type p {
    min-width: 100% !important;
}

footer > .grid > .grid-item:last-of-type {
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-height: 4rem;
    margin-top: 2rem;
    box-sizing: border-box !important;
    border: 0.25px solid var(--primary-color);
    border-radius: 0.2rem;
}

footer > .grid > .grid-item:last-of-type p {
    font-size: 0.9rem;
}

footer > .grid .grid-item:last-of-type span {
    color: var(--secondary-color) !important;
}

footer .sponsor {
    max-width: 15vw;
    align-items: center;
    overflow: hidden !important;
}

/* -- FOOTER -- */

@keyframes move {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0% { transform: translateX(0rem); }
    25% { transform: translateX(0.15rem); }
    75% { transform: translateX(-0.15rem); }
    100% { transform: translateX(0rem); }
}

@media (max-width: 1024px) {
    html {
        scroll-snap-type: none;
    }
    
    body, section, .grid, .grid-item {
        overflow-y: scroll;
    }
    
    nav div:first-of-type {
        height: 10vw;
    }

    nav .button-container {
        display: none !important;
    }

    section {
        scroll-snap-align: none;
    }

    .grid {
        display: flex;
        /* flex-direction: column-reverse; */
        flex-direction: column;
        gap: 0;
        margin-top: auto;
        height: 100%;
    }

    .grid-flipped {
        flex-direction: column-reverse !important;
    }

    .grid-item {
        min-height: 100vh !important;
        /* justify-content: flex-end; */
    }

    section, .background-overlay {
        min-height: 200vh !important;
        max-height: 100%;
    }

    input:not([type="checkbox"]), select, button {
        padding: 0.25rem 0.5rem !important;
    }

    label, input, select, button {
        font-size: 0.8rem !important;
    }

    select:active, select:focus, input:active, input:focus, textarea:active, textarea:focus {
        transform: translateY(0px);
    }

    .alt-text {
        font-size: 0.6rem !important;
    }

    .title-text h1 {
        font-size: 2rem;
        line-height: auto;
    }
    
    .timer-text {
        top: 0.75rem;
    }

    .terms {
        width: 80vw !important;
        height: 75vh !important;
    }
    
    .register-form {
        margin-top: 0;
    }

    .register-form .title-text h1, .register-form .title-text p {
        width: 100%;
        min-width: 80vw !important;
        overflow: hidden;
    }

    .register-form, .register-form .title-text h1 {
        font-size: 1.5rem;
    }

    .restrict-height {
        max-height: 80% !important;
    }

    .form h2 {
        font-size: 1rem;
    }
    
    .form-item:not(.agree) {
        gap: 0.1rem;
        /* height: 50%; */
        margin-top: -0.25rem;
    }

    select:not(.attendance), input {
        max-width: 8rem !important;
    }
    
    .form-item input:not([type="checkbox"]) {
        width: 100% !important;
        max-width: 7rem !important;
    }

    .form-item input[type="checkbox"], input[type="checkbox"] {
        min-width: 10%;
    }

    .form-alert {
        font-size: 0.8rem;
        min-width: 100%;
    }

    .agree-container {
        margin-top: 0.5rem;
    }

    .menu-open {
        width: 30vw !important;
    }

    .menu .sponsor {
        gap: 0.5rem;
    }

    /* -- FOOTER -- */

    footer {
        scroll-snap-align: none;
        min-height: 60vh !important;
        min-width: 80%;
    }

    footer > .grid, footer > .grid > .grid-item {
        min-height: 30vh !important;
        flex-direction: column;
        overflow: hidden;
        gap: 1rem !important;
        margin: 0;
    }

    footer > .grid > .grid-item .footer-text {
        align-items: center !important;
        text-align: center;
    }

    footer > .grid > .grid-item > .footer-text:first-of-type {
        min-height: 22.5vh !important;
        min-width: 100%;
        justify-content: flex-end;
    }

    footer > .grid > .grid-item:first-of-type {
        gap: 1.5rem;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    footer .footer-text .img {
        background-position: 50% 50% !important;
        min-height: 3vh;
    }

    .footer-container {
        gap: 0 !important;
        justify-content: center !important;
        max-width: 40% !important;
    }

    .footer-text p, .footer-text h3 {
        min-width: 8rem;
    }

    footer .button-container {
        align-items: center !important;
    }

    footer .button-container button {
        justify-content: center;
        align-self: center;
    }

    footer > .grid > .grid-item:last-of-type {
        min-height: 15vh !important;
        max-height: 100%;
        justify-content: flex-start;
        gap: 0.5rem !important;
        margin-top: 0 !important;
        font-size: 0.8rem;
        text-align: center;
        align-items: center;
        border: none;
        border-top: 0.25px solid var(--secondary-color);
        border-radius: 0;
    }

    footer > .grid > .grid-item:last-of-type > p {
        margin: 0;
    }

    footer .sponsor {
        min-width: 30%;
        margin: 0 !important;
    }

    footer .sponsor .grid-item {
        min-height: 2rem !important;
    }

    .sub-footer-text {
        margin-top: -2.5rem !important;
        text-align: center !important;
        align-self: center !important;
    }

    /* -- FOOTER -- */
}

@media (max-width: 768px) {
    iframe, .iframe {
        display: none !important;
    }
    
    button {
        width: 100% !important;
    }

    input::placeholder {
        font-size: 0.9em !important;
    }

    .timer-text::after {
        display: none !important;
    }

    #nav-open {
        margin-left: 1.5rem !important;
    }

    .nav-move {
        margin-top: -2.5rem !important;
    }

    .menu-open {
        width: 60vw !important;
    }

    .menu {
        gap: 0 !important;
    }

    .menu .button-container {
        margin-top: 3rem !important;
    }

    .menu h3 {
        font-size: 1.25rem !important;
    }

    .menu button {
        padding: 0rem 2.25rem !important;
        font-size: 1rem !important;
    }

    .menu .sponsor {
        gap: 0.5rem;
    }

    .special-text {
        padding-left: 1.5rem;
        margin-left: -1rem;
        font-size: 2.5rem;
        line-height: 3rem;
        background: linear-gradient(100deg, transparent 7%, var(--accent-color) 7%, transparent 95%, var(--accent-color) 95%, transparent 95%);
    }

    .register-form .title-text p {
        font-size: 0.8rem !important;
    }

    /* -- FOOTER -- */

    footer {
        min-height: 80vh !important;
    }

    footer > .grid > .grid-item:first-of-type {
        margin-top: -4rem !important;
    }

    footer > .grid > .grid-item:last-of-type {
        gap: 0 !important;
    }

    .footer-container {
        max-width: 80% !important;
    }

    footer .sponsor {
        min-width: 80%;
    }

    .sub-footer-text {
        margin-top: -2rem !important;
        font-size: 0.7rem !important;
    }

    /* -- FOOTER -- */
}

@media (max-width: 400px) {
    .form-item input:not([type="checkbox"]) {
        max-width: 6rem;
    }

    /* #home .title-text {
        margin-top: 4rem;
    } */

    .register-form {
        margin-top: 1.5rem;
    }

    select:not(.attendance), input {
        max-width: 8rem;
    }

    input::placeholder {
        font-size: 0.8em !important;
    }
}

@media (max-width: 350px) {
    footer {
        min-width: 100%;
    }

    footer * {
        overflow: hidden !important;

    }

    .footer-text > .img {
        display: none !important;
    }
}

@media (max-height: 1000px) {
    footer > .grid > .grid-item:first-of-type {
        margin-top: 0 !important;
    }
}

@media (max-height: 800px) {
    nav .button-container {
        display: none !important;
    }
}

@media (max-height: 500px) {
    #home .title-text, .register-form {
        margin-top: 4rem;
    }

    .register-form, .form, .form-item {
        overflow: visible;
    }
}