/*The code imports the "Poppins" font*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

/*The * selector sets a few global styles for all elements on the page*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/*The styles for the body element*/

body {
    width: 100%;
    height: 102vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://img.freepik.com/free-photo/abstract-dark-background-with-flowing-colouful-waves_1048-13124.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


/*The .calculator class styles the calculator container*/

.calculator {
    border: 2px solid #717377;
    padding: 20px;
    border-radius: 16px;
    background: #111110;
    box-shadow: 0px 3px 15px rgba(152, 156, 134, 0.5);
}


/*The styles for the <input> elements, presumably used for displaying the calculator's input and output*/

input {
    width: 320px;
    height: 100px;
    border: #0a0a0a;
    border-radius: 3px;
    padding: 15px;
    margin: 8px;
    background: #e2e2e6;
    box-shadow: 0px 3px 15px rgbs(84, 84, 84, 0.1);
    font-size: 25px;
    text-align: right;
    cursor: pointer;
    color: #141414;
    word-wrap: break-word;
}

input::placeholder {
    color: #131111;
}


/*The styles for the <button> elements used as calculator buttons*/

button {
    border: none;
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 4px;
    background: #3f3e3f;
    color: #ffffff;
    font-size: 20px;
    box-shadow: -7px -7px 7px rgba(181, 239, 247, 0.1);
    cursor: pointer;
}


/*The styles for buttons with .decimal class customize the appearance of buttons*/

.decimal {
    background-color: #717377;
    color: #0a0a0a;
}

.equalBtn {
    background-color: #182ef7;
    color: #faf0f0;
}

.operator {
    background-color: #717377;
    color: #0e130e;
    font-size: 20px;
}