* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  font-family: "Open Sans", sans-serif;
}

.contenedor {
  width: 90%;
  max-width: 1000px;
  margin: 5px auto;
}

.contenedor article {
  line-height: 28px;
}

.contenedor article h1 {
  font-size: 30px;
  text-align: left;
  padding: 50px 0;
}

.contenedor article p {
  margin-bottom: 20px;
}

.contenedor article .btn-abrir-popup {
  padding: 0 20px;
  margin-bottom: 20px;
  height: 40px;
  line-height: 40px;
  border: none;
  color: #fff;
  background: #5e7de3;
  border-radius: 3px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease all;
  cursor: pointer;
}

.contenedor article .btn-abrir-popup:hover {
  background: rgba(94, 125, 227, 0.9);
}

/* ------------------------- */
/* POPUP */
/* ------------------------- */
.overlay {
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

.overlay.active {
  visibility: visible;
}

.popup {
  position: fixed;
  overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;

  background: #f8f8f8;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  font-family: "Montserrat", sans-serif;
  padding: 5px;
  text-align: center;
  width: 80%;
  height: 100%;

  transition: 0.3s ease all;
  transform: scale(0.7);
  opacity: 0;
}

.popup .btn-cerrar-popup {
  font-size: 16px;
  line-height: 16px;
  display: block;
  text-align: left;
  color: #bbbbbb;
  transition: 0.3s ease all;
}

.popup .btn-cerrar-popup:hover {
  color: #000;
}

/*
.popup h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0;
}

.popup h4 {
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0;
}*/

.popup .contenedor-inputs {
  opacity: 0;
}

.popup .contenedor-inputs input {
  width: 100%;
  margin-bottom: 5px;
  height: 52px;
  line-height: 52px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #bbbbbb;
}

/*
.popup .contenedor-inputs table {
  font-size: 15px;
  width: 100%;
  height: 100%;
}
*/

.btn-submit {
  padding: 0 5px;
  height: 40px;
  width: 100%;
  line-height: 40px;
  border: none;
  color: #fff;
  background: #5e7de3;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s ease all;

  border-radius: 14px;
}

.btn-submit:hover {
  background: rgba(94, 125, 227, 0.5);
}

label .detalle {
  font-size: 10px;
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */

.popup.active {
  opacity: 1;
  transform: scale(1);
}

/*
.popup.active h3 {
  animation: entradaTitulo 3s ease 0.5s forwards;
}

.popup.active h4 {
  animation: entradaSubTitulo 3s ease 0.5s forwards;
}*/

.popup.active .contenedor-inputs {
  animation: entradaInputs 1s ease 1s forwards;
}

@keyframes entradaTitulo {
  from {
    transform: translateY(-25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes entradaSubTitulo {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes entradaInputs {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
