

:root{
    --Purple: hsl(259, 100%, 65%) ;
    --Light-red: hsl(0, 100%, 67%) ;
    
    --White: hsl(0, 0%, 100%) ;
    --Off-white: hsl(0, 0%, 94%) ;
    --Light-grey: hsl(0, 0%, 86%) ;
    --Smokey-grey: hsl(0, 1%, 44%) ;
    --Off-black: hsl(0, 0%, 8%) ;


    font-family: 'Poppins', sans-serif;
    
}
*{
    margin: auto;
    /* outline: auto; */
}

body{
    
background-color: aqua;
display: block;
}





.card {
    margin-top: 10%;
    width: 70%;
    max-width: 600px;
    background-color: var(--White);
    border-radius: 5% 5% 25% 5%;
}

.header{
   position: relative;
    padding-block: 50px;
    margin-bottom: 20px;
    width: 80%;
    border-bottom: solid 1px var(--Light-grey);
    
}

.inputcontainer {
   
    display: flex;
    
    
}



.input {
    width: 30%;
    max-width: 80px;

    
}

.input h5{
    color: var(--Smokey-grey);
    width: 100%;
}

input {
    height: 35px;
    width: 100%;
    font-weight: 800;

   
    border-style: solid;
    border-width: 1px;
    border-color: var(--Smokey-grey);
    border-radius: 5%;

}


.button {
    position: absolute;
    bottom: -25px;
    left: calc(50% - 25px);
    display: flex;
    /* justify-content: center;
    align-items: center; */
    width: 50px;
    height: 50px;
    background-color: var(--Purple);
    border-radius: 50%;
}

img {
    
    width: 20px;
    height: 30px;
    
   
    
}



h1{
    font-style: italic;
    font-weight: 800;
    text-align: center;
}
span{
    color: var(
        --Purple
    );
   
}
.body{
    padding-block: 20px;
}

.result{
    width: 80%;
    text-align:left;
}



@media only screen and (min-width: 700px) {
    body {
      background-color: lightblue;
    }
    .inputcontainer {
   
       justify-content:left;
       gap:25px;

        
        
    }
    .input{
       
        margin: 0;
    }


    .button {
        left: unset;
        right: 0;
        width: 60px;
        height: 60px;
       
    }
    img {
    
        width: 30px;
        height: 45px;
        
       
        
    }

    .result{
        font-size: 4em;
        line-height: 1em;
    }
  }
  

  