@font-face {
    font-family: 'Minecraft';
    src: url('fonts/minecraft.ttf') format('truetype');
  }
  
  body {
    background-color: rgb(50, 76, 88);
    margin: 0;
    padding: 0;
    font-family: 'Minecraft', Arial, sans-serif;
  }
  
  header {
    background-color: #333333;
    color: #ffffff;
    padding: 30px;
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    margin-right: 10px;
  }
  
  .logo h1 {
    margin: 0;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    margin: 0;
  }
  
  nav ul li {
    margin-left: 10px;
  }
  
  nav ul li:first-child {
    margin-left: 0;
  }
  
  header nav ul li a {
    color: white;
    transition: color 0.3s ease;
  }
  
  header nav ul li a:hover {
    color: rgb(204, 204, 204);
  }
  
  .content-wrapper {
    text-align: center;
    padding: 20px;
  }
  
  h2 {
    color: #ffffff;
    font-size: 24px;
    margin-top: 0;
  }
  
  #category-select {
    background-color: #333333;
    color: #ffffff;
    padding: 10px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
  }
  
  .speedrun-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .speedrun-list li {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    display: inline-block;
    text-align: center; /* Center the text */
    width: 100%; /* Ensure the text takes full width */
    margin-right: 5px; /* Decrease margin to make the text closer horizontally */
  }
  
  .speedrun-list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Updated background color here */
    z-index: -1;
  }
  
  .speedrun-list li::after {
    content: attr(data-content);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.3) 30%, /* Updated background color here */
      rgba(0, 0, 0, 0.3) 70% /* Updated background color here */
    );
    background-clip: text;
    -webkit-background-clip: text;
    animation: slideBackground 5s linear infinite;
  }
  
  @keyframes slideBackground {
    0%, 100% {
      background-position: 0 0;
    }
    50% {
      background-position: 100% 0;
    }
  }
  
/* Add this to your existing CSS styles */
/* Add this to your existing CSS styles */
.rules {
    text-align: center;
    padding: 10px;
    background-color: #333333;
    margin-top: 20px;
  }
  
  .rules p {
    margin: 0;
    color: white;
  }
  
  .rules a {
    color: #ffcc00;
    text-decoration: none;
  }
  
  .rules a:hover {
    color: #e5b800;
  }
  
  /* Add the appropriate colors for the first three list items (Gold, Silver, Bronze) */
/* Add the following styles to your speedrun.css file */
a {
  text-decoration: none; /* Remove underline from all links */
}

/* Add the following styles to your speedrun.css file */
a {
  text-decoration: none; /* Remove underline from all links */
  color: #000; /* Set the default link color */
}

a.has-link {
  color: rgb(255, 255, 255); /* Set the link color for links with URL */
}

a.no-link {
  color: #000; /* Set the link color for links without URL */
}

.run-button {
  display: inline-block;
  padding: 5px 10px;
  color: #e5b800;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* On hover, change the background color */
.run-button:hover {
  color:#ffcc00
}