
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* font-family:Arial, Helvetica, sans-serif; */
    color: #fff;
  }
  html,body{
    height: 100%;
    width: 100%;
  }
  
  *::selection{
    background-color: #fff;
    color: #95C11E;
  }
  
  body::-webkit-scrollbar{
    display: block;
    width: 10px;
    background-color: #000;
  }
  body::-webkit-scrollbar-thumb{
    background-color: #95C11E;
    border-radius: 10px;
  }
  
  /* cursor & cursor-blur */
  #cursor{
    height: 20px;
    width: 20px;
    background-color: #95C11E;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
  }
  #cursor-blur{
    height: 300px;
    width: 300px;
    background-color: #96c11e;
    border-radius: 50%;
    position: fixed;
    filter: blur(150px);
    z-index: 9;
  }
  
  /* navbar */
  #nav{
    height: 145px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 150px; /* top-bottom right-left*/
    gap: 50px ;
    justify-content: flex-start;
    position: fixed;
    z-index: 99;
  }
  #nav img{
    height: 75px;
  }
  #nav h4{
    text-transform: uppercase;
    font-weight: 400;
  }
  
  /* background image */
  video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -1;
  }
  
  /* transparensy in background to add darkness in video */
  #main{
    position: relative;
    background-color: rgb(0, 0, 0, 0.4); /* here 4th value(ranged from 0-1) 0.5 is used increase transparency. 0=fully transparent, 1=not transparent */
  }
  
  /* page1 - main page */
  #page1{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* used to make elements in column, which was flexed in rows*/
    text-align: center;
    z-index: 10;
  }
  #page1 h1{
    font-size: 140px;
    font-weight: 900;
    position: relative;
  }
  /* pseudo element */
  #page1 h1::before{
    content: "EAT. DRINK. PLAY.";
    position: absolute;
    color: #000;
    top: -5px;
    left: -5px;
    -webkit-text-stroke: 1px #95C11E;
    z-index: -1;
  }
  #page1 h2{
    font-size: 30px;
    font-weight: 900;
    margin-top: 5px;
    margin-bottom: 25px;
  }
  #page1 p{
    font-size: 24px;
    font-weight: 400;
    width: 50%;
  }
  
  /* page2 */
  #page2{
    min-height: 100vh; /* note: min-height is used */
    width: 100%;
    z-index: 10;
  }
  
  /* page2 - infinite scrolling line */
  #scroller{
    /* background-color: red; */
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 10;
  }
  #scroller::-webkit-scrollbar{
    display: none;
  }
  #scroller-in{
    display: inline-block;
    white-space: nowrap;
    animation-name: scroll;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  #scroller h4{
    display: inline-block;
    font-size: 140px;
    font-weight: 800;
    margin-right: 40px;
    color: #000;
    transition: all linear 0.5s;
    -webkit-text-stroke: 1px #fff;
  }
  #scroller h4:hover{
    color: #95C11E;
  }
  
  @keyframes scroll{
    from{
      transform: translateX(0);
    }
    to{
      transform: translateX(-100%);
    }
  }
  
  /* page2 - about us */
  #about-us{
    margin-top: 100px;
    height:50vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 50px;
    position: relative;
    z-index: 10;
  }
  #about-us img{
    border-radius: 10px;
    object-fit: cover;
  }
  #about-us #img1{
    height: 160px;
    width: 160px;
  }
  #about-us #img2{
    height: 210px;
    width: 160px;
  }
  #about-us-in{
    width: 50%;
    text-align: center;
  }
  #about-us-in h3{
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 25px;
  }
  #about-us-in p{
    font-size: 20px;
    line-height: 30px;
    margin-top: 20px;
  }
  
  /* page2 - card elements */
  #cards-container{
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }
  .card{
    height: 80%;
    width: 25%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all ease 0.6s;
  }
  #card1{
    background-image: url(https://eiwgew27fhz.exactdn.com/wp-content/uploads/2023/02/home-toptracer.jpg?strip=all&lossy=1&sharp=1&ssl=1);
  }
  #card2{
    background-image: url(https://eiwgew27fhz.exactdn.com/wp-content/uploads/2023/02/hero-4.jpg?strip=all&lossy=1&sharp=1&fit=1024%2C1024&ssl=1);
  }
  #card3{
    background-image: url(https://eiwgew27fhz.exactdn.com/wp-content/uploads/2023/02/home-lessons.jpg?strip=all&lossy=1&sharp=1&ssl=1);
  }
  .overlay{
    height: 100%;
    width: 100%;
    background-color: #95C11E;
    padding: 50px;
    padding-top: 150px;
    border-radius: 15px;
    opacity: 0;
    transition: all ease 0.6s;
  }
  .overlay h4{
    color: #000;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    /* white-space: nowrap; */
    margin-bottom: 20px;
  }
  .overlay p{
    color: #000;
    font-size: 20px;
    line-height: 30px;
  }
  .card:hover .overlay{
    opacity: 1;
  }
  .card:hover{
    transform: rotate3d(1,1,0,20deg);
  }
  
  /* page2 - green-div */
  #green-div{
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to left bottom,#2AA635,#95C11E); /* diagonaly shading */
  }
  #green-div h4{
    width: 50%;
    line-height: 50px;
    text-transform: uppercase;
    text-align: center;
  }
  #green-div p{
    font-weight: 800;
    font-size: 35px;
    color: #000;
  }
  #green-div img{
    height: 100%;
    object-fit: cover;
    width: 15%;
  }
  
  /* Page3 */
  #page3{
    height: 100vh;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
  }
  #page3>p{
    font-size: 30px;
    width: 60%;
    text-align: center;
    font-weight: 800;
    line-height: 50px;
  }
  #page3 img{
    width: 65px;
    height: 55px;
    position: absolute;
  }
  #page3 #colon1{
    left: 15%;
    top: 15%;
  }
  #page3 #colon2{
    right: 15%;
    bottom: 15%;
  }
  
  /* page4 */
  #page4{
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
  }
  .elem{
    height: 55%;
    width: 26%;
    overflow: hidden;
    font-size: 28px;
    position: relative;
    border-radius: 15px;
  }
  .elem h2{
    height: 100%;
    width: 100%;
    background-color: #a8d332;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
    font-weight: 800;
    position: absolute;
    z-index: 10;
  }
  .elem img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease 0.5s;
    scale: 1.1;
  }
  .elem:hover h2{
    background-color: #fff;
    background-color: transparent;
  }
  .elem:hover img{
    scale: 1;
  }
  #page4 h1{
    font-size: 80px;
    font-weight: 800;
    position: absolute;
    top: -15px;
    color: #000;
    -webkit-text-stroke: 1px #fff;
    z-index: 10;
  }
  
  /* footer */
  #footer{
    height: 55vh;
    width: 100%;
    background: linear-gradient(to left bottom,#2AA635, #95C11E);
    position: relative;
    display: flex;
    align-items: center;
    justify-content:flex-start;
    gap: 6.5vw;
    padding: 0 100px;
  
  }
  #footer>img{
    position: absolute;
    left: 0;
    height: 80%;
    z-index: 0;
  }
  #f1 img{
    height: 100px;
  }
  #f1,#f2,#f3,#f4{
    width: fit-content;
    position: relative;
    z-index: 99;
  }
  #f2 h3{
    font-size: 30px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 900;
    margin-bottom: 8px;
  }
  #f3 h3{
    font-size: 30px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 800;
    margin-bottom: 8px;
  }
  #f4 h4{
    font-size: 18px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 8px;
  }
  #f4 h3{
    font-size: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 800;
    line-height: 20px;
    margin-bottom: 8px;
  }