@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-proBI';
    src: url('/Police/SourceSansPro-BlackIt.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'source-sans-proR';
    src: url('/Police/SourceSansPro-Regular.woff2') format('woff2');
    font-display: swap;
}

html {
    font-size: 12.8px; 
    height: 100%;

}

body, html {
    height: 100%;
    margin: 0;
    background: black;
    font-family: 'Source Sans Pro';
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.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: 48%;
}

.vertical-links a {
    cursor: none;
    font-size: 2.5rem;
    display: block;
    color: #878787;
    text-decoration: none;
    height: 3.3rem;
    font-family: 'source-sans-proEL';
    width: 3rem;

}

.vertical-links p {
    cursor: none;
    font-size: 2.5rem;
    display: block;
    color: white;
    text-decoration: none;
    height: 3.3rem;
    font-family: 'source-sans-proB';
    width: 3rem;
}

.vertical-links a,
.vertical-links p {
    margin: 0; 
    padding: 0; 
}

.fade-text span {
    opacity: 0;
    display: inline-block;
    animation: fadeInLetter 1.2s forwards;
}

@keyframes fadeInLetter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    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;
    display: flex;
    justify-content: space-between; 
    align-content: stretch;
    flex-wrap: wrap;
}

.frame-container img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain;
    cursor: none;
    
}

.compteur {
    font-size: 1.5rem;  
    padding: 10px; 
}

#youtubePlayerContainer {
    display: none; 
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    position: relative; 
}

#youtubePlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; 
}


.horizontal-links {
    line-height: 2rem;
    position: absolute;
    display: flex;
    font-size: 1.5vw;
    justify-content: center;
    bottom: 8%;
    left:0%;
    flex-wrap: wrap; 
    width: 100%; 
    gap: 10%; 
    
}

.horizontal-links p {
    width: 10rem;
    cursor: pointer;
}

.titre {
    position: absolute;
    line-height: 0.5em;
    top: 8%;
}

.titre1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-family: 'source-sans-proB';
}


.star {
    color:white !important;
    margin: 0 2%; 
    cursor: none;
    font-size: 3.6rem;
    display: block;
    text-decoration: none;
    height: 3.3rem;
    font-family: 'source-sans-proB' !important;
}

.blanc {
    font-size: 1.9rem;
    color: var(--oip-color1);
    font-family: 'source-sans-proELI';
}

.blanc2 {
    font-size: 1.9rem;
    color: var(--oip-color2);
    font-family: 'source-sans-proELI';
}

.blanc3 {
    font-size: 1.9rem;
    color: var(--oip-color3);
    font-family: 'source-sans-proELI';
}

.couleurTexte{
    font-family: 'source-sans-proEL';
}

.couleurTexteGras{
    font-family: 'source-sans-proB' !important; 
}

.img-fluid {
    width: 100%;
    height: auto;
    cursor: none;
}

.img-fluid2 {
    width: 50%; 
    height: 50%; 
    object-fit: cover !important;
    cursor: none;
}

#curseurTexte {
    position: absolute;
    display: none;
    color: white;
    font-size: 2rem;
    pointer-events: none;
    will-change: transform;
    z-index: 100000;
    font-family: 'source-sans-proBI';
}

.fullscreen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}


.carousel {
    position: relative;
    width: 100%;
    max-width: 37.5rem;
}


.carousel-text {
    position: absolute;
    top:25%;
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    display: flex; 
    width: 100%;
    box-sizing: border-box;
}


.carousel-controls {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    display: block;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    pointer-events: none; 
    transform: translateY(-50%); 
    display: block;
}

.carousel-control-prev, .carousel-control-next {
    width: 3rem; 
    height: 3rem; 
    color: #878787;
    font-family: 'source-sans-proR';
    cursor: pointer;
    display: block; 
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    pointer-events: all; 
    position: fixed; 
    z-index: 1001; 
    -webkit-user-select: none; 
    -moz-user-select: none;   
    -ms-user-select: none;    
    user-select: none;
}

.carousel-control-prev {
    position: absolute;
    left: 18%;
}

.carousel-control-next {
    position: absolute;
    right: 18%;
}

.carousel-control-prev:hover{
    font-family: 'source-sans-proB';
}

.carousel-control-next:hover{
    font-family: 'source-sans-proB';
}

.carousel-control-prev:active{
    font-family: 'source-sans-proB';
    color: white;
}

.carousel-control-next:active{
    font-family: 'source-sans-proB';
    color: white;
}


.carousel-counter {
    position: absolute;
    top: -2rem; 
    right: 0.625rem; 
    color: white;
    padding: 0.3125rem;
    font-size: 20rem;
    z-index: 10; 
}

.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;
    font-weight: bold;
    color: #fff;
}


@media (max-width: 768px) {
    html {
        font-size: 70%; 
    }
    .titre{
        position:absolute;
        line-height: 5rem;
    }
    
    .titre1 {
        font-size: 2.5rem;
    }

    .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: 87%; 
        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; 
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center; 
        bottom: 16%;
        gap: 5%; 

    }

    .image-container {
        margin-bottom: 27%;
    }

    .frame-container {
        max-width: 90vw; 
        min-width: 90vw;
        height: auto;
        max-height: 50vh; 

    }

    .frame-container img {
        width: 45vw;
        max-width: 100%; 
        height: auto; 

    }

    .carousel-text {
        position: absolute;
        left: 50%; 
        transform: translate(-50%, -30%); 
        font-size: 1.1rem; 
        width: 90%; 

        box-sizing: border-box;

    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
}