@import 'header.css';
@import 'footer.css';
@import 'avis.css';

.clear {
    clear: both;
}
img {
    max-width: 100%;
    border: 0;
}

.owl-nav {
    display: none;
}

ul,
ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    outline: none;
    transition: all 0.4s ease-in-out;
}
a:hover {
    color: #e73700;
}
h1 {
    padding-top: 100px;
    margin-bottom: 10px;
    padding-bottom: 20px;
    background-image: linear-gradient(to right, #471d09, #945f1afd, #dada0c, #00aeff, #0000ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 50px;
    line-height: 40px;
    font-weight: 800;
    position: relative;
    text-transform: capitalize;
    text-align: center;
    display: block;
}
h2 {
    font-size: 30px;
    font-weight: 600;
    color: #369ea1;
    margin-bottom: 20px;
    text-align: center;
}
h3 {
    font-size: 30px;
    font-weight: 600;
    color: #47cbcf;
    margin-bottom: 20px;
}
.bloc-top {
    padding: 20px;
    display: block;
    width: 100%;
    border: none;
    outline: none;
    font-size: 20px;
    justify-content: space-between;
    align-items: center;
    background: rgb(103, 75, 224);
    color: #f1f1f1;
    cursor: pointer;
    border-radius: 5px;
}
.bloc-top img {
    width: 20px;
}
.bloc-links {
    padding: 0 22px;
}
.bloc-links li {
    list-style-type: none;
    padding: 5px 0;
}
.bloc-links li a {
    font-size: 18px;
    color: #f1f1f1;
    margin-left: 5px;
}
.bloc-links li:last-child {
    padding-bottom: 25px;
}
#swiper-accueil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.game-section {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px;
}
.game-section .owl-stage {
    margin: 15px 0;
    display: flex;
}
.game-section .item {
    margin: 15px 15px 60px;
    width: 320px;
    height: 400px;
    display: flex;
    align-items: flex-end;
    background: #343434 no-repeat center center / cover;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}
.game-section .item.active {
    width: 400px;
    box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
}
.game-section .item:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}
.game-section .item-desc {
    padding: 0 24px 12px;
    color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: translateY(calc(100% - 80px));
    transition: all 0.4s ease-in-out;
}
.game-section .item.active .item-desc {
    transform: none;
}
.game-section .item-desc p {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s ease-in-out 0.2s;
}
.game-section .item.active .item-desc p {
    opacity: 1;
    transform: translateY(0);
}
.game-section .owl-theme.custom-carousel .owl-dots {
    display: none;
}
.owl-stage-outer {
    height: 450px;
}
.owl-dot {
    display: none;
}
.section2 p {
    text-align: center;
    margin: 0 50px;
}
.section2 h2 {
    margin: 20px;
    margin-top: 90px;
    margin-bottom: 90px;
    font-size: 32px;
    color: #fff;
    text-align: center;
}
.section2 {
    min-height: 700px;
    background-image: url('../image/habitats/Jungle.webp');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.651);
    margin: 0 30px;
    padding: 20px;
    padding-bottom: 50px;
}
.center-button:hover {
    background-color: #3e8e41;
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.center-button {
    background-color: #af984c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yellow-button {
    background-color: rgb(255, 183, 0);
    color: rgb(255, 255, 255) ;
    border: none;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    border-radius: 5px;
}

.yellow-button:hover {
    background-color: #ffd700; /* Couleur légèrement plus foncée au survol */
}

.modal-content {
    background-color: #fefefe;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 10px;
    width: 20%; /* Ajustez la largeur selon vos besoins */
}
.modal-video {
    width: 100%; /* Ajustez la largeur selon vos besoins */
    max-width: 400px; /* Limitez la largeur maximale */
    height: auto; /* Maintenez le ratio d'aspect */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
}



.carousel-avis .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #fff; /* Définir le fond en blanc */
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    min-height: 250px; /* Définir une hauteur minimale */
    height: 100%; /* Ajuster automatiquement la hauteur */
    color: #000; /* Définir la couleur du texte en noir pour contraste */
}

.carousel-avis .avis-content {
    margin-bottom: 10px;
    color: #000; /* Définir la couleur du texte en noir pour contraste */
}

.carousel-avis .rating i {
    color: #FFD700; /* Couleur des étoiles */
}

.carousel-avis {
    margin-top: 20px; /* Ajustez cette valeur selon vos besoins */
}

.carousel-avis .owl-stage-outer {
    height: auto; /* Ajuster automatiquement la hauteur */
}

.owl-dots {
    display: none;
}