@font-face {
    font-family: 'Trial';
    src: url('/Fonts/Hello Kitty/Capuche Trial.otf');
}

@font-face {
    font-family: 'Japonais';
    src: url('/Fonts/Hello Kitty/TsunagiGothic.ttf');
}
@font-face {
    font-family: 'source-sans-proEL';
    src: url('/Police/SourceSansPro-ExtraLight.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'source-sans-proELI';
    src: url('/Police/SourceSansPro-ExtraLightIt.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;
}
@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;
    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: 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: #f9b933;
    text-decoration: none;
    height: 3.3rem;
    font-family: 'source-sans-proB';
    width: 3rem;
} 

.vertical-links a,
.vertical-links p {
    margin: 0; 
    padding: 0; 
}

.vertical-links img{
    width: 2rem;
    height: auto; 
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    width: 100%; 
}

.frame-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55vw; 
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%; 
    max-height: 100%;
    overflow: visible;
    position: relative;
}

.frame-container img {
    width: auto;
    height: auto;
    max-width: 90%; 
    max-height: 90%; 
    object-fit: contain; 
}

.compteur {
    position: relative; 
    font-size: 1.5rem; 
    text-align: center; 
    width: 100%;
    display: flex; 
    justify-content: center;
}

.horizontal-links {
    line-height: 2rem;
    position: absolute;
    display: flex;
    font-size: 1.5vw;
    justify-content: center;
    bottom: 5%;
    left:0%;
    flex-wrap: wrap; 
    width: 100%; 
    gap: 10%; 
    
}

.horizontal-links p {
    text-decoration: none;
    cursor: pointer;
}

.titre {
    position: absolute;
    line-height: 0.5em;
    top: 8%;
}

.titre1 {
    color: #f9b933;
    font-size: 3.5rem;
    margin-bottom: 15%;
    font-family: 'Trial';
}

.titre2 {
    color: #e63a15;
    font-size: 2.0rem;
    font-family: 'Japonais';
}

.rouge {
    font-size: 1.9rem;
    color: var(--kitty-color2);
    font-family: 'source-sans-proELI';
}

.rouge2 {
    font-size: 1.9rem;
    color: var(--kitty-color4);
    font-family: 'source-sans-proELI';
}
.jaune {
    font-size: 1.4rem;
    color: var(--kitty-color1);
    font-family: 'Japonais';
}

.jaune2 {
    font-size: 1.4rem;
    color: var(--kitty-color3);
    font-family: 'Japonais';
}

.japonais {
    font-family: 'Japonais';
}

.img-fluid {
    width: 100%;
    height: auto;
    cursor: none; 
}

.img-fluid2 {
    width: 50%; 
    height: 50%; 
    cursor: none;
}

.compteurTexte{
    color: #f9b933;
    font-family: 'source-sans-proB';

}
.compteurTexte2{
    color: #e63a15;
    font-family: 'source-sans-proEL';

}
.couleurTexteGris {
    color: #dadada;
    font-family: 'source-sans-proEL';

}

.couleurTexte {
    color: #e63a15 !important;
    font-family: 'source-sans-proB' !important;
}

.couleurTexteJaponais {
    color: #f9b933 !important;
    font-family: 'Japonais' !important;
}

.carousel-text {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    display: none; 
    z-index: 100000;
}
.frame-container.expanded img:not(.fullscreen){
    display: none;  
}

#curseurTexte {
    position: absolute;
    display: none;
    color: #e63a15;
    font-size: 2rem;
    pointer-events: none;
    z-index: 100000;
    font-family: 'Japonais';
}

.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-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; 
    display: none;
}

.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; 
    max-width: 100%;
    max-height: 100%; 
}

.frame-container.expanded .carousel-text {
    width: 80vw; 
    max-width: 100%; 
    height: auto; 
    max-height: 100%; 
    font-size: 1.5rem; 
    line-height: 1.6;
    text-align: center;
    margin: 0 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; 
    color: #fff;
}

.fade-text span {
    opacity: 0;
    display: inline-block;
    animation: fadeInLetter 1.2s forwards;
}

@keyframes fadeInLetter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (min-width: 2560px) {
    .compteur {
        margin-top: -100px; /* Réduit l'espace en fonction de la taille de l'écran */
    }   
}

@media (max-width: 768px) {
    html {
        font-size: 70%; 
    }
    .titre{
        position:absolute;
        top:12%; /**/
    }
    .carousel-text{
        font-size: 1.2rem; /**/
        padding: 0px; /**/
    }

    .carousel-controls{
        top: 42%; /**/
    }

    .carousel-control-prev {
        position: absolute;
        left: 5%;
    }
    
    .carousel-control-next {
        position: absolute;
        right: 5%;
    }  
    
    .compteur {
        position: absolute;
        bottom:36%; /**/
        font-size: 1.9rem;
    }

    .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;
    }

    .vertical-links img{
        margin: 8px 3%; 
        width: 2rem;
    }

    #curseurTexte{
        display: none;
    }

    .horizontal-links {
        font-size: 1.5rem;
        order: 2; 
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center; 
        bottom: 24%; /**/
        gap: 14%;  /**/
    }

    .image-container {
        margin-bottom: 39%;
    }

    .frame-container {
        width: 100%; 
        max-width: 100vw;  /**/
        min-width: 90vw;
        height: auto;
        max-height: 50vh; 
        position: relative;
        overflow: hidden;
    }

    .frame-container img {
        max-width: 90%; 
        max-width: 90%;
        object-fit: contain;
    }

    .frame-container video {
        max-width: 50%; 
        max-height: 50%; 
        object-fit: contain;
    }

    .frame-container #dynamicText { /**/
        width: 100vw;
        height: auto;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }
    
}


