@font-face {
  font-family: "Roboto";
  src: url("./assets/fonts/Roboto-Regular.ttf");
}
@font-face {
  font-family: "Roboto-Bold";
  src: url("./assets/fonts/Roboto-Bold.ttf");
}
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Roboto";
  color: hsl(235, 18%, 26%);
  background-color: hsl(235, 18%, 26%);

  height: 100vh;
  width: 100vw;
}
main {
  background-color: white;
}
.hidden {
  display: none;
}
section {
  height: 100vh;
  width: 100vw;

  background-color: white;
  justify-content: space-evenly;
}
h1 {
  font-family: "Roboto-Bold";
  font-size: 2.5rem;
  margin: 0;
}
.signup-form {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
}
.mobile-img {
  width: 100vw;
  object-fit: contain;
}
img {
  height: 100%;
}
.signup-content {
  padding: 1rem 0;
}
.signup-content p {
  margin: 1.5rem 0;
}
ul {
  list-style: url("./assets/images/icon-list.svg");
  padding: 0 1.5rem 1rem 1.5rem;
}
li {
  padding: 0 0 0 1rem;
  margin: 1rem 1rem 0 0;
}
input {
  border: 1px solid hsl(231, 7%, 60%);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
button {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: "Roboto-Bold";
  font-size: 1rem;
  color: hsl(0, 0%, 100%);
  background-color: hsl(234, 29%, 20%);
  border: 0;
}
button:active,
button:hover {
  background: rgb(255, 84, 170);
  background: linear-gradient(
    90deg,
    rgba(255, 84, 170, 1) 0%,
    rgba(255, 111, 21, 1) 100%
  );
  transition: all 0.2s ease-in-out;
}
.email-label {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 0 1rem 0;
}
#email-label {
  height: 1rem;
  font-family: "Roboto-Bold";
}
#email:focus {
  outline: none;
  border: 1px solid hsl(234, 29%, 20%);
}
#error-msg {
  color: rgb(255, 98, 87);
  font-size: 14px;

  margin: 0;
}
.successed {
  margin: 2rem;
}
.success-section {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 30% 0;
}
.successed img {
  margin: 1rem 0;
}
.success-content {
  font-size: 1.2rem;
  line-height: 1.7rem;
}
#success-email {
  font-family: "Roboto-Bold";
}

@media (min-width: 500px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  h1 {
    font-size: 3rem;
  }
  ul {
    white-space: nowrap;
  }
  section {
    width: fit-content;
    height: fit-content;

    border-radius: 2rem;
    padding: 2rem 0;

    display: flex;
    align-items: center;
  }
  .signup {
    flex-direction: row-reverse;
  }
  .signup-form {
    width: 40%;
  }
  .hidden {
    display: none;
    background-color: red;
  }
  .successed {
    width: 35%;
    padding: 2rem;
    flex-direction: column;
  }
  .success-section {
    padding: 0;
  }
  main {
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
  }
}
