body {
        font-family: "p22-frenzy", sans-serif;
    font-weight: 400;
    font-style: normal; 
    width:100vw;
    height:100vh;
    overflow-y:hidden;
    margin:0;
    padding:0;
    animation: fadeInAnimation 2s ease-in forwards;

}

@keyframes fadeInAnimation {
  from {
    opacity: 0; /* Start from fully transparent */
  }
  to {
    opacity: 1; /* End with fully opaque */
  }
}



@keyframes leftright {
    0% {
        left:-20vw;
    }
    100% {
        left:100vw;
    }
}


.container {
    display:flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 100vh; /* Ensures the container takes full viewport height */
    width:100vw;
    z-index:-1;
  }
  
  .centered {
    /* Additional styling for your centered div */
  }

  .car img {
    width:300px;
    height:auto;
    z-index:1;
  }

.car {
    z-index:2;
}

  .wheel img {
    position:absolute;
    width:50px;
    bottom:125px;
    left:8px;
    margin-left:18px;
    animation:rotate 3s infinite linear;
    transform-origin: middle;
    justify-content: center; /* Centers horizontally */
    align-items: center; 
    z-index:1;
  }

  @keyframes rotate {
    0% {transform:rotate(0deg)}
    100% {transform:rotate(360deg)}
  }
  
  .wheel {
    position: relative;
    display: flex; /* or grid, depending on your layout */
    top:150px;
  }

  .road {
    position:relative;
    display:flex;
    gap:none;
    margin:0;
    animation:moving 3s infinite linear;
  }

  .road img {
    position:absolute;
    width:200%;
    height:100px;
    left:0;
    bottom: 250px;
    margin:0;
  }
  
@keyframes moving {
    0% {left:0vw;}
    100% {left:-93vw;}
}

#w2 {
    margin-left:192px;
}

.cover {
    position:absolute;
    height:100vh;
    z-index:2;
}

.scene img {
  position:absolute;
  top:0;
  left:0;
  right:0;
  width:100vw;
  height:65vh;
  z-index:-1;
}

.bottom {
  position:absolute;
  width:100vw;
  height:35vh;
  background-color:#72dcbb;
  bottom:0;
  z-index:-1;
}

.vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
  pointer-events: none;
  z-index: 9999; /* Ensure the overlay is above other content */
}