body{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5vh;
    padding-bottom: 5vh;
    width: 100vw;
    margin: 0;
    background-color: #222222;
    gap:2.5vw;

    & .ejercicios{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 45vw;
        height: 120vh;
        background-color: #8E1616;
        border-radius: 15px;
        color: #F8EEDF;

        & .letrero {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 30px;
            color: #E8C999;
            font-weight: bold;
        }

        & button{
            background-color: #222222;
            color:#F8EEDF;
            border: 2px solid #F8EEDF;
            border-radius: 5px;
            font-size: 20px;
            padding: 5px;
            cursor: pointer;
        }
    }

    & #ejercicio30{
        gap:20px;

        & #titulo30{
            font-size: 40px;
            padding-left: 10px;
            padding-right: 10px;
        }

        & >div:nth-child(3){
            font-size: 25px;

            & >input{
                font-size: 25px;
                width: 15vw;
            }
        }

        & >div:nth-child(5){
            width: 40%;

            & >*{
                text-align: center;
                font-size: 25px;
                border: 2px solid #5d0e0e;
                width: 100%;
                height: 4vh;
            }

            & div:nth-child(1){
                background-color: #5d0e0e;
            }

            & #servicio{
                border-top: none;
            }
        }

        & >div:nth-child(6){
            display: flex;
            gap: 10px;
            height: 50vh;
            width: 80%;

            & >div:nth-child(1), >div:nth-child(2){
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                width: 50%;
                background-color: #5d0e0e;
                gap:20px;
                overflow: auto;

                & h2{
                    margin:0;
                }

                & div:nth-child(2){
                    display: flex;
                    align-items: flex-start;
                    justify-content: flex-start;
                    flex-direction: column;
                    font-size: 20px;
                    gap:10px;
                    background-color: #8E1616;
                    height: 65%;
                    width: 90%;
                    padding-left: 5px;
                }
            }
        }
    }

    & #ejercicio31{
        gap:20px;

        & #titulo31{
            font-size: 40px;
            margin: 0;
        }

        & >div:nth-child(3), >div:nth-child(4), >div:nth-child(5){
            width: 90%;
            border: 2px dashed #5d0e0e;
        }

        & >div:nth-child(3), >div:nth-child(4){
            display: grid;
            grid-template-columns: 70% 30%;
            grid-template-rows: repeat(3, 33%);
            grid-template-areas: "titulol reintegrot"
            "numeros reintegro"
            "botones .";
            height: 30vh;

            & .titulol{
                grid-area: titulol;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 25px;

                & p{
                    padding: 5px;
                    font-size: 25px;
                    border: 2px solid #5d0e0e;
                    border-radius: 10px;
                    width: 90%;
                    text-align: center;
                }
            }

            & .numeros{
                grid-area: numeros;
                display: flex;
                align-items: center;
                justify-content: space-evenly;

                & >div, >input{
                    background: transparent;
                    border: 2px solid #222222;
                    height: 50px;
                    width: 55px;
                    border-radius: 5px;
                    display:flex;
                    align-items:center;
                    justify-content: center;
                    text-align: center;
                    font-size:30px;
                    color: white;
                }
            }

            & .reintegrotit{
                grid-area: reintegrot;
                display: flex;
                align-items: center;
                justify-content: center;
               
                & p{
                    padding-top: 5px;
                    padding-bottom: 5px;
                    font-size: 25px;
                    border: 2px solid #5d0e0e;
                    border-radius: 10px;
                    width: 90%;
                    text-align: center;
                }
            }

            & .reintegro{
                grid-area: reintegro;
                display: flex;
                align-items: center;
                justify-content: center;

                & >div, >input{
                    background: transparent;
                    border: 2px solid #222222;
                    height: 50px;
                    width: 55px;
                    border-radius: 5px;
                    display:flex;
                    align-items:center;
                    justify-content: center;
                    text-align: center;
                    font-size:30px;
                    font-weight: bold;
                    color: white;
                }
            }

            & .botones{
                grid-area: botones;
                display: flex;
                align-items: center;
                justify-content: center;

                & button{
                    width: 95%;
                    height: 80%;
                }
            }
        }

        & >div:nth-child(5){
            height: 15vh;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 25px;
            border: 2px dashed #5d0e0e;
            border-radius: 10px;
            text-align: center;
        }
    }
}