:root {
    --negro         : #000000;
    --blanco        : #ffffff;
    --grisClaro     : #f0f0f0;
    --azul1         : #4CC0E0;
    --azul2         : #29A2D1;
    --verdeBrilloso : #acca27;
}

.container {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
    width: 85%;
}

@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

.user-name {
    font-size: 1.8rem;
    line-height: 30px;
    padding: 0 15px;
    color: var(--blanco);
}

@media (max-width: 500px) {
    .container {
        padding: 3rem 0 1rem;
    }

    .user-name {
        line-height: 2rem;
    }
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin: 0 70px 55px;
}

.card-list {
    height: 30rem;
    display: flex;
    align-items: center;
}

@media (max-width: 400px) {
    .card-list {
        height: 33rem;
    }
}

@media (max-width: 330px) {
    .card-list {
        height: 36rem;
    }
}

.card-list .card-item {
    position: relative;
    color: var(--blanco);
    user-select: none;
    text-align: center;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    backdrop-filter: blur(30px);
    background: linear-gradient(var(--verdeBrilloso), var(--azul2));
    border: 1px solid var(--grisClaro);
    line-height: 2.8rem;
}

.card-list .card-item .user-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 3px solid var(--blanco);
    padding: 4px;
}

.card-list .card-item .user-image-solo {
    font-size: 5rem;
    padding-top: 3rem;
}

.contenedor-persona-solo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-list .card-item .user-profession {
    font-size: 1rem;
    color: var(--grisClaro);
    font-weight: 500;
    margin: 25px 0;
    line-height: 1.3rem;
    padding: 0 20px;
}

.slider-wrapper .swiper-pagination-bullet {
    background: var(--negro);
    height: 15px;
    width: 15px;
}

.slider-wrapper .swiper-slide-button {
    color: var(--negro);
    margin-top: -50px;
    transition: 0.2s ease;
}

.slider-wrapper .swiper-slide-button:hover {
    color: var(--azul1);
}

@media (max-width: 768px) {
    .slider-wrapper {
        margin: 0 10px 40px;
    }

    .slider-wrapper .swiper-slide-button {
        display: none;
    }
}

.card-item .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    transition: 0.5s;
}

.card-item .front {
    transform: perspective(600px) rotateY(0deg);
    top: 0;
    padding: 2rem 0;
}

.card-item .back {
    line-height: 1.3rem;
    padding: 2rem 1rem;
    border-radius: 1rem;
    top: 0;
    transform: perspective(600px) rotateY(180deg);
    background: rgba(71, 180, 243, 0.726);
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card-item .back h3 {
    color: var(--blanco);
}

.card-item:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.card-item:hover .back {
    transform: perspective(600px) rotateY(360deg);
}

.back h3 {
    font-size: 1.6rem;
    line-height: 2rem;
}

.back .link {
    background-color: var(--blanco);
    border-radius: 1rem;
}

.detalle {
    width: 80%;
    margin: 0 auto;
    text-decoration: none;
    font-weight: bold;
    color: var(--negro);
    border: 2px solid var(--blanco);
    padding: 0.3rem;
    border-radius: 1rem;
}

.back .link:hover {
    background-color: var(--negro);
    color: var(--blanco);
}
