body{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 5vh;
    padding-bottom: 5vh;
    width: 100vw;
    margin: 0;
    background-color: #091a32;
    gap:2.5vw;
    font-family: Arial, Helvetica, sans-serif;

    & .ejercicios{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 45vw;
        height: 80vh;
        background-color: #1a355b;
        border-radius: 15px;
        color: #F8EEDF;
        gap: 20px;

        & .letrero {
            z-index: 3;
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 30px;
            color: white;
            font-weight: bold;
        }

        & button{
            background-color: #202125;
            color: white;
            font-size: 30px;
            padding: 5px;
            cursor: pointer;
        }
    }

    & #ejercicio34{
        & div:nth-child(2){
            display: flex;
            gap:20px;
        }
    }

     & #ejercicio35{
        & div:nth-child(2){
            display: flex;
            gap:20px;
        }
    }

    & #ejercicio36{
        width: 70vw;
        height: 90vh;

        & #contenedor36{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 90%;
            height: 80%;
            background-color: gray;
            gap:20px;
            margin-top:5%;

            & >div:nth-child(1){
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                background-color: silver;
                height: 18%;
                width: 50%;
                border-radius: 50px;
                box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 1);

                & .colorboton36{
                    height: 60px;
                    width: 60px;
                    border: 1px solid black;
                    outline: 2px solid white;
                    border-radius: 100%;
                    background: radial-gradient(circle at 20% 30%, white 0%, #b5b5b5 20%, #414141 100%);/*Cuando se pulse el boton se cambia a radial-gradient(circle at 20% 30%, white 0%, #A7FF83 20%, #074652 100%); */
                    cursor: pointer;
                    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 1);
                }

                & .boton36{
                    width: 100%;
                    height: 100%;
                    opacity: 70%;
                    background-size: 70%;
                    background-position: center;
                    background-repeat: no-repeat;
                }

                & #arriba36{
                    background-image: url(/ejercicios/estilos_eventos/img/flecha_arriba.png);
                }

                & #abajo36{
                    background-image: url(/ejercicios/estilos_eventos/img/flecha_abajo.png);
                }

                & #izquierda36{
                    background-image: url(/ejercicios/estilos_eventos/img/flecha_izquierda.png);
                }

                & #derecha36{
                    background-image: url(/ejercicios/estilos_eventos/img/flecha_derecha.png);
                }

                & #reiniciar36{
                    background-image: url(/ejercicios/estilos_eventos/img/recargar.png);
                }
            }

            & #pantalla36{
                position: relative;
                height: 65%;
                width: 90%;
                background-color: white;

                & #coche36{
                    background-size: 100%;
                    background-position: center;
                    background-repeat: no-repeat;
                    background-image: url(/ejercicios/estilos_eventos/img/coche.png);
                    position: absolute;
                    height: 67px;
                    width: 160px;
                    transition: 0.1s;
                }
            }
        }
    }

    & #ejercicio37{
        & >div:nth-child(2){
            display: flex;
            gap: 20px;
            & >div{
                padding: 15px;
                border-radius: 15px;
                background-color: #a7bbd8;
                color: black;
            }
        }

        & button{
            font-size: 20px;
        }
    }

    & #ejercicio38{
        & div:nth-child(2){
            display: flex;
            align-items: center;
            justify-content: center;
            & #caja38{
                margin-left: 5px;
            }

            & #foto38{
                height: 20vh;
                width: 15vw;
                border: 2px solid black;
                margin-left: 20px;
                background-image: url(/ejercicios/estilos_eventos/img/Vargas.webp);
                background-position: center;
                background-size: cover;
                background-repeat: no-repeat;
                border-radius: 15px;
            }
        }
    }

    & #ejercicio39{
        flex-direction: row;

        & >div:nth-child(2){
            width: 20vw;
            display:flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            align-items: center;
            gap:10px;

            & >div:nth-child(1){
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 20px;

                & #vueltas39{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #202125;
                    background-color: #a7bbd8;
                    width: 6vw;
                    height: 6vh;
                    border-radius: 5px;
                    font-size: 25px;
                }
            }
        }

        & >div:nth-child(3){
            display: flex;
            align-items: center;
            justify-content: center;

            gap: 5px;

            & button{
                height: 10vh;
                width: 5vw;
                margin: 0;
                background: transparent;
                border: none;
                background-position: center;
                background-size: contain;
                background-repeat: no-repeat;
            }

            & #flechaiz39{
                background-image: url(/ejercicios/estilos_eventos/img/flecha_izquierda39.png);
            }

            & #flechade39{
                background-image: url(/ejercicios/estilos_eventos/img/flecha_derecha39.png);
            }

            & #foto39{
                height: 20vh;
                width: 15vw;
                border: 2px solid black;
                background-position: center;
                background-size: cover;
                background-repeat: no-repeat;
                background-image: url(/ejercicios/estilos_eventos/img/imagen34.webp);
                transition: 0.5s;
            }
        }
    }

    & #ejercicio40{
        & button{
            font-size: 15px;
        }
    }

    & #ejercicio41{
        flex-direction: row;
        width: 70vw;
        gap:100px;

        & .imagenes41{
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            border: 2px solid black;
            height: 20vh;
            width: 15vw;
        }

        & #imagen141{
            background-image: url(/ejercicios/estilos_eventos/img/Vargas.webp);
        }

        & #imagen241{
            background-image: url(/ejercicios/estilos_eventos/img/bariloche.avif);
        }

        & #imagen341{
            background-image: url(/ejercicios/estilos_eventos/img/Buenos_Aires.avif);
        }
    }

    & #ejercicio42{
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 90vw;
        height: 90vh;
        background-color: #141414;
        padding-top: 20vh;
        overflow: hidden;

        & #degradado{
            position: absolute;
            top:0;
            z-index: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, black 0%, rgba(255, 255, 255, 0) 30%);
        }

        & .letrero{
            font-size: 70px;
            color: #e50914;
            font-family: 'Bebas Neue';
            font-weight: normal;
        }

        & .botones{
            z-index: 4;
            background-color: #474849;
            height: 18vh;
            width: 1.5vw;
            border: none;
            border-radius: 8px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 15px;
            margin: 8px;
            pointer-events: all;
        }

        & #degradadoiz{
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            z-index: 3;
            position: absolute;
            left: 0;
            height: 55vh;
            width: 20vw;
            background: linear-gradient(to right, #141414 0%, rgba(255, 255, 255, 0) 100% );

            & #deslizariz{
                background-image: url(/ejercicios/estilos_eventos/img/deslizar_izquierda.png);
            }
        }

        & #degradadode{
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            z-index: 3;
            position: absolute;
            right: 0;
            height: 55vh;
            width: 20vw;
            background: linear-gradient(to left, #141414 0%, rgba(255, 255, 255, 0) 100% );
            & #deslizarde{
                background-image: url(/ejercicios/estilos_eventos/img/deslizar_derecha.png);
            }
        }

        & #deslizador{
            transition: 0.5s;
            position: absolute;
            left: 0;
            bottom: calc(50% - 25vh);
            display: flex;
            column-gap: 20px;
            overflow-x: auto;
            height: auto;
            padding-left: 2vw;

            & .cajapelis{
                z-index: 1;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                flex-direction: column;
                gap:15px;
                background-color: #2b2a28;
                height: 30vh;
                transition: 0.1s;
                border-radius: 15px;
                width: 300px;
                cursor: pointer;

                & img{
                   width: 95%;
                   height: 70%;
                   margin-top: 2.5%;
                   border-radius: 15px;
                }

                & .titulopelis{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 90%;
                    height: 10%;
                    bottom: 0px;
                    left: 0;
                    margin: 0;
                    text-align: center;
                }
            }
        }
    }
}