/* Import Google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Beginner&family=Poppins&family=Roboto+Mono:wght@300&display=swap?family=Raleway&family=Roboto+Mono:wght@300&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* body{
  display: flex;
  padding: 0 10px;
  min-height: 100vh;
  background: #01be50;
  align-items: center;
  justify-content: center;
  border:3px solid white;
  box-shadow: inset;
} */
i.close {
display:flex;
align-items: right;
justify-content: flex-end;
border-top:none;
  top:4px;
  right:4%;
  font-size:24px;
  color:#eef1ef;
  background-color: #03b395;
  border:1px solid black;
  box-shadow: 1px 1px 17px 2px black;
  z-index: 11;
  cursor:pointer;
  box-shadow: 0px 20px 20px rgba(22, 22, 22, 0.2);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

::selection{
  color: #fff;
  background: #0D6EFD;
}
.wrapper{
  position: absolute;
  left:50%;
  transform:translate(-50%, 0);
  margin-top:20px;
  width: 715px;
  background: #555555;
  border-radius: 5px;
  border: 2px solid #363636;
  box-shadow: 10px 10px 10px rgba(0,0,0,0.05);
  text-align: center;
}
.form-close{
  display:none;
}
.wrapper header{
  font-size: 20px;
  font-weight: 500;
  padding: 20px 30px;
  letter-spacing: 2px;
  border-bottom: 2px solid #161616;
  color:rgb(253, 253, 253);
  font-family: "Poppins", sans-serif;
}

#morse{
  font-family: 'Roboto Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: #dd5c12;
}
#horizontal_morse_rule{
  height:2px;
  width:100%;
  background:#e6e6e6;
}
.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);
}
.wrapper form i{
  position: absolute;
  top: 50%;
  left: 18px;
  color: #ccc;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea{
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 18px 0 48px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.field input::placeholder,
.message textarea::placeholder{
  color: #ccc;
}
.field input:focus,
.message textarea:focus{
  padding-left: 47px;
  border: 2px solid #0D6EFD;
}
.field input:focus ~ i,
.message textarea:focus ~ i{
  color: #0D6EFD;
}
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: #fff;
  border: none;
  outline: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #0da5fd;
  transition: background 0.3s ease;
}
.button-area button:hover{
  background-color:#009118;
  font-weight: 500;
}
.button-area span{
  font-size: 17px;
  margin-left: 30px;
  display: none;
}

.send-message {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  transition: all ease-in-out;
  padding-bottom:40px;
}
.send-message:hover{
 -webkit-animation:change-color 4s ease 0s infinite normal;
-moz-animation:change-color 4s ease 0s infinite normal;
-ms-animation:change-color 4s ease 0s infinite normal;
animation:change-color 4s ease 0s infinite normal;

} 
@media (max-width: 600px){
  .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: 11px 0;
    font-size: 16px;
  }
  .button-area span{
    margin: 20px 0 0;
    text-align: center;
  }
}

/* Start of: Animations */
@-webkit-keyframes change-color {
  0%{ background-color:green; }
  50%{ background-color:rgb(127, 26, 241);}
  100%{ background-color:rgb(4, 157, 204); }
  }
  
  @keyframes change-color {
    0%{ background-color:green; }
    50%{ background-color:rgb(127, 26, 241);}
    100%{ background-color:rgb(4, 157, 204); }
  }