@charset "UTF-8";

/*!
 * Home css - 1.1.1
*/
/* Section Home */
#home {
    height: 100vh;
    min-height: 720px;
    position: relative;
}

#home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#home .pcbarallax-img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Assure-toi que l'image est derrière l'overlay */
}

#home .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    text-align: start;
    z-index: 2;
}

#home .content h1,
#home .content h1 span {
    font-weight: 400 !important;
    text-transform: uppercase;
    font-size: 50px;
    color: var(--light);
}

#home .content p {
    font-weight: 300 !important;
    color: var(--light);
}

/* Card */

.pc-card {
    background-color: #fff !important;
    border: none !important;
    border-radius: 0px !important;
    overflow: hidden;
    position: relative;
    transition: transform .3s ease;
}

.pc-card .pc-card-image {
    --ratio: 1 / 1;
    width: 100%;
    aspect-ratio: var(--ratio);
    overflow: hidden;
    background: transparent;
    padding: 0px;
    position: relative;
    transition: transform .3s ease;
}

.pc-card .pc-card-image.pc-xl {
    --ratio: auto;
}

.pc-card .pc-card-image.pc-sm {
    --ratio: 16/9;
}

.pc-card .pc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #ffffff;
    transition: transform .3s ease;
}

.pc-card .content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: 1;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    background: #646464;
    background: linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(25, 47, 42, 1) 100%);
}

.pc-card .content h3 {
    font-size: 25px;
}

.pc-card .content .rating {
    font-size: 10px;
}

.pc-card.pc-xl {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pc-card.pc-xl .pc-card-image {
    height: 100%;
    aspect-ratio: auto !important;
}

.pc-card.pc-xl .pc-card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}