.html1{
  background: linear-gradient(to bottom, #252850, black);
  background-image: no-repeat;
  background-image: fixed;
  background-image: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.html2 {
  background: linear-gradient(to bottom, black, #AB2A3E);
  background-image: no-repeat;
  background-image: fixed;
  background-image: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.html3 {
  background: linear-gradient(to bottom, black, #6C4675);
  background-image: no-repeat;
  background-image: fixed;
  background-image: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.html4 {
  background: linear-gradient(to bottom, #252850, blue)
}

body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  animation: encenderluces 1.5s 1s 1 both;
}

table {
  width: 90%;
  height: 70%;
  text-align: center;
  color: white;
  font-family: sans-serif;
}

td {
  width: 200px;
  font-weight: bold;
}


/* ######## CSS PUERTAS ######## */
.container-puertas {
  display: flex;
  align-items: center;
  flex-flow:  wrap;
  justify-content: center;
  height: 100%;
}
.door {
  position: relative;
  width: 120px;
  height:200px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: perspective(2500px);
  margin: 0px auto;
}

/* PUERTA FRONTAL */
.door-front {
  position: absolute;
  width: 120px;
  height:200px;
  overflow: hidden;
  transform-origin: left;
  box-shadow: 30px 0 50px rgba(0,0,0,0.2);
  background-color: #b05500;
  z-index:1;
  transition: .5s;
}

/* PUERTA ESTILO AMBOS LADOS*/
.door-front:before, .door-front:after {
  content:"";
  background-color: #924500;
  position: absolute;
  width: 75px;
  height: 55px;
  border: 7px ridge #b05500;
  left:15px;
}
/* PUERTA FRONTAL ANTES */
.door-front:before {
  top:15px;
}
/* PUERTA FRONTAL DESPUES */
.door-front:after {
  top:115px;
}
  
/* PUERTA TRASERA  */
.door-back {
  position: relative;

  width: 120px;
  height:  100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  outline: 3px solid #292929;
}

/* PUERTA ANIMACION */
.animacion-abrir .door-front{
  transform: rotateY(-160deg); 
}
/* FUEGO AZUL: index.html */
.fuego-index {
    background-image: url("img/fire.gif");
}
/* FUEGO ROJO: 1.html, 2.html, 3.html */
.fuego-1 {
  background-image: url("https://bestanimations.com/media/fire/415150878fire-flames-burning-close-up-animated-gif-image.gif");
}
/* FUEGO MORADO: 4.html - 12.html */
.fuego-2 {
  background-image: url("https://c.tenor.com/_Q4gITn3tTAAAAAM/fire-flame.gif");
}

/* BOTON SIGUIENTE */
.boton-siguiente{
  width: 200px;
  height: 9%;
  top: 85%;
  background-color: green;
  border: 5px solid white;
  color: white;
  border-radius: 25px;
  font-weight: bold;
  font-size: 25px;
  cursor: pointer;
  position: absolute;
  padding: auto;
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  /* justify-content: center; */
  visibility: hidden;
  z-index: 1;
}


/* ANIMACIONES */
@keyframes encenderluces {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0.15;
  }
  30% {
    opacity: 0.3;
  }
  45% {
    opacity: 0.45;
  }
  60% {
    opacity: 0.6;
  }
  75% {
    opacity: 0.75;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
  }
}



img {
  max-width: 50%;
  max-height: 50%
}