@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100&display=swap');

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 90vh;
    background-color: #e0e1dd;
    margin-top: 50px;
}

.main {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 5px #0d1b2a solid;
    border-radius: 15px;
    background-color: #778da9;
    height: 500px;
    width: 400px;
}

.result {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-right: 20px;
    margin-bottom: 20px;
    border: none;
    border-radius: 15px;
    background-color: #415a77;
    color: black;
    font-size: 30px;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    height: 100px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

button {
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-size: 30px;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    background-color: #415a77;
    color: black;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

.button_operator {
    background-color: #FDE587;
}

.button_equal {
    background-color: #5072FB;
}

.button_reset {
    background-color: #FF5050;
}

footer {
    margin-top: auto;
    font-size: 25px;
    text-align: center;
    color: #0d1b2a;
}

footer img {
    margin-left: 10px;
}

footer a {
    color: #0d1b2a;
}