/* PALETA DE COLORES 
#FBF5E5 Beix
#C890A7 Lila claro
#894d66 Lila oscuro
#212121 Negro */

body{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    background-color: #FBF5E5;
    gap:2.5vw;
    
    & .ejercicios{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 45vw;
        height: 80vh;
        background-color: #C890A7;
        border-radius: 15px;
        color: #212121;

        & .letrero {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 30px;
            color: #894d66;
            font-weight: bold;
        }

        & .boton{
            margin-top: 20px;
            background-color: #894d66;
            color: #FBF5E5;
            height: 7vh;
            width: 40%;
            font-size: 20px;
            border-radius: 5px;
            border: none;
            cursor: pointer;
        }

        & .cdinero{
            display: flex;
            align-items: center;
            justify-content: flex-start;
            height: 8vh;
            width: 60%;
            font-size: 30px;

            >:nth-child(1){
                display: flex;
                align-items: center;
                justify-content: center;
                height: 100%;
                width: 80%;
                margin-right: 5px;
                font-size: 30px;
                background: transparent;
                border: 2px solid #894d66;
                color: #212121;
            }
        }
    }

    & #ejercicio23{
        gap:20px;
        position: relative;

        & #cnombre, #capellido{
            width: 70%;
            >:nth-child(1){
                margin-left: 5px;
            }
        }
        
        & #boton23{
            width: 20%;
        }
        
        & #resultado23{
            position: absolute;
            border: 2px solid #894d66;
            width: 80%;
            height: 25vh;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            font-size: 30px;
            background-color: #C890A7;
            box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.499);
            bottom: -20px;
        }
    }

    & #ejercicio24{
        flex-direction: row;

        & .cajas24{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 50%;
            height: 100%;
            gap: 20px;
        }

        & >div:nth-child(3){/* Línia divisoria */
            border: 1px solid #894d66;
            height: 90%;
        }
    }
}