@font-face {
    font-family: 'Horsemen';
    src: url('../fonts/Horsemen.otf') format('opentype');
  }
body,html {
    width: 100%;
    height: auto;
}
body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
main {
    font-size: 1.6em;
}
h1 {
    font-size: 4em;
}
/*------- Overview Starts  -------*/

.overview,.overview-text {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.overview h2{
    margin: 0 auto;
}
.overview {
    z-index: -1;
}
#home{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100vh !important;
    z-index: 1;
}
#home::before{
    content: '';
    position: absolute;
    top:0;
    left: 0;
    background: url('../imgs/Mobile-mockup-center.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
#home .mask {
    position: absolute;
    top: 0;
    left: 10%;
    width: auto;
    height: 120%;
    z-index: -1;
    transform-origin: center;
    margin: 0 auto;
}
#home>*{
    margin-left: -2em
}
.class1{font-family: sans-serif;  color: var(--white); text-align: center;}
.class2{font-family: 'Horsemen'; color: var(--orange); text-align: center;}

#home video{
    width: 38%;
}
.ww-logo img{
    width: 4em;
}
.top-bar{
    display: flex;
    width: 38%;
    background: black;
    margin-top: -6em;
}
.top-bar ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-evenly;
    margin-top: .5em;
    font-size: .5em;
}
#navigation ul a {
    display: flex;
    text-decoration: none;
    color: #FFC100;
}
.flipdown{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 4vh;
    margin-top: -10em;
    transform: scale(.4);
}
h4 {
    margin-top: 0;
}
.overview-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.6em;
}
@media screen and (max-width: 1200px) {
    .goals-cards>div {
        margin: 0 2em;
    }
}
@media screen and (max-width: 1024px) {
    .flipdown {
        margin-top: -5em;
        transform: scale(.3);
    }
    .features h4 {
        font-size: .6em;
        font-weight: 800;
        width: 60%;
    }
    #tickets {
        width: 50vw !important;
        height: 60vh !important;
    }
    #tickets h2 {
        font-size: .8em !important;
    }
    #tickets button, .ticket-info button,.personal-info button,.payment-info button{
        padding: 1em;
    }
    .ticket-info,.personal-info,.payment-info{
        height: 90%;
        overflow: auto;
    }
    #personalInfoForm,#paymentForm {
        height: 90% !important;
        width: 100%;
    }
    .goal1 p, .goal2 p, .goal3 p {
        font-size: 1.2em;
    }
}
@media screen and (max-width: 768px) {
    html,body{
        width: 100%;
        overflow-x: hidden !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    h1 {
        font-size: 3em;
    }
    .top-bar {
        display: none;
    }
    #home {
        height: 50vh !important;
    }
    #home>*{
        margin-left: 0;
    }
    #home h4 {
        font-size: 1em;
    }
    .ww-logo img {
        width: 2em;
    }
    #home video {
        margin-top: -1em;
    }
    .feature2 {
        margin-left: 40vw !important;
    }
    .feature1, .feature2,.feature3{
        overflow: auto;
        height: 20vh !important;
        width: 40vw !important;
    }
    .feature1, .feature3 {
        margin-left: -1em;
    }
    .feature1 p, .feature2 p,.feature3 p{
        display: none;
    }
    .features-content ul, .features-content ul li{
        z-index: 10030 !important;
    }
    .line{
        top: 30em !important;
        z-index: -1 !important;
    }
    #event, #members {
        width: 60vw !important;
        height: auto;
    }
    #tickets{
        width: 70vw !important;
        height: 50vh !important;
    }
    .next-4 {
        margin: 0 auto;
    }
    .next-project {
        margin-top: 8em !important;
        z-index: 10030 !important;
    }
    .goals{
        height: 80vh !important;
        width: 100%;
    }
    .goals-cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .goal1 p, .goal2 p, .goal3 p {
        font-size: 1em !important;
    }
    .goal1, .goal2, .goal3{
        height: 18vh !important;
        width: 60vw !important;
    }
    .battle-demo, main{
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto;
    }
    .next-project {
        display: flex;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 auto;
    }
    .battle {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-self: center;
        margin: 0 auto;
        margin-left: -5em;
    }
    .overview-text {
        width: 70%;
    }
    h2 {
        font-size: 2.4em;
        max-width: 80%;
        margin-left: -2em;
    }
    #tickets h2 {
        margin-left: 0;
    }
}
/*------- Overview Ends  -------*/

/*------- Goals Starts  -------*/
.goals {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.goals-cards{
    display: flex;
    justify-content: space-around;
    width: 100%;
}
.goal1, .goal2,.goal3{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2em;
    height: 30vh;
    width: 20vw;
    box-shadow: 0 .5em 1em rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}
#goal1-bg, #goal2-bg, #goal3-bg{
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    opacity: .3;
}
.goal1 p, .goal2 p, .goal3 p{
    text-align: center;
    width: 60%;
    font-size: 1.5em;
}
/*------- Goals Ends -------*/
.battle-demo {
    height: 60vh;
    margin-bottom: 5em;
    padding-left: 5em;
    margin-top: 6em;
}
.header-logo {
    margin-left: 30em;
}
.next-project {
    height: 10vh;
    margin: 5em auto;
    display: flex;
    justify-content: flex-end !important;
    align-items: flex-end;
    font-size: 3.2em;
}
.next-project a {
    display: flex;
    justify-self: flex-end;
    z-index: 10 !important;
}
/*------- Feature Starts -------*/
.features {
    height: auto;
    margin: 5em auto;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
}  
.features-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
} 
.features ul {
    position: relative;
    font-size: 3.2em;
    list-style: none;
}
.feature2 {
    margin-left: 35vw;
}
.line {
    position: absolute;
    top:60em;
    left: 0;
    width: 100%;
    transform-origin: center;
    height: 1px;
    background: black;
    transform: rotate(90deg) scale(.4);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 0;
}
.dot {
    width: 2em;
    height: 2em;
    background: black;
    border-radius: 50%;
}
.feature1, .feature2, .feature3 {
    box-shadow: 0 .5em 1em rgba(0,0,0,0.15);
    border-radius: 2em;
    width: 30vw;
    height: 35vh;
    font-size: .8em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}
.feature1 {
    z-index: 10;
}
.feature1 h4, .feature2 h4, .feature3 h4 {
    font-weight: 400;
    width: 80%;
}
.feature1 p, .feature2 p, .feature3 p{
    width: 80%;
    font-size: .5em;
}
.features-content{
    perspective: 40em;
}
/*------- Feature Ends -------*/

/*------- Tickets Starts -------*/
.features ul li{
    position: relative;
}

#tickets {
    background-color: var(--orange);
    width: 30vw;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top:0;
    left: 0;
    border-radius: 3em;
    transform: translateX(90vw);
    opacity: 0;
    z-index: 11;
}
.ticket-info{
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 30vh;
    display: none;
}
.ticket-info label, .personal-info label, .payment-info label{
    font-size: .5em !important;
    margin: 0;
}
.ticket-info h3, .personal-info h3, .payment-info h3{
    font-size: .5em !important;
}
.ticket-info input, .ticket-info select{
    margin: 0;
    border-radius: .4rem;
    border: none;
}
.ticket-info input, .next{
    padding:0 .8rem;
}
.ticket-info select{
    padding: .6rem .5rem;
}
.ticket-next {
    border-radius: 2em;
    border: none;
    text-transform: uppercase;
    transition: .2s;
    width: 90%;
}
.ticket-next {
    z-index: 10030 !important;
    cursor: pointer !important;
    padding:1em 2em;
}
.next:hover, .get-tickets:hover{
    background: var(--black);
    color: var(--white);
    cursor: pointer;
}
input[type="number"] {
    padding:.2rem;
    margin: 1rem;
    width: 30%;
    text-align: center;
}
.ticket-counter {
    display: flex;
    align-items: last baseline;
}
.ticket-counter button, .get-tickets{
    border: none;
    border-radius: 2em;
}
.get-tickets {
    padding: 1.2rem 8rem;
    color: var(--black);
    font-size: 2rem;
    cursor: pointer;
    margin-top: 5rem;
    transition: .2s;
}
#tickets h2 {
    margin-top: -2em;
    font-size: 1em;
}
.payment-info{
    display: none;
    width: 70%;
}
.personal-info, .preview-content{
    display: none;
    height: 30vh !important;
}
.form-group, #personalInfoForm{
    flex-direction: column;
    justify-content: center;
    align-items: end;
    margin: .5rem 0;
}
#paymentForm{
    display: flex;
    flex-direction: column;
}
.form-group,.form-group input{
    width: 100%;
}
#personalInfoForm,#paymentForm{
    height: 20vh;
    overflow: auto;
}
button[type='submit'],.previous{
    margin-top: 2rem;
    padding: .5rem;
    cursor: pointer;
}
input[id='name']{
    width: 90%;
}
input[id='dob'] {
    width: 72%;
}
input[id='cvv'] {
    margin-left: -.05rem;
}
input[type='radio'] {
    height: 100%;
    display: flex;
}
.save-payment {
    margin-top: 1rem;
    padding: .5rem;
}
.preview {
    background: rgba(255,255,255, 0.7);
    padding: 4rem;
    font-size: .5em;
}
.preview-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 30vh;
    overflow: auto;
    margin: 0 auto;
}
.thank-you {
    width: 60%;
    display: none;
    font-size: .5em;
    height: 30vh;
    overflow: auto;
}
.feature1, #tickets, #event, #members{
    transition: transform 0.5s ease-out, opacity 0.5s ease;
}
  
/* This class is added via JavaScript to animate .feature1 */
.feature1-animate, .feature3-animate{
    transform: rotateY(-30deg) translateX(-120%);
    opacity: .3;
}
.feature2-animate {
    transform: rotateY(30deg) translateX(120%);
    opacity: .3;
}
@keyframes tooltip-appear {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}
.tooltip-visible {
    visibility: visible;
    animation: tooltip-appear 0.5s ease-in-out 3; /* Animates three times */
}
 /*------- Tickets Ends -------*/

/*------- Event Starts -------*/
#event, #members{
    width: 40vw;
    height: auto;
    transform:translateX(-50vw);
    position: absolute;
    top:0;
    left: 0;
    opacity: 0;  
}

#event video,#members video{
    width: 100%;
    border-radius: 1.8em;
    position: relative;
}
#event video::before{
    content:'';
    position: absolute;
    top:0;
    left: 0;
    background: red;
    z-index: 0;
    width: 100%;
    height: 100%;
}
/*------- Event Ends -------*/
.overview-text h3 {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s forwards;
  }
  
  /* Define the keyframes for the animation */
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  