/* Default styles */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 60%;
  right: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  visibility: hidden;
}

.overlay.active {
  visibility: visible;
}

.overlay.active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.popup {
  background:#fff;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  border-radius: 8px;
  width: 60%;
  padding: 4%;
  transition: .8s ease all;
  transform: scale(1.5);
  opacity: 0;
}

.popup .btn-cerrar-popup {
  font-size: 16px;
  line-height: 16px;
  display: block;
  text-align: right;
  transition: .3s ease all;
  color: #BBBBBB;
}

.popup .btn-cerrar-popup:hover {
  color: #000;
}

.popup h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0;
}

/* Animations */

.popup.active { 
  transform: scale(1); 
  opacity: 1; 
}

@media screen and (max-width: 768px) {
  .popup {
    width: 80%;
    padding: 5%;
  }

  .popup h3 {
    font-size: 30px;
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 480px) {
  .popup {
    width: 80%;
    padding: 5%;
  }
  .overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  visibility: hidden;
}
  .popup h3 {
    font-size: 24px;
    margin-bottom: 3px;
  }
  .overlay.active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  filter: blur(10px);
}
}
