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

body {
  background-color: hsl(0, 0%, 86%);
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  background-color: white;
  height: 600px;
  width: 800px;
  border-radius: 2rem 2rem 10rem;
  padding: 3rem;
}

.form {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid hsl(0, 0%, 86%);
  padding-bottom: 3rem;
}
.form-div {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: hsl(0, 1%, 44%);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  letter-spacing: 0.2rem;
}
.form-input {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(0, 1%, 44%);
  padding: 0.5rem 1rem;
  border: 1px solid hsl(0, 0%, 86%);
  border-radius: 0.5rem;
  max-width: 10rem;
}
.form-btn {
  border: none;
  background-color: hsl(259, 100%, 65%);
  padding: 1rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  transform: translateX(50%) translateY(110%);
}
.form-error {
  font-size: 0.8rem;
  font-weight: 400;
  color: hsl(0, 100%, 67%);
  font-style: italic;
  margin-top: 0.3rem;
}

.result {
  padding: 2rem 0;
}
.result-text {
  font-size: 5.5rem;
  font-weight: 800;
  color: hsl(0, 0%, 8%);
  font-style: italic;
  line-height: 6rem;
}
.result-number {
  letter-spacing: 1rem;
  color: hsl(259, 100%, 65%);
}

.error-border {
  border: 1px solid hsl(0, 100%, 67%) !important;
}

.error-text-color {
  color: hsl(0, 100%, 67%) !important;
}

@media screen and (max-width: 830px) and (min-width: 700px) {
  .app {
    scale: 0.8;
  }
}
@media screen and (max-width: 700px) {
  .app {
    scale: 0.9;
    width: 100%;
  }
  main {
    height: unset;
    width: 100%;
    padding: 1.5rem;
  }
  .form {
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 5px;
  }
  .form-div {
    display: flex;
    flex-direction: column;
  }
  .form-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: hsl(0, 1%, 44%);
    letter-spacing: 0.2rem;
  }
  .form-input {
    font-size: 1.2rem;
    font-weight: 700;
    color: hsl(0, 1%, 44%);
    max-width: 6.7rem;
  }
  .form-btn {
    padding: 0.5rem;
    width: 4.3rem;
    height: 4.3rem;
    transform: translateX(210%) translateY(45%);
  }
  .form-icon {
    scale: 0.8;
  }
  .form-error {
    font-size: 0.62rem;
    font-weight: 400;
    color: hsl(0, 100%, 67%);
  }
  .result {
    padding: 4rem 0;
  }
  .result-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: hsl(0, 0%, 8%);
    line-height: 4.5rem;
  }
  .result-number {
    letter-spacing: 0.4rem;
  }
}/*# sourceMappingURL=styles.css.map */