.cards{
    float: center;
    margin: 20px;
}

.cards .card1{
    background: #4d0686;
    display: flex;
    width: 95%;
    height: 400px;
    align-items: center;
    border-top-left-radius: 500px;
    border-bottom-left-radius: 500px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
    margin: 30px;
}

.cards .card2{
    background: #4d0686;
    display: flex;
    width: 95%;
    height: 400px;
    align-items: center;
    border-top-left-radius: 500px;
    border-bottom-left-radius: 500px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
    margin: 30px;
}


.cards .card1 img{
    position: relative;
    right: 0px;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
    margin-right: 15px;
}

.cards .card2 img{
   position: relative;
    right: 0px;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
    margin-right: 15px;
}

.cards .card1 > .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card2> .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card1    > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}

.cards .card2    > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}



@media screen and (max-width:900px){
    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card1{
        width: 90%;
    }

    .cards .card1:first-child{
        margin-bottom: 30px;
    }

    .cards .card2{
        width: 90%;
    }

    .cards .card2:first-child{
        margin-bottom: 30px;
    }


}

@media screen and (max-width:1000px){

    .cards .card1{
        height: 950px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card1    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card1    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card1 img{
        border-radius: 0px;
        width: 100%;
        height: 600px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }

    .cards .card2{
        height: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card2    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card2    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card2 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }


}

@media screen and (max-width:900px){

    .cards .card1{
        height: 950px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card1    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card1    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card1 img{
        border-radius: 0px;
        width: 100%;
        height: 550px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }

    .cards .card2{
        height: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card2    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card2    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card2 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }


}

@media screen and (max-width:800px){

    .cards .card1{
        height: 950px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card1    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card1    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card1 img{
        border-radius: 0px;
        width: 100%;
        height: 500px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }

    .cards .card2{
        height: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card2    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card2    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card2 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }


}

@media screen and (max-width:700px){

    .cards .card1{
        height: 950px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card1    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card1    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card1 img{
        border-radius: 0px;
        width: 100%;
        height: 450px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }

    .cards .card2{
        height: 550px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card2    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card2    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card2 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }


}

@media screen and (max-width:600px){

    .cards .card1{
        height: 950px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card1    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card1    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card1 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }

    .cards .card2{
        height: 670px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card2    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card2    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card2 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }


}


@media screen and (max-width:500px){

    .cards .card1{
        height: 950px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card1    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card1    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card1 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }

    .cards .card2{
        height: 650px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
    }

    .cards .card2    > .contenido-texto-card h1{
    text-align: center;
    padding-top: 5px;
    }

    .cards .card2    > .contenido-texto-card p{
    text-align: center; 
    padding-top: 5px;
    right: 10px;
    }

    .cards .card2 img{
        border-radius: 0px;
        width: 100%;
        height: 300px;
        position: relative;
        left: 0px;
        margin-right: 0px;
    }


}


.cuerpo{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

img{
    max-width: 100%;
}

.container-all{
    position: relative;
    max-width: 800px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.slide{
    display: flex;
    transform: translate3d(0,0,0);
    transition: all 600ms;
    animation-name: autoplay;
    animation-duration: 6.5s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

.item-slide{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 100%;
}

.pagination{
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pagination-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid white;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    text-align: center;
    transition: all 300ms;
}

.pagination-item:hover{
    transform: scale(2);
}

.pagination-item img{
    display: inline-block;
    max-width: none;
    height: 100%;
    transform: scale(1.0);
    opacity: 0;
    transition: all 300ms;
}

.pagination-item:hover img{
    opacity: 1;
    transform: scale(1.0);
}


input[id="1"]:checked ~ .slide{
    animation: none;
    transform: translate3d(0, 0, 0);
}

input[id="1"]:checked ~ .pagination .pagination-item[for="1"]{
    background: white;
}

input[id="2"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100%*1), 0, 0);
}

input[id="2"]:checked ~ .pagination .pagination-item[for="2"]{
    background: white;
}

input[id="3"]:checked ~ .slide{
    animation: none;
    transform: translate3d(calc(-100%*2), 0, 0);
}

input[id="3"]:checked ~ .pagination .pagination-item[for="3"]{
    background: white;
}

@keyframes autoplay{
    33%{
        transform: translate3d(calc(-100%*0), 0px, 0px);
    }

    66%{
        transform: translate3d(calc(-100%*1), 0px, 0px);
    }

    100%{
        transform: translate3d(calc(-100%*2), 0px, 0px);
    }
}