@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root{
    font-size: 62.5%;
}
body{
    font-family: 'Poppins', sans-serif;
    background: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
/* Utility Classes */
h1{
    font-size: 2rem;
    text-align: center;
}
p{
    font-size: 1.4rem;
    text-align: right;
    color: rgb(174, 172, 172);
    margin-right: 2rem;
}
.text-red{
    color: red;
}
.text-blue{
    color: #33ffd8;
}
.text-white{
    color: white;
}

/* Calculator Styling */

.container{
    padding: 2rem;
    background: rgb(26, 34, 34);
    border-radius: 1rem;
    box-shadow: 0 0 5px rgb(26, 34, 34);
}

/* Display Styling */

.display{
    width: 100%;
    padding: 0.8rem;
}
.display input{
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: 0 0 3px white ;
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: right;
}

/* Buttons Styling  */


.btn-wrapper{
    margin-top: 1.3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;

}
.btn{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: transparent;
    font-size: 2rem;
    font-weight: 600;
    border: 0;
    outline: 0;
    box-shadow: 0 0 3px white;
    cursor: pointer;
}

.active{
    transform: scale(95%);
}



/* Responsive Calculator at Max-Width => 500px */



@media (max-width: 500px) {
    h1{
        font-size: 1.5rem;
    }
    p{
        font-size: 1rem;
    }
    .display input{
        font-size: 1.2rem;
    }
    .btn{
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
}

/* Max-Width =>  300px */

@media (max-width: 300px) {
    h1{
        font-size: 1.3rem;
    }
    p{
        font-size: 1rem;
    }
    .btn{
        width: 35px;
        height: 35px;
    }
    
}