@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body{
  display: flex;


  background: rgb(0, 0, 0);
  align-items: center;
  justify-content: center;
}
::selection{
  color: #fff;
  background: #052d25;
}
.wrapper{

 
    margin-top: 40px;
    margin-bottom: 50px;

  
  width: 815px;
  background: #0a0a0a00;
  border-radius: 10px;

}


/* custom scroll bar */
/* ::-webkit-scrollbar {
	width: 10px;
  }
  ::-webkit-scrollbar-track {
	background: #131313;
  }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, yellow, rgb(255, 115, 0));
  }
  
  ::-webkit-scrollbar-thumb:hover {
	background: rgb(216, 109, 21);
  }
  
 */



.wrapper header{
    color: rgb(252, 252, 252);
  font-size: 20px;

  padding: 20px 30px;
 text-align: center;
}
.wrapper form{
  margin: 35px 30px;
}
.wrapper form.disabled{
  pointer-events: none;
  opacity: 0.7;
}
form .dbl-field{
  display: flex;
  margin-bottom: 25px;
  justify-content: space-between;
}
.dbl-field .field{
  height: 50px;
  display: flex;
  position: relative;
  width: calc(100% / 2 - 13px);
}

form .dbl-fieldd{
    display: flex;
    margin-bottom: 25px;
    justify-content: space-between;
  }
  .dbl-fieldd .fieldd{
    height: 50px;
    display: flex;
    position: relative;
    width: 100%;
  }


  form .fieldd input,
  form .message textarea{
    width: 100%;
    background: rgba(37, 37, 37, 0.548);
    height: 100%;
    color: #d4d4d4;
    outline: none;
    padding: 0 18px 0 48px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid transparent;
  }
  .fieldd input::placeholder,
  .message textarea::placeholder{
    color: #4c4c4c;
  }
  .fieldd input:focus,
  .message textarea:focus{
    padding-left: 47px;
    border: 2px solid #0033ff;
  }
  .fieldd input:focus ~ i,
  .message textarea:focus ~ i{
    color: #0033ff;
  }










  .wrapper form i{
    position: absolute;
    top: 50%;
    left: 18px;
    color: #919191;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
  }
  .field  select {
    width: 100%;
    background: rgba(37, 37, 37, 0.548);
    height: 100%;
    color: #d4d4d4;
    outline: none;
    padding: 0 18px 0 48px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid transparent;
  }
  .field input::placeholder,
  .message textarea::placeholder{
    color: #5b5b5b;
  }



.wrapper form i{
  position: absolute;
  top: 50%;
  left: 18px;
  color: #636363;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea{
  width: 100%;
  background: rgba(37, 37, 37, 0.548);
  height: 100%;
  color: #d4d4d4;
  outline: none;
  padding: 0 18px 0 48px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.field input::placeholder,
.message textarea::placeholder{
  color: #5b5b5b;
}
.field input:focus,
.message textarea:focus{
  padding-left: 47px;
  border: 2px solid #0033ff;
}
.field input:focus ~ i,
.message textarea:focus ~ i{
  color: #0033ff;
}
form .message{
  position: relative;
}
form .message i{
  top: 30px;
  font-size: 20px;
}
form .message textarea{
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 15px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar{
  width: 0px;
}
.message textarea:focus{
  padding-top: 14px;
}
form .button-area{
  margin: 25px 0;
  display: flex;
  
  align-items: center;
}
.button-area button{
  color: #252525;
  border: none;
  margin: 10px;
  outline: none;
  font-size: 18px;
 font-weight: bold;
  font-family: poppins;
  cursor: pointer;
  border-radius: 10px;
  padding: 13px 25px;
  width: 100%;
  background: rgb(255, 255, 255);
  transition: background 0.3s ease;
}
.button-area button:hover{
  background: black;
  color: #d5d5d5;
}
.button-area span{
  font-size: 17px;
  margin-left: 30px;
  display: none;
}

.button-area .btnn{
  color: #d5d5d5;
  border: none;
  margin: 10px;
  outline: none;
  font-size: 18px;
  cursor: pointer;
  border: 2px solid grey;
  border-radius: 10px;
  padding: 13px 25px;
  background: transparent;
  transition: background 0.3s ease;
}

.button-area .btnn:hover{
  background: white;
  color: #0033ff;
}

@media(max-width: 200px ){
  .wrapper{
    margin-top: 40px;
    margin-bottom: 50px;
    margin-left: 5px;
    margin-right: 5px;
   }
}

@media(max-width: 900px ){
  .wrapper{
    margin-top: 40px;
    margin-bottom: 50px;
    margin-left: 5px;
    margin-right: 5px;
   }
}


@media (max-width: 600px){
.wrapper{
 margin-top: 40px;
 margin-bottom: 50px;

}
  
  .wrapper header{
    text-align: center;
  }
  .wrapper form{
    margin: 35px 20px;
  }
  form .dbl-field{
    flex-direction: column;
    margin-bottom: 0px;
  }
  form .dbl-field .field{
    width: 100%;
    height: 45px;
    margin-bottom: 20px;
  }
  form .message textarea{
    resize: none;
  }
  form .button-area{
    margin-top: 20px;
    flex-direction: column;
  }
  .button-area button{
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
  }

  .button-area .btnn{
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
  }
  .button-area span{
    margin: 20px 0 0;
    text-align: center;
  }
}