* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #5f5e5e;
    height: 100vh;
  }
  
  header {
    height: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
  }
  
  .running {
    color: #60AAF7;
  }
  
  .hero {
    height: 25%;
    background: linear-gradient(to right, #477eb9, #60AAF7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .selection-option {
    height: 48px;
    display: flex;
    gap: 2%;
    align-items: center;
    justify-content: center;

    overflow-x: auto;
    flex-wrap: nowrap;
    padding-left: 10px;
    padding-right: 10px;

    scroll-snap-type: x mandatory; /* 🔑 activa el snap */
    scroll-behavior: smooth;
  }

  .selection-option::-webkit-scrollbar {
    display: none;
  }

  .option {
    color: #5f5e5e;
    cursor: pointer;
    font-weight: bold;
    min-width: 150px;
    text-align: center;
    border-bottom: 3px solid #5f5e5e;
    font-size: larger;
    transform-origin: center;
    transition: color 1s, border 1s;

    flex-shrink: 0;
    white-space: nowrap;

    scroll-snap-align: center;
  }

  .option:hover {
    color: #a1a1a1;
    border-bottom: 3px solid #a1a1a1;
  }

  .selected_option {
    color: #60AAF7;
    border-bottom: 3px solid #60AAF7;
    transform-origin: center;
    transition: color 1s, border 1s;
  }
  
  .btn {
    background-color: #60AAF7;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .btn:hover {
    background-color: #fff;
    color: #60AAF7
  }
  
  .races {
    background-color: #f1f1f1;
    height: 60%;
    max-height: 60%;
    padding-right: 10px;
    padding-left: 10px;
  }
  
  .races h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 200%;
  }
  
  .races-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    overflow-y: auto;
    min-height: 80%;
    max-height: 80%;
    padding-bottom: 20px;
    padding: 1%;
  }

  .unfocus_div {
    min-height: 0%;
    display: none;
  }

  .races-grid::-webkit-scrollbar {
    width: 12px; /* Ancho del scrollbar */
  }

  .races-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(to top, #477eb9, #60AAF7);
    border-radius: 10px; /* Bordes redondeados */
  }

  .races-grid::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
  }

  .races-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to top, #60AAF7, #477eb9); /* Gradiente invertido al hacer hover */
  }
  
  .card {
    perspective: 1000px;
    width: 500px;
    height: 300px;
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    transform-style: preserve-3d;
  }
  
  .card:hover .card-inner {
    transform: rotateY(180deg);
  }
  
  .card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: white;
  }

  .projectTitle
  {
    font-size: 3ch;
    font-weight: bold;
    color: #60AAF7;
    align-self: self-end;
    text-shadow: 1px 1px 0px white,
    -1px -1px 0px white,
    1px -1px 0px white,
    -1px 1px 0px white;
  }

  .countdown {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: large;
    color: #fff;
    background-color: #60a9f7b7;
    border-radius: 999px;
    padding: 1%;
  }
  
  .card-back {
    transform: rotateY(180deg);
    flex-direction: column;
    text-align: center;
  }
  
  .contact {
    padding: 60px 50px;
    background-color: #fff;
  }
  
  .contact h2 {
    text-align: center;
    margin-bottom: 40px;
  }

  .product {
    width: 400px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: white;
    border-radius: 15px;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: #fff;
    height: 5%;
  }