* {
    font-family: "Fraunces", serif;
    color: #fff;
}

body {
    margin: 0;
    background-color: #EEDFDE;
}

h1 a {
    text-decoration: none;
    color: #ccc;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.calculadora {
    display: grid;
    grid-template-columns: repeat(4, 75px);
    grid-template-rows: 160px repeat(5, 75px);
    background-color: #C51B15;
    padding: 15px;
    border-radius: 30px;
    box-shadow: 15px 10px 0px 5px #00000033;
}

button {
    cursor: pointer;
    margin: 5px;
    padding: 0;
    border-radius: 32px;
    font-size: 1.5em;
    border: none;
    background-color: #C51B15;
    box-shadow: 5px 5px 10px -3px #00000040, -5px -5px 15px 3px #89110D1f;
}

button:active {
    background-color: #A71510;
}

button:focus {
    outline: none;
}

.display {
    grid-column: 1 / -1;
    padding: 16px;
    display: flex;
    margin: 10px 10px 20px;
    flex-direction: column;
    align-items: flex-end;
    background-color: #817271;
    border-radius: 25px;
    text-align: right;
    justify-content: space-between;
    word-break: break-all;
    box-shadow: 0px 0px 0px 7px #00000040;
}

.col-2 {
    grid-column: span 2;
}

#valor-actual {
    font-size: 1.5em;
}

#valor-anterior {
    font-size: 2em;
}

footer {
    background: rgba(0, 0, 0, .4);
    text-align: center;
    
}

footer p a {
    text-decoration: none;
}

footer p a:hover {
    color: blue;
}