#slider{
    height: calc(100vh - 90px);
    width: 100%;
    position: relative;
    z-index: 0;
    background-color: rgba(85, 186, 202, 0.2);
    overflow: hidden;
}

.slide{
    text-align: center;
    background-size: cover;
    color: #fff;
    font-family: var(--font-open-sans);
    transition: all 0.7s ease-in-out;
    width: 100%;
    height: 100%;
    position: relative;
}
.caption{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
}
.caption-admision-tituto{
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 25px;
    top: 10%;
    width: 70%;
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@media(min-width:800px){
    .caption-admision-tituto{
        /*background: #8EC141;*/
        font-size: 38px;
        font-weight: 700;
        line-height: 45px;
        text-align: left;
        width: 28%;
        left: 12%;
        top: 25%;
        transform: unset;
    }
}
@media(min-width:1024px){
    .caption-admision-tituto{
        /*background: #8EC141;*/
        font-size: 42px;
        /*font-weight: 700;*/
        /*line-height: 45px;*/
        /*text-align: left;*/
        /*width: 28%;*/
        /*left: 12%;*/
        top: 23%;
        /*transform: unset;*/
    }
}
@media(min-width:1200px){
    .caption-admision-tituto{
        /*background: #8EC141;*/
        font-size: 50px;
        /*font-weight: 700;*/
        line-height: 55px;
        /*text-align: left;*/
        /*width: 28%;*/
        /*left: 12%;*/
        top: 28%;
        /*transform: unset;*/
    }
}
@media(min-width:1400px){
    .caption-admision-tituto{
        /*background: #8EC141;*/
        font-size: 60px;
        /*font-weight: 700;*/
        line-height: 55px;
        /*text-align: left;*/
        /*width: 28%;*/
        left: 15%;
        top: 20%;
        /*transform: unset;*/
    }
}
@media(min-width:1900px){
    .caption-admision-tituto{
        /*background: #8EC141;*/
        font-size: 70px;
        /*font-weight: 700;*/
        line-height: 73px;
        /*text-align: left;*/
        /*width: 28%;*/
        left: 20%;
        top: 25%;
        /*transform: unset;*/
    }
}
.caption-admision-imagen img{
    bottom: 0;
    position: absolute;
    width: 340px;
    animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    left: 50%;
    transform: translateX(-50%);
}
.matricula{
    /*background-color: #8EC141;*/
    background-image: url("../img/matricula.png");
    background-position: center;
    background-size: 260px 60px;
    background-repeat: no-repeat;
    color: #FFFFFF;
    font-family: 'Dancing Script', cursive;
    font-size: 35px;
    font-weight: 700;
    bottom: 90px;
    position: absolute;
    width: 260px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    text-shadow: black 0.05em 0.05em 0.1em
}
@media(min-width:800px){
    .matricula{
        background-size: 260px 80px;
        height: 80px;
        font-size: 40px;
        left: unset;
        right: 3%;
        padding-top: 6px;
        bottom: 70px;
    }
}
.slider a{
    background: #8EC141;
    border-radius: 8px;
    display: flex;
    width: 180px;
    height: 45px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25%;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@media(min-width:800px){
    .slider a{
        top: unset;
        bottom: 25%;
        left: 12%;
        transform: unset;
    }
}
@media(min-width:1200px){
    .slider a{
        bottom: 30%;
    }
}
@media(min-width: 1400px){
    .slider a{
        left: 15%;
    }
}
@media(min-width: 1900px){
    .slider a{
        left: 20%;
        bottom: 35%;
    }
}
@keyframes slide-in-bottom {
    0% {
        left: 50%;
        transform: translate(-50% , 1000px);
        opacity: 0;
    }
    100% {
        left: 50%;
        transform: translate(-50% , 0);
        opacity: 1;
    }
}
@media(min-width:800px){
    .caption{
        width: 83%;
    }
    .caption-admision-imagen img{
        width: 400px;
        left: unset;
        right: 12%;
        transform: unset;
    }
    @keyframes slide-in-bottom {
        0% {
            left: unset;
            transform: translateY(1000px);
            opacity: 0;
        }
        100% {
            transform: translateY( 0);
            opacity: 1;
        }
    }
}

@media(min-width:1024px){
    .caption-admision-imagen img{
        width: 500px;
    }
    .matricula{
        background-size: 350px 100px;
        height: 100px;
        font-size: 50px;
        right: 0;
        padding-top: 8px;
        bottom: 70px;
        width: 350px;
    }
}

@media(min-width:1200px){
    .caption-admision-imagen img{
        width: 550px;
        right: 12%;
    }
    .matricula{
        right: 4%;
    }
}
@media(min-width:1400px){
    .caption{
        width: 89%;
    }
    .caption-admision-imagen img{
        width: 570px;
        right: 15%;
    }
    .matricula{
        right: 9%;
    }
}
@media(min-width:1900px){
    .caption{
        width: 91%;
    }
    .caption-admision-imagen img{
        width: 680px;
        right: 20%;
    }
    .matricula{
        right: 19%;
    }
}
.s{
    background-size: cover;
    background-position: center;
    display: none;
    -webkit-animation: fade-in 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.slide h1{
    font-size: 40px;
    margin-bottom: 20px;
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
.slide p{
    font-size: 18px;
    text-align: center;
    margin: 0 auto;
    width: 73%;
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}
@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

button{
    background-color: #0338a6;
    padding: 12px 50px;
    border: initial;
    margin-top: 20px;
    width: 200px;
}
.boton{
    border-radius: 50%;
    position: absolute;
    top: 40%;
    border: 2px solid #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
}
.boton:hover{
    background-color: rgba(85, 186, 202,0.4);
    transition: all 0.5s ease-in-out;
    border: 2px solid #fff;
}
.boton:hover span{
    color: #fff;
    transition: all 0.5s ease-in-out;
}
.boton span{
    color: #fff;
    font-size: 25px;
}

.derecha{
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    padding: 6px 0 0 7px;
}
.izquierda{
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    padding: 6px 0 0 3px;
}

/*** PAGINACIÓN ***/
.paginacion{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
}
.paginacion li{
    list-style: none;
    width: 35px;
    height: 5px;
    background-color: #fff;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
}
.paginacion li:first-of-type{
    background-color: #8EC141;
}

.paginacion li:hover{
    background-color: rgba(0,0,0,0.3);
    transition: all 0.5s ease-in-out;
}
@media(min-width:800px) {
    #slider{
        height: calc(100vh - 110px);
    }
    .slide p{
        width: 80%;
    }
    .boton{
        width: 60px;
        height: 60px;
    }
    .boton span{
        font-size: 40px;
    }
    .derecha{
        padding: 7px 0 0 10px;
    }
    .izquierda{
        padding: 7px 0 0 5px;
    }
    .paginacion li{
        margin-right: 15px;
    }
}
@media(min-width:1024px) {
    .slide h1{
        font-size: 60px;
    }
    .slide p{
        width: 50%;
        font-size: 22px;
    }
    .derecha{
        right: 20px;
    }
    .izquierda{
        left: 20px;
    }
    .paginacion li{
        width: 45px;
        height: 7px;
        margin-right: 25px;
    }
}
@media(min-width:1200px){
    #slider{
        height: calc(100vh - 120px);
    }
}