@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;

}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #28282f, #3f3c45);
}

.calculator {
    border: 1px solid red;
    padding: 20px;
    border-radius: 25px;
    background: transparent;
    box-shadow: 0px 8px 15px rgba(164, 179, 208, 0.5);
}

input {
    width: 320px;
    border: none;
    padding: 24px;
    margin: 10px;
    background: transparent;
    box-shadow: 0px 3px 15px rgba(186, 178, 178, 0.1);
    font-size: 40px;
    text-align: right;
    cursor: pointer;
    color: white;

}

input::placeholder {
    color: #ffffff;
}

button {
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 15%;

    background: transparent;
    color: #ffffff;
    font-size: 20px;
    box-shadow: -8px 6px 30px rgba(255, 238, 238, 0.1);
    cursor: pointer;

}

#button {
    border-color: red;
}

#button:hover {
    background-color: blue;
}

.equal {
    background-color: brown;
}

.operator {
    color: orange;
}

@media (max-width: 500px) {
    .calculator {
        width: 90vw;
        padding: 15px;
    }

    input {
        width: 100%;
        font-size: 1.8rem;
        padding: 15px;
    }

    button {
        width: 20vw;
        height: 20vw;
        font-size: 1.2rem;
    }
}