::selection {
    background: greenyellow; 
    color: white;
}

.content-wrapper a {
    color: #878787;
}
.content-wrapper p {
    color: #87bd47;
}



@font-face {
    font-family: 'min';
    src: url('/Fonts/MINECRAFT/Minecraft.ttf');
}


@font-face {
    font-family: 'source-sans-proELI';
    src: url('/Police/SourceSansPro-ExtraLightIt.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'source-sans-proEL';
    src: url('/Police/SourceSansPro-ExtraLight.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'source-sans-proB';
    src: url('/Police/SourceSansPro-Black.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'source-sans-proL';
    src: url('/Police/SourceSansPro-Light.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'source-sans-proBI';
    src: url('/Police/SourceSansPro-BlackIt.woff2') format('woff2');
    font-display: swap;
}


html {
    font-size: 80%; 
    height: 100%;

}

body, html {
    height: 100%;
    margin: 0;
    background: black;
    font-family: 'min';
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-x: hidden;


}

.content-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    width: 80%; 
}

.vertical-links {
    text-decoration: none !important;
    position: absolute;
    font-size: 2.5rem;
    left: 6%; 
    transform: translateY(-50%);
    top: 49%;
}

.vertical-links a {
    cursor: none;
    font-size: 2.2rem;
    display: block;
    color: #878787;
    text-decoration: none;
    height: 3.3rem;
    width: 3rem;

}

.vertical-links p {
    cursor: none;
    font-size: 2.2rem;
    display: block;
    color: #87bd47;
    text-decoration: none;
    height: 2.5rem;
    width: 3rem;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 5%; 
    width: 100%; 
}

.image-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 5%; 
    width: 100%; 
}

.frame-container {
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;
    width: 65vw; 
    height: 60vh; 
    position: relative;
    overflow: hidden; 
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.frame-container img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain;
    
}

.compteur {
    font-size: 1.5rem;  
    padding: 10px; 
}

.horizontal-links {
    position: absolute;
    display: flex;
    font-size: 1.5vw;
    justify-content: center;
    bottom: 5%;
    left:0%;
    flex-wrap: wrap; 
    width: 100%; 
    gap: 3%; 
    line-height: 4rem;
    
}

.horizontal-links p {
    width: 10rem;
    cursor: pointer;
}

.horizontal-links img {
    width: 3rem;
    cursor: pointer;
}

.horizontal-links a {
    margin: 0 2%; 
    text-decoration: none;
    cursor: pointer;
}

.titre {
    position: absolute;
    line-height: 0.5em;
    top: 8%;
}

#youtubePlayerContainer {
    display: none; 
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    position: relative; 
    overflow: visible;
}

#youtubePlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; 
}
.titre1 {
    color: #87bd47;
    font-size: 2.4rem;

}
.star {
    color: #87bd47!important;
    margin: 0 2%; 
    cursor: none;
    font-size: 3.6rem;
    display: block;
    text-decoration: none;
    height: 3.3rem;
}

.vert1 {
    width: 8rem;
    font-size: 1.9rem;
    color: var(--min-color1) !important;
}

.vert2 {
    width: 8rem;
    font-size: 1.9rem;
    color: var(--min-color2) !important;
}

.vert3 {
    width: 8rem;
    font-size: 1.9rem;
    color: var(--min-color3) !important;
}

.vert4 {
    width: 8rem;
    font-size: 1.9rem;
    color: var(--min-color4) !important;
}


.img-fluid {
    width: 100%;
    height: auto;
    cursor: none;
}

.compteurTexte{
    color: #87bd47;

}
.compteurTexte2{
    color: #575756;

}

.couleurTexte{
    color: #87bd47;
}

.couleurTexte2{
    font-size: 2rem;
    color: #878787;
}

.carousel-text {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    z-index: 100000;    
}

.frame-container.expanded img:not(.fullscreen),
.frame-container.expanded .carousel-text {
    display: none;  
}

#curseurTexte {
    position: absolute;
    display: none;
    color: var(--min-color5);
    font-size: 2rem;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.05s ease-out;
    z-index: 10000000;
}

.fullscreen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}


.frame-container.expanded {
    width: 80vw;
    height: 80vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.frame-container.expanded img {
    width: 80vw;
    height: auto; 
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.fullscreen-counter {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    font-size: 1.5rem !important; /* Ajustez la taille selon vos besoins */
    color: #fff; /* Changer la couleur pour qu'elle soit visible sur un fond sombre */
}

.scene {
    cursor: none;
    perspective: 62.5rem; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20rem;
    margin-left: 4rem;
    z-index: 100000;
}

.cube {
    width: 100%;
    height: 100%;   
    position: relative;
    transform-style: preserve-3d;
    
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.front  { transform: translateZ(40%); } 

.fade-text span {
    opacity: 0;
    display: inline-block;
    animation: fadeInLetter 1.2s forwards;
}

@keyframes fadeInLetter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 70%; 
        overflow-x: hidden;
        
    }

    .scene{
        margin-bottom: 0rem; 
        margin-left: 0rem;
    }

    .titre{
        position:absolute;
        top:8%;
        line-height: 5rem;
    }

    .titre1{
        font-size: 2.7rem;
    }

    .carousel-text{
        font-size: 1.1rem;
    }

    .couleurTexte2{
        font-size: 1.7rem;
    }

    .carousel-controls{
        top: 45%;
    }

    .carousel-control-prev {
        position: absolute;
        left: 5%;
    }
    
    .carousel-control-next {
        position: absolute;
        right: 5%;
    }  

    .vertical-links {
        transform: none;
        display: flex;
        width: 90%;
        order: 3; 
        top: 88%; 
        left: 9%;
        position: absolute; 
    }

    .vertical-links a, .vertical-links p {
        margin: 3px 1%; 
        display: inline-block;
    }

    .compteur {
        position: absolute;
        bottom:28%;
    }
    #curseurTexte{
        display: none;
    }

    .horizontal-links {
        font-size: 1.5rem;
        order: 2; 
        max-width: 100%;
        width: 100%;
        bottom: 14%;
        left: 2%;
        gap: 10%; 
    }

    .horizontal-links p {
        width: 5rem;
    }

    .horizontal-links a {
        margin: 0% -50%;
    }

    .horizontal-links img {
        width: 2.5rem;
    }

    .image-container {
        margin-bottom: 27%;
    }

    .frame-container {
        width: 100%; 
        max-width: 90vw; 
        min-width: 90vw;
        height: auto;
        max-height: 50vh; 
        position: relative;
        overflow: hidden;
    }

    .frame-container img {
        width: 100%; 
        height: auto; 
        object-fit: contain;
        overflow: hidden; 
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
}

