.banner-section {
    width: 100%;
    height: 625px;
}
.banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* swiper */
.banner-section .swiper,
.banner-section .swiper-wrapper,
.banner-section .swiper-slide {
    height: 100%;
}
.swiper-pagination-bullet {
    background-color: #ccc !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active {
    background-color: #555 !important;
}
.img-mobile{
    display: none;
}
/*Values*/
.card-value{
    border: #004a8b solid 3px;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    margin-left: 25px;
}
.card-value img{
    width: 50px;
}
.card-value h3{
    font-size: 20px;
    color: #004a8b;
    font-weight: bold;
}
.card-value p{
    font-size: 14px;
    text-align: justify;
}
/* Racing */
.bg-secondary-loayza{
    background-color: #0bbaff;
}
.title-racing{
    display: inline-block; 
    background-color: #004a8b;
    padding: 20px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
}
.card-racing {
    border: #004a8b solid 8px;
    border-radius: 30px;
    margin-left: 20px;
    width: 100%;
    height: 600px;
    overflow: hidden;
    transition: all 0.35s ease;
}
.container-img-racing {
    width: 100%;
    height: 80%;
    transition: height 0.35s ease;
}
.card-racing img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 20px 20px 0 0;
}
.container-title-racing {
    height: 20%;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    transition: height 0.35s ease, background-color 0.35s ease, color 0.35s ease;
    overflow: hidden;
    background: #fff;
    color: #004a8b;
    text-align: center;
}
.container-title-racing h4 {
    font-weight: bold;
    margin-bottom: .5rem;
}
.container-title-racing p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, max-height 0.35s ease;
    margin: 0;
    text-align: justify;
}
/* Hover */
.card-racing:hover .container-img-racing {
    height: 40%;
}
.card-racing:hover .container-title-racing {
    height: 60%;
    background-color: #004a8b;
    color: #fff;
}
.card-racing:hover .container-title-racing h4 {
    color: #fff;
}

.card-racing:hover .container-title-racing p {
    opacity: 1;
    max-height: 400px;
}
/* news */
.card.new{
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.card.new img{
    border-radius: 30px 30px 0 0;
}
/* multimedia */

@media (max-width: 768px) {
    .banner-section {
        height: 350px;
    }
    .banner-section img {
        object-fit: fill;
    }
    .img-desk{
        display: block;
    }
    /*cards*/
    .card-value img{
        width: 35px;
    }
    .card-value h3{
        font-size: 16px;
    }
    .card-value p{
        font-size: 12px;
    }
    /*racing*/
    .row-carreras {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
    }
    .row-carreras::-webkit-scrollbar {
        display: none;
    }
    .row-carreras > .col-12 {
        flex: 0 0 80%;
        max-width: 80%;
    }
    .container-title-racing h4{
        font-size: 28px;
    }
}
@media (max-width: 425px) {
    .banner-section {
        height: 200px;
    }
    .img-desk{
        display: none;
    }
    .img-mobile{
        display: block;
    }
    .row-carreras > .col-12{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .card-racing{
        margin-left: 0;
    }
    /*Values*/
    .card-value{
        margin: 30px;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .title-racing{
        font-size: 20px;
    }
    .racing{
        padding: 0 !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}


