@media (min-width: 992px) and (max-width: 1210px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 15px;
        padding-left: 15px;
    }

    .carousel-caption h1{
        font-size: 40px;
    }
    .carousel-caption p{
        font-size: 40px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header_area {
        height: 70px;
        padding: 0 30px;
    }
    .navbar-toggler {
        border: 2px solid #fff;
        margin: 10px 0;
    }
    .navbar-toggler span {
        color: #fff;
    }
    #navbarNav {
        background: #7450fe;
        background: -webkit-linear-gradient(to right, #314563, #000000);
        background: -webkit-linear-gradient(left, #314563, #000000);
        background: linear-gradient(to right, #314563, #000000);
        padding: 15px;
        padding-top: 25px;
        border-radius: 0 0 3px 3px;
        margin-top: 8px;
    }
    .navbar-brand{
        background: #fff;
        border-radius: 5px;
        position: absolute;
        width: 60px;
        height: 60px;
        left: 50px;
        top: 40px;
        text-align: center;
        z-index: 1;
    }

    .navbar-brand img{
        width: 50px;
        height: 50px;
    }

    .carousel-caption h1{
        font-size: 30px;
    }
    .carousel-caption p{
        font-size: 30px !important;
    }

    .banner .content .fuenteDigital{
        font-family: "Nebulous Content" !important;
        font-size: 20px;
    }
    
    .banner .content .espacios{
        font-family: "Bebas Neue";
        color: #ffffff;
        font-size: 45px !important;
        letter-spacing: 2px;
        word-spacing: 15px;
    }

    .columna_card{
        width: 45%;
        margin-right: 3%;
        margin: 0 auto;
    }
    
    .columna_card img{
        height: 350px;
    }

    #promesa{
        padding: 0px;
    }
    #info4-4{
        height: auto;
    }

    .btn {
        padding: 10px 40px !important;
    }

    .contacto {
        font-size: 27px;
    }

    .cid-sajLjzE6RH {
        padding: 60px 0px !important;
    }

    .card-text2{
        font-size: 14px;
    }

    #info4-4 h2 {
        font-size: 63px;
    }

    .portafolio-text .lineas5 {
        margin: 0px 0px 17px 0px !important;
    }

    #footer4-b .display-7 {
        font-size: 12px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .header_area {
        height: 70px;
        padding: 0 15px;
    }
    .navbar-toggler {
        border: 2px solid #fff;
        margin: 10px 0;
    }
    .navbar-toggler span {
        color: #fff;
    }
    #navbarNav {
        background: #7450fe;
        background: -webkit-linear-gradient(to right, #314563, #000000);
        background: -webkit-linear-gradient(left, #314563, #000000);
        background: linear-gradient(to right, #314563, #000000);
        padding: 15px;
        padding-top: 25px;
        border-radius: 0 0 3px 3px;
        margin-top: 8px;
    }

    .navbar-brand{
        background: #fff;
        border-radius: 5px;
        position: absolute;
        width: 60px;
        height: 60px;
        left: 50px;
        top: 40px;
        text-align: center;
    }

    .navbar-brand img{
        width: 50px;
        height: 50px;
    }

    .carousel-caption h1{
        font-size: 25px;
    }
    .carousel-caption p{
        font-size: 25px !important;
    }

    .banner{
        height: auto;
    }
    .banner .content .fuenteDigital{
        font-family: "Nebulous Content" !important;
        font-size: 16px;
        margin-top: 0px !important;
    }
    
    .banner .content .espacios{
        font-family: "Bebas Neue";
        color: #ffffff;
        font-size: 20px !important;
        margin-top: 15px;
    }

    .btn {
        padding: 5px !important;
      }

    .columna_card{
        width: 80%;
        margin: 0 auto;
    }

    .columna_card img{
        height: 300px;
    }

    .portafolio-text {
        padding: 50px 20px 95px 20px;
    }

    .portafolio-text .card-text2 {
        font-size: 14px;
    }
    
    .portafolio-text .lineas5 {
        margin: 0px 0px 2px 0px !important;
    }
    
    .contacto {
        margin-top: 0px;
        font-size: 25px;
    }

    .display-7 {
        font-size: 12px !important; 

    }

    .navbar-brand {
        z-index: 1;
    }

}

@media (max-width: 767px) {
    .carousel-caption h1{
        font-size: 16px;
        line-height: 30px;
    }
    
    .carousel-caption p{
        font-size: 16px !important;
        line-height: 30px;
    }
    
    .carousel-caption p.creditos{
        font-size: 12px !important;
        line-height: 11px;
        
    }

    .centrar{
        text-align: center !important;
        width: 50%;
    }

    .display-6{
        /* font-size: 20px !important; */
    }

    .carousel-item {
        height: 25rem;
    }

    .carousel-caption {
        bottom: 7rem !important;
    }

    .tituloHistoria {
        font-size: 30px;
    }

    #promesa {
        padding: 0px !important;
    }

    #promesa .rellenoCell{
        padding: 16px 0px !important;
    }

    #info4-4 {
        height: auto;
    }

    #info4-4 h2 {
        line-height: 53px;
        font-size: 35px;
    }


}

@media (max-width: 768px)
{
    .col-md-15
    {
        width: 50%;
        float: left;
    }

    /* Medidas para tablet  */

    
}
@media (min-width: 768px)
{
  .col-md-15
  {
    width: 25%;
    float: left;
  }
}
@media (min-width: 1200px)
{
  .col-md-15
  {
    width: 20%;
    float: left;
  }
}

@media (min-width: 991px) and (max-width: 1254px) {
    .portafolio-text {
        padding: 10px;
    }
}

@media (max-width: 455px) {
    .portafolio-text {
        padding: 30px;
    }
}

@media (min-width: 1128px) and (max-width: 1149px) {
    .portafolio-text .lineas5 {
        margin: 0px 0px 16px 0px !important;
    }
}