@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
:root{
    --bg: rgb(15, 0, 17);
    --main: rgb(162, 0, 255);
    --card-color: rgb(23, 23, 23)
}

/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #202020;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #3d3d3d;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #4d4d4d;
}

*{
    margin: 0;
    padding: 0;
    font-family: "Exo 2", Arial, Helvetica, sans-serif;
}
body{
    overflow-x: hidden;
    overflow: hidden;
    background: var(--bg);
}
.container{
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    height: 100svh;
    overflow-y: auto;
    overflow-x: hidden;
}
.container.aboutus{
    left: 100%;
}
.container.candidate{
    left: 200%;
}
.container.profile{
    left: 300%;
}


.bg{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -100;
    background: var(--bg);
}

.content{
    width: 100%;
    height: 100%;
    position: relative;
}

.navsection{
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}
.navbar{
    width: 60%;
    height: 50%;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: navbar 0.5s;
}

@keyframes navbar {
    0%{
        opacity: 0;
        transform: translateY(-100%);
    }
}

.navcontent{
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navcontent .logo{
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: 250ms;
}
.navcontent .logo:hover{
    filter: brightness(0.8);
}
.logo img{
    height: 100%;
}

.navbuttons{
    display: flex;
    gap: 10px;
    margin-right: 20px;
    position: relative;
}
.navbuttons .navbutton{
    color: white;
    text-shadow: 0 0 10px black;
    transition: 250ms;
    font-size: 20px;
}
.navbutton:hover{
    color: var(--main);
    cursor: pointer;
}

.navbutton.selected{
    color: var(--main);
}

.navselected{
    position: absolute;
    left: var(--left);
    width: var(--width);
    background: var(--main);
    height: 3px;
    box-shadow: 0 0 2px 1px var(--main);
    bottom: -6px;
    transition: 250ms;
}

.banner{
    position: absolute;
    width: 100%;
    height: 850px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -10;
}
@keyframes banner {
    0%{
        filter: brightness(0.1);
        transform: scale(1.2);
    }
}
.banner img{
    animation: banner 750ms;
    width: 100%;
}
.top{
    height: 1px;
    width: 100%;
}
.section.first{
    margin-top: 860px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-content .name{
    font-size: 20px;
    color: white;
    font-weight: bold;
    position: relative;
    padding-left: 60px;
    margin: 0 15px;
    transform: translateY(10px);
}
.card-content .name i{
    font-size: 40px;
    position: absolute;
    transform: translateX(-60px);
}
.card-content .description{
    margin: 0 15px;
    margin-top: 20px;
    height: 100px;
    display: flex;
    align-items: flex-end;
    color: rgb(212, 212, 212);
    font-size: 16px;
}
#cards{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    padding: 60px;
    padding-top: 60px;
}
#cards:hover > .card > .card-border{
    opacity: 1;
}
.card{
    background-color: rgba(255, 255, 255, 0.1);
    width: 335px;
    height: 150px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}
.card:hover::before{
    opacity: 1;
}
.card::before,
.card > .card-border{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    border-radius: inherit;
    z-index: 2;
    transition: 500ms;
    opacity: 0;

}

.card::before{
        background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    z-index: 3;
}

.card > .card-border{
        background: radial-gradient(
        400px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.3),
        transparent 40%
    );
    z-index: 1;
}

.card > .card-content {
    background: var(--card-color);
    border-radius: inherit;
    margin: 1px;
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    z-index: 2;
    position: relative;
}

h1{
    position: absolute;
    color: white;
    text-shadow: 0 0 20px black;
    animation-name: h1;
    animation-duration: 1ms;
    animation-timeline: scroll();
    top: 350px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
}
h2{
    font-size: 40px;
    position: absolute;
    color: white;
    text-shadow: 0 0 20px black;
    transform: translateY(120%);
    animation-name: h2;
    animation-duration: 1ms;
    animation-timeline: scroll();
    top: 350px;
    left: 50%;
    transform: translate(-50%, 70%);
}

@keyframes h1 {
    from{
        transform: translate(-50%, -50%);
    }
    to{
        transform: translate(-50%, -200%);
    }
}

@keyframes h2 {
    from{
        transform: translate(-50%, 70%);
    }
    to{
        transform: translate(-50%, -100%);
    }
}


.paralax{
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 100px;
    z-index: 100;
    animation-name: paralax;
    animation-duration: 1ms;
    animation-timeline: scroll();
}
.paralax img{
    width: 120%;
    border-bottom: 2px solid white;
}

@keyframes paralax {
    from{
        transform: translateY(0);
    }
    to{
        transform: translateY(-230px);
    }
}

.steve{
    width: 300px;
    overflow: hidden;
    position: absolute;
    right: -50px;
    top: 1100px;
}
.steve img{
    width: 100%;
}

.waterfall{
    width: 120px;
    overflow: hidden;
    position: absolute;
    top: 740px;
    z-index: 100;
    animation-name: paralax;
    animation-duration: 1ms;
    animation-timeline: scroll();
}
.waterfall img{
    width: 100%;
}











.container.aboutus .banner{
    height: calc(100% - 1px);
    filter: blur(2px);
}

.container.aboutus .aboutussection{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 400px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    backdrop-filter: blur(10px);
}
.aboutussection .bg{
    box-shadow: 0 0 10px 5px var(--main);
    position: absolute;
    background-color: var(--main);
    opacity: 0.5;
    border-radius: inherit;
}
.aboutussection .text{
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.aboutussection h3{
    color: white;
    font-size: 50px;
}
.aboutussection p{
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px;
    color: rgb(206, 206, 206);
}










.container.candidate .banner{
    height: calc(100% - 1px);
    filter: blur(2px);
}

.container.candidate .candidatesection{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 400px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
    transition: 250ms;
}
.candidatesection .candidatebuttons{
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: space-evenly;
    margin: 100px;
}
.candidatebuttons .button{
    font-size: 30px;
    color: white;
    background: var(--main);
    border: 1px solid white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 12px;
    transition: 250ms;
    box-shadow: 0 0 10px 5px var(--main);
}
.candidatebuttons .button:hover{
    color: gray;
    box-shadow: none;
}
.candidatesection .bg{
    box-shadow: 0 0 10px 5px var(--main);
    position: absolute;
    background-color: var(--main);
    opacity: 0.5;
    border-radius: inherit;
}
.candidatesection .text{
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.candidatesection h3{
    color: white;
    font-size: 50px;
}

.candidatesection .candidatepage{
    background: var(--bg);
    width: 100%;
    height: 0;
    position: absolute;
    border-radius: inherit;
    transition: 250ms;
    top: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.candidatesection.candidating .candidatepage{
    height: 100%;
    overflow: auto;
}
.candidatesection.candidating{
    height: 80% !important;
    margin-top: 50px;
}

.candidatesection .candidatepage .questions{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    width: 100%;
    padding-top: 50px;
    gap: 10px;
}

.candidatesection .candidatepage .questions .question p{
    color: white;
    font-size: 25px;
    text-align: left;
    width: 100%;
}
.candidatesection .candidatepage .questions .question input{
    color: white;
    font-size: 20px;
    border: 1px solid gray;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    width: 100%;
    transition: 250ms;
    outline: none;
}
.candidatesection .candidatepage .questions .question input:focus{
    border-color: white;
}
.candidatesection .candidatepage .questions .question{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.candidatesection .candidatepage .send{
    color: white;
    font-size: 30px;
    text-shadow: 0 0 20px white;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: 250ms;
}

.candidatesection .candidatepage .send:hover{
    box-shadow: none;
    border-color: gray;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}










.container.photos .content{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.photossection{
    margin-top: 200px;
    max-width: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-auto-flow: row;
    padding-bottom: 100px;
}

.photo{
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 250ms;
}
.photossection:has(.photo:hover) .photo:not(:hover){
    filter: brightness(0.5);
}

.photo img{
    height: 400px;
}




.container.profile .banner{
    height: calc(100% - 1px);
    filter: blur(2px);
}
.container.profile .loginsection{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 400px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    backdrop-filter: blur(10px);
}
.loginsection .bg{
    box-shadow: 0 0 10px 5px var(--main);
    position: absolute;
    background-color: var(--main);
    opacity: 0.5;
    border-radius: inherit;
}

.loginsection h5{
    color: white;
    font-size: 50px;
}

.continuewithdiscord{
    margin: 50px;
    background-color: #5865F2;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px 0;
    width: 300px;
    border-radius: 12px;
    cursor: pointer;
    transition: 250ms;
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0);
}

.continuewithdiscord p{
    font-size: 25px;
    color: white;
    font-weight: bold;
    width: 70%;
    text-align: center;
    border-right: 1px solid white;
}
.continuewithdiscord i{
    font-size: 30px;
    width: 30%;
    text-align: center;
    height: 100%;
    transition: 250ms;
}

.continuewithdiscord:hover i{
    transform: scale(1.1);
}
.continuewithdiscord:hover{
    box-shadow: none;
    border: 2px solid white;
}



.container.profile .loggedinsection{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 80%;
    height: calc(100% - 150px);
    margin-top: 150px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.loggedinsection h5{
    color: white;
    font-size: 50px;
}

.container.profile .fillprofile{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 80%;
    height: calc(100% - 150px);
    margin-top: 150px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.fillprofile p{
    color: white;
    font-size: 40px;
}
.fillprofile .inputs{
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 80%;
    margin: 60px;
}
.fillprofile .input{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
}
.fillprofile .input p{
    font-size: 28px;
    margin: 10px;
}
.fillprofile .input input{
    padding: 0 20px;
    height: 40px;
    font-size: 22px;
    width: 80%;
    border-radius: 12px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgb(29, 29, 29);
    color: rgb(233, 233, 233);
}
.fillprofile .continue{
    background-color: var(--main);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    border-radius: 8px;
    cursor: pointer;
    transition: 250ms;
    box-shadow: 0 0 5px 2px var(--main);
}
.fillprofile .continue:hover{
    box-shadow: 0 0 10px 5px var(--main);
}
.fillprofile .continue p{
    font-size: 30px;
    transition: 250ms;
}
.fillprofile .continue:hover p{
        color: rgb(182, 182, 182);
}




.hidden{
    display: none !important;
}

.fa-spinner{
    animation: loading infinite 1s linear;
    color: white;
    font-size: 30px;
}

@keyframes loading {
    0%{
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(180deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

i.updatedprofile{
    animation: updatedprofile 3s;
    overflow: hidden;
    text-wrap: nowrap;
    color: white;
    font-size: 28px;
    text-align: center;
}

@keyframes updatedprofile {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}


.container.profile .mcverify{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 80%;
    height: calc(100% - 150px);
    margin-top: 150px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.mcverify p{
    color: white;
    font-size: 40px;
}
.mcverify .input{
    display: flex;
    margin: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
}
.mcverify .input p{
    font-size: 28px;
    margin: 10px;
}
.mcverify .input input{
    padding: 0 20px;
    height: 40px;
    font-size: 22px;
    width: 80%;
    border-radius: 12px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgb(29, 29, 29);
    color: rgb(233, 233, 233);
}
.mcverify .sendcode{
    background-color: var(--main);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    border-radius: 8px;
    cursor: pointer;
    transition: 250ms;
    box-shadow: 0 0 5px 2px var(--main);
}
.mcverify .sendcode:hover{
    box-shadow: 0 0 10px 5px var(--main);
}
.mcverify .sendcode p{
    font-size: 30px;
    transition: 250ms;
}
.mcverify .sendcode:hover p{
        color: rgb(182, 182, 182);
}


.mcverify .verify{
    background-color: var(--main);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    border-radius: 8px;
    cursor: pointer;
    transition: 250ms;
    box-shadow: 0 0 5px 2px var(--main);
}
.mcverify .verify:hover{
    box-shadow: 0 0 10px 5px var(--main);
}
.mcverify .verify p{
    font-size: 30px;
    transition: 250ms;
}
.mcverify .verify:hover p{
        color: rgb(182, 182, 182);
}

.mcverify .alert h6{
    color: rgb(0, 255, 0);
    font-size: 50px;
    animation: alert 1s;
    overflow: hidden;
    text-wrap: nowrap;
    text-align: center;
}

@keyframes alert {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}

.mcverify .error h6{
    color: rgb(255, 0, 0);
    font-size: 30px;
    animation: alert 5s;
    overflow: hidden;
    text-wrap: nowrap;
    text-align: center;
    height: 0;
}

@keyframes alert {
    0%{
        width: 0;
        height: 36px;
    }
    20%{
        width: 100%;
    }
    80%{
        width: 100%;
    }
    99%{
        width: 0;
        height: 100%;
    }
    100%{
        height: 0;
    }
}

@media (max-width: 1024px) {
  .navbar {
    width: 90%;
    height: 60px;
  }

  .navcontent .logo {
    height: 80%;
  }

  .navbuttons {
    gap: 8px;
    margin-right: 10px;
  }

  .navbuttons .navbutton {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
    top: 300px;
  }

  h2 {
    font-size: 30px;
    top: 300px;
  }

  .paralax img {
    width: 150%;
  }

  .card {
    width: 90%;
    height: auto;
    min-height: 160px;
  }

  .card-content .description {
    font-size: 14px;
    height: auto;
    margin-bottom: 10px;
  }

  .card-content .name {
    font-size: 18px;
    padding-left: 40px;
  }

  .card-content .name i {
    font-size: 30px;
    transform: translateX(-40px);
  }

  .photossection {
    grid-template-columns: 1fr 1fr;
    max-width: 90%;
  }

  .photo img {
    height: auto;
    width: 100%;
  }

  .aboutussection,
  .candidatesection,
  .loginsection {
    width: 90%;
    height: auto;
    padding: 20px 10px;
  }

  .aboutussection h3,
  .candidatesection h3,
  .loginsection h5 {
    font-size: 30px;
    text-align: center;
  }

  .aboutussection p,
  .candidatesection p {
    font-size: 16px;
  }

  .candidatebuttons {
    margin: 30px 0;
    flex-direction: column;
    gap: 10px;
  }

  .candidatebuttons .button {
    width: 80%;
    text-align: center;
  }

  .candidatesection .candidatepage .questions .question {
    width: 90%;
  }

  .candidatesection .candidatepage .questions .question p,
  .candidatesection .candidatepage .questions .question input {
    font-size: 18px;
  }

  .fillprofile .inputs {
    flex-direction: column;
    width: 100%;
    margin: 30px 0;
  }

  .fillprofile .input {
    width: 90%;
  }

  .fillprofile p {
    font-size: 30px;
    text-align: center;
  }

  .continuewithdiscord {
    width: 90%;
    flex-direction: column;
    padding: 12px;
  }

  .continuewithdiscord p,
  .continuewithdiscord i {
    width: 100%;
    border: none;
  }

  .mcverify .input {
    width: 90%;
  }

  .mcverify .verify,
  .mcverify .sendcode {
    width: 80%;
  }

  .loggedinsection,
  .fillprofile,
  .mcverify {
    width: 95%;
  }
}

@media (max-width: 600px) {
  .photossection {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .navsection {
    height: 100px;
  }

  .banner {
    height: 500px;
  }

  .section.first {
    margin-top: 520px;
  }
}