:root{
    --bg:hsl(184, 14%, 56%);
    --buttonbg:hsl(183, 100%, 15%);
    --input:hsl(189, 41%, 97%);
    --darkgreen:hsl(183, 100%, 15%);
    --green:hsl(184, 14%, 56%);
    --lightgreen:hsl(185, 41%, 84%);
}
body{
    background-color: var(--lightgreen);

}
*{
    margin: 0;
}
.logo{
    width: 10rem;

}
.main-container{
    height: 100vh;
    background-color: var(--lightgreen);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem;
    align-items: center;
}
.calc-container{

    width: 99%;
    background-color: white;
    height: 100vh;
    padding: 2rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    margin: 1rem;
}
.form{
    display: flex;
    flex-direction: column;
    gap:1rem;
}
.label{
    font-size: 5rem;
    font-weight: 500;
    color: var(--green);
    font-family: "Space Mono";
}
.input{
    width:100%;
    padding:2rem;
    background-color: var(--lightgreen);
    outline: none;
    border: none;
    border-radius: 0.3rem;
    background-image: url("/images/dollar.svg");
    background-repeat: no-repeat;
    background-position: 10px 10px;
    font-size: 4rem;
    font-weight: bold;
    color: var(--darkgreen);
    font-family: "Space Mono";
    text-align: right;
}

.btn{
    background-color: var(--buttonbg);
    color: white;
    width: 300px;
    height: 100px;
    font-size: 3rem;
    font-weight:bold;
    font-family: "Space Mono";
    border: none;
    outline: none;
    margin: 1rem;
    border-radius: 0.5rem;
}
.btn-container{
display: flex;
flex-direction: row;
gap:1rem;
flex-wrap: wrap;
justify-content: start;
align-items: center;
width: 90%;
}
.btn-clicked{
    background-color: hsl(172, 67%, 45%);;
    color: var(--darkgreen);
}
.people{
    background-image: url("/images/person.svg");
    background-position: 10px 10px;
    background-repeat: no-repeat;
}
.result-cont{
    background-color: var(--darkgreen);
    display:flex;
    flex-direction: column;
    gap:1rem;
    padding:1rem;
    border-radius: 0.6rem;
width:90%;
margin: 2rem;
height: auto;
}
.top,.bottum{
width:90%;
padding:1rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.sec-head{
    color:var(--lightgreen);
    font-size: 4rem;
    font-family: "Space Mono";
    font-weight: bold;
  
}
.sec-desc{
    font-size: 1rem;
    color: var(--bg);
    font-family: "Space Mono";
font-weight: 500;
}
.sec-amount{
    font-size: 3rem;
    color: hsl(172, 67%, 45%);
    font-family: "Space Mono";
font-weight: bold; 
}
.reset{
    align-self: center;
    width: 79%;
    height: 60px;
    color: var(--darkgreen);
    font-size: 3rem;
    background-color: hsl(172, 67%, 45%);
    font-family: "Space Mono";
font-weight: bold; 
outline: none;
border: none;
margin: 2rem;
}
.custom{
    background-color: var(--bg);
    color: var(--darkgreen);
    text-align: center;
    width: 200px;
    height: 70px;
}

@media  screen and (min-width:769px) 
{

    .main-container{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    height: auto;
    }
    .calc-container{
        width: 75%;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap:1.5rem;
    }
    .form{
        
        width: 50%;
    }
    .result-cont{
        width: 50%;
    }
    .label{
        font-size:1rem;
    }
    .input{
        font-size: 1rem;
        padding: 1rem;
    }
    .btn{
        width: 100px;
        height: 40px;
        font-size: 1rem;
    }
    .sec-head{
        font-size: 1.5rem;
    }
    .amount{
        font-size: 2rem;
    }
    .logo{
        width: 3rem;
    }


}
  
