*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.contanier{
    width: 100%;
    height: 100vh;    
   
}
html{
    background-color:hsl(185, 41%, 84%);
    
}

h1{
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 15px;
    color: hsl(189, 41%, 25%);
    font-family: 'Space Mono',monospace;
   @media(min-width:900px){
        margin-top: 1em;
    } 
}
.card-body{
    border: 1px solid white;
    width: 92%;
    height: 680px;
    display: flex;
    flex-direction:column;
    margin: 1em;
    border-radius: 25px 25px 0px 0px;
    overflow: hidden;
    background-color: hsl(0,0%,100%);
    
    
    @media(min-width: 900px){
        flex-direction: row;
         width: 80%;
         height: 500px;
         margin: 0 auto;
         padding: 1em;
         border-radius: 25px;
         margin-top: 3em;
        transform: translateY(20%);

    }
}
.tipInput{
    border:none;
    width: 100%;
    height: 450px;
    padding: 1em;
    color:hsl(186, 14%, 43%);
    
    }
.tipOutput{
    border: none;
    width: 90%;
    height: 550px;
    padding:1em;
    background-color: hsl(183, 100%, 17%);
    color: white;
    border-radius: 25px;
    margin: 0 auto;
    margin-top: -0.5em;
    
       @media(min-width:900px){
        margin-top: 0;
        height: 98%;
        padding: 3em;
    }
}
ul{
    list-style: none ;
    display: flex;
    flex-wrap: wrap;
    text-align: center; 
    font-size: 17px;
    font-weight: bold;  
}
ul li{
    padding: .5em 1.5em;
    margin: 1em;
    border-radius: 5px;
    width: 100px;
    height: 40px;
    border: none;
    font-family: 'Space Mono',monospace;
    background-color: hsl(183, 100%, 17%);
    color: white;
     @media(min-width:900px){
        width: 130px;
        height: 45px; 
        font-size: 17px;
    }
}
.input{
    padding: 1em 3em;
    border-radius: 10px;
    border: 1px solid white;
   background-color:hsl(185, 41%, 95%);
    margin-top: 1em;
    
    text-align: right;
    font-weight: bold;
    font-family: 'Space Mono',monospace;
    width: 90%;
    
       @media(min-width:900px){
        padding: 1em 5em;
        width: 100%;
        margin-top: 1em;
        margin-bottom: 1em; 
    }
}
.btn-block{
    width: 98%;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 2em;
    font-family: 'Space Mono',monospace;
    border: none;
    border-radius: 3px;
       @media(min-width:900px){
       margin-top: 13em;
       height: 55px;
       margin-top:10em;
    }
}
ul li:hover,button:hover{
   background-color: hsl(172, 67%, 45%);
   color: black; 
}
input::placeholder{
  
  float: left;
  
 }

.right{
    float: right;
    font-size: 23px;
    font-family: 'Space Mono',monospace;
}
#custom{
    overflow: hidden;
    border: 1px solid black;
}
#custom input{
    width: 110px;
    margin-left: -2em;
    height: 350px;
    margin-top: -2em;
    font-weight: bold;
    font-family: 'Space Mono',monospace;
    
    @media(min-width: 900px){
        width: 220px;
        margin: 0;
        padding: 2em;
        margin-left: -4em;
        height: 350px;
        margin-top: -2em;
        
    }
}
label{
   color: hsl(189, 41%, 25%); 
   font-family: 'Space Mono',monospace;
}
p{
  color: hsl(189, 41%, 25%);  
  font-family: 'Space Mono',monospace;
}
.spillter
{
    display: flex;
    text-align: center;
    justify-content: center;
    font-family: 'Space Mono',monospace;
}
.error{
    display: flex;
    float:right;
    font-size: 12px;
    margin-top: 5px;
    font-family: 'Space Mono',monospace;
    display: none;
}
#people{
     
    background-image: url('icon-person.svg');
    background-repeat: no-repeat;
    background-position: 10% 50%;
    text-align: right;
    
}
input:active{
border:1px solid green;
}
input:focus{
  border:1px solid green;  
}
input:hover{
    border: 1px solid green;
}
.left{
    color:hsl(172, 67%, 56%) ;
    font-size: 15px;
    padding: 1em;
    margin: 3px;
    font-family: 'Space Mono',monospace;
}
h2{
    font-family: 'Space Mono',monospace;
}
