@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,600;1,400&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: grey;
}
.main_container {
  width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header {
  margin-top: 4vmin;
  text-align: center;
}
header h1 {
    background: linear-gradient(
    102.4deg,
    rgba(253, 189, 85, 1) 7.8%,
    rgba(249, 131, 255, 1) 100.3%
  );
    -webkit-background-clip: text;
    -moz-background-clip:text ;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    -webkit-animation: gradient 12s ease infinite; 
    -moz-animation: gradient 12s ease infinite;
    animation:  gradient 12s ease infinite;
    /* very slow ... but fast doesn't look good */
/*   color: #f0f2f2;
  text-shadow: 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000, -2px 0 0 #000;        */

}
header p {
  font-weight: 400;
  font-style: italic;
  color: aliceblue;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}
.container {
  font-weight: 400;
  padding: 0 2rem 1rem 2rem;
  margin-top: 2vmin;
  margin-bottom: 2vmin;
  border: 2px solid black;
  width: 75vmin;
  background-image: linear-gradient(
    102.4deg,
    rgba(253, 189, 85, 1) 7.8%,
    rgba(249, 131, 255, 1) 100.3%
  );
  background-size: 400% ;
  background-position: left;
  animation: bg-animation 10s ease-in infinite;
  /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); */
  border-radius: 20px;
}
form label {
  text-shadow: 1px 0 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff;
}
form input {
  font-weight: 200;
  font-style: italic;
  padding-left: 0.5rem; 
}
label{
    font-size: 1.3rem;
}
textarea {
  font-weight: 200;
  font-style: italic;
  font-size: small;
}
.form_segments {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}
span {
  color: maroon;
  font-style: italic;
  font-size: 0.8rem;
  text-shadow: none;
}
#button_container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
button {
  width: 20vmin;
}
#submit_button {
  color: green;
  border: 2px solid black;
  border-radius: 20px;
  font-weight: 400;
  font-size: 1.2rem;
  cursor: pointer;
}
#reset_button {
  color: red;
  border: 2px solid black;
  border-radius: 20px;
  font-weight: 400;
  font-size: 1.2rem;
  cursor: pointer;
}
#submit_button:hover {
  background: radial-gradient(
    circle at -1% 57.5%,
    rgb(19, 170, 82) 0%,
    rgb(0, 102, 43) 90%
  );
  color: white;
}
#reset_button:hover {
  background: radial-gradient(
    circle at 10% 20%,
    rgb(221, 49, 49) 0%,
    rgb(119, 0, 0) 90%
  );
  color: white;
}


@keyframes bg-animation{
    0%{
        background-position: left;
    }
    25%{
        background-position: center;
    }
    50%{
        background-position: right;
    }
    75%{
        background-position: center;
    }
    100%{
        background-position: left;
    }

}



/* For Mobiles */
@media screen and (max-width: 480px) {
  .container {
    width: 98%;
  }
  .form_segments {
    margin-top: 1.2rem;
  }
  #submit_button {
    width: 30vmin;
    font-weight: inherit;
    font-size: inherit;
    color: #faf9f6;
    background: radial-gradient(
      circle at -1% 57.5%,
      rgb(19, 170, 82) 0%,
      rgb(0, 102, 43) 90%
    );
    border: 2px solid grey;
  }
  #reset_button {
    width: 30vmin;
    font-weight: inherit;
    font-size: inherit;
    color: #faf9f6;
    background: radial-gradient(
      circle at 10% 20%,
      rgb(221, 49, 49) 0%,
      rgb(119, 0, 0) 90%
    );
    border: 2px solid grey;
  }
  textarea {
    font-size: small;
  }
}
