body{
    background-color: rgb(166, 25, 46);
}

/*---------PORTADA---------*/

.portada{
    width: 100%;
    height: 300px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:brightness(50%);
    object-position: center 45%;
}

.portada h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 40px;
    width: 100%;
}

/*Carrusel*/

.container-carrusel{
    display: flex !important;
    align-items: center;
    justify-content: center;
}


.card-wrapper{
    width: 1600px;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
}


.card-list .card-item{
    list-style: none;
}

.card-list .card-item .card-link:active{
    cursor: grabbing
}

.card-list .card-item .card-link{
    user-select: none;
    display: block;
    background-color: #fff;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.card-list .card-item .card-link:hover{
    border-color: black;
}

.card-list .card-link .card-image{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-list .card-link .card-name{
    color: black;
    font-weight: 400;
    text-align: center;
    margin: 10px 0;
    font-size: 20px;
    transition: all 0.2s ease;
}

.card-list .card-link .card-btn{
    margin: 0 auto;
    display: block;
    padding: 5px 40px;
    border-radius: 20px;
    border: 1px solid rgb(166, 25, 46);
    color: rgb(166, 25, 46);
    background-color: transparent;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.card-list .card-link:hover .card-btn{
    background-color: rgb(166, 25, 46);
    color: #fff;
    padding: 5px 30px ;
}

.card-wrapper .swiper-pagination-bullet{
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: #fff;
}

.card-wrapper .swiper-pagination-bullet-active{
    opacity: 1;
}

.card-wrapper .swiper-slide-button{
    margin-top: -35px;
    color: white;
}

.card-action{
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-action img{
    width: 40px;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
.card-wrapper{
    margin: 0 10px 25px;
}

.card-wrapper .swiper-slide-button{
    display: none;
}
}

@media (max-width: 1600px) {
    .card-wrapper{
        width: 1400px;
    }
}

@media (max-width: 1450px) {
    .card-wrapper{
        width: 1200px;
    }
}

@media (max-width: 1450px) {
    .card-wrapper{
        width: 1200px;
    }
}

@media (max-width: 760px) {
    .portada {
        margin-top: 150px;
        height: 207px;
    }

    .portada h1 {
        font-size: 30px;
    }

    .card-wrapper{
        width: 400px;
    }
}

/* Celulares pequeños */
@media (max-width: 600px) {
    .portada h1 {
        font-size: 25px;
    }
}
