/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
  }
  /*
    2. Remove default margin
  */
  * {
    margin: 0;
  }
  /*
    3. Allow percentage-based heights in the application
  */
  html, body {
    height: 100%;
  }

  body {
    /* for this project only */
  display: grid;
  place-content: center;
  background-color: hsl(0, 0%, 86%);
  }
  /*
    Typographic tweaks!
    4. Add accessible line-height
    5. Improve text rendering
  */
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: 'Poppins', sans-serif;
  }
  /*
    6. Improve media defaults
  */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  /*
    7. Remove built-in form typography styles
  */
  input, button, textarea, select {
    font: inherit;
  }
  /*
    8. Avoid text overflows
  */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  /*
    9. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }

  .inputs {
    display: flex;
    gap: 1rem;
  }
 .form {
  max-width: 100px;
 }
  label {
    text-transform: uppercase;
  }

  .app-container {
    background: #fff;
    padding: 3.5rem 1.5rem 3rem 1.5rem;
    border-radius: 2rem;
    border-bottom-right-radius: 5rem;
  }

.form input {
    padding: 1rem 0rem 1rem 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 10px;
    width: 100%;
    outline: none;
    border-color: hsl(0, 0%, 86%);
    border: 2px solid hsl(0, 0%, 86%);
    margin-top: 5px;
}

.form label {
  color: hsl(0, 1%, 44%);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

.line {
    margin-top: 5em;
    border-bottom: 1px solid hsl(0, 0%, 86%);
    position: relative;
}
.circle-arrow {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  background: hsl(259, 100%, 65%);
  z-index: 2;
  padding: 0.8rem;
  border-radius: 50%;
}

.output {
  margin-top: 5rem;
}

h1 {
  font-size: 4rem;
  line-height: 4rem;
  font-style: italic;
  font-weight: 800;
}
 
span {
  color: hsl(259, 100%, 65%);
}

.form.error input {
  border-color: #e74c3c;
}
.form.error label {
  color: #e74c3c;
  
}
.form.error small {
  visibility: visible;
  color: #e74c3c;
}

.form small {
  font-style: italic;
  font-size: 0.7rem;
  visibility: hidden;
}
/* hello guys */

@media (min-width: 605px) {
 
  .form input {
    padding: 13px 4px;
    width: 76px;
  }
  .form {
    max-width: 140px;
  }
  .inputs {
    gap: 2.5rem;
  }
  .form input {
    font-size: 1.2rem;
}
.app-container {
  padding: 3.5rem 6em 3rem 3rem;
}
h1 {
  font-size: 5rem;
  line-height: 5rem;
}
.line {
  margin-top: 1em;
  width: 600px;
}
.output {
  margin-top: 3rem;
}
.circle-arrow {
  transform: translate(6%, -50%);
  right: 0;
  left: unset;
}
}