* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #202020;
  background-color: #f4f5f7;
}

.encabezado {
  background-color: #151515;
  color: white;
}

.contenidoEncabezado {
  width: calc(100% - 30px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 17px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 21px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.presentacion {
  width: calc(100% - 30px);
  max-width: 1100px;
  min-height: 430px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.etiqueta {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 30px;

  color: #a00000;
  background-color: #ffe0e0;

  font-size: 14px;
  font-weight: bold;
}

.presentacion h1 {
  max-width: 650px;
  margin: 18px 0 15px;

  font-size: 48px;
  line-height: 1.05;
}

.presentacion p {
  max-width: 570px;
  margin-bottom: 30px;

  color: #555555;
  font-size: 19px;
  line-height: 1.6;
}

.botonPrincipal,
.botonJugar {
  display: inline-block;
  padding: 13px 22px;

  border-radius: 9px;

  color: white;
  background-color: #d21f2b;

  font-weight: bold;
  text-decoration: none;
}

.botonPrincipal:hover,
.botonJugar:hover {
  background-color: #aa1520;
}

.autoDecorativo {
  text-align: center;
  font-size: 180px;
  transform: rotate(-5deg);
}

.seccionJuegos {
  padding: 70px 15px;
  text-align: center;
  background-color: white;
}

.seccionJuegos h2,
.informacion h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 34px;
}

.subtitulo {
  margin-top: 0;
  margin-bottom: 35px;
  color: #666666;
}

.listaJuegos {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;

  text-align: left;
}

.tarjetaJuego {
  overflow: hidden;

  border: 1px solid #dddddd;
  border-radius: 15px;

  background-color: white;
}

.tarjetaJuego.disponible {
  border: 2px solid #d21f2b;
}

.imagenJuego {
  display: block;
  width: 100%;
  padding: 18px;

  background-color: #eeeeee;
  text-decoration: none;
  overflow: hidden;
}

.miniaturaAuto {
  display: block;
  width: 100%;
  height: 210px;
}

.miniZona {
  fill: #ffffff;
  stroke: #151515;
  stroke-width: 5;
  stroke-linejoin: round;
}

.miniColorPrincipal {
  fill: #d21f2b;
}

.miniColorSecundario {
  fill: #f5c518;
}

.miniLlanta {
  fill: #252525;
  stroke: #000000;
  stroke-width: 5;
}

.miniCabina {
  fill: #353c45;
  stroke: #111111;
  stroke-width: 5;
}

.imagenJuego:hover .miniaturaAuto {
  transform: scale(1.03);
}

.miniaturaAuto {
  transition: transform 0.2s ease;
}

.contenidoTarjeta {
  padding: 22px;
}

.estado {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;

  border-radius: 20px;

  color: #555555;
  background-color: #eeeeee;

  font-size: 13px;
  font-weight: bold;
}

.disponible .estado {
  color: #8c1019;
  background-color: #ffdfe2;
}

.contenidoTarjeta h3 {
  margin: 7px 0 10px;
  font-size: 23px;
}

.contenidoTarjeta p {
  min-height: 70px;

  color: #666666;
  line-height: 1.5;
}

.contenidoTarjeta button {
  padding: 13px 22px;

  border: none;
  border-radius: 9px;

  color: #777777;
  background-color: #dddddd;

  font-size: 15px;
  font-weight: bold;
}

.informacion {
  padding: 75px 15px;
  text-align: center;
}

.pasos {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.paso {
  padding: 25px;
}

.paso strong {
  display: flex;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: white;
  background-color: #d21f2b;

  font-size: 21px;
}

.paso h3 {
  margin-bottom: 8px;
}

.paso p {
  color: #666666;
  line-height: 1.5;
}

footer {
  padding: 25px 15px;

  text-align: center;

  color: #dddddd;
  background-color: #151515;
}

@media (max-width: 800px) {
  .presentacion {
    grid-template-columns: 1fr;
    padding: 60px 0;
    text-align: center;
  }

  .presentacionTexto {
    margin: 0 auto;
  }

  .presentacion h1 {
    font-size: 38px;
  }

  .autoDecorativo {
    display: none;
  }

  .listaJuegos,
  .pasos {
    grid-template-columns: 1fr;
  }

  .contenidoTarjeta p {
    min-height: auto;
  }
}

@media (max-width: 550px) {
  .contenidoEncabezado {
    flex-direction: column;
  }

  nav {
    gap: 14px;
  }

  .presentacion h1 {
    font-size: 32px;
  }
}
.enlacesFooter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.enlacesFooter a {
  color: white;
  text-decoration: none;
}

.enlacesFooter a:hover {
  text-decoration: underline;
}
.piePagina {
  width: 100%;
  padding: 30px 15px;
  text-align: center;
  color: white;
  background-color: #151515;
}

.piePagina p {
  margin: 0 0 15px;
}

.enlacesFooter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.enlacesFooter a {
  color: white;
  text-decoration: none;
}

.enlacesFooter a:hover {
  text-decoration: underline;
}

.enlacesFooter span {
  color: #aaaaaa;
}