@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=DM+Serif+Display&family=Poppins:wght@300;400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bree Serif', serif;
    font-family: 'DM Serif Display', serif;
    font-family: 'Poppins', sans-serif;
}
body{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg,#0a0a0a,#3a4452);
}
.calculator{
    border: 1px solid #717377;
    padding-top: 20px;
    border-radius: 15px;
    box-shadow: 0px 3px 15px rgba(113,115,119,0.5);
}
input{
    width: 320px;
    border: none;
    padding: 22px;
    margin: 9px;
    background: transparent;
    box-shadow: 0px 3px 15px rgba(84,84,84,0.2);
    font-size: 40px;
    text-align: right;
    cursor: pointer;
    color: white;
}
input::placeholder{
    color: white;
}
button{
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0px 3px 15px rgba(255,255,255,0.2);
    cursor: pointer;
}
.equalbtn{
    background-color: #fb7c14;
}
.operators{
    color: #6dee0a;
}
.last{
    height: 30px;
    color: crimson;
    font-size: 1.2rem;
    margin-top: 2rem;
    font-family: 'Poppins', sans-serif;
    text-align: right;
}
@media (max-width:360px)
{
    input{
        width: 250px;
    }
    button{
        width: 45px;
        height: 45px;
        margin: 8px;
        font-size: 15px;
    }
    .last{
        font-size: 1.1rem;
    }
}
@media (max-width:290px)
{
    input{
        width: 200px;
    }
    button{
        width: 36px;
        height: 36px;
        margin: 6px;
        font-size: 15px;
    }
    .last{
        font-size: 1.1rem;
    }
}