body{
    margin: 0;
    box-sizing: border-box;
    padding: 60px 20px 20px;
    background-color: hsl(0, 0%, 94%);
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
}

main{
background-color:  hsl(0, 0%, 100%);
/* border: 0.1em solid  hsl(0, 5%, 12%); */
border-radius: 0.3em 0.3em 4em 0.3em;
padding:1.2em 0.5em 0.8em 0.5em;
}
 
#input-section{
    font-size: 0.34em;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    color:  hsl(0, 1%, 44%);
  
    
}
label{
    font-weight: 600;
    line-height: 2.5em;
    letter-spacing: .22em;
    padding: 1em;
}
label p{
    font-family: 'Poppins', sans-serif;
    font-size: 0.7em;
    color: hsl(0, 100%, 67%);
    line-height: 1.2em;
    letter-spacing: .1em;
    
/* visibility: hidden; */
}

input{
    display: block;
    width: 4.5em;
    height: 2.7em;
    border: 1px solid  hsl(0, 1%, 64%);
     border-radius: 0.3em;
}

input::placeholder{
    
    font-weight: 600;
    color: hsl(0, 1%, 77%);
    padding-left:.5em ;
}

#input-section div{
    justify-self: end;
}


.horizontal-rule{
    border-top: 1.4px solid  hsl(0, 1%, 71%);
}
#button-section{
    margin-top: 25px;
}

button{
    background-color: hsl(259, 100%, 65%);
    border-style: none;
    border-radius: 50%;
    padding: .9em .6em;
    /* padding: 0.6rem; */
    position: relative;
    top: -25px;
    left: 110px;
   
}
button img{
    width: 60%;
    height: 50%
}

#section-output h1{
   font-weight:800;
   font-size:2.9rem;
   letter-spacing: .1rem;
   line-height: .3em;
   font-style: italic ;
   
   
}
span{
    color: hsl(259, 100%, 65%) ;
}


@media (min-width:500px) {
    body{
        padding: 12% 0 0 0;
        display: grid;
        grid-template-rows: 1fr;
    }
  main{
    justify-self: center;
    align-self: center;
    width: 450px;
    padding: 2.2em 0.9em 0.5em 0.9em;
  }
  label{
    padding: 0;
  }
  #input-section{
   width: 80%;  }
  input{
    width: 70%;
  }
    
  button{
  left: 88%;
  }
  #section-output h1{
    font-size: 2em;
    font-weight: bolder;
    line-height: .3rem;
    letter-spacing: .1rem;
  }
  #section-output{
    margin-top: -40px;
  }
  
}