@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(235, 18%, 26%);
}

.container {
  width: 69rem;
  height: 47rem;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 2rem;
  padding-left: 0;
  font-size: 1.6rem;
  border-radius: 3rem;
  background-color: #fff;
}

.content {
  align-self: center;
  height: -moz-fit-content;
  height: fit-content;
  color: hsl(234, 29%, 20%);
  padding: 0 4rem;
  width: 60%;
}
.content h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}
.content p {
  margin-bottom: 2rem;
  font-size: 1.303rem;
  line-height: 1.5;
}
.content ul {
  list-style: none;
  margin-bottom: 3rem;
  display: grid;
  gap: 1.2rem;
}
.content ul li {
  display: flex;
  align-items: center;
  font-size: 1.336rem;
}
.content ul li img {
  margin-right: 0.8rem;
  height: 1.7rem;
}
.content form fieldset {
  border: none;
  position: relative;
}
.content form fieldset legend {
  font-size: 1.1rem;
  font-weight: 700;
}
.content form fieldset input {
  width: 100%;
  height: 4rem;
  outline: none;
  border-radius: 0.5rem;
  font-size: 1.3rem;
}
.content form fieldset input[type=email] {
  border: 0.1rem solid #ddd;
  padding: 1rem;
  margin: 0.5rem 0 2rem;
}
@media (hover: hover) {
  .content form fieldset input[type=email]:hover {
    border-color: #777;
    cursor: pointer;
  }
}
.content form fieldset input[type=submit] {
  width: 100%;
  height: 4rem;
  outline: none;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  background-color: hsl(234, 29%, 20%);
  color: #fff;
  border: none;
}
@media (hover: hover) {
  .content form fieldset input[type=submit]:hover {
    background: linear-gradient(to right, #f1667d 30%, rgb(238, 125, 73));
    box-shadow: 0rem 1rem 2rem rgba(241, 102, 125, 0.5333333333);
    cursor: pointer;
  }
}
.content form fieldset #error-legend {
  position: absolute;
  right: 0;
  top: -1.3rem;
  color: #e22544;
  visibility: hidden;
}

.img {
  height: 100%;
  width: 50%;
  border-radius: 1.5rem;
  background-image: url(../assets/images/illustration-sign-up-desktop.svg);
  background-size: cover;
}

.success-container {
  display: none;
  height: -moz-fit-content;
  height: fit-content;
}

.success-content {
  background-color: #fff;
  color: hsl(234, 29%, 20%);
  width: 34rem;
  padding: 3rem 3rem 4rem;
  border-radius: 2rem;
}
.success-content img {
  height: 4rem;
  margin-bottom: 2rem;
}
.success-content h1 {
  font-size: 2.4em;
}
.success-content p,
.success-content strong {
  font-size: 1.3rem;
  margin: 1.5rem 0 3rem;
  line-height: 1.6;
}
.success-content button {
  width: 100%;
  height: 4rem;
  outline: none;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  background-color: hsl(234, 29%, 20%);
  color: #fff;
  border: none;
}
@media (hover: hover) {
  .success-content button:hover {
    background: linear-gradient(to right, #f1667d 30%, rgb(238, 125, 73));
    box-shadow: 0rem 1rem 2rem rgba(241, 102, 125, 0.5333333333);
    cursor: pointer;
  }
}

.error {
  border: 0.1rem solid #f0657c !important;
  background-color: rgb(240, 196, 196);
}

@media screen and (max-width: 1000px) {
  html {
    font-size: 0.9vw;
  }
}
@media screen and (max-width: 480px) {
  html {
    font-size: 3.5vw;
  }
  body {
    display: block;
    background-color: #fff;
  }
  .container {
    width: 100vw;
    height: -moz-fit-content;
    height: fit-content;
    flex-direction: column;
    padding: 0;
  }
  .content {
    width: 100vw;
    height: 100%;
    padding: 3rem 2rem;
  }
  .content h1 {
    font-size: 3.3rem;
  }
  .content li {
    line-height: 1.3;
  }
  .content li img {
    align-self: start;
  }
  .img {
    width: 100%;
    background-size: cover;
    background-position: center;
    order: -1 !important;
    height: 70vw;
    background-image: url(../assets/images/illustration-sign-up-mobile.svg);
    border-radius: 0 0 1.5rem 1.5rem;
  }
  .success-container {
    height: 100vh;
    padding-top: 12rem;
  }
  .success-content {
    background-color: #fff;
    color: hsl(234, 29%, 20%);
    width: 100vw;
    height: 100%;
    padding: 0 1.5rem 3rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .success-content img {
    height: 4rem;
    width: 4rem;
    margin-bottom: 1.5rem;
  }
  .success-content h1 {
    font-size: 2.4em;
  }
  .success-content p,
  .success-content strong {
    font-size: 1.3rem;
    margin: 1.5rem 0 3rem;
    line-height: 1.6;
  }
  .success-content button {
    width: 100%;
    height: 4rem;
    outline: none;
    border-radius: 0.5rem;
    font-size: 1.3rem;
    background-color: hsl(234, 29%, 20%);
    color: #fff;
    border: none;
    margin-top: auto;
  }
}
@media screen and (max-width: 480px) and (hover: hover) {
  .success-content button:hover {
    background: linear-gradient(to right, #f1667d 30%, rgb(238, 125, 73));
    box-shadow: 0rem 1rem 2rem rgba(241, 102, 125, 0.5333333333);
    cursor: pointer;
  }
}/*# sourceMappingURL=style.css.map */