:root{
    --navbartext:rgb(8, 8, 8);
    --footer:rgb(46, 46, 46);
    --selection:#560000;
    --background:#ffffe2;
    --footersocial:rgb(46, 46, 46);;
    --mobilenavbaricon:rgb(8, 8, 8);
    --mobilenavbaroptions:rgb(8, 8, 8);
    /*Home*/
    --scroll:#0000;
    --noncd:grey;
    --cd:#0047a3;
    --title:#003478;
    --subtitle:rgba(40, 39, 39, 0.889);
    --date:#4d545e;
    --headings:#0046a1;
    --counter:rgb(46, 46, 46);
    --sliderpara:rgb(46, 46, 46);
    --buttonborder:rgb(42, 42, 42);
    --buttonspan:rgb(76, 76, 76);
    --buttonspan2:rgb(46, 46, 46);
    --sliderborder:rgb(46, 46, 46);
    --para:rgb(65, 65, 65);
    --cursor:rgb(79, 79, 79);
    --prevnext::rgb(65, 65, 65);
    /*Contact*/
    --contactheading:#0046a1;
    --contactinfo:3000;
    --contactcard:#0054c2;
    --contactcardinfo:#ffffe2;
    --contactcardinfopara:#e2e2e2;
    /*Team*/
    --teamheading:#0046a1;
    --windows:#c6c6c6;
    --teamsocial:#4f4f4f;
    --teamname:black;
    --cardborder:#c6c6c6;
    /*Prompts*/
    --promptheading:#0046a1;
    --promptmaininfo:#0046a1;
    --promptmainpara:rgb(10, 10, 10);
    /*Results*/
    --resultsmainheading:#002d68;
    --overallheading:#0046a1;
    --overallschoolname:#141414;
    --resulteventname:#0046a1;
    --resultschoolname:rgb(0, 0, 0);
    --schoolcode:rgb(71, 70, 70);
}
::selection{
color: var(--selection);
}
a{
    text-decoration: none;
}
@font-face {
    font-family: Didot;
    src: url(assets/fonts/Didot.otf);
    font-weight: 400;
}
@font-face {
    font-family: Didot Bold;
    src: url(assets/fonts/Didot\ Bold.otf);
    font-weight: 400;
}
@font-face {
    font-family: Didot Italic;
    src: url(assets/fonts/Didot\ Italic.otf);
    font-weight: 400;
}
@font-face {
    font-family: Didot Title;
    src: url(assets/fonts/Didot\ Title.otf);
    font-weight: 400;
}
@font-face {
    font-family: Favorit-Mono;
    src: url(assets/fonts/Favorit-Mono.woff2);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
@font-face {
    font-family: Valorant;
    src: url(assets/fonts/Valorant\ Font.ttf);
}
@font-face {
    font-family: Proto-Reg;
    src: url(assets/fonts/67058cdc24b90dd798e2fa29_ProtoMono-Regular.woff2);
}
@font-face {
    font-family: Proto-Light;
    src: url(assets/fonts/67058cdc24b90dd798e2fa50_ProtoMono-Light.woff2);
}
@font-face {
    font-family: Lomo;
    src: url(assets/fonts/67058cdc24b90dd798e2fa37_LomoCopyLTStd-Medium.woff2);
}
@font-face {
    font-family: Pixel;
    src: url(assets/fonts/PFPixelscriptPro.woff2);
}
@font-face {
    font-family: PixelCF;
    src: url(assets/fonts/ArgentPixelCF-Italic.otf);
}
@font-face {
    font-family: Sf Pro;
    src: url(assets/fonts/SFPRODISPLAYMEDIUM.OTF);
}
.no-scroll {
    overflow: hidden;
    position: fixed;
}
h3{
    margin: 0;
}
p{
    margin: 0;
}
body {
    margin: 0;
    background-color: var(--background);
}
html{
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar {
    display: none;
}
#grain{
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    height: 100%;
    z-index: 10; /* Lower than the content but above the background */
    pointer-events: none; /* So it doesn't block any clicks */
    inset: 0%;
    box-sizing: border-box;
    overflow: hidden;
}
#grain canvas{
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    min-height: 100vh !important;
    height: 100%;
    pointer-events: none;
}
#grain::before {
    content: "";
    position: absolute;
    width: 300%;
    left: -100%;
    top: -100%;
    height: auto;
    min-height: 100vh;
    inset: 0%; 
  }
  .main{
    position: absolute;
    z-index: 1;
    max-width: 100vw;
}
.body-container{
    display: flex;
    width: 100vw;
    height: 100vh;
}
.loaderdom{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--flat-grey);
    z-index: 10000;
}
.counterdom{
    position: fixed;
    right: 0;
    bottom: 0;
    font-size: calc(25.20755px + 1.81132vw);
    padding-bottom: 0.25em;
    padding-right: 0.25em;
    font-family: Proto-Reg;
    color: var(--heading);
}
@media screen and (min-width:990px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5em 1em;
        padding-top: 1em;
    }
    .navbar .logo {
        font-weight: bold;
        height: 4vw;
        width: 4vw;
    }
    .logo img{
        height: inherit;
        width: inherit;
    }
    .navbar .nav-items {
        display: flex;
        gap: 2vw;
        justify-content: space-between;
        padding: 0 1em;
    }
    .navbar .nav-items a {
        text-decoration: none;
        color: var(--navbartext);
    }
    .navbar .nav-items a button {
        cursor: pointer;
        background: none;
        outline: none;
        border: 0px;
        border-radius: 0.30em;
        font-size: 1.8vb;
        color: var(--navbartext);
        font-family: Proto-Reg;
        padding-inline: 6px;
        cursor: pointer;
        overflow: hidden;
        transition: all 0.3s;
        align-items: center;
        opacity: 0.65;
    }
    .navbar .nav-items a button:hover {
        opacity: 1;
    }
    footer {
        text-align: center;
        width: 100vw;
        color: var(--footer);
        bottom: 0;
        left: 0;
        font-size: 1.8vmin;
        font-family: proto-reg;
        position:relative;
        padding-bottom: 4vh;
    }
    footer .social-icons {
        display: flex;
        justify-content: center;
        gap: 3em;
        margin-bottom: 3em;
    }
    footer p {
        margin: 0;
    }
    .nav-button {
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-right: 6.4vw;
        background: none;
        color: var(--navbartext);
        border-radius: 100px;
        border: 1px solid var(--navbartext);
        outline: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        font-family: Proto-Reg;
    }
      
    .nav-button span {
        font-size: 1.5vb;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: top 0.5s;
        background: none;
    }
      
    .nav-button-text-one {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
      
    .nav-button-text-two {
        position: absolute;
        width: 100%;
        top: 150%;
        left: 0;
        transform: translateY(-50%);
    }
      
    .nav-button:hover .nav-button-text-one {
        top: -100%;
    }
      
    .nav-button:hover .nav-button-text-two {
        top: 50%;
    } 
    .mobile-menu{
        display: none;
    }
    .mobile-nav{
        display: none;
    }
    .discord{
        fill: var(--footersocial);
        height: 1.820615797vw;
        width: 1.820615797vw;
    }
    .instagram{
        fill: var(--footersocial);
        height: 1.820615797vw;
        width: 1.820615797vw;
    }
    .whatsapp{
        fill: var(--footersocial);
        height: 1.820615797vw;
        width: 1.820615797vw;
    }
    .linkedin{
        fill: var(--footersocial);
        height: 1.820615797vw;
        width: 1.820615797vw;
    }
}
@media screen and (max-width:990px) {
    .navbar {
        display: flex;
        align-items: center;
        padding: 0.5em 1em;
        padding-top: 1em;
        justify-content: space-between;
        position: relative;
    }
    .navbar .logo {
        height: 8vw;
        width: 8vw;
        flex-shrink: 0;
    }
    .logo img{
        height: inherit;
        width: inherit;
    }
    .navbar .nav-items {
        display: flex;
        gap: 2em;
        align-items: center;
        flex-grow: 1;
        justify-content: center;
        
    }
    #home,#team,#contact{
        display: none;
    }
    .navbar .nav-items a {
        text-decoration: none;
        color: var(--navbartext);
    }
    #grain{
        display: none;
    }
    .navbar .nav-items a button {
        cursor: pointer;
        background: none;
        outline: none;
        border: 0px;
        border-radius: 0.30em;
        font-size: 1.8vb;
        color: var(--navbartext);
        font-family: Proto-Reg;
        padding-inline: 6px;
        cursor: pointer;
        overflow: hidden;
        transition: all 0.3s;
        align-items: center;
        opacity: 0.65;
    }
    .navbar .nav-items a button:hover {
        opacity: 1;
    }
    .nav-button {
        padding-right: 8vh;
        background: none;
        color: var(--navbartext);
        border-radius: 100px;
        border: 1px solid var(--navbartext);
        outline: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        font-family: Proto-Reg;
        margin-right: 6vw;
    }
      
    .nav-button span {
        font-size: 1.4vb;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: top 0.5s;
        background: none;
    }
      
    .nav-button-text-one {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
      
    .nav-button-text-two {
        position: absolute;
        width: 100%;
        top: 150%;
        left: 0;
        transform: translateY(-50%);
    }
      
    .nav-button:hover .nav-button-text-one {
        top: -100%;
    }
      
    .nav-button:hover .nav-button-text-two {
        top: 50%;
    } 
    .mobile-menu{
        background:none;
        border: none;
        display: flex;
        flex-direction: column;
        gap: 0.5em;
        z-index: 100;
        position: relative;
    }
    .mobile-t{
        width: 25px;
        height: 1px;
        background-color: var(--mobilenavbaricon);
        transition: transform 0.5s ease-in-out;
        will-change: transform;
        
    }
    .mobile-b{
        width: 25px;
        height: 1px;
        background-color: var(--mobilenavbaricon);
        transition: transform 0.5s ease-in-out;
        will-change: transform;
        
    }
    .rotated {
        transform: translate3d(0px, -4px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(45deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
    }
    .rotated-up {
        transform: rotate(-45deg);
        transform: translate3d(0px, 4.5px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(-45deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
    }
    footer {
        text-align: center;
        width: 100vw;
        color: var(--footer);
        bottom: 0;
        left: 0;
        font-size: 1.8vmin;
        font-family: proto-reg;
        position:relative;
        padding-bottom: 4vh;
    }
    footer .social-icons {
        display: flex;
        justify-content: center;
        gap: 5em;
        margin-bottom: 3em;
    }
    footer p {
        margin: 0;
        font-size: 1.2vb
    }
    .mobile-nav{
        height: 90vh;
        width: 100vw;
        top:10vh;
        left: -100%;
        z-index: 5;
        background-color: var(--background);
        position: fixed;
        transition: left 0.5s ease-in-out;
        display: flex;
    }
    #mobile-nav.slide-in {
        left: 0; /* Slide into view */
        z-index: 5;
    }
    .menu-item-mask{
        width: 100%;
        overflow: hidden;
    }
    .menu-row{
        width: 100vw;
        height: fit-content;
        padding-left: 4vw;
        padding-right: 4vw;
        align-self: center;
        display: flex;
        flex-direction: column;
        gap: 3vh;
    }
    .a-flex{
        display: flex;
        justify-content: space-between;
        text-decoration: none;
        color: var(--mobilenavbaroptions);
        text-transform: uppercase;
        font-size: 15px;
    }
    .menu-item-mask{
        font-family: lomo;
    }
    .menu-item-counter-mask{
        font-family: proto-reg;
    }
    .copyright-mobile{
        position: absolute;
        bottom: 0;
        right: 0;
        color: var(--mobilenavbaroptions);
        font-size: 11px;
        font-family: Proto-Reg;
        height: fit-content;
        padding-right: 1em;
        padding-bottom: 1em;
    }
    #events{
        display: none;
    }
    #results{
        display: none;
    }
    .discord{
        fill: var(--footersocial);
        height: 3.820615797vw;
        width: 3.820615797vw;
    }
    .instagram{
        fill: var(--footersocial);
        height: 3.820615797vw;
        width: 3.820615797vw;
    }
    .whatsapp{
        fill: var(--footersocial);
        height: 3.820615797vw;
        width: 3.820615797vw;
    }
    .linkedin{
        fill: var(--footersocial);
        height: 3.820615797vw;
        width: 3.820615797vw;
    }
}