body{
    justify-content: center;
    display: flex;
    flex-direction: column;
}

#c2{
    height: 30rem;
}

.d-block{
    height: 30rem;
    width: auto;
 
}

#carouselExampleIndicators{
    background-size:100% 100%; 
    background-repeat: no-repeat;

}




.seccion2{
    margin-left: auto;
    margin-right: auto;
    background-color: #EBF1F6;
    width: 95%;
    height: 20rem;
    
}

.col{
    text-align: center;
}

.c2-img{
    height: 17rem;
    width: 17rem;
    margin-top: 5%;
}





.sec2{
    width: 85%;
    height: 2rem;
    margin-left: auto;
    margin-right: auto;
    background: #070E17;
}

.sec2-principal{
    width: 85%;
    height: 60rem;
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-around;
}

.ultima{
    width: 74%;
    height: 45rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    display:flex;
    flex-wrap: wrap;
    
    padding-left:5%;
    padding-right: 5%;
    
}

.img{
    width: 25rem;
    height: 20rem;
    margin-top: 2%;
    margin: 2%;
}

.ultima img{
    width: 100%;
    height: 100%;
}

.ultima img:hover{
    box-shadow: 0 0 30px black;
}




.sec2-1{
    width: 50%;
    height: 85%;
    margin-top: 2.5%;
    text-align: center;
}

.sec2-2{
    width: 45%;
    height: 92%;
    margin-top: 2.5%;
    text-align: center;
}

#sucursal{
    height: 100%;
    width: 90%;
    margin-left: 5%;
}

.sec2-1 a{
    margin-top: 5%;
    font-size: 1.5rem;
    width: 20rem;
}

#sucursal2{
    width: 70%;
    height: 50%;
    margin-bottom: 5%;

}






.videos{
    margin: 2rem;
    text-align: center;
}

.cards{
    display: flex;
    justify-content: space-around;
}

.card{
    height: 25rem;
    width: 15rem;
    text-align: left;
}

video{
    margin: 1rem;
    height: 60%;
    width: auto;
}

footer{
    background: #070E17;
}


/*--------------------------------- Responsive Media Quaries -----------------------------*/

@media only screen and (min-width: 1200px) {
	.ultima{
        width: 80%;
        height: 50rem;
    }

    .img{
        width: 22rem;
        height: auto;
    }
    
    
    .card-title{
        font-size: 1.2rem;
    }

    
 }
 
 /* Medium Device = 1200px */
 
 @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .seccion2{
        height: 16rem;
    }
    .c2-img{
        height: 13rem;
        width: 13rem;
        margin-top: 5%;
    }


    .ultima{
        width: 80%;
    }

    .img{
        width: 20rem;
        height: auto;
    }
    
    
    .d-block{
        height: 20rem;
        width: auto;
    
    }
    #carouselExampleIndicators{
        height: 20rem;
        width: auto;
    }
    
    
    .card-title{
        font-size: 1rem;
    }
 }

 @media only screen and (min-width: 900px) and (max-width: 800px){
    .seccion2{
        height: 18rem;
    }
    .c2-img{
        height: 16rem;
        width: 25rem;
        margin-top: 5%;
    }
 }
 
  /* Tablet Device = 768px */
 
 @media only screen and (min-width: 768px) and (max-width: 991px) {
    .seccion2{
        height: 36rem;
        justify-content: center;
    }
    .c2-img{
        height: 16rem;
        width: 20rem;
        margin-top: 5%;
    }
    .sec2-2{
        display: flex;
        flex-wrap: wrap;
    }



    .ultima{
        width: 90%;
        height: 50%;
    }
    .img{
        width: 15rem;
        height: 15rem;
        background-color: #070E17;

    }
    .ultima img{
        width: 15rem;
        height: 15rem;
    }



    
    .d-block{
        height: 20rem;
        width: auto;
    
    }
    #carouselExampleIndicators{
        height: 20rem;
        width: auto;
    }
    

    .card-title{
        font-size: 1rem;
    }
 }
 
 
 /* Wide Mobile = 480px */
 
 @media only screen and (max-width: 767px) {
    .d-block{
        height: 12.5rem;
        width: auto;
    
    }
    #carouselExampleIndicators{
        height: 13rem;
        width: auto;
    }



    .seccion2{
        height: 26.5rem;
    }
    .c2-img{
        height: 12rem;
        width: 12rem;
        margin-top: 5%;
    }


    .sec2-principal{
        height: 94rem;
    }
    .sec2-1{
        width: 24rem;
        height: 50rem;
    }    
    .sec2-2{
        width: 22rem;
        height: 33rem;
        margin-top: 20%;
    }
    



    .ultima{
        width: 100%;
        height: 50%;
    }
    .img{
        width: 10rem;
        height: 10rem;
    }
    .ultima img{
        width: 10rem;
        height: 10rem;
    }



    .cards{
        display: flex;
        flex-wrap: wrap;
    }
    .card{
        height: 21rem;
        width: 12rem;
        text-align: left;
        margin-bottom: 2rem;
    }
    video{
       
        height: 60%;
        width: auto;
    }
    .card-title{
        font-size: 1rem;
    }
    .card a{
        width: 10rem;
        font-size: .8rem;
    }

    
  }

  @media only screen and (min-width: 310px) and (max-width: 616px) {
    .d-block{
        height: 10rem;
        width: auto;
    
    }
    #carouselExampleIndicators{
        height: 10rem;
        width: auto;
    }



    .seccion2{
        height: 18rem;
        width: 20rem;
    }
    .c2-img{
        height: 8rem;
        width: 8rem;
        margin: 5%;
    }



    .sec2-principal{
        height: 60rem;
    }
    .sec2-1{
        width: 16rem;
        height: 22rem;
    }    

    .sec2-1 a{
        font-size: 1rem;
        width: 15rem;
    }

    .sec2-2{
        width: 20rem;
        height: 25rem;
        margin-top: 15%;
    }


    .ultima{
        width: 100%;
        height: 50%;
    }
    .img{
        width: 8rem;
        height: 8rem;
    }
    .ultima img{
        width: 100%;
        height: 100%;
    }
  }