body {
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 1.1em;
  margin-top: 2em;
  text-align: center;
}

main {
  width: 80%;
  margin: auto;
}

#modal-cuenta {
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  position: fixed;
  top: -100vh;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: all .5s;
}

#mostrar-modal-cuenta {
  display: none;
}
#mostrar-modal-cuenta + label {
  background: steelblue;
  display: table;
  margin: auto;
  color: #fff;
  line-height: 3;
  padding: 0 1em;
  text-transform: uppercase;
  cursor: pointer;
}
#mostrar-modal-cuenta + label:hover {
  background: #38678f;
}
#mostrar-modal-cuenta:checked ~ #modal-cuenta {
  top: 0;
}
#mostrar-modal-cuenta:checked ~ #cerrar-modal + label {
  display: block;
}

#cerrar-modal {
  display: none;
}
#cerrar-modal + label {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  display: none;
  transition: all .5s;
}
#cerrar-modal:checked ~ #modal-cuenta {
  top: -100vh;
}
#cerrar-modal:checked + label {
  display: none;
}
.center {
   display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

/*modal recovery*/

#modal-recovery {
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  position: fixed;
  top: -100vh;
  left: 0;
  height: 100vh;
  width: 100vw;
  transition: all .5s;
}


#mostrar-modal-recovery {
  display: none;
}
#mostrar-modal-recovery + label {
  background: steelblue;
  display: table;
  margin: auto;
  color: #fff;
  line-height: 3;
  padding: 0 1em;
  text-transform: uppercase;
  cursor: pointer;
}
#mostrar-modal-recovery + label:hover {
  background: #38678f;
}
#mostrar-modal-recovery:checked ~ #modal-recovery {
  top: 0;
}
#mostrar-modal-recovery:checked ~ #cerrar-modal + label {
  display: block;
}

#cerrar-modal-recovery {
  display: none;
}
#cerrar-modal-recovery + label {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  display: none;
  transition: all .5s;
}
#cerrar-modal-recovery:checked ~ #modal-recovery {
  top: -100vh;
}
#cerrar-modal-recovery:checked + label {
  display: none;
}
