@font-face {
    font-family: Azonix;
    src: url(../Fonts/Azonix.otf);
}

@font-face {
    font-family: Avenir;
    src: url(../Fonts/AvenirLTStd-Roman.otf);
}

@font-face {
    font-family: Ninja;
    src: url(../Fonts/aAsianNinja.otf);
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body {
    color: white;
}

html {
    background-color: black;
}

.wrapper {
    position: absolute;
    width: 100%;
    overflow: hidden;
    background: url(../images/darksquare.webp) center center fixed;
    display: flex;
    justify-content: center;
}

.innerWrapper {
    height: 100%;
    width: 100%;
    max-width: 1400px;
    position: relative;
}

h1 {
    display: inline-block;
    text-align: left;
    width: 100%;
    z-index: 1;
}

h2 {
    border-bottom: 2px solid white;
    width: fit-content;
    margin: auto;
    color: white;
    font-family: 'Avenir';
    font-size: 50px;
    text-align: center;
}

h3 {
    margin-top: -16px;
    display: block;
    font-size: 35px;
}

h4 {
    margin: 4px;
    font-size: 3.5vmax;
    width: 50%;
    text-align: center;
    transition: 0.25s ease;
}

h5 {
    font-size: 2.7vw;
    height: 70%;
    width: 37%;
    margin-left: 8px;
    margin-top: 16px;
    text-align: center;
    transition: 0.25s ease;
}

a {
    color: white;
}

a:visited {
    color: white;
}

/*------- Animation Section -------*/

.animateUP {
    animation: goingUp 1.5s forwards;
}

.animateLEFT {
    animation: goingLeft 1.5s forwards;
}

.animateRIGHT {
    animation: goingRight 1.5s forwards;
}

.animateLEAVELEFT {
    animation: exitLeft 3s forwards;
}

.animateLEAVERIGHT {
    animation: exitRight 3s forwards;
}

@keyframes goingUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes goingLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes exitLeft {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
        transform: translateX(-120%);
    }

    100% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes goingRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes exitRight {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
        transform: translateX(120%);
    }

    100% {
        transform: translate(0);
        opacity: 0;
    }
}

/*------- Header Section -------*/

.header {
    display: block;
    position: fixed;
    background-color: black;
    width: 100%;
    height: 96px;
    z-index: 2;
}

.innerHeader {
    display: block;
    margin: auto;
    width: 90%;
    height: 100%;
}

.logo {
    display: table;
    float: left;
    height: 100%;
}

.logo img {
    display: table-cell;
    height: 50px;
}

.logo a {
    display: table-cell;
    color: white;
    font-family: 'Azonix';
    vertical-align: middle;
    height: 100%;
    font-size: 40px;
    transition: .3s ease;
}

.logo a:hover {
    opacity: 0.6;
}

.navi {
    float: right;
    height: 100%;
}

.navi a {
    display: table-cell;
    font-family: 'Avenir';
    vertical-align: middle;
    height: 100%;
    font-size: 20px;
    color: white;
}

.navi li {
    display: table;
    float: left;
    height: 100%;
    padding: 0px 8px;
    margin-left: 4px;
    transition: .3s ease;
}

.navi a:hover {
    opacity: 0.6;
}

.navi a:last-child {
    padding-right: 0;
}

/*------- Title Section -------*/

.titleCard {
    display: flex;
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: top 50% right;
    background-image: url(../images/gradientImages/vgwithgrad.png);
    color: white;
    position: relative;
    align-items: center;
    justify-content: center;
    font-family: 'Avenir';
    height: 85vh;
    min-height: 400px;
    max-height: 800px;
    font-size: 4vw;
    padding: 40px;
}

.titleCard:nth-of-type(5) {
    background-image: url(../images/gradientImages/macwithgrad.png);
    height: 80vh;
    background-size: 55%;
    background-position: left;
}

.titleCard h1 span {
    display: none;
}

.titleCard h1 span.visible {
    display: block;
    animation: textUp .5s ease;
}

.colourOverlay {
    position: absolute;
    background: linear-gradient(to bottom right, blue, green);
    width: 100%;
    height: 100%;
    opacity: .4;
}

@keyframes textUp {
    0% {
        transform: translateY(50%);
        opacity: 0;
    }
}

/*------- Scroll Section -------*/

.scroll {
    display: inline-block;
    margin: auto;
    width: 100%;
    text-align: center;
    font-family: 'Avenir';
    font-size: 40px;
    transition: 2s ease;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.scroll h3 {
    padding-bottom: 40px;
}

.scroll span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -16px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: scrollDown 1.5s infinite;
    animation: scrollDown 1.5s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes scrollDown {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes scrollDown {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

/*------- Modal Section -------*/

.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 1s ease;
}

.modalDialogue {
    overflow: hidden;
    display: flex;
    width: 45vw;
    height: 45vw;
    background-color: #fefefe;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    border-radius: 5px;
    justify-content: center;
}

.modalDialogue a {
    color: white;
}

.modalDialogue a h2:hover {
    opacity: 0.8;
}

.modalLeft {
    width: 50%;
}

.modalLeft h2 {
    padding-top: 10px;
}

.modalRight {
    display: flex;
    width: 50%;
    justify-content: center;
}

.modalDialogue h1 {
    width: 100%;
    height: fit-content;
    font-family: 'Azonix';
    margin: none;
    font-size: 30px;
    text-align: center;
}

.modalDialogue h2 {
    border: none;
    text-align: center;
    margin: none;
    font-size: 60px;
    margin-top: -8px;
}

.modalDialogue p {
    font-family: 'Avenir';
    font-size: 2.5vh;
    margin-top: auto;
    margin-bottom: auto;
}

.modalLeft .description {
    height: 80%;
    line-height: 180%;
}

.modalRight img {
    width: 80%;
    height: 95%;
    object-fit: cover;
    border: 5px solid white;
    margin: auto;
    transition: 0.25s ease;
}

.modal .pastImg {
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 10px solid white;
    border-radius: 20px;
}

/*------- Statistics Sections -------*/
.statisticsWrapper {
    display: flex;
    height: 40vh;
    max-height: 400px;
}

.stat {
    display: block;
    height: 70%;
    width: 25%;
    margin: auto;
}

.stat h3 {
    margin: auto;
    text-align: center;
    font-family: 'Avenir';
}

.stat h1 {
    font-family: 'Avenir';
    text-align: center;
    font-size: 600%;
    background: -webkit-linear-gradient(#B6E570, #27BDB6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*------- EventInfo Sections -------*/

.eventsInfo {
    display: flex;
    padding: 24px;
    margin-bottom: 10vh;
    max-height: 800px;
}

.eventsLeft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.eventsRight {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
}

.eventList {
    width: 100%;
}

.event {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-style: italic;
    width: 95%;
    height: 70px;
    margin: auto;
    margin-top: 40px;
    color: white;
    font-family: 'Avenir';
}

.event:first-of-type {
    margin-top: 32px;
}

.event:hover h4 {
    background: -webkit-linear-gradient(#27BDB6, #B6E570);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-10%);
    opacity: 0.7;
}

.event:hover h5 {
    transform: scale(0.95);
    overflow: visible;
}

.eImages {
    border: 5px solid white;
    border-radius: 40px;
    background-size: cover;
    background-image: url(images/upcomingEvents/anifest2023.jpeg);
    display: block;
    width: 40vw;
    height: 40vw;
    max-width: 575px;
    max-height: 575px;
    margin: auto;
    z-index: 0;
}

#eventImgPast {
    width: 100%;
    background-image: none;
    background-color: white;
    background-position: 40%;
    overflow: hidden;
}

#eventImgPast img {
    height: 100%;
    position: absolute;
    transition: 1s ease;
}

.toPage a {
    position: relative;
    text-align: center;
    color: black;
    background-color: white;
    border: 1px solid white;
    display: block;
    font-family: 'Avenir';
    font-size: 30px;
    margin: auto;
    width: 50%;
    min-width: 250px;
    padding: 8px;
    padding-top: 16px;
    margin-top: 40px;
    transition: 1s ease;
    border-radius: 30px;
}

.toPage a:hover {
    color: white;
    background-color: black;
}

.pastEvents{
    margin-top: 6%;
}

/*------- SlideShow Sections -------*/

.slideShow {
    width: 100%;
    height: 100%;
    margin: auto;
}

.slideShow img {
    position: absolute;
    opacity: 0;
    margin-top: 8%;
    width: 96%;
    max-height: 90%;
    margin-left: 4%;
    border: 5px solid white;
    border-radius: 40px;
    transition: 1s ease;
}

/*------- Sponsors Section --------*/

.sponsorsContainer {
    height: 1200px;
}

.sponsorRow {
    display: flex;
    width: 100%;
    height: 25%;
}

.sponsorRow .imgContainer {
    height: 100%;
    width: 33%;
    overflow: hidden;
}

.sponsorRow .imgContainer img {
    height: 60%;
    display: block;
    margin: auto;
    margin-top: 10%;
}

.sponsorRow .imgContainer a {
    transition: 0.25s ease;
}

.sponsorRow .imgContainer a:hover {
    opacity: 0.8;
}


/*------- About Us Sections -------*/

.aboutUsLeft {
    display: block;
    z-index: 1;
    width: 100%;
}

.aboutUsMid {
    width: 50%;
}

.aboutUsRight {
    display: block;
    width: 100%;
    z-index: 1;
}

.subheading {
    font-family: 'Avenir';
    width: 80%;
    margin-left: 10%;
    text-align: center;
    font-size: 40px;
}

.social {
    display: flex;
    vertical-align: auto;
    justify-content: left;
    text-align: center;
    margin-bottom: 12px;
}

.social a {
    color: white;
    padding: 8px;
    font-size: 5vmax;
    transition: .3s ease;
}

.social a:hover {
    opacity: 0.6;
}

.social img {
    height: 6vmax;
    margin-right: 12px;
}

/*------- Footer Sections -------*/

.footer {
    display: block;
    background-color: black;
    width: 100%;
    height: 60px;
    z-index: 2;
    position: absolute;
    bottom: 0;
}

.innerFooter {
    display: flex;
    margin: auto;
    width: 80%;
    height: 100%;
    vertical-align: middle;
    justify-content: center;
}

.innerFooter p {
    padding: 24px;
}

.innerFooter a {
    color: white;
    padding: 24px;
    padding-right: none;
}

.innerFooter a:hover {
    text-decoration: underline;
    color: lightgray;
}

/*------- Weeklies Section -------*/

.subtitle {
    display: flex;
    align-items: center;
    justify-content: left;
    font-family: 'Avenir';
    height: 20vh;
    vertical-align: bottom;
    font-size: 150px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px;
    padding: 24px;
    line-height: 50%;
}

.subtitle:first-of-type {
    font-size: 10vw;
    padding-top: 8%;
}

.weeklies a {
    color: white;
}

.days {
    display: flex;
    margin: auto;
    flex-direction: column;
    width: 33%;
}

.days span {
    width: 100%;
    margin: auto;
    font-family: 'Avenir';
    font-size: 4vw;
    text-align: center;
    transition: 0.25s ease-in-out;
}

.weeklyGames {
    display: flex;
    justify-content: center;
}

.games {
    transform: translateX(-8%);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    height: 30vh;
    max-height: 300px;
    width: 120%;
    padding: auto;
    transition: .5s ease;
}

.multiple {
    min-height: 400px;
    height: 55vh;
    max-height: 700px;
}

.weeklyEvent {
    position: relative;
    display: flex;
    width: 95%;
    height: 150px;
    justify-content: center;
    margin: auto;
    margin-top: 4%;
    font-family: 'Avenir';
    font-size: 40px;
    border: 4px solid white;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    transition: all .2s ease;
}

.weeklyEvent .eventList {
    margin-left: 32px;
}

.eventList h3 {
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 70%;
    opacity: 0.8;
    text-align: left;
}

.weeklyEvent h1 {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 75%;
    font-size: 110%;
    text-align: left;
}

.weeklyEvent img {
    position: absolute;
    height: 70%;
    top: 15%;
}

.weeklyEvent:hover {
    box-shadow: 5px 5px white;
}

.largerEvents .eventsLeft .eImages {
    background-image: url(images/upcomingEvents/anifest.jpeg);
}

.largerEvents .eventsLeft a {
    transition: .5s;
}

.largerEvents .eventsLeft a:hover {
    opacity: 0.8;
}


.largerEvents .eventsRight .eImages {
    background-image: url(images/upcomingEvents/anifest2023.jpeg);
}

.link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.link a {
    position: absolute;
    width: 100%;
    height: 100%;
}

.eventList .popup {
    top: 34%;
    left: 0;
    width: 100%;
    text-align: center;
}

/*------- Future Event Section -------*/

.futureEvent {
    transition: 1s ease;
}

.eventsRight h3 {
    font-family: 'Avenir';
    width: 90%;
    margin: auto;
}

.futureEvent span {
    display: none;
    width: 100%;
    text-align: center;
    background-color: black;
    z-index: 2;
}

.futureEvent:hover span {
    display: block;
}

.futureEvent img {
    width: 90%;
    margin: auto;
    border: 4px solid white;
    border-radius: 16px;
}

/*------- Sign Up Section -------*/

.eventWrapper {
    display: flex;
    justify-items: center;
    justify-content: center;
    width: 100%;
    height: 60vh;
}

.eventBox {
    position: absolute;
    background-color: rgb(107, 202, 186, 0.8);
    background-attachment: fixed;
    background-position: center;
    width: 50%;
    height: 50%;
    padding: 32px;
    border-radius: 20px;
    opacity: 0;
}

.eventBox h1 {
    text-align: center;
    font-family: 'Avenir';
    font-size: 4vw;
}

.eventBox p {
    margin-top: 24px;
    font-family: 'Avenir';
    font-size: 2vw;
}

.signUpInfo a {
    position: relative;
    text-align: center;
    color: black;
    background-color: white;
    border: 1px solid white;
    display: block;
    font-family: 'Azonix';
    font-size: 30px;
    margin: auto;
    width: fit-content;
    min-width: 200px;
    padding: 16px;
    margin-top: 40px;
    transition: 1s ease;
}

.signUpInfo a:hover {
    color: white;
    background-color: black;
}

.signUpInfo {
    display: flex;
    justify-content: center;
    width: 30%;
    margin-top: 8px;
}

.signUpInfo h1 {
    font-size: 100px;
}

.signUpInfo h1:hover {
    opacity: 0.8;
}

/*------- About Us Section -------*/

.flex-gap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-bottom: 100px;
}

.flex-gap>div {
    margin-top: 24px;
}

.people {
    margin: 32px;
    border: solid 5px white;
    border-radius: 5px;
    transition: 0.15s ease;
}

.people:hover {
    transform: scale(1.05);
    box-shadow: 10px 10px #27BDB6;
}

.people img {
    width: 300px;
    height: 400px;
    object-fit: cover;
}

.people h2 {
    height: 5%;
    font-size: 28px;
    font-family: 'Azonix';
    padding: 8px;
}

.people h3 {
    font-family: 'Avenir';
    padding: 8px;
    text-align: center;
    margin-top: 1%;
}

/*------- Gallery Section -------*/

.dropdown {
    position: fixed;
    color: white;
    font-family: 'Avenir';
    background-color: black;
    border-radius: 20px;
    border: 2px solid white;
    padding: 8px;
    font-size: 200%;
    bottom: 1%;
    left: 1%;
    z-index: 3;
    transition: 1s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dropdown:hover {
    background-color: white;
    color: black;
}

.dropdownContent {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    bottom: 1%;
    left: -100%;
    z-index: 3;
    transition: 1s;
}

.dropdownContent p {
    transition: 0.2s;
    color: white;
    font-family: 'Avenir';
    background-color: black;
    border-radius: 20px;
    border: 2px solid white;
    padding: 8px;
    font-size: 200%;
    text-align: center;
    margin-bottom: 1%;
}

.dropdownContent p:first-of-type {
    margin-top: 8%;
}

.dropdownContent p:nth-of-type(1):hover {
    background-color: #008ea1;
}

.dropdownContent p:nth-of-type(2):hover {
    background-color: #6ae0d8;
}

.dropdownContent p:nth-of-type(3):hover {
    background-color: #65d2a4;
}

.dropdownContent p:nth-of-type(4):hover {
    background-color: #a3e087;
}

.dropdownContent p:nth-of-type(5):hover {
    background-color: white;
    color: black;
}


.galleryContainer {
    width: 90%;
    margin: auto;
    margin-top: 120px;
    padding-bottom: 100px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
}

.galleryItem {
    position: relative;
    transition: 0.1s ease;
}

.galleryItem span {
    font-family: 'Azonix';
    position: absolute;
    top: 2px;
    border-radius: 20px;
    width: 80%;
    margin-left: 10%;
    padding: 2px;
    opacity: 0.5;
    text-align: center;
    font-size: 200%;
    font-weight: 0;
    -webkit-text-stroke: 2px black
}

.galleryItem:hover {
    transform: scale(1.05);
}

.galleryItem a {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

.galleryImg {
    opacity: 0.99;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid white;
    border-radius: 20px;
}

.galleryEvent {
    opacity: 0;
    transition: 0.2s ease;
}

.galleryItem:hover .galleryEvent {
    opacity: 1;
}

/* BINGO */
.grid-container {
    display: grid;
    background-image: url(../images/gradientImages/bingoGradient.webp);
    background-size: cover;
    background-position: center;
    max-width: 100%;
    grid-template-columns: repeat(4, 2fr);
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 30px 30px;
    padding: 10px;
    margin: 5px;
    transition: 1s ease;
}

.grid-item {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid black;
    max-width: 100%;
    padding: 4px;
    font-size: 15px;
    font-weight: 400;
    font-family: avenir;
    text-align: center;
}

.grid-item:nth-of-type(1) {
    border-radius: 20px 0px 0px 0px;
}

.grid-item:nth-of-type(4) {
    border-radius: 0px 20px 0px 0px;
}

.grid-item:nth-of-type(13) {
    border-radius: 0px 0px 0px 20px;
}

.grid-item:nth-of-type(16) {
    border-radius: 0px 0px 20px 0px;
}

#passForm {
    width: 100%;
}

#passForm h3 {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-family: Azonix;
}

label {
    margin-top: 10px;
    margin-bottom: 0;
    display: block;
    font-size: 30px;
    width: 100%;
    text-align: center;
    font-family: Azonix;
}

input {
    width: 40%;
    height: 50px;
    display: block;
    margin-left: 30%;
    text-align: center;
    font-family: Avenir;
    font-size: 30px;
    border-radius: 20px 20px;
}

#passSubmit {
    background-color: #2596be;
    border: 2px solid white;
    color: white;
}

#mapButton {
    font-family: Avenir;
    display: block;
    margin-left: 22.5%;
    margin-top: 40px;
    border-radius: 20px;
    padding: 2%;
    width: 50%;
    text-align: center;
    font-size: 30px;
    background-color: #2AAA8A;
    border: 2px solid white;
}

.mapReminder {
    width: 100%;
    font-size: 20px;
    text-align: center;
    margin-top: -20px;
    font-family: Avenir;
}

#ticketCounter {
    margin-bottom: 0px;
}

/* OLD GALLERY VIEW
.galleryItem:nth-of-type(1) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}

.galleryItem:nth-of-type(2) {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 3;
}


.galleryItem:nth-of-type(3) {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 6;
}

.galleryItem:nth-of-type(4) {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 6;
}

.galleryItem:nth-of-type(5) {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 6;
    grid-row-end: 10;
}

.galleryItem:nth-of-type(6) {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 10;
}

.galleryItem:nth-of-type(7) {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 10;
    grid-row-end: 15;
}

.galleryItem:nth-of-type(8) {
    grid-column-start: 5;
    grid-column-end: 7;
    grid-row-start: 10;
    grid-row-end: 15;
}

.galleryItem:nth-of-type(9) {
    grid-column-start: 7;
    grid-column-end: 9;
    grid-row-start: 10;
    grid-row-end: 15;
}

.galleryItem:nth-of-type(10) {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 15;
    grid-row-end: 18;
}

.galleryItem:nth-of-type(11) {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 15;
    grid-row-end: 18;
}

.galleryItem:nth-of-type(12) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 18;
    grid-row-end: 22;
}

.galleryItem:nth-of-type(13) {
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 18;
    grid-row-end: 22;
}

.galleryItem:nth-of-type(14) {
    grid-column-start: 5;
    grid-column-end: 9;
    grid-row-start: 18;
    grid-row-end: 22;
}

------- MOBILE Gallery Section -------

@media screen and (max-width: 1000px) {
    .galleryItem:nth-of-type(1) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 1;
        grid-row-end: 5;
    }

    .galleryItem:nth-of-type(2) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 5;
        grid-row-end: 10;
    }

    .galleryItem:nth-of-type(3) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 10;
        grid-row-end: 15;
    }

    .galleryItem:nth-of-type(4) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 15;
        grid-row-end: 20;
    }

    .galleryItem:nth-of-type(5) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 20;
        grid-row-end: 25;
    }

    .galleryItem:nth-of-type(6) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 25;
        grid-row-end: 30;
    }

    .galleryItem:nth-of-type(7) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 30;
        grid-row-end: 35;
    }

    .galleryItem:nth-of-type(8) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 35;
        grid-row-end: 40;
    }

    .galleryItem:nth-of-type(9) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 40;
        grid-row-end: 45;
    }

    .galleryItem:nth-of-type(10) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 45;
        grid-row-end: 50;
    }

    .galleryItem:nth-of-type(11) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 50;
        grid-row-end: 55;
    }

    .galleryItem:nth-of-type(12) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 55;
        grid-row-end: 60;
    }

    .galleryItem:nth-of-type(13) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 60;
        grid-row-end: 65;
    }

    .galleryItem:nth-of-type(14) {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 65;
        grid-row-end: 70;
    }
}
*/

/*------- Loading View Section -------*/
.loading {
    z-index: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 10px solid #333;
    border-top: 10px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    opacity: 0;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Locks scale for wider monitors */
@media screen and (min-width:1400px) {
    h1 {
        font-size: 110px;
    }

    h4 {
        font-size: 50px;
    }

    .sponsorRow .imgContainer img {
        height: 240px;
    }

    .social img {
        height: 100px;
    }

    .social a {
        font-size: 70px;
    }

    .subtitle:first-of-type {
        font-size: 100px;
    }

    .days span {
        font-size: 60px;
    }
}


/*------- Mobile View Section -------*/
.animation {
    opacity: 0;
}

@media screen and (max-width: 1000px) {
    @keyframes goingUp {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes goingLeft {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes goingRight {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 1;
        }
    }
}

@media screen and (max-width: 1260px) {
    .weeklyEvent img {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .logo a:last-child {
        content: '';
        display: none;
    }

    .header {
        width: 100%;
    }

    .innerHeader {
        width: 95%;
    }

    .navi li a {
        font-size: 3vw;
    }

    h1 {
        font-size: 7vmax;
    }

    .eventsInfo {
        flex-direction: column-reverse;
        padding: 2px;
    }

    .eventsInfo:last-of-type {
        flex-direction: column;
    }

    h2 {
        font-size: 40px;
    }

    .event {
        flex-direction: column-reverse;
    }

    .event h4 {
        font-size: 200%;
        width: 160px;
    }

    .event h5 {
        font-size: 200%;
        width: 100%;
    }

    .eventsInfo .eImages {
        width: 38vmax;
        height: 38vmax;
        border: 2px solid white;
    }

    .eventsInfo .eImages:first-child {
        margin-top: 24px;
    }

    .titleCard {
        flex-direction: column;
    }

    .titleCard:nth-of-type(5) {
        background-size: 85%;
        background-position: top 20% center;
    }

    .aboutUsLeft h1 {
        width: 100%;
        text-align: center;
    }

    .aboutUsLeft h3 {
        width: 100%;
        text-align: center;
    }

    .social {
        justify-content: center;
    }

    .social a {
        width: 32vw;
    }

    h3 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .innerFooter {
        width: 100%;
    }

    .innerFooter p {
        font-size: 10px;
    }

    .innerFooter a {
        font-size: 10px;
    }

    /* Upcoming Events */

    .subtitle {
        font-size: 75px;
    }

    .subtitle:first-of-type {
        font-size: 20vw;
        padding-top: 16%;
    }

    .weeklyGames {
        flex-direction: column;
    }

    .days {
        width: 100%;
    }

    .days span {
        font-size: 16vmin;
    }

    .days:last-child {
        margin-top: 40px;
    }

    .eventList h3 {
        font-size: 5vmin;
    }

    .eventList h1 {
        top: 40%;
        font-size: 15vmin 20vmax;
    }

    #boardGames h1 {
        font-size: 90%;
    }

    .eventList img {
        display: block;
    }

    .eventList .popup {
        top: 16%;
    }

    .eventList h1:nth-child(1) {
        margin-top: 0px;
    }

    .eventBox {
        height: 360px;
    }

    .eventBox h1 {
        font-size: 40px;
    }

    .eventBox p {
        font-size: 15px;
    }

    .signUpInfo {
        width: 100%;
        transform: scale(0.6);
    }

    .eventWrapper {
        height: 400px;
    }

    .modal {
        width: 100%;
    }

    .modal a h1 {
        font-size: 20px;
    }

    .modalRight {
        display: none;
    }

    .modalLeft {
        width: 100%;
    }

    .people {
        margin: 10px;
    }

    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }

    .galleryItem:hover .galleryEvent {
        opacity: 0;
    }

    .people {
        transform: scale(0.9);
    }

    .people h2 {
        font-size: 26px;
    }

    .people h3 {
        font-size: 50px;
    }

    .weeklyEvent {
        width: 70%;
    }

    .weeklyEvent img {
        top: 20%;
    }

    .statisticsWrapper {
        height: 80vh;
        flex-direction: column;
    }

    .stat {
        width: 100%;
    }

    #eventImgPast {
        width: 80%;
        overflow: hidden;
    }

    .slideShow img {
        width: 80%;
        margin-left: 10%;
    }

    .sponsorRow {
        flex-direction: column;
        height: 100vh;
    }

    .sponsorsContainer {
        margin-top: 80%;
        height: fit-content;
    }

    .sponsorsContainer h2 {
        width: 80%;
    }

    .sponsorRow .imgContainer {
        width: 100%;
        height: 80vh;
    }

    .pastEvents {
    margin-top: 30%;
    }
}

@media screen and (max-width: 375px) {
    #boardGames h1 {
        font-size: 100%;
        top: 26%;
    }
}