body {
    margin: 0;
    padding: 0;
    background: url('../IMG/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.Calculadora {
    backdrop-filter: blur(7px);
    height: 560px;
    display: grid;
    grid-template-columns: repeat(4, 75px);
    grid-template-rows: 160px repeat(5, 75px);
    background-color: rgba(56,161,100, 0.3);
    padding: 15px;
    border: #173228 4px solid;
    border-radius: 15px;
}
img {
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
}

button {
    align-items: center;
    justify-content: center;
    transition: all 250ms ease;
    border: #173228 2px solid;
    cursor: pointer;
    margin: 5px;
    padding: 5px;
    border-radius: 2.1rem;
    font-size: 2.5rem;
    bottom: none;
    background-color: transparent;
}
button:hover {
    transform: scale(1.07);
}
button:active {
    border-radius: 1rem;
}
button:focus {
    outline: none;
}
.col-2 {
    grid-column: span 2;
}
#col2 {
    grid-column: span 2;
}
.display {
    direction: justify;
    border: 3px solid;
    grid-column: 1 / -1;
    padding: 6px;
    display: flex;
    margin: 10px 16px 20px;
    flex-direction: column;
    align-items: end;
    background-color: black;
    border-radius: 20px;
    text-align: right;
    justify-content: space-between;
    word-break: break-all;
}

#valor-actual {
    color: aliceblue;
    font-size: 1.5rem;
}
#valor-anterior {
    color:aliceblue;
    font-size: 2.5rem;
}

@media (max-width: 500px) {
    button {
        transition: all 250ms ease;
        border: #173228 2px solid;
        cursor: pointer;
        margin: 5px;
        padding: 5px;
        border-radius: 2.1rem;
        font-size: 2.5rem;
        bottom: none;
        background-color: transparent;
    }
    button:active {
        border-radius: 1rem !important;
        transform: scale(1.07) !important;
    }
    button:hover {
        transform: none;
    }
    
    button:focus {
        outline: none;
    }
}
