@import url(base.css);
.certificados .info h1, .certificaciones h2{
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--azulMedio);
}
.info{
    padding: 40px;
}
.infoCont{
    max-width: 1200px;
    margin: auto;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
    gap: 40px;
}
.infoCont img{
    width: 350px;
    height: 350px;
    border-radius: 100%;
}
.infoCont p{
    color: var(--azulOscuro);
    font-size: 20px;
    text-align: center;
}
.certificaciones{
    background-color: var(--azulMedio);
    padding: 40px;
}
.certificaciones h2{
    color: var(--blanco);
}
.certiCont{
    max-width: 1200px;
    margin: auto;
    position: relative;
}
.certiCont label{
    cursor: pointer;
}
.certiCont label i{
    font-size: 43px;
}
.certiCont input[type=radio]{
    display: none;
}
#certJose1:checked ~ .arrow1,
#certJose2:checked ~ .arrow2{
    display: none;
}
#certJose2:checked ~ .aux .certiCarrusel{
    margin-left: calc(-100% - 40px);
}
.arrow1{
    position: absolute;
    left: 0;
    top: calc(50% - 21.5px);
}
.arrow2{
    position: absolute;
    right: 0;
    top: calc(50% - 21.5px);
}
.bullet{
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: inline-block;
    transition: all 0.3s ease;
}
.blanco{
    border: 1px var(--blanco) solid;
}
#certJose1:checked ~ .certiBullets .blanco:nth-child(1),
#certJose2:checked ~ .certiBullets .blanco:nth-child(2){
    background-color: var(--blanco);
}
.aux{
    max-width: 1050px;
    margin: auto;
    margin-bottom: 40px;
    overflow: hidden;
}
.certiCarrusel, .certiCarruselMiguel{
    width: calc(200% + 40px);
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
    gap: 40px;
    transition: all 0.3s ease;
}
.carruselCont, .carruselContMiguel{
    max-width: 1050px;
    height: 615px;
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	align-content: stretch;
    gap: 44px;
}
.card{
    display: inline-block;
    width: 320px;
    padding: 10px;
    background-color: var(--blanco);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.card:hover{
    box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.15);
}
.card img{
    width: 100%;
    max-height: 212px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.titulo{
    font-size: 20px;
    color: var(--azulOscuro);
}
.fecha{
    font-weight: bold;
    font-size: 12px;
    font-style: italic;
    color: var(--azulMedio);
}
.certiBullets, .certiBulletsMiguel{
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
    gap: 10px;
}
.Mobile{
    display: none;
}
@media only screen and (min-width: 0px) and (max-width: 1200px){
    .certificados .info h1, .certificaciones h2{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .info{
        padding: 20px;
    }
    .infoCont{
        max-width: 1200px;
        flex-direction: column;
        gap: 20px;
    }
    .infoCont img{
        width: 250px;
        height: 250px;
    }
    .infoCont p{
        font-size: 16px;
    }
    .certificaciones{
        padding: 20px;
    }
    .Desk{
        display: none;
    }
    .Mobile{
        display: block;
    }
    #mobJose1:checked ~ .certiBullets .blanco:nth-child(1),
    #mobJose2:checked ~ .certiBullets .blanco:nth-child(2),
    #mobJose3:checked ~ .certiBullets .blanco:nth-child(3),
    #mobJose4:checked ~ .certiBullets .blanco:nth-child(4),
    #mobJose5:checked ~ .certiBullets .blanco:nth-child(5),
    #mobMiguel1:checked ~ .certiBulletsMiguel .blanco:nth-child(1),
    #mobMiguel2:checked ~ .certiBulletsMiguel .blanco:nth-child(2){
        background-color: var(--blanco);
    }
    .aux{
        max-width: 260px;
        margin-bottom: 20px;
    }
    .certiCarrusel, .certiCarruselMiguel{
        width: calc(500% + 100px);
        gap: 20px;
    }
    .carruselCont, .carruselContMiguel{
        max-width: 260px;
        height: auto;
        gap: 20px;
    }
    .card{
        width: 260px;
    }
    .card img{
        max-height: 142px;
    }
    .titulo{
        font-size: 16px;
    }
    #mobJose1:checked ~ .arrow1,
    #mobJose1:checked ~ .arrow3,
    #mobJose1:checked ~ .arrow4,
    #mobJose1:checked ~ .arrow5,
    #mobJose2:checked ~ .arrow2,
    #mobJose2:checked ~ .arrow4,
    #mobJose2:checked ~ .arrow5,
    #mobJose3:checked ~ .arrow3,
    #mobJose3:checked ~ .arrow1,
    #mobJose3:checked ~ .arrow5,
    #mobJose4:checked ~ .arrow4,
    #mobJose4:checked ~ .arrow1,
    #mobJose4:checked ~ .arrow2,
    #mobJose5:checked ~ .arrow5,
    #mobJose5:checked ~ .arrow1,
    #mobJose5:checked ~ .arrow2,
    #mobJose5:checked ~ .arrow3,
    #mobMiguel1:checked ~ .arrow1,
    #mobMiguel2:checked ~ .arrow2{
        display: none;
    }


    #mobJose2:checked ~ .aux .certiCarrusel,
    #mobMiguel2:checked ~ .aux .certiCarruselMiguel{
        margin-left: calc(-100% - 20px);
    }
    #mobJose3:checked ~ .aux .certiCarrusel{
        margin-left: calc(-200% - 40px);
    }
    #mobJose4:checked ~ .aux .certiCarrusel{
        margin-left: calc(-300% - 60px);
    }
    #mobJose5:checked ~ .aux .certiCarrusel{
        margin-left: calc(-400% - 80px);
    }


    #mobJose2:checked ~ .arrow1,
    #mobJose3:checked ~ .arrow2,
    #mobJose4:checked ~ .arrow3,
    #mobJose5:checked ~ .arrow4,
    #mobMiguel2:checked ~ .arrow1{
        position: absolute;
        left: 0;
        top: calc(50% - 21.5px);
        max-width: 25px;
        rotate: 180deg;
    }
    #mobJose2:checked ~ .arrow3,
    #mobJose3:checked ~ .arrow4,
    #mobJose4:checked ~ .arrow5{
        position: absolute;
        right: 0;
        top: calc(50% - 21.5px);
        max-width: 25px;
    }
}