* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

html {
  font-size: 16px;
}
.full-body {
  /* margin:0 auto; */
  background-color: rgba(0, 0, 0, 0.6);
  /* padding-top: 20px; */
  display: none; /* Initially hidden */
  position: fixed;
  top: 26%;;
  left: 40%;
  z-index: 3000000;
  transform: translate(-50px,-50px);
  background-color: transparent;
  /* background-image: url(/assets/enquiry.jpeg);
  opacity: 1;
  background-size: contain;
  background-position: center; */

  overflow: hidden;
  border-radius: 16px;
  animation: slideDown 0.5s ease-in-out forwards; /* Add keyframe animation */
}
.full-body.show {
  display: flex; /* Visible when the popup should be shown */
}
.remove{
  display:none;
}

/* Keyframes for sliding down */
@keyframes slideDown {
  5%{
      top: 5%;
  }
  25%{
      top:10%;
  }
 
  50%{
      top:15%;
  }
  75%{
      top:20%;
  }

  100%{
      top: 26%; /* End position (fully visible) */
  }
}


.form-container {
  width: 50vw;
  /* height:50vh; */
  max-width: 500px;
  margin: 10% auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/assets/enquiry.jpeg);
  opacity: 1;
  background-size: contain;
  background-position: center;

  overflow: hidden;
  border-radius: 16px;
  /* display: none; Initially hidden */
  position: relative;
}


.enquiry-form {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.4);
}

.enquiry-form form {
  width: 90%;
  margin: 30px auto;
}

.enquiry-form form .formrow {
  width: 100%;
  margin: 24px 0;
}

form h1 {
  text-align: center;
  font-size: 3rem;
  color: white;
}

.formrow input,
.formrow select {
  width: 100%;
  padding: 10px 8px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: black;
  /* letter-spacing: 2px; */

}
#popup-close{
  position: absolute;
  top: 1px;
  right: 15px;
  background: none;
  color: white;
  border: none;
  font-size: 3rem;
  cursor: pointer;
}
#popup-close:hover{
  color:goldenrod;

}


form input[type="submit"] {
  width: 60%;
  padding: 10px 20px;
  border-radius: 10px;
  display: block;
  margin: 20px auto 0 auto;
  font-size: 1.6rem;
  background-color: hsl(0, 100%, 40%);
  color:rgb(184, 184, 184);
  text-align: center;
}
@media only screen and (max-width:848px){
  .full-body{
      top:15%;
      left: 60px;
      /* right:0; */
  }
  .form-container{
      width:96vw;
      margin:25% auto;
  }
  .enquiry-form form{
      width:96%;
      margin:24px auto;
  }
  .formrow input,
  .formrow select {
      font-size: 1rem;
      padding:8px 8px;
      font-weight: 600;
  }
  form input[type="submit"]{
      font-size:1.4rem;
      text-align: center;
  }

  @keyframes slideDown {
      10%{
          top: 3%;
          
          
      }
      25%{
          top: 6%;
      }
      50%{
          top: 9%;
      }
      75%{
          top: 12%;
      }
      
      100% {
          top: 15%;
          /* left:2%; End position (fully visible) */
      }
  }

}
input::placeholder,
select option {
  font-size: 0.8rem;
  font-weight: 600;
  color: black;
}

/*  */

.custom-date {
  appearance: none;
  /* Removes default styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 0.8rem;
  font-weight: 600;
}

select {
  appearance: none; /* Removes default styling */
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  font-size: 0.8rem;
  font-weight: 600;
  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 12l5-5H5l5 5z"/></svg>'); /* Custom arrow */
  background-repeat: no-repeat;
  background-position: right;
}

