:root{
  --main-color.rgb(120, 80, 244);
}

.warning{
  border:4px solid rgb(244, 80, 80);
  padding:20px;
  border-radius: 20px;
  background-color: rgb(51, 14, 14);
  margin-bottom:120px;
  box-shadow:0 0 40px rgb(107, 14, 14)
}

.w-title{
  display: flex;
  align-items: center;
  gap:20px;
  margin-bottom:40px;
}

.warning svg{
  width:30px;
  height:30px;
}

.warning h1{
  color:rgb(244, 80, 80);
}

form{
  background-image: radial-gradient(rgba(80, 83, 244, 0.2), rgb(17,17,17));
  border:4px solid rgb(120, 80, 244);
  box-shadow:0 0 80px var(--main-color);
  padding:60px; 
  border-radius:20px;
  width:800px;
  font-family: "Sora", "Verdana";
  display: flex;
  flex-direction: column;
  align-items: center;
}

form header{
  display: flex;
  text-align: center;
  justify-content: center;
  padding:10px;
  margin:0 0 20px 0;
  font-size:35px;
}

form input:focus{
 outline: 2px solid var(--main-color);
}

form input:active{
  box-shadow: 0 0 20px var(--main-color);
}

form div{
  margin:10px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap:5px;
}

form input, form select{
  border-radius:200px;
  width:600px;
  height:64px;
  font-size:20px;
  background-color: rgba(17, 17, 17, 0.5);
  color:white;
  padding:20px;
}

form select{
  appearance: none;
}

select option{
  background-color: rgb(36, 36, 66);
}

form label{
  font-size: 22px;
}

form input::placeholder{
  font-size:15px;
}

.form-container{
  display: flex;
  justify-content: center;
  align-items: center;
}

form textarea{
  background-color: rgba(17, 17, 17, 0.5);
  color:white;
  padding:20px;
  font-family: "Sora", "Verdana";
  width:600px;
  border-radius: 20px;
  font-size:18px;
}

form textarea:focus{
  outline:2px var(--main-color);
}

.submit-button{
  padding:20px 40px;
  background-color: rgb(17, 17, 17);
  border:2px solid white;
  border-radius:200px;
  margin-top:40px;
  color:white;
  font-size:20px;
  font-family: "Michroma", "Sora", "Verdana";
}

.submit-button:hover{
  box-shadow:0 0 20px var(--main-color);
  color:var(--main-color);
  border:2px solid var(--main-color);
  transition:0.3s ease-in-out;
  cursor:pointer;
}

.indicator{
  font-size:15px;
  opacity:0.8;
}

#error{
  padding:20px;
  border-radius:20px;
  background-color: rgb(107, 14, 14);
  color: rgb(244, 80, 80);
  border:2px solid rgb(244, 80, 80);
}

#success{
  padding:20px;
  border-radius:20px;
  background-color: rgb(14, 107, 71);
  color: rgb(45, 238, 158);
  border:2px solid rgb(45, 238, 158);
}

@media screen and (max-width:800px){
  form{
    box-shadow:0 0 60px var(--main-color);
    padding:50px; 
    width:600px;
  }
  form input, form select{
    width:500px;
    height:64px;
    font-size:18px;
    padding:20px;
  }
  form textarea{
    width:500px;
  }
  .submit-button{
    padding:15px 30px;
    font-size:18px;
  }
  form label{
    font-size: 20px;
  }
  form header{
    font-size:30px;
  }
}
@media screen and (max-width:600px){
  form{
    box-shadow:0 0 60px var(--main-color);
    padding:50px; 
    width:400px;
  }
  form input, form select{
    width:300px;
    height:64px;
    font-size:15px;
    padding:15px;
  }
  form textarea{
    width:300px;
  }
  .submit-button{
    padding:10px 20px;
    font-size:15px;
  }
  form label{
    font-size: 18px;
  }
  form header{
    font-size:25px;
  }
  body{
    margin-top:220px;
  }
}
