* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

html,
body {
    height: 100vh;
    width: 100vw;
    background-image: linear-gradient(to right, #5f696f, #111314);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator {
    width: 80vw;
    max-width: 300px;
    height: 400px;
    background-color: #121c20f0;
    border-radius: 15px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.8), -1px -2px 20px rgba(0, 0, 0, 0.8);
}

.display {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 0;
}

.display input {
    margin-top: 25px;
    width: 100%;
    height: 120%;
    border: none;
    border-radius: 10px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.8), -1px -2px 20px rgba(0, 0, 0, 0.8);
    background-color: transparent;
    color: white;
    padding: 10px;
    text-align-last: right;
    font-size: 25px;
}

.buttons {
    width: 100%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;

}

.row {
    width: 100%;
    height: 13%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.row button {
    width: 18%;
    height: 80%;
    border-radius: 8px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.8), -1px -2px 20px rgba(0, 0, 0, 0.8);
    background-color: transparent;
    color: white;
    border: none;
    font-size: 24px;
}

.row button:hover {
    box-shadow: inset 1px 2px 10px rgba(0, 0, 0, 0.8), -1px -2px 20px rgba(0, 0, 0, 0.8);
    font-size: small;
    color: rgba(255, 255, 255, 0.508);
    cursor: pointer;
    font-size: 21px;
}

#row1 {
    background-color: rgb(244, 9, 9);
}

#equal {
    width: 40%;
    background-color: rgb(244, 149, 8);
}