/* Carrousel */
.carousel-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
    width: 98%;
}
.carousel-wrapper section.carousel {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    display: flex;
    gap: 0.5em;
    scrollbar-width: none;
}

div.carousel-item a:hover {
    cursor: pointer;
    transform-origin: center center;
    transition: transform .3s;
    transform: scale(1.1);
}

/* Mode Paysage */
/* ORDI */
@media screen and (min-width:768px) {
    section#pays {
        height: 230px;
    }
    div.carousel-item {
        transform: translateY(15px);
    }
    div.carousel-item_paysage {
        min-width: calc(90vw / 5);
        max-width: calc(90vw / 5);
        height: 200px;
        margin: 0 5px;
        background: transparent;
        border-radius: 10px;
        display: flex;
        justify-content: center;
    }
    div.carousel-item_paysage img {
        width: 100%;
        height: calc(100% - 30px);
        border-radius: 10px;
        object-fit: cover;
    }

}
/* TEL */
@media screen and (max-width:768px) {
    div.carousel-item_paysage {
    min-width: 45vw;
    max-width: 45vw;
    height: 180px;
    margin: 0 3px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}
    div.carousel-item_paysage img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }
}
div.carousel-item_paysage p {
    color: #fff;
    max-width: 100%;
    font-size: 18px;
    padding: 5px;
    text-align: center;
}


/* Mode Portrait */
/* ORDI */
@media screen and (min-width:768px) {
    section#port {
        height: 405px;
    }
    div.carousel-item {
        transform: translateY(15px);
    }
    div.carousel-item_portrait {
        min-width: calc(90vw / 6);
        max-width: calc(90vw / 6);
        height: 375px;
        margin: 0 5px;
        background: transparent;
        border-radius: 10px;
        display: flex;
        justify-content: center;
    }
}
/* TEL */
@media screen and (max-width:768px) {
    div.carousel-item_portrait {
    min-width: 40vw;
    max-width: 40vw;
    height: 300px;
    margin: 0 3px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}
}

div.carousel-item_portrait img {
    width: 100%;
    height: calc(100% - 60px);
    border-radius: 10px;
    object-fit: cover;
}
div.carousel-item_portrait p {
    color: #fff;
    max-width: 100%;
    font-size: 18px;
    padding: 5px;
    text-align: center;
}


/* Bouton */
/* Mode Paysage */
.arrows_paysage {
    width: 30px;
    height: 200px;
    outline: none;
    border: none;
    background-color: #232323;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    opacity: 1;
    cursor: pointer;
    transition: all 0.1s ease;
    padding: 0;
    pointer-events: all;
}

/* Mode Paysage Telephone */
@media screen and (max-width: 768px) {
    .arrows_paysage {
    width: 20px;
    height: 125px;
    outline: none;
    border: none;
    background-color: #232323;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: initial;
    opacity: 1;
    cursor: pointer;
    transition: all 0.1s ease;
    padding: 0;
    pointer-events: all;
}
}

/* Mode Portrait */
.arrows_portrait {
    width: 30px;
    height: 375px;
    outline: none;
    border: none;
    background-color: #232323;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    opacity: 1;
    cursor: pointer;
    transition: all 0.1s ease;
    padding: 0;
    pointer-events: all;
}

/* Mode Portait Telephone */
@media screen and (max-width: 768px) {
.arrows_portrait {
    width: 20px;
    height: 240px;
    outline: none;
    border: none;
    background-color: #232323;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: initial; 
    opacity: 1;
    cursor: pointer;
    transition: all 0.1s ease;
    padding: 0;
    pointer-events: all;
}
}

.arrows:hover {
    background-color: #5e4c5a;
    transform: scale(1.1);
}
.arrow-inactive {
    opacity: 0.5;
    cursor: auto;
} 
.arrow-inactive:hover {
    transform: none;
}

p.arrow_logo {
    color: #fff;
    font-size: 30px;
}

/* Telephone*/
@media screen and (max-width: 768px) {
    p.arrow_logo {
    color: #fff;
    font-size: 25px;
}
}

/* Overflow donc IMPORTANT */
.overflow {
    overflow-x: auto;
    scrollbar-width: thin;
}
  
.carousel-wrapper.scrollbar-overflow ::-webkit-scrollbar {
    height: 6px;
 }
  
.carousel-wrapper ::-webkit-scrollbar {
    height: 0px;
}
  
.carousel-wrapper ::-webkit-scrollbar-track {
    background: #c0b6af;
    border-radius: 10pt;
}
  
.carousel-wrapper ::-webkit-scrollbar-thumb {
    background: #5e4c5a;
    border-radius: 10pt;
}
  
.carousel-wrapper ::-webkit-scrollbar-thumb:hover {
    background: #2d242b;
}