:root {
	--hot-pink: #FAADC2;
}

/* index */

.page-index {
	 background-color: #CDE7B0;
   .kirby-image {
    position: fixed !important;
    width: 300px !important;
    height: auto !important;
    z-index: 99999 !important;
    display: block !important;
    cursor: pointer;
    animation: spin 3s linear infinite;
}
}

.site-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	isolation: isolate;
	background: url("images/plaid-deep-pink.jpg") center / cover;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.site-header::after {
	content: "";
	position: absolute;
	inset: -12px;
	border: 12px solid transparent;
	border-image: url("https://i.imgur.com/Kh6qtcn.png") 11 fill round;
	pointer-events: none;
	z-index: 1;
}

.header-logo {
	max-width: 120px;
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.header-logo:first-child {
	justify-self: end;
}

.header-logo:last-child {
	display: block;
}

.header-title {
	text-align: center;
	margin: 0;
	color : white;
}

.accueil-avec-gifs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 0;
}

.gif-accueil {
    display: block;
    width: 170px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.accueil-avec-gifs .cadre-accueil {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}

@media (max-width: 700px) {
    .gif-accueil {
        width: 45px;
    }
}

.accueil-avec-gifs .cadre-accueil {
    flex: 0 1 auto;
    min-width: 0;
    margin-top: 0;
}

@media (max-width: 700px) {
    .accueil-avec-gifs {
        gap: 8px;
    }

    .gif-accueil {
        width: 45px;
    }
}

.cadre-accueil {
	margin-top: px;
}

.bouton-et-player {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-top: 50px;
	flex-wrap: wrap;
}

.bouton-et-player .player {
	margin: 0;
}

:root {
	--color1: #f390b0;
	--color2: #f8bac9;
	--color3: #fbd9e0;
}

.btn-selene {
	display: inline-block;
	background-image: radial-gradient(
		100% 100% at top,
		var(--color2) 30%,
		var(--color3) 66%,
		var(--color1) 66% 70%,
		var(--color2) 90%
	);
	box-shadow: inset 0 0 0 2px var(--color1), 0 0 0 2.5px white;
	border-radius: 99px;
	padding: 8px 18px;
	color: #DD0459;
	border: 4px white;
	text-decoration: none;
	font-size: 18px;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.btn-selene:hover {
	color: #DD0459;
	text-decoration: none;
	transform: scale(1.05);
}

#corps {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-top: 25px;
	font-size: 25px;
}

/* titres */
h1.bounce-title, h1 {
	font-family: 'Goodbye Crewel World NF', sans-serif;
	color: white;
	font-weight: bold;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	padding: 10px;
}

.bounce-title span:not(.bounce-space) {
	display: inline-block;
	animation: bounce-anim 2s infinite;
	animation-timing-function: cubic-bezier(0.25, 0.85, 0.4, 1);
}

.bounce-title .bounce-space {
	width: 0.3em;
}

.bounce-title span:nth-child(1)  { animation-delay: 0s; }
.bounce-title span:nth-child(2)  { animation-delay: 0.1s; }
.bounce-title span:nth-child(3)  { animation-delay: 0.2s; }
.bounce-title span:nth-child(4)  { animation-delay: 0.3s; }
.bounce-title span:nth-child(5)  { animation-delay: 0.4s; }
.bounce-title span:nth-child(6)  { animation-delay: 0.5s; }
.bounce-title span:nth-child(7)  { animation-delay: 0.6s; }
.bounce-title span:nth-child(8)  { animation-delay: 0.7s; }
.bounce-title span:nth-child(10) { animation-delay: 0.8s; }
.bounce-title span:nth-child(11) { animation-delay: 0.9s; }
.bounce-title span:nth-child(12) { animation-delay: 1s; }
.bounce-title span:nth-child(13) { animation-delay: 1.1s; }
.bounce-title span:nth-child(14) { animation-delay: 1.2s; }
.bounce-title span:nth-child(15) { animation-delay: 1.3s; }
.bounce-title span:nth-child(16) { animation-delay: 1.4s; }

@keyframes bounce-anim {
	0%, 100% {
		transform: scale(1, 1) translateY(0);
	}
	10% {
		transform: scale(1.1, 0.9) translateY(0);
	}
	30% {
		transform: scale(0.9, 1.1) translateY(-20px);
	}
	50% {
		transform: scale(1.05, 0.95) translateY(0);
	}
	60% {
		transform: scale(1, 1) translateY(-4px);
	}
}

h2 {
	font-family: 'Goodbye Crewel World NF', sans-serif;
	color: #DD0459;
}

h3 {
	font-family: 'Balmy', sans-serif;
	color: #DD0459;                                             
}

p {
	font-family: 'Emotional Baggage', sans-serif;
	color: #DD0459;
}

/* fin titres */

.tulip-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	vertical-align: middle;
	position: relative;
	display: block;
	margin: 0 auto;
	top: 7px;
}

/* music */
.player {
	width:fit-content;
	border: #CECECE solid 2px;
	border-radius: 100px;
	margin-left:auto;
	margin-right:auto;
	background: linear-gradient(0deg, rgba(205,205,205,1) 0%, rgba(230,230,230,1) 30%, rgba(255,255,255,1) 100%); 
	padding:5px;
}

.seek_slider {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 6px;
	background: #e4d5dc;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
	border-radius: 8px;
}

.seek_slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 8px;
	height: 8px;
	background: white;
	cursor: pointer;
	border-radius: 50%;
	border:1px solid #cecece;
	padding-top:3px;
	position:relative;
	bottom:3px;
}

button,input,label,option,select,table,textarea,ul.tree-view{-webkit-font-smoothing:none;font-family:"Myriad Pro";font-size:11px}h1{font-size:5rem}h2{font-size:2.5rem}h3{font-size:2rem}h4{font-size:1.5rem}u{border-bottom:.5px solid #222;text-decoration:none}button,input[type=reset],input[type=submit]{border:none;border-radius:0;box-sizing:border-box;color:transparent;min-height:23px;min-width:75px;padding:0 12px;text-shadow:0 0 #222}.vertical-bar,button,input[type=reset],input[type=submit].vertical-bar{height:20px;width:4px}button:not(:disabled):active,input[type=reset]:not(:disabled):active,input[type=submit]:not(:disabled):active{opacity:0.5}}@media (not(hover)){button:not(:disabled):hover,input[type=reset]:not(:disabled):hover,input[type=submit]:not(:disabled):hover{box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}}button:focus,input[type=reset]:focus,input[type=submit]:focus{opacity:1}button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:0}:disabled,:disabled+label,input[readonly],input[readonly]+label{color:grey}:disabled+label,button:disabled,input[type=reset]:disabled,input[type=submit]:disabled{text-shadow:1px 1px 0 #fff}}

@media (not(hover)){
	button:not(:disabled):hover {
		box-shadow:inset -1px -1px #fff,inset 1px 1px #0a0a0a,inset -2px -2px #dfdfdf,inset 2px 2px grey}
	}

	@font-face {
		font-family: "Myriad Pro";
		src: url("https://dl.dropbox.com/scl/fi/z8hqw29h8a9i3a3cbbxkt/MYRIADPRO-REGULAR.OTF?rlkey=begwqxljs2gzyw26h00oeovzi&st=px0mbeax&dl=0") format("woff");
	}

	.window, .title-bar {
		font-family: "Myriad Pro";
		-webkit-font-smoothing: none;
		font-size: 11px;
	}

	.window {
		padding:10px;
		width:290px;
	}

	.window-body { 
		display:block;
		margin:auto; 
		border-radius:0em;
	}

	input[type=range] {
		-webkit-appearance: none;
		appearance:none;
		width: 100%;
	}

	input[type=range]:focus {
		outline: none;
	}

/* settings for chrome browsers */
input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 2px; /* thickness of seeking track */
	cursor: pointer;
}

/* settings for firefox browsers */
input[type=range]::-moz-range-track {
	width: 100%;
	height: 2px; /* thickness of seeking track */
	cursor: pointer;
}

.flex {display: flex;}

#musicplayer {
	display:block;
	float:right;
	background: linear-gradient(0deg, #F1E3F0, white) padding-box, linear-gradient(to top, white, #A2A2A2) border-box;
	border-radius: 60em;
	border: 2px solid transparent;
	margin-left:8px;
	padding-left:10px;
	box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.27) inset;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.27) inset;
	-moz-box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.27) inset;
}

.wheel {
	display: block;
	justify-content: center;
	margin:auto;
	background: linear-gradient(white, white) padding-box, linear-gradient(to top, white, #A2A2A2) border-box;
	border-radius: 50em;
	border: 2px solid transparent;
	padding-top:0px;
	box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.27) inset;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.27) inset;
	-moz-box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.27) inset;
}

.innerwheel {
	border-radius: 50em;
	border: 2px solid #E2E2E2;
	padding:9px;
	padding-left:10px;
	padding-right:12px;
	margin:0;
	box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.17) inset;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.17) inset;
	-moz-box-shadow: 1px 1px 10px 0px rgba(128,128,128,0.17) inset;
}

th{
	width:20px;
	margin:0;
}

.fas fa-minus{
	margins:0;
	padding-bottom:5px;
}

.wheelcontrols {
	font-size:14px !important; /* size of controls */
	text-align:center;
	padding-top:2px;
	color: #aaa;
	opacity: 0.8;
}

.wheelcontrols button {
	background: none;
	border: none;
	color: #aaa;
	opacity: 0.6;
	font-size: 14px;
	padding: 2px;
	cursor: pointer;
}

.wheelcontrols button:hover {
	opacity: 1;
}

.controls button:hover {
	opacity: 1;

}

.playpause-track button{
	display:block;
	color:#C1C1C1;
	font-size: 20px;
	margin:auto;
}

.playpause-track {
	font-size: 22px !important;
	padding: 3px;
}

.songtitle {
	padding:25px; /* padding around song title */
	color:#A3A3A3;
	padding-bottom:0;
	margin-left:15px;
	margin-right:20px;
	font-size: 16px;
	display:block;
	font-family:Myriad Pro;
}

.controls button{
	display:block;
	margin-left:15px;
	font-size:14px !important; /* size of controls */
	text-align:center;
	color:#ccb3be;
	opacity:0.6
} 

button {
	min-width:20px;
	background:none;
	text-align:center;
}

button:active {
	opacity: 0.7;
}

.seeking {
	display:flex;
	justify-content: space-evenly;
	padding:10px; /* padding around seeking bar */
	padding-left:0;
	padding-bottom:0px;
	color:#A3A3A3;
}

.current-time {
	padding-right:5px;
}

.total-duration {
	padding-left:5px;
}

.kirby-image {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: min(500px, 90vw);
	margin: 0;
}

.p-gif {
	display: block;
}

.star-gif {
	width: 25px;
	height: auto;
	display: inline;
	vertical-align: middle;
	margin-left: 5px;
}

.fairies {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.line-gif-butterfly {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
}

.cbox-container {
	margin-top: 5px;
}

/* well */
.well {
	background-color: var(--hot-pink);
	position: relative;
	border: none;
	width: 85%;
	max-width: 1000px;
	box-sizing: border-box;
	margin: 20px auto;
	padding: 10px;
	display: block;
}

.well::before {
	content: "";
	position: absolute;
	inset: -7px;
	border: 7px solid transparent;
	border-image: url("https://i.imgur.com/ROjUrNz.gif") 6 round;
	pointer-events: none;
}

.well > .container {
	width: 100%;
	max-width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

.well .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}


.well .row > div {
	display: flex;
	margin-bottom: 20px;
}

.well .colonne {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}


.well .colonne h2, p {
	text-align: center;
	width: 100%;
}

.well .image-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
    height: 180px; 
    overflow: hidden;
}

.well .image-container img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.well-avec-gifs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    gap: 15px;
    margin-top: 20px;
}

.gif-well {
    display: block;
    width: 100px;
    height: auto;
    flex: 0 0 100px;
    object-fit: contain;
}

.well-avec-gifs > .well {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
}

@media (max-width: 700px) {
    .gif-well {
        width: 45px;
        flex-basis: 45px;
    }

    .well-avec-gifs {
        gap: 8px;
    }
}

.gif-well {
    display: block;
    width: 70px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.well-avec-gifs .well {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .gif-well {
        width: 45px;
    }

    .well-avec-gifs {
        gap: 8px;
    }
}

.well .image-container img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 7px solid transparent;
    border-image: url("https://i.imgur.com/P1edUQb.png") 7 fill round;
}

.well .encadre .image-container {
    width: 100% !important;
    height: 180px !important;
    min-height: 180px;
    max-height: 180px;
    display: block !important;
    overflow: hidden;
    box-sizing: border-box;
}

.well .encadre .image-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.well .encadre .image-container img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    box-sizing: border-box;

    border: 7px solid transparent;
    border-image: url("https://i.imgur.com/P1edUQb.png") 7 fill round;

    margin: 0;
}

/* fin well */

.alert {
	text-align: center;
	margin-top: 30px;
}

.cadre-accueil {
	margin-top: 0 !important;
	position: relative;
	top: -50px;
}

/* colonnes */
.conteneur-colonnes {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 40px;
	max-width: 1200px;
	margin: 50px auto;
	padding: 0 20px;
}

.colonne {
	flex: 1;
	min-width: 0;
	background-color: #f2e6d8;
	border-radius: 10px;
	padding: 20px;
	border: 3px solid #d69ab0;
	border-radius: 12px;
	box-shadow: 5px 5px 0 #e8c2d1;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.colonne h2 {
	margin-top: 0;
	padding: 10px;
	text-align: center;
	background-color: #f0d4e0;
	border: 2px dashed #d69ab0;
	border-radius: 6px;
}

.colonne:hover {
	transform: translateY(-4px);
	box-shadow: 7px 7px 0 #d6b3c2;
}

@media (max-width: 600px) {
	.conteneur-colonnes {
		flex-direction: column;
	}

	.colonne {
		width: 100%;
	}
}

/* Grille des quatre images */
.right-image-blocks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 35px;
	margin-top: 35px;
}

/* Cadres */
.framed-image {
	position: relative;
	width: 100%;
	height: 144px;
	box-sizing: border-box;
	border: 12px solid transparent;
	border-image: url("https://i.imgur.com/Kh6qtcn.png") 11 fill round;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.framed-image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

.framed-image .img-normal {
	opacity: 1;
}

.framed-image .img-hover {
	opacity: 0;
}

.framed-image:hover .img-normal {
	opacity: 0;
}

.framed-image:hover .img-hover {
	opacity: 1;
}

.framed-image:hover {
	transform: translateY(-4px);
}

.framed-image .frame-text {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	box-sizing: border-box;
	font-family: 'Goodbye Crewel World NF', sans-serif;
	font-size: 20px;
	color: white;
	text-align: center;
	text-shadow: 1px 1px 3px #DD0459;
	pointer-events: none;
}

.colonne.gauche img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.colonne.droite {
    display: flex;
    flex-direction: column;
}

.magi {
    -webkit-mask-image: url(https://i.imgur.com/w7KjnHA.png);
    -webkit-mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

    width: 370px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 35px;
}

.magi img {
    display: block;
    width: 100%;
    height: auto;
}
/* fin colonnes */

.compteur-fc2 {
	display: flex;
	justify-content: center;
	margin-top: auto;
	padding-top: 20px;
}

.kirby-image,
.footer img {
	animation: spin 3s linear infinite;
}

.footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

.footer img {
	margin-top: 50px;
	margin-bottom: 50px;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

#titres {
	background-color: rgba(253, 226, 226, 0.6);
	width: 350px;
	padding-bottom: 15px;
	padding-top: 15px;
	border-radius: 15px;
}

#spots {
	display: flex;
	justify-content: center;
}

/* encadre */
.encadre {
	background-color: transparent;
	width: 200px;
	padding-bottom: 10px;
	padding-top: 10px;
	border-radius: 50px;
	margin: 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	vertical-align: middle;
}

.encadre .image-container {
	height: 100%;
	display: flex;
	align-items: center;
}

.encadre .image-container img {
	width: 200px;
	transition: transform 0.3s ease-in-out;
}

.encadre:hover img {
	transform: scale(1.2);
}

.thumbnail {
	height: 480px;
	border-radius: 50px;
}

.footer img {
	width: 50px;
}

#playground {
	height: 100vh;
	background-color: var(--hot-pink);
}

#playground .kirby-image {
	width: 150px;
	cursor: pointer;
}

.victory {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: 50%;
	bottom: 50%;
	font-size: 2em;
	color: #EB6896;
}

.victory img {
	width: 150px;
}

#fnaf {
	display: block;
	margin: auto;
	width: 50%;

}

/* page Sélène */
.page-selene {
	background-image: url("images/plaid-green.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.page-selene .site-header {
	background-image: url("./images/pink-glitter.gif") !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: transparent !important;   
}

.btn-retour {
	position: relative;
	display: block !important;
	width: fit-content !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 8px 18px !important;
	margin: 15px 0 0 5px;
	box-sizing: border-box;
	white-space: nowrap;
	z-index: 10;
	color: #DD0459;
	font-size: 18px;
}

/* Bunbun */
.bunbun-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
	box-sizing: border-box;
}

.bunbun-zone {
	position: relative;
	width: 700px;
	max-width: 100%;
	height: 180px;
	overflow: hidden;
}

.bunbun {
	position: absolute;
	z-index: 2;
	bottom: 0;
	right: 0;
	width: 150px;
	height: auto;
	margin: 0;
	-webkit-mask-image: url("https://i.imgur.com/kjjRQ7Y.png");
	-webkit-mask-size: 100%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;

	animation: bunbun-traverse 6s linear infinite alternate;

}

/* Bunbun animation */
@keyframes bunbun-traverse {
	0% {
		right: 0;
		transform: translateY(0);
	}

	10% {
		transform: translateY(-35px);
	}

	20% {
		transform: translateY(0);
	}

	30% {
		transform: translateY(-35px);
	}

	40% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-35px);
	}

	60% {
		transform: translateY(0);
	}

	70% {
		transform: translateY(-35px);
	}

	80% {
		transform: translateY(0);
	}

	100% {
		right: calc(100% - 100px);
		transform: translateY(0);
	}

}

/* JS Paint */
.jspaint {
	display: block;
	width: 700px;
	max-width: 100%;
	height: 400px;
	box-sizing: border-box;
	border: 3px solid #d69ab0;
	border-radius: 12px;
}

/* JS Paint et cadre */
.jspaint-row {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
}

.framed-image.cadre-fixe {
	flex: 0 0 540px;
	height: 400px;
	margin: 0;
	position: relative;
}

.framed-image.cadre-fixe > img:first-child {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

/* Titre */
.framed-image.cadre-fixe .selene-title {
	position: absolute;
	top: 15px;
	left: 10px;
	right: 10px;
	z-index: 3;
	display: block;
	margin: 0;
	font-family: 'Emotional Baggage', sans-serif;
	font-size: 20px;
	color: #DD0459;
	text-align: center;
}

.framed-image.cadre-fixe .line-gif-tulip {
	position: absolute;
	top: 50px;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translateX(-50%);

	display: block;
	width: 450px;
	max-width: 80%;
	height: auto;
	margin: 0;
	object-fit: contain;
	z-index: 3;
}

.framed-image.cadre-fixe .selene-text {
	position: absolute;
	top: 100px;
	left: 15px;
	right: 15px;
	z-index: 3;

	margin: 0;
	font-family: 'Wolfers', sans-serif;
	font-size: 14px;
	color: #DD0459;
	text-align: left;
	line-height: 1.5;
}

/* GIF décoratif en bas à droite */
.framed-image.cadre-fixe .cadre-gif {
	position: absolute !important;
	inset: auto 5px 0 auto !important;
	width: 70px !important;
	height: auto !important;
	max-width: none;
	z-index: 10;
	object-fit: contain;
	pointer-events: none;
}

@media (max-width: 900px) {
	.jspaint-row {
		flex-wrap: wrap;
	}

	.framed-image.cadre-fixe {
		flex: 1 1 100%;
		min-width: 0;
		max-width: 100%;
	}
}
/* GIF en bas à droite */
.framed-image.cadre-fixe .cadre-gif {
	position: absolute !important;
	inset: auto 5px 0px auto !important;
	width: 70px !important;
	height: auto !important;
	max-width: none;
	z-index: 10;
	object-fit: contain;
	pointer-events: none;

}

@media (max-width: 900px) {
	.jspaint-row {
		flex-wrap: wrap;
	}
}

/* page family */

body.page-family .site-header {
	background-image: url("./images/vertical-lines.png") !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: transparent !important;   
}

.myImageMask {
	-webkit-mask-image: url("https://i.imgur.com/1PjqQS6.png");
	-webkit-mask-size: 150%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.page-family .btn-selene {
	--color1: #8BAF78;
    --color2: #CDE7B0;
    --color3: #EDF7E5;
	color: #238B45;
}

.page-family .header-title {
	color: #ED820E;
}

/* page fnaf */
.page-fnaf .btn-selene {
    --color1: #8BAF78;
    --color2: #CDE7B0;
    --color3: #EDF7E5;
    color: #238B45;
}

/* page Bouloches */
body.page-bouloches {
	background-image: url("images/snowfall.gif") !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    background-position: top left;
}

body.page-bouloches #playground {
    background: transparent;
}

.page-bouloches .btn-selene {
	--color1: #BA77B7;
    --color2: #CB99C9;
    --color3: #DCBBDB;
	color: #8645B5;
}

/* RESPONSIVE */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

iframe {
    max-width: 100%;
}

.site-header {
    grid-template-columns: minmax(35px, 1fr) minmax(0, auto) minmax(35px, 1fr);
    gap: 10px;
    padding: 10px;
}

.header-logo {
    width: clamp(35px, 8vw, 120px);
    max-width: 100%;
}

.bounce-title {
    font-size: clamp(2rem, 5vw, 5rem);
    min-width: 0;
}

.accueil-avec-gifs {
    gap: clamp(5px, 2vw, 20px);
    padding: 0 10px;
}

.gif-accueil {
    width: clamp(30px, 12vw, 170px);
    flex: 0 1 170px;
}

.accueil-avec-gifs .cadre-accueil {
    flex: 1 1 0;
    min-width: 0;
    top: -50px;
}

.bouton-et-player {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

.gif-butterfly {
    max-width: 250px;
}

.line-gif-butterfly {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0;
}

.player {
    max-width: 100%;
}

.window {
    width: min(100%, 380px);
}

.window-body {
    width: 100%;
    max-width: 100%;
}

.window-body > .flex {
    width: 100%;
    align-items: center;
    gap: 5px;
}

#musicplayer {
    min-width: 0;
    max-width: 100%;
    flex: 1;
}

.songtitle {
    max-width: 100%;
    overflow: hidden;
}

.seeking {
    min-width: 0;
    width: 100%;
}

.seek_slider {
    min-width: 0;
}

#corps {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

#corps canvas {
    max-width: 100%;
    height: auto;
}

.conteneur-colonnes {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    gap: clamp(15px, 3vw, 40px);
}

.conteneur-colonnes > .colonne {
    flex: 1 1 0;
    min-width: 0;
}

.colonne {
    min-width: 0;
}

.colonne img,
.colonne iframe {
    max-width: 100%;
}

.magi {
    max-width: 100%;
}

.magi img {
    width: 100%;
}

.fairies,
.line-gif-butterfly {
    max-width: 100%;
    height: auto;
}

.right-image-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.framed-image {
    width: 100%;
    height: clamp(100px, 15vw, 180px);
}

.frame-text {
    font-size: clamp(14px, 2vw, 20px);
}

.well-avec-gifs {
    gap: clamp(5px, 2vw, 15px);
}

.well-avec-gifs > .well {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.gif-well {
    width: clamp(25px, 7vw, 100px);
    flex: 0 1 100px;
}

.well .encadre {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.well .row > div {
    min-width: 0;
}

.footer {
    width: 100%;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 30px);
}

.footer img {
    max-width: 50px;
    height: auto;
}

/* tablettes */

@media screen and (max-width: 900px) {

    .conteneur-colonnes {
        gap: 15px;
        padding: 0 12px;
    }

    .colonne {
        padding: 15px;
    }

    .colonne h2 {
        font-size: clamp(20px, 3vw, 28px);
    }

    .well {
        width: 90%;
    }

    .framed-image {
        height: 125px;
    }

}

/* petites tablettes */

@media screen and (max-width: 700px) {

/* Header */

    .site-header {
        grid-template-columns: 35px minmax(0, 1fr) 35px;
        gap: 5px;
        padding: 10px 5px;
    }

    .header-logo {
        width: 35px;
    }

    .bounce-title {
        font-size: clamp(22px, 6vw, 36px);
        padding: 5px;
    }


/* Accueil */

    .accueil-avec-gifs {
        gap: 5px;
        padding: 0 5px;
    }

    .gif-accueil {
        width: 35px;
        flex: 0 0 35px;
    }

    .accueil-avec-gifs .cadre-accueil {
        top: 0;
        flex: 1 1 0;
        min-width: 0;
    }


/* Lecteur */

    .bouton-et-player {
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
    }

    .player {
        width: 100%;
        max-width: 100%;
    }

    .window {
        width: 100%;
        max-width: 100%;
    }

    .window-body > .flex {
        flex-direction: column;
    }

    #musicplayer {
        float: none;
        width: 100%;
        margin: 5px 0 0;
        padding: 5px;
    }

    .songtitle {
        padding: 8px;
        margin: 0;
        font-size: 14px;
    }

    .gif-butterfly {
        width: 40px;
    }


/* Colonnes */

    .conteneur-colonnes {
        flex-direction: column;
        width: 100%;
        gap: 25px;
        padding: 0 12px;
        margin: 30px auto;
    }

    .conteneur-colonnes > .colonne {
        width: 100%;
        flex: none;
    }

    .colonne {
        padding: 15px;
    }

    .colonne h2 {
        font-size: 25px;
    }


/* Images */

    .right-image-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .framed-image {
        height: clamp(110px, 30vw, 160px);
    }

    .frame-text {
        font-size: 16px;
    }

    .magi {
        width: 100%;
        max-width: 370px;
    }


/* Well */

    .well-avec-gifs {
        gap: 4px;
    }

    .gif-well {
        width: 25px;
        flex: 0 0 25px;
    }

    .well-avec-gifs > .well {
        width: auto;
        flex: 1 1 0;
        padding: 8px;
    }

    .well .container {
        padding: 0;
    }

    .well .row {
        margin: 0;
    }

    .well .row > div {
        padding: 0 5px;
        margin-bottom: 15px;
    }

    .well .encadre {
        margin: 0;
    }

    .well .colonne h2 {
        font-size: 23px;
    }

    .well .image-container {
        height: 150px !important;
        min-height: 150px;
        max-height: 150px;
    }


/* Alertes et footer */

    .alert {
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer {
        gap: 15px;
    }

    .footer img {
        width: 40px;
    }

    .tulip-icon {
        width: 30px;
    }

}

/* petits téléphones */

@media screen and (max-width: 380px) {

    .bounce-title {
        font-size: 21px;
    }

    .header-logo {
        width: 28px;
    }

    .gif-accueil {
        width: 25px;
        flex-basis: 25px;
    }

    .gif-well {
        width: 18px;
        flex-basis: 18px;
    }

    .right-image-blocks {
        gap: 6px;
    }

    .framed-image {
        height: 105px;
    }

    .frame-text {
        font-size: 13px;
    }

}

/* FIN RESPONSIVE */




