@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;
}

html {
  font-size: 62.5%;
}

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

.container {
  margin: 5rem;
  background-color: #fff;
  max-width: 114rem;
  display: flex;
  padding: 2rem;
  border-radius: 20px;
}

.success {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem;
  max-width: 40rem;
  height: 45rem;
  border-radius: 20px;
  background: #fff;
}

.display {
  display: none;
}

.left-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 5rem;
}

.primary-heading {
  color: hsl(234, 29%, 20%);
  font-size: 5rem;
  font-weight: 600;
}

.description {
  font-size: 1.6rem;
}

.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 2rem;
}

.logo {
  width: 2rem;
}

.text {
  font-size: 1.3rem;
}

.label {
  font-size: 1.3rem;
  font-weight: 600;
}

.input {
  width: 100%;
}

.email {
  width: 100%;
  border-radius: 10px;
  padding: 1.5rem;
}

.btn {
  background: hsl(234, 29%, 20%);
  width: 100%;
  border: none;
  padding: 1.5rem;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
}

.btn:active {
  background-color: linear-gradient(90deg, #f14984, hsl(4, 100%, 67%));
}

.right-container {
  max-width: 50%;
}

.img {
  max-width: 100%;
}

@media (max-width: 887px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 800px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 700px) {
  .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0;
  }
  .display {
    display: none;
  }
  .left-container {
    width: 100%;
    order: 2;
    padding: 2rem;
    height: 50rem;
    justify-content: space-around;
  }
  .right-container {
    max-width: 100%;
    order: 1;
  }
  .img {
    src: url("assets/images/illustration-sign-up-mobile.svg");
  }
}

@media (max-width: 500px) {
  .container {
    width: 100%;
    margin: 0;
  }
  .img {
    width: 100%;
  }
}

.success-logo {
  width: 20%;
}

.success-text {
  font-size: 14px;
  font-weight: 600;
}
