* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100dvh;
  background: #ededed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Times New Roman", Times, serif;
}

.contenedor-principal {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px;
}

.imagen-disco {
  width: 220px;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.lista-enlaces {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enlace-baile {
  color: black;
  font-size: clamp(18px, 5vw, 32px);
  white-space: nowrap;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
}

.enlace-baile.activo {
  color: #ff0000;
}

#capaVirus {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.caballo-virus {
  position: absolute;
  width: 220px;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
}

#textoInfeccion {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  background-color: #ffffff;
  color: #ff0000;
  font-family: "Times New Roman", Times, serif;
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
  padding: 25px 35px;
  box-shadow: 6px 6px 0px #000000;
  border: none;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 85%;
  max-width: 700px;
  cursor: pointer;
  user-select: none;
}

#textoInfeccion.activo {
  color: #000000;
}

.gif-infeccion {
  width: 80px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .contenedor-principal {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .imagen-disco {
    width: 150px;
    height: 150px;
  }

  #textoInfeccion {
    font-size: 24px;
    padding: 18px 12px;
    width: 90%;
    box-shadow: 4px 4px 0px #000000;
  }

  .gif-infeccion {
    width: 60px;
  }

  .caballo-virus {
    width: 130px;
    height: 130px;
  }
}