* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #111;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
}

header h1 {
    color: rgba(245, 245, 245, 0.753);
    text-shadow: 2px 2px 8px rgba(0, 255, 255, 0.3);
}

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

.calculadora {
    width: auto;
    height: auto;
    background-color: #000;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 15px 30px;
    overflow: auto;
}

.displayOperaciones {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 50px 0;
    width: 100%;
    height: 170px;
}

.operaciones {
    width: 300px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
    color: #FFF;
    text-align: end;
    overflow: hidden;
}

.resultado {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    text-align: end;
    color: #eee;


}

.opciones {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
    height: 10%;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
    padding: 10px 0;
}

.borrar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: transparent;
    border: none;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.borrar:active {
    background-color: rgb(0, 128, 0);
}

.del {
    display: inline-block;
    background-image: url("./../img/borrar.png");
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 35px;
    height: 25px;
    filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg) brightness(95%) contrast(80%);
}

.teclado {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-areas:
        "c parentecis porcentaje division"
        "numero7 numero8 numero9 multiplicacion"
        "numero4 numero5 numero6 resta"
        "numero1 numero2 numero3 suma"
        "masmenos numero0 punto igual";
    gap: 10px;
    /* Espacio entre las celdas */
    width: 100%;
    height: 70%;
}

#numero0 {
    grid-area: numero0;
}

#numero1 {
    grid-area: numero1;
}

#numero2 {
    grid-area: numero2;
}

#numero3 {
    grid-area: numero3;
}

#numero4 {
    grid-area: numero4;
}

#numero5 {
    grid-area: numero5;
}

#numero6 {
    grid-area: numero6;
}

#numero7 {
    grid-area: numero7;
}

#numero8 {
    grid-area: numero8;
}

#numero9 {
    grid-area: numero9;
}

#punto {
    grid-area: punto;
}

#c {
    grid-area: c;
    color: #d11d1d !important;
}

#parentecis {
    grid-area: parentecis;
}

#porcentaje {
    grid-area: porcentaje;
}

#division {
    grid-area: division;
}

#porcentaje {
    grid-area: porcentaje;
}

#multiplicacion {
    grid-area: multiplicacion;
}

#resta {
    grid-area: resta;
}

#suma {
    grid-area: suma;
}

#igual {
    grid-area: igual;
    background-color: rgb(0, 128, 0) !important;
}

#igual:active {
    background-color: rgb(4, 156, 4) !important;
}

#masmenos {
    grid-area: masmenos;
}

.boton-numero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    background-color: #111;
    color: #FFF;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
}

.boton-numero:active {
    font-size: 15px;
    background-color: #ccc !important;
    color: #111;
}

.btn-op {
    background-color: #333333 !important;
    color: rgb(113, 235, 13);
}

.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 30px;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 960px;
    margin: 0 auto;
}

.footer .social-links {
    margin-top: 1rem;
}

.footer .social-links a {
    margin: 0 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer .social-links a:hover {
    transform: scale(1.2);
}

.footer .social-links img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}