* {
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
  font-family: "Roboto";
  font-size: 16px;
}

body {
  color: #242742;
}

p {
  line-height: 1.5em;
}

button {
  background-color: #242742;
  color: white;
  border: none;
  width: 100%;
  padding: 1em 0;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: linear-gradient(#ff6a3a, #ff527b);
}

h1 {
  font-size: 40px;
  margin-bottom: 0.5em;
}

.img--container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-img-sm {
  width: 100%;
}
.main-img-lg {
  display: none;
}

.signup-form--container {
  display: block;
  padding: 1.5em;
  max-width: 375px;
  margin: 0 auto;
}

ul {
  margin: 1em 0;
  list-style-type: none;
}
li {
  padding-left: 2.25em;
  padding-bottom: 0.75em;
  background-image: url(./assets/images/icon-list.svg);
  background-repeat: no-repeat;
}

#form .form__title {
  font-weight: 700;
  font-size: 12px;
}

#form input {
  width: 100%;
  padding: 0.75em 1em;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, #19182b 20%, white);
  margin: 0.5em 0 1em;
}

#form input:focus {
  border-color: #242742;
}

#form input.error {
  background-color: color-mix(in srgb, #ff6155 15%, white);
  color: #ff6155;
  border-color: #ff6155;
}

.form__title--container {
  display: flex;
  justify-content: space-between;
}

.error--message {
  color: #ff6155;
  font-size: 12px;
  font-weight: 700;
}

.success--container {
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

.content__success {
  padding-top: 6em;
}

.success__image--container {
  margin-bottom: 1.5em;
}

@media (min-width: 700px) {
  body {
    background-color: #36384d;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  main {
    background-color: white;
    display: flex;
    width: 90%;
    padding: 1em;
    border-radius: 16px;
    gap: 40px;
    max-width: 925px;
  }

  h1 {
    font-size: 56px;
  }

  .img--container {
    order: 1;
    width: 50%;
  }
  .main-img-sm {
    display: none;
  }
  .main-img-lg {
    display: block;
    max-width: 100%;
  }

  .signup-form--container {
    width: 55%;
    padding-left: 2em;
    display: flex;
    align-items: center;
    max-width: unset;
  }

  .success--container {
    height: unset;
    padding-top: 1.5em 2.5em;
  }

  .content__success {
    padding: 0;
    margin-bottom: 1.5em;
  }
}
