*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins-Bold";
  font-size: 16px;
  font-weight: 400px;
  line-height: 1.5;
  color: var(--Off-black);
  background-color: var(--Light-grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.container {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  padding: var(--paddingBig);
  max-width: 520px;
  border-radius: var(--radiusBig);
  border-bottom-right-radius: 30%;
  position: relative;
}
.form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  color: var(--Smokey-grey);
  letter-spacing: 3px;
}
.form-group input {
  width: 80%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid var(--Light-grey);
  border-radius: var(--radiusSmall);
  font-family: inherit;
  font-size: 1.3rem;
}
.container span .error {
  display: inline-block;
  color: var(--light-red);
  font-size: 0.7rem;
  font-weight: 700;
}
.btn {
  margin: 0 auto;
  border: none;
  background-color: var(--purple);
  border-radius: 50%;
  font-family: inherit;
  cursor: pointer;
  padding: 0.8rem 1rem;
  margin-top: 1rem;
  transition: all 0.3s ease-in-out;
  margin-left: 80%;
  z-index: 1;
}
.container .line {
  border: 1px solid var(--Off-white);
  width: 80%;
  position: absolute;
  top: 37%;
  z-index: 0;
}
.btn img {
  width: 2rem;
}
.btn:hover {
  background-color: var(--Off-black);
}
.result {
  font-weight: 800;
  line-height: 1;
  font-size: 2rem;
  padding: 1rem 0;
  margin-top: 1rem;
  font-style: italic;
}
.result span {
  color: var(--purple);
}
@media screen and (max-width: 576px) {
  .container {
    max-width: 300px;
  }
  .result {
    font-size: 1.3rem;
  }
  .form-group input {
    width: 100%;
    font-size: 0.8rem;
  }
  .form-group span .error {
    font-size: 0.5rem;
    margin-top: 0.2rem;
    width: 100%;
  }
  .btn {
    margin-left: 35%;
  }
  .container .line {
    width: 85%;
    top: 41%;
    z-index: 0;
  }
}
