@font-face {
  font-family: "Roboto";
  src: url(/assets/fonts/Roboto-Regular.ttf) format(truetype);
  font-style: normal;
}
*, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  display: grid;
  place-content: center;
  min-height: 100svh;
  font-family: "Roboto", sans-serif;
  background-color: hsl(234, 29%, 20%);
}

@font-face {
  font-family: "Roboto";
  src: url(/assets/fonts/Roboto-Regular.ttf) format(truetype);
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url(/assets/fonts/Roboto-Regular.ttf) format(truetype);
  font-style: normal;
}
.card {
  display: grid;
  grid-template-columns: 1fr 285px;
  max-width: 800px;
  background-color: hsl(0, 0%, 100%);
  padding: 1.5rem;
  border-radius: 20px;
  margin: 0 1rem;
}
@media (max-width: 42rem) {
  .card {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 0 1.5rem 0;
    margin: 0;
  }
}
.card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.card__img {
  display: block;
  max-width: 100%;
}

.card.success {
  display: none;
}

.card__description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2rem 1rem 2rem;
}
.card__description__title {
  font-size: clamp(1rem, 0.75rem + 3vw, 3.5rem);
}
.card__description__list {
  display: flex;
  gap: 1rem;
}

#form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 2rem 1rem 2rem;
}

.form__email {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: space-between;
}
.form__email__error {
  display: none;
}
.form__email__input {
  padding: 1rem 0 1rem 1rem;
  border-radius: 10px;
  border: solid hsl(0, 0%, 58%) 1px;
}

.form__email__error.active {
  display: block;
  color: hsl(4, 100%, 67%);
}

.form__email__input.active {
  background-color: rgba(255, 98, 87, 0.2);
  border: 1px solid hsl(4, 100%, 67%);
}

button {
  background-color: hsl(234, 29%, 20%);
  color: hsl(0, 0%, 100%);
  padding: 1rem 0;
  border-radius: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
}
button:hover {
  background: linear-gradient(127deg, rgb(255, 63, 124) 40%, rgb(229, 40, 15) 70%);
  cursor: pointer;
}

@media (max-width: 42rem) {
  .desktop {
    display: none;
  }
}

.mobile {
  display: none;
}
@media (max-width: 42rem) {
  .mobile {
    display: block;
    margin-bottom: 1.5rem;
  }
}

@font-face {
  font-family: "Roboto";
  src: url(/assets/fonts/Roboto-Regular.ttf) format(truetype);
  font-style: normal;
}
.subscription {
  display: none;
}
.subscription__img {
  width: 70px;
}
.subscription__title {
  font-size: 3.5rem;
}
.subscription__text {
  line-height: 1.5;
}

.subscription.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  padding: 2rem;
  background-color: hsl(0, 0%, 100%);
  border-radius: 30px;
}
@media (max-width: 42rem) {
  .subscription.active {
    height: 100svh;
    border-radius: 0;
    justify-content: space-evenly;
  }
}

#user-email {
  font-weight: 700;
}/*# sourceMappingURL=style.css.map */