
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
    font-weight: 500;
}

body{
    background-color: #aaaaaa;
}

.main{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: 100vh;
}

.calculator{
    max-width: 400px;
    border: 1px solid #717377;
    padding: 30px;
    border-radius: 15px;
    /* background:transparent; */
    background: linear-gradient(45deg,#0a0a0a,#3a4452);
    box-shadow: 0px 0px 20px rgba(113,115,119,0.5);

}

input{
    width: 320px;
    border: none;
    padding: 24px;
    margin: 10px;
    margin-bottom: 10px;
    /* background: transparent; */
    background-color: #000000;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(84,84,84,0.5) ;
    font-size: 40px;
    text-align: right;
    cursor: not-allowed;
    color: white;
}

input::placeholder{
    color: white;
}

button{
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px;
    background: transparent;
    color: white;
    font-size: 22px;
    box-shadow: 0px 0px 20px rgba(255,255,255,0.3);
    cursor: pointer;
}


.operator{
    color: #ffffff;
    background-color: #fb7c14;
}

.functions{
    color: #000000;
    background-color: #a5a5a5;
}

@media (max-width:455px){

    .main{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container{
        max-width: 250px;
    }
    input{
        max-width: 270px;
    }

    button{
        width: 50px;
        height: 50px;
    }
}
