/* Global Styles (optional) */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Body Background (optional) */
/* .page-wrapper {
  width: 100%;
  height: 100%;
  background: url(https://i.imgur.com/2ZgHKbQ.jpg) center no-repeat;
  background-size: cover;
} */

.blur {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}

/* Mobile-First Approach (adjust breakpoints as needed) */

/* Styles for all devices */
.modal-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(124, 124, 124, 0.75);
  visibility: hidden;
  opacity: 0;
  transition: all 0.25s ease-in-out;
  z-index: 6;
}

.modal2 {
  width: 80%; /* Adjust for smaller screens */
  max-width: 500px; /* Limit width for larger screens */
  height: auto; /* Allow content to determine height */
  background-color: rgba(34, 34, 34, .9);
  /* background: url('https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/background-form.png'); */
  /* opacity: 0; */
  transition: all 0.5s ease-in-out;
}

.head {
  width: 100%;
  height: 32px;
  padding: 1.5em 5%;
  overflow: hidden;
  background: #fd8a00;
  display: flex; /* Usar flexbox */
  justify-content: center; /* Centrar horizontalmente */
  align-items: center; /* Centrar verticalmente */
  height: 100px; /* Ajusta la altura según sea necesario */
  
}

.btn-close {
  width: 32px;
  height: 32px; /* Ajusta la altura del botón según sea necesario */
  display: block; /* Mantener el botón como bloque */
  margin-left: 13px; /* Espacio a la izquierda del botón */
}

.btn-close::before,
.btn-close::after {
  content: '';
  width: 36px;
  height: 6px;
  display: absolute;
  float: right;
  background: #0000;
}

.btn-close::before {
  margin-top: 10px;
  transform: rotate(45deg);
}

.btn-close::after {
  margin-top: -6px;
  transform: rotate(-45deg);
}

.contenido {
  padding: 5%;
  font-size: 16px; /* Add styles as needed */
}



/* Tablet-specific styles (optional) */
@media (min-width: 880px) {
  .modal2 {
    width: 60%; /* Adjust for tablets */
  }
  
}

/* Desktop-specific styles (optional) */
@media (min-width: 992px) {
  .modal2 {
    width: 500px; /* Adjust for desktops */
  }
}

@media (min-width: 750px) {
  .modal2 {
    width: 80%;
    max-width: 500px;
    height: 520px;
    background-color: rgba(34, 34, 34, .9);
    /* background: url(https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/background-form.png); */
    /* opacity: 3; */
    transition: all 0.5s ease-in-out;
  }
  h4 {
    margin: 0 0 0.84706rem;
    font-size: 20px !important;
    line-height: 2.11765rem;
}
.head {
  width: 100%;
  height: 22px !important;
  padding: 1.5em 5%;
  overflow: hidden;
  background: #fd8a00;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}
.modal-wrapper.open .modal2 {
  margin-top: 90px;
  /* opacity: 3; */
  background-color: rgba(34, 34, 34, .9);
  /* background: url(https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/background-form.png); */
}
textarea {
 
  height: 80px !important;

}
}

  

@media (max-width: 440px) {
  .modal2 {
    width: 100%; /* Adjust for tablets */
    margin: 0 auto; /* Center horizontally within the container */
  }
}


/* Open modal styles */
.modal-wrapper.open {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
}

.modal-wrapper.open .modal2 {
  opacity: 1;
}