body, html {
    background-color: black;
	color: white;
    margin: 0;
    padding: 0;
	font-family: giorgia;
}
::-webkit-scrollbar {
    background-color: black;
    padding: 0px;
}
::-webkit-scrollbar-thumb:vertical {
    background: url('images/site-sakura-scrollbar-2.png') no-repeat;
    background-size:26px 43px;  
    background-position:center;
    display: block;
    width: 30px;
    height: 100px;
}

.pagetitle {
	font-family: giorgia;
	font-size: 3em;
    background-color: transparent;
    color: rgb(255, 235, 255);
    font-size: 300%;
    text-align: center;
    font-weight: normal;
    margin-bottom: 20px;
}

.fixed_header {
    position: sticky;
    top: 0;
	z-index: 999;
    background-color: black;
    color: white;
}
#header-text {
    margin: 0;
    background-color: black;
}
#header-text h1 {
    margin: 0.2em;
	text-align: center;
}
#header-text h1 button {
    background-color: black;
    color: white;
    border: none;
    font-size: 0.5em;
    cursor: pointer;
	font-family: giorgia;
    margin-right: 10px;
}
#header-text h1 button:hover {
    color: rgb(254, 199, 255);
}
#contact_page_button {
    visibility: visible;
}
#header-text h1 a {
    text-decoration: none;
}
#header-text h1 img {
    margin-left: 10px;
    max-width: 20px;
    max-height: 20px;
}
#grad {
    bottom: 0;
    height: 10px;
    width: 100%;
    background-image: linear-gradient(black, transparent);
}
.other_pages {
}
.hiden_page {
    display: none;
}

.image-container {
    padding-top: 0px;
}
.single-image-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.single-image-container img {
    width: 100%;
    height: auto;
    display: block;
}
#kaoli-title {
	font-family: giorgia;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: transparent;
    color: rgb(255, 235, 255);
    font-size: 5vw;
}
#main-description {
	font-family: giorgia;
    position: absolute;
    bottom: 2%;
    left: 2%;
    background-color: transparent;
    color: white;
    opacity: 0.8;
    font-size: 1.5vw;
}
.double-image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.half {
    width: 50%;
    height: auto;
    display: block;
    position: relative;
}

/* Gestion des fondus */
.double-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

#double-that-way {
    background-color: rgb(67, 67, 67);
}
#double-that-way::before {
    background: linear-gradient(
        to right,
        rgba(67, 67, 67, 0) 46%,
        rgba(76, 76, 76, 1) 50%,
        rgba(85, 85, 85, 0) 54%
    );
}

#double-endless-maze {
    background-color: rgb(90, 105, 105);
}
#double-endless-maze::before {
    background: linear-gradient(
        to right,
        rgba(90, 105, 105, 0) 46%,
        rgba(80, 90, 85, 1) 50%,
        rgba(70, 65, 75, 0) 54%
    );
}

#double-field-of-fireflies {
    background-color: rgb(160, 150, 130);
}
#double-field-of-fireflies::before {
    background: linear-gradient(
        to right,
        rgba(160, 150, 130, 0) 40%,
        rgba(145, 135, 115, 1) 50%,
        rgba(140, 135, 125, 0) 51%
    );
}

.double-image-container:not(#double-2) .half::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    filter: blur(20px);
}
.double-image-container:not(#double-2) .half:first-child::after {
    right: -20px;
    background: linear-gradient(to right, transparent, rgb(67, 67, 67));
}
.double-image-container:not(#double-2) .half:last-child::after {
    left: -20px;
    background: linear-gradient(to left, transparent, rgb(67, 67, 67));
}

.centered-square {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.centered-square img, .centered-square p {
    display: block;
    margin-bottom: 10px;
}
.centered-square a {
    text-decoration: none;
    color: rgb(255, 235, 255);
}
.centered-square a:visited {
    color: rgb(255, 235, 255);
}
.pochette {
    width: 50%;
    height: 25vw;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}
.pochette:hover {
    transform: rotateY(180deg);
}
.front, .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
}
.front {
    background-size: cover;
}
.back {
    background-size: cover;
    transform: rotateY(180deg);
}
#that-way-front {
    background-image: url('icon/that_way.png');
}
#that-way-back {
    background-image: url('icon/that_way_qr.png');
}
#endless-maze-front {
    background-image: url('icon/endless_maze.png');
}
#endless-maze-back {
    background-image: url('icon/endless_maze_qr.png');
}
.pochette-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pochette-title {
	font-family: giorgia;
    color: rgb(255, 235, 255);
    font-size: 3vw;
}

.video_wrapper_16_9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}


/* ==============================================*/
/* Youtube Overlay                               */
/* ==============================================*/

/* Style du bouton */
.play-btn {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

/* Image de la miniature */
.thumbnail-container {
    position: relative;
    width: 100%;
    height: auto;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube-logo {
    position: absolute;
    top: 43%;
    left: 45%;
    width: 10%;
    height: 14%;
}

.youtube-icon {
    width: 100%;
    height: 100%;
}

.video-title {
    position: absolute;
    top: 2%;
    left: 2%;
    color: white;
    font-size: 2vw;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Texte indiquant que la vidéo est sur YouTube */
.watch-on-youtube {
    position: absolute;
    bottom: 2%;
    left: 2%;
    color: white;
    font-size: 2vw;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Style de l'overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
	z-index: 2;
}

/* Contenu de l'overlay */
.overlay-content {
    position: relative;
    width: 90%;
	max-height: 80%;
	aspect-ratio: 16 / 9;
}

.close-btn {
    position: absolute;
    right: 0px;
    background: #ff5a5f;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.close-btn:hover {
    background: #d44c51;
}

/* Bloque le scroll quand appliqué au body */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* ==============================================*/
/* COMPATIBILITée, A supprimer dès que possible  */
/* ==============================================*/


#double-1 {
    background-color: rgb(67, 67, 67);
}
#double-2, #double-3 {
    background-color: rgb(13, 15, 40);
}
#double-1::before {
    background: linear-gradient(
        to right,
        rgba(67, 67, 67, 0) 46%,
        rgba(76, 76, 76, 1) 50%,
        rgba(85, 85, 85, 0) 54%
    );
}
#double-2::before {
    background: linear-gradient(
        to right,
        rgba(14, 5, 31, 0) 50%,
        rgba(14, 10, 35, 1) 50%,
        rgba(13, 15, 40, 0) 50%
    );
}
#double-3::before {
    background: linear-gradient(
        to right,
        rgba(13, 15, 40, 0) 46%,
        rgba(10, 8, 25, 1) 50%,
        rgba(8, 2, 11, 0) 54%
    );
}
