body {
    scroll-behavior: smooth;
}

.oContainer{
    background: linear-gradient(to right, #8c52ff, #ff914d);
    height: 80vh;
    display: flex;
    margin-bottom: 2em;
    position: relative;
    padding-left: 10%;
    align-items: center;
}

.pantallaO{
    position: absolute;
    z-index: 10;
    right: 0;
    width: 50%;
    height: 80vh;
}

.infoO{
    width: 30%;
    font-size: 25px;
    padding: 0 4em;
}

.niveles{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.niveles li, .infoO li {
    margin-bottom: 0.5em;
}

.titleO {
    position: absolute;
    left: 0;
    background-color: #593dd3;
    color: white;
    border-radius: 2em 0 0 2em;
    padding: 2em 1em;
    font-size: 40px;
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
}

.slider{
    width: 100%;
    height: 100vh;
    display: grid;
    place-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2em;
}

.titleSlide{
    position: absolute;
    right: 0;
    background-color: #593dd3;
    color: white;
    border-radius: 0 2em 2em 0;
    padding: 2em 1em;
    font-size: 40px;
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
    z-index: 10;    
}

.slide{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.slide img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.slide ul{
    display: flex;
    padding: 0;
    margin: 0;
    width: 500%;
    list-style: none;
    animation: slide 20s infinite cubic-bezier(0.55, 0.48, 0.37, 0.92);
}

.slide ul li{
    width: 100%;
}

@keyframes slide {
    0% { margin-left: 0; }
    20% { margin-left: 0; }

    25% { margin-left: -100%; }
    40% { margin-left: -100%; }

    45% { margin-left: -200%; }
    60% { margin-left: -200%; }

    65% { margin-left: -300%; }
    80% { margin-left: -300%; }

    85% { margin-left: -400%; }
    100% { margin-left: -400%; }
}





/* aqui inicia el responsive*/

@media screen  and (max-width:1000px){
    .pantallaO{
        display: none;
    }

    .infoO{
        font-size: 17px;
        padding-left: 7em;
        width: 55%;
    }

    .niveles{
        font-size: 15px;
    }

    
}