@font-face {
  font-family: 'F1';
  src: url('../fonts/Formula1-Regular.ttf') format('truetype');
}


body {
  margin: 0;
    font-family: F1-regular, sans-serif;
    background: radial-gradient(circle, #01136c, #600101, #7a0202, #2f019a);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    min-block-size: 100dvh;
    display: grid;
    place-items: center;
  }
  .submit-btn {
    align-items: center;
    background-image: linear-gradient(144deg,#AF40FF, #150775 50%,#7b0505);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    position: relative;
    font-family: F1;
    font-size: 18px;
    justify-content: center;
    line-height: 1em;
    max-width: 100%;
    min-width: 200px;
    padding: 15px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    transition: all .3s;
    margin-top: 100px;
   }
   
   .submit-btn:active,
   .submit-btn:hover {
    outline: 0;
   }
   
   .submit-btn span {
    background-color: rgb(5, 6, 45);
    padding: 10px 34px;
    border-radius: 6px;
    width: 100%;
    height: 100%;
    transition: 300ms;
   }
   
   .submit-btn:hover span {
    background: none;
    color: #FFFFFF;
   }
   
   .submit-btn:active {
    transform: scale(0.9);
   }
  .cards-container {
    display: none;
    flex-direction: row;
    justify-content: flex-start; /* Aligns items to the start of the container */
    gap: 40px; /* Adjusts the space between the cards */
    font-family: 'F1', sans-serif;
    background-color: rgba(0,0,0,0.7);
    padding:50px;
    border-radius: 20px;
  }
  .card {
    background-size: cover;
    background-position: center;
    width: 200px;
    height: 160px;
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.440);
    border-left: 2px  rgba(255, 255, 255, 0.545);
    box-shadow: -40px 50px 30px rgba(0, 0, 0, 0.280);
    transform: skewX(10deg);
    transition: .4s;
    overflow: hidden;
    color: white;
    font-family: 'F1', sans-serif;
  }

.card p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover p {
    opacity: 1;
  }
  .card:hover {
    height: 364px;
    transform: skew(0deg);
  }
  
  .align {
    
    display: flex;
    flex-direction: row;
    gap: 75px;
    align-self: flex-start;
  }
  
  .red {
    text-align: left;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    /* box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280); */
  }
  
  /* .yellow {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffbd44;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
  } */
  
  .green {
    width: 10px;
    height: 10px;
    text-align: right;
    border-radius: 50%;
    background-color: transparent;
    /* box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280); */
  }
  
  .card h1 {
    text-align: center;
    margin: 1.3rem;
    color: rgb(218, 244, 237);
    text-shadow: -10px 5px 10px rgba(0, 0, 0, 0.573);
  }
  
  
  section{
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100vh;
    font-size: 3em;
  }
  
  header {
    margin-top: 3em;
    text-align: center;
    color: rgb(222, 220, 220);
  }
  
  header h1 {
    font-size: 2em;
    font-weight: 900;
  }
  
  #container3D canvas {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  #prediction-results{
    display: none;
  }
  #prediction-results h3{
    font-family: F1-bold;
    font-size: 40px;
    background: linear-gradient(to right ,#939393, #56075d,#ffffff, #770501);
    -webkit-text-fill-color: transparent;
    
    -webkit-background-clip: text;
  }

  #card1 .green{
    color:goldenrod
  }
 
  #card2{
    margin-top:50px;
  }
  #card3{
    margin-top:80px;
  }