@font-face {
  font-family: 'SuperstarMemesBruh03';
  src: url('/superstar_memesbruh03.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
@keyframes moveCar {
    from { transform: translateX(0); }
  to { transform: translateX(var(--move-distance)); }
  }
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #0344db; /* White background */
  font-family: 'SuperstarMemesBruh03', monospace; /* Fallback font */
}

.standings-table {
    width: 80vw;
    border-collapse: collapse;
    margin-left: auto;  /* Centers the table with equal margin on both sides */
    margin-right: auto; /* Centers the table with equal margin on both sides */
}

.standings-table th, .standings-table td {
  text-align: left;
  padding: 12px 20px;
}

.standings-table th {
  background-color: #0344db; /* Blue color */
  color: white;
}

.standings-table tr:nth-child(odd) {
  background-color: #ffffff; /* White for odd rows */
  color: #0344db; /* Blue text for odd rows */
}

.standings-table tr:nth-child(even) {
  background-color: #0344db; /* Blue for even rows */
  color: #ffffff; /* White text for even rows */
}

.rank-column {
  font-family: 'SuperstarMemesBruh03', monospace; /* Specified font for ranking */
}
.standings-table td:first-child, .standings-table th:first-child {
    font-family: 'SuperstarMemesBruh03', monospace; /* Apply the font to the first column */
  }
  .standings-table td:first-child, .standings-table th:first-child,
.standings-table td:nth-child(3), .standings-table th:nth-child(3),
.standings-table td:nth-child(4), .standings-table th:nth-child(4){
  font-family: 'SuperstarMemesBruh03', monospace; /* Apply the font to the first and third columns */
}
.podium {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-left: 10%;
    background-color: #0344db; /* Background color for podium */
    
  }
  
  .podium-place {
    text-align: left;
    margin-bottom: 20px;
  }
  
  .username {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'SuperstarMemesBruh03', monospace;
    color: #ffffff;
  }
  
  .bar {
    position: relative;
    width: 100%;

    display: flex;
    align-items: center;
  }
  
  .square {
    width: 2.5px; /* Adjust to your preference */
    height: 2.5px; /* Adjust to your preference */
    background-color: #ffffff; /* Color for the square */
    margin-right: 8px; /* Space between squares */
    opacity: 0; /* Start with squares invisible */
    animation: fadeIn 0.5s ease forwards;
  }
  
  .car {
    width: 50px; /* Adjust to fit your design */
    height: auto; /* Keeps aspect ratio of the car image */


    position: absolute;
    left: 0;
    animation: moveCar 2.6s linear forwards;
  }
  .square:nth-child(1) { animation-delay: 0.1s; }
.square:nth-child(2) { animation-delay: 0.2s; }
.square:nth-child(3) { animation-delay: 0.3s; }
.square:nth-child(4) { animation-delay: 0.4s; }
.square:nth-child(5) { animation-delay: 0.5s; }
.square:nth-child(6) { animation-delay: 0.6s; }
.square:nth-child(7) { animation-delay: 0.7s; }
.square:nth-child(8) { animation-delay: 0.8s; }
.square:nth-child(9) { animation-delay: 0.9s; }
.square:nth-child(10) { animation-delay: 1.0s; }
.square:nth-child(11) { animation-delay: 1.1s; }
.square:nth-child(12) { animation-delay: 1.2s; }
.square:nth-child(13) { animation-delay: 1.3s; }
.square:nth-child(14) { animation-delay: 1.4s; }
.square:nth-child(15) { animation-delay: 1.5s; }
.square:nth-child(16) { animation-delay: 1.6s; }
.square:nth-child(17) { animation-delay: 1.7s; }
.square:nth-child(18) { animation-delay: 1.8s; }
.square:nth-child(19) { animation-delay: 1.9s; }
.square:nth-child(20) { animation-delay: 2.0s; }
.square:nth-child(21) { animation-delay: 2.1s; }
.square:nth-child(22) { animation-delay: 2.2s; }
.square:nth-child(23) { animation-delay: 2.3s; }
.square:nth-child(24) { animation-delay: 2.4s; }
.square:nth-child(25) { animation-delay: 2.5s; }
.square:nth-child(26) { animation-delay: 2.6s; }
.square:nth-child(27) { animation-delay: 2.7s; }
.square:nth-child(28) { animation-delay: 2.8s; }
.square:nth-child(29) { animation-delay: 2.9s; }
.square:nth-child(30) { animation-delay: 3.0s; }
.square:nth-child(31) { animation-delay: 3.1s; }
.square:nth-child(32) { animation-delay: 3.2s; }
.square:nth-child(33) { animation-delay: 3.3s; }
.square:nth-child(34) { animation-delay: 3.4s; }
.square:nth-child(35) { animation-delay: 3.5s; }
.square:nth-child(36) { animation-delay: 3.6s; }



.car1 { --move-distance: 550%; }
.car2 { --move-distance: 450%; }
.car3 { --move-distance: 350%; }

.search-container {
  text-align: center;
  margin: 20px 0;
  color: blue;
  
}

#searchBar {
  width: 80%; /* Adjust this value based on your table width */
  padding: 10px;
  margin: 0 auto;
  display: block;
  background-color: #0344db;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  border-radius: 16px;
  border-color: #ffffff;
  color: #ffffff;
  
}
#searchBar::placeholder {
  color: #ffffff; /* Change to your desired color */
}
