:root {
  --white: #ffffff;
  --grey: #949494;
  --blue7: #36384d;
  --blue8: #242742;
  --red: #ff6155;
  --main-gradient: linear-gradient(to right, #ff6a3a, #ff527b);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: var(--blue7);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 904px;
  border-radius: 36px;
  background-color: var(--white);
  display: flex;
  gap: 64px;
  padding: 32px;
  margin-top: 20.27%;
  margin-bottom: 20.27%;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 71.5px;
  margin-bottom: 71.5px;
}

.content h1 {
  font-size: 56px;
  line-height: 100%;
  letter-spacing: 0px;
  font-weight: bold;
  color: var(--blue8);
  display: flex;
  align-items: flex-end;
}
.content .stats {
  color: var(--blue8);
  font-size: 16px;
  font-weight: regular;
  line-height: 150%;
  letter-spacing: 0px;
}

.content ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: regular;
}
.content ul li {
  background-image: url(../images/icon-list.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 21px 21px;
  padding-left: 37px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
form label {
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: bold;
  color: var(--blue8);
  display: flex;
  justify-content: space-between;
}
form input {
  padding: 16px 24px;
  border-radius: 8px;
  border: 1.6px solid var(--grey);
  margin-top: -16px;
}
form button {
  padding: 16px 48px;
  border-radius: 8px;
  background: var(--blue8);
  color: var(--white);
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: bold;
  border: none;
  white-space: nowrap;
  text-align: center;
}
form button:hover {
  background: var(--main-gradient);
}
.error {
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: bold;
  color: var(--red);
}
.success {
  width: 100%;
  max-width: 504px;
  padding: 64px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: var(--white);
  margin-top: 25.92%;
  margin-bottom: 25.92%;
}
.success img {
  width: 64px;
  height: 64px;
}
.success h2 {
  font-size: 56px;
  line-height: 100%;
  letter-spacing: 0px;
  font-weight: bold;
  color: var(--blue8);
}
.success p {
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
  font-weight: regular;
}
.success span {
  font-weight: bold;
}
.success button {
  font-weight: bold;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
  color: var(--white);
  border-radius: 8px;
  background-color: var(--blue8);
  padding: 16px 72px;
}
.success button:hover {
  background: var(--main-gradient);
  border-color: transparent;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 608px;
    flex-direction: column-reverse;
    gap: 40px;
    padding: 40px;
    margin-top: 7.12%;
    margin-bottom: 7.12%;
  }
  .content {
    gap: 24px;
    margin: 0px;
  }
  img {
    width: 100%;
    border-radius: 16px;
  }
  form {
    gap: 16px;
  }
  form input {
    margin-top: -8px;
  }
}
@media (max-width: 767px) {
  .container {
    flex-direction: column-reverse;
    width: 100%;
    max-width: 375px;
    gap: 40px;
    padding: 0px;
    border-radius: 0px;
    margin: 0px;
  }
  .content {
    gap: 24px;
    margin: 0px 24px;
  }
  .content h1 {
    font-size: 40px;
  }
  form {
    margin-top: 16px;
    margin-bottom: 50px;
  }
  body {
    justify-content: flex-start;
  }
  .success {
    width: 100%;
    max-width: 375px;
    padding: 149px 24px 70px 24px;
    border-radius: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .success button {
    margin-top: 263px;
  }
}
.hidden {
  display: none;
}
