/* 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: 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: url(https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/background-form.png);
    opacity: 0;
    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: 1;

  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;
}



@media (max-width: 1300px) and (min-width:1240px) {
  .btn-close{
    width:20px;
    height:6px;
    display:block;
    float:right;
    margin-bottom: 0px;
   
   
  }
  .text-center {
margin-left: 50px;


  }
  .modal-wrapper.open {
    
    margin-top: 0px;
    display: flex
;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
}
  .modal-wrapper{
    width:100%;
    height:100%;
    position:fixed;
  
    top:0; left:0;
    background:rgba(124,124,124,0.75);
    visibility:hidden;
    opacity:0;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    z-index: 6;
  } 
  .modal2 {
    width: 400px;
    height: 480px;
    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:auto !important;
  padding:0px;
  overflow:hidden;
  background:#fd8a00;
 
}


 h4  {
  /* padding-bottom:10px ; */
  font-size: 17px;
  line-height: 1.11765rem;

}

.contact_form{	
	width: 390px; 
  height: auto;
  margin: 80px auto;
	border-radius: 10px;  
	padding-top: 10px;
	padding-bottom: 20px;  
  background-color: #fbfbfb; 
  padding-left: 30px; 
}


input{
	background-color: #fbfbfb; 
	width: 360px; 
	height: 30px; 
	border-radius: 5px;  
	border-style: solid; 
	border-width: 1px; 
	border-color: #0059a0; 
	margin-top: 5px;  
	padding-left: 10px;
  margin-bottom: 5px; 
}

select{
	background-color: #fbfbfb; 
	width: 360px; 
	height: 30px; 
	border-radius: 5px;  
	border-style: solid; 
	border-width: 1px; 
	border-color: #0059a0; 
	margin-top: 5px;  
	padding-left: 10px;
  margin-bottom:5px; 
}



textarea{
  background-color: #fbfbfb; 
	width: 360px; 
	height: 80px; 
	border-radius: 5px;  
	border-style: solid; 
	border-width: 1px; 
	border-color: #0059a0; 
	margin-top: 5px;  
	padding-left: 10px;
  margin-bottom: 0px; 
  padding-top: 15px; 
}



}
