body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #7a4e48;
    color: black;
    font-size: large;
    box-sizing: border-box;

    margin: 0;
    padding: 0;
    height: 100vh;

   display: flex;
    flex-direction: column;
   justify-content: center; 
   align-items: center;
}

/*HEADER*/

.header{
    border-bottom: 2px solid black;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5vh;
    gap: 3vh;
}

.header a{
    color: wheat;
    text-decoration: none;
    cursor: pointer;
}

/*CALCULADORA*/
.medio{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.calculator{
    background-color: #4a4031;

    border:5px solid black;
    border-radius: 30PX;
    width: 500px;
    height: 700px;
    padding: 1vh;
    display: flex;
    flex-direction: column;
    gap: 1vh;

}

.display{
    padding: 1vh;
    height: 100px;

    display: flex;
    flex-direction: column;
    text-align: center;

    background-color: #9ec6b8;
    border-radius: 30px;
    border: 10px solid black;


    justify-content: center;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    
}

.mini-display{
    flex: 1;
    border-bottom:2px solid #6c887d ;
    font-size: large;
    
}

/**/
.mini-display span {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.mini-display span.show {
    opacity: 1;
    transform: translateY(0);
}

/* prueba */
.big-display{
    flex: 3;
    letter-spacing: 0.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xxx-large;
    font-weight: bold;
    
}

.buttons{

    height: 600px;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    
}
.button-row{
    display: flex;
    flex: 1;
    gap: 1vh;
}
.button{
    border:5px solid black;
    background-color: #f6e2bb;
    flex:1;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: xx-large;
}

.button:active {
    background: linear-gradient(to bottom, #f6e2bb, #c2ad87);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform:translate(3px, 3px);
}

/*FOOTER*/

.footer{
    border-top: 2px solid black;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5vh;
    margin-top: auto;
}


/**** media q */
@media screen and (max-width: 600px) {
    .header{
        text-wrap: nowrap;
        height: 8vh;

    }

    .header h1{
        font-size: larger;
    }



    .calculator{
        
        width: 300px;
        height: 500px;
    
    }


}
