@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}

@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}

@-webkit-keyframes orbit { 
from { -webkit-transform:rotate(0deg) } 
to { -webkit-transform:rotate(360deg) } 
}

@-moz-keyframes orbit { 
from { -moz-transform:rotate(0deg) } 
to { -moz-transform:rotate(360deg) } 
}

@-webkit-keyframes orbit2 { 
to { -webkit-transform:rotate(360deg) } 
}




html {
 min-height: -webkit-fill-available;
}

@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

html {
	height: 100%;
}

canvas {
	position: absolute;
	top: 0;
	left: 0;
}

.introContent {
	position: absolute;
	width: 100vw;
	height: 100vh;
	z-index: 600;
	top: 0%;
	transition: top 9s, opacity 1s;
	opacity: 1;
}

.debut:not(.sun) {
-webkit-animation-iteration-count:1;
    -webkit-animation-timing-function:linear;
    -webkit-animation-name:orbit;
    -webkit-animation-duration:10s;
    -moz-animation-iteration-count:1;
    -moz-animation-timing-function:linear;
    -moz-animation-name:orbit;
    -moz-animation-duration:10s;
}

.introContent.outUp {
	top: -120%;
}

.introContent.outDown {
	top: 120%;
}

.fullMed {
	bottom: 0;
}

body {
	background: black;
	 min-height: -webkit-fill-available;
}

body .menu.down {
    position: absolute;
    top: -100%;
    transition: top 1s;
}

body .menu {
    top: 0%;
    transition: top 1s;
    background: transparent;
    z-index: 9002;
}

#instructions {
	background: transparent;
	transition: opacity 2s 5s;
	display: inline-flex; !important;
	position: unset;
	opacity: 1;
}

#instructions.down {
	opacity: 0;
}

.cont {
	display: inline-flex;
	flex-direction: column;
	height: 100vh;
}

#menuopen {
	z-index: 9001;
	margin-top: 25px;
  	padding-top: 55px;
  	overflow-y: auto;
  	height: calc(100vh - 45px);
  	border-top: none;
  	position: absolute;
  	width: 850px;
  	left: 50%;
    transform: translateX(-50%);
    -webkit-box-shadow: -1px 3px 50px 80px #000000e6;
    -moz-box-shadow: -1px 3px 50px 80px #000000e6;
    box-shadow: -1px 3px 50px 80px #000000e6;
    max-width: 100vw;
    background: #000000e6;
}

#menuopen.lng {
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    width: 100vw;
    height: fit-content;
    background: transparent;

}

a:not(.lng) {
	color: white !important;
	text-decoration: underline;
}

a.lng {
	text-transform: capitalize;
}

.insideAbout {
	width: 100%;
	height: 100%;
	margin-top: 0px;

}

.aboutText {
    color: white;
    overflow-y: auto;
    height: 100%;
    overflow-x: hidden;
}

.collapse.show {
	display: flex;
	flex: 1;
	height: 100%;
} 

.menuInt.actif.titleInside {
	color: white;
	text-transform: none;
	cursor: default;
}

.themeTitle {
	border: 2px solid white;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 50px;
    margin: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.themeTitle:hover {
	background: #0000cd70;
}

.close {
	margin-left: 10px;
}

.close:hover, .themeTitle:hover .close {
	color: white;
}

#Lang .card {
	width: 100%;
	text-decoration: none;
}

#gobackMenu {
	display: none;
}

#gobackMenu.visible {
	display: block;
}

.plyr {
    z-index: 500 !important;
}

.plyr__progress input[type=range]  {
    color: white !important;
}

.plyr__progress input[type=range]::-webkit-slider-thumb  {
    color: red !important;
}



.plyr button {
    color: white;
}

.plyr button:hover {
    background: white !important;
    color: black !important;
}


.plyr__volume input[type=range] {
    color: white !important;
}

.plyr__menu {
    display: none !important;
}

.plyr--audio .plyr__controls {
	background: transparent !important;
	width: 90%;
	margin: auto;
}

.titleIntro {
	font-family: 'Orna';
	font-size: 9vw;
	position: relative;
	top: 50%;
	width: 100%;
	text-align: center;
	transform: translateY(0%);
	color: white;
	transition: font-size 11s;
    text-shadow: 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px white;
}

.frameCookies {
	position: relative;
	max-width: 850px;
	width: 100%;
	height: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 2px solid white;
	color: white;
	background: rgba(0, 0, 0, 0.7);
	color: white;
}

.contBreath {
	position: absolute;
	top: 0%;
	left: 0%;
	display: block;
	justify-content: center;
	height: 100%;
	width: 100%;
}


.contBreath button {
	border-radius: 50%;
	background: transparent;
	border: 0;
	position: absolute;
	cursor: pointer;
	height: min-content;
	width: min-content;
}

.buttonBreath img {
	max-width: 30vw;
	width: 30vw;
   -webkit-animation:spin 16s linear infinite;
    -moz-animation:spin 16s linear infinite;
    animation:spin 16s linear infinite;
    border-radius: 50%;
    opacity: 0.9;
    transition: opacity 1s;
}

.deco.buttonBreath img {
	max-width: 18vw;
}

.buttonBreath img.inv {
animation-direction: reverse;
}

.textBreath {
    color: white;
    max-width: 350px;
    width: 100%;
    font-size: 25px;
    position: absolute;
    top: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: 1;

}

.buttonBreath:hover .textBreath, button.buttonBreath:focus .textBreath  {
    text-shadow: 0 0 20px #fff, 0 0 30px mediumblue;
}

button.buttonBreath:focus {
	border-width: 0;
	outline: none;
}

.buttonBreath canvas {
	height: 100%;
	width: 100%;
	border-radius: 50%;
	transition: border-radius linear 1.25s 1.75s, background 3s;
	background-size: 200%;
	background-position: center;
}

button.buttonBreath:focus img {
	filter: brightness(3.0);
}

.questionsCont {
	position: relative;
	height: 100vh;
	width: 100vw;
}

.questionsCont img, .questions {
	position: absolute;
    left: 50%;
    top: -50%;
    transform: translate(-50%, -46%);
    width: 850px;
    max-height: calc(100vh - 135px);
    object-fit: contain;
}

.questions {
    color: white;
    width: 85vw;
    font-size: 5vw;
    line-height: normal;
    text-align: center;
    text-shadow: 0 0 20px #fff, 0 0 30px mediumblue;
   	transition: top 20s linear, opacity 1s;
   	opacity: 1;
}

.questions.down {
	top: 150%;
}

.questions.invisible {
   	opacity: 0;
}

#medimg {
	width:770px; 
	object-fit: contain;
	animation:spin 150s linear infinite;

}

.questions.med {
	font-size: 35px;
	max-width: 740px;
	top: 50%;
}

.dot{
    position:absolute;
    top:0;
    left:0;
    width:50px;
    height:50px;
    background:red;
    border-radius:50%;
}
.sun{
    width:100vw;
    height:100vh;
    position:absolute;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-timing-function:linear;
    -webkit-animation-name:orbit;
    -webkit-animation-duration:30s;
    -moz-animation-iteration-count:infinite;
    -moz-animation-timing-function:linear;
    -moz-animation-name:orbit;
    -moz-animation-duration:30s;
    top:0px;
    left:0px;
}

.ext {
    position: absolute;
    top: -4vh;
    left: 67vw;
}

.easy {
	position: absolute;
	right: 50vw;
	bottom: -40vh;
}

.easy canvas {
	background-image: url('/assets/textures/whiteciel.png');
}
.ext canvas {
	background-image: url('/assets/textures/vuedebas.png');
}

.deco {
	position: absolute;
    bottom: 3vh;
    right: 20vw;
    transition: 1s right, 1s bottom;
}

.disap .titleIntro {
	font-size: 45px;
}

.disap {
	top: -50%;
}

.disap.outDown {
	opacity: 0;
}

.introContent.disa {
	opacity: 0;
	z-index: -5;
}

.debut .deco {
	bottom: -50vh;
	right: -30vw;
}

.debut .ext {
	top: 60%;
	left: 66%;
transform: translate(-50%, -50%);
}

.debut .easy {
	right: 66%;
	bottom: 40%;
transform: translate(50%, 50%);

}

.debut .buttonBreath img {
	width: 480px;
}


.textExpli {
	color: white;
	text-align: center;
opacity: 0;
    transition: opacity 0.5s 1.5s;
}

.debut .easy .textExpli, .debut .ext .textExpli {
	opacity: 1;
}

.choosen .textExpli {
	display: none;
}

.choosen img {
	opacity: 0;
	max-width: unset;
	transition: width 3s;
	width: 100vw !important;
}

.chooseMode {
	    color: white;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 67px;
font-size: clamp(1.5rem, 2.5vw, 4rem); 
    opacity: 0;
    transition: opacity 0.5s 1.5s;
}

.debut .chooseMode {
	opacity: 1;
}

.debut button:hover .menuInt {
	    background: -webkit-gradient(linear,left top,left bottom,color-stop(#7295b5,0),color-stop(#005081,0.47),color-stop(#147bb6,0.7),color-stop(#00abe5,0.94),color-stop(#02a8e4,1));
    background: -webkit-linear-gradient(top,#ffe9f7 0%,#a4ffb9 25%,#10ff9d 70%,#3dfd96 94%,#afe2c7 100%);
    background: -moz-linear-gradient(top,#ffe9f7 0%,#a4ffb9 25%,#10ff9d 70%,#3dfd96 94%,#afe2c7 100%);
    background: -o-linear-gradient(top,#ffe9f7 0%,#a4ffb9 25%,#10ff9d 70%,#3dfd96 94%,#afe2c7 100%);
    background: linear-gradient(top,#ffe9f7 0%,#a4ffb9 25%,#10ff9d 70%,#3dfd96 94%,#afe2c7 100%);
    background: -webkit-linear-gradient(top,#ffe9f7 0%,#a4ffb9 25%,#10ff9d 70%,#3dfd96 94%,#afe2c7 100%);
    color: mediumblue;
    cursor: pointer;
}

.debut button:hover img {
	filter: brightness(3.0);
}


.textExpli .menuInt {
	margin: 1vw auto;
}

.debut button.choosen {

    padding: 0;
    transition: 3s right, 3s bottom, 3s height, 3s width, 3s transform, 3s left, 3s top;

}

.debut button.choosen.easy {
	bottom: 50%;
	right: 50%;
}

.debut button.choosen.ext {
	top: 50%;
	left: 50%;
}



button.choosen canvas {
	border-radius: 0%;
    background-size:  100%;
}

button.choosen.ext canvas {
    background-size: 100% auto;
}

button.choosen div {

}

@media screen and (max-width: 980px) {
	#menuopen {
  	height: calc(100vh - 75px);
	}

	.questions.med {
		font-size: 25px;
	}

	.cont {
		min-height: unset;
		height: calc(100vh - calc(100vh - 100%));
	}

	.introContent {
		height: calc(100vh - calc(100vh - 100%));

	}


	#medimg {
	width:98%; 
}

	.themeTitle {
		font-size: 18px;
	}

	.textBreath {
		font-size: 18px;
		max-width: 140px;
	}

	.contBreath {
		flex-direction: column;

	}

	.questions {
		font-size: 25px;
		   	font-weight: 600;
}

	.buttonBreath img {
    width: unset;
    max-width: 60vw;
	}

	.fullMed {
	bottom: 80px;
}

#gobackMenu.visible {
    display: block;
    position: absolute;
    top: 65px;
}

#Enterpluri .card.card-body {
	margin: auto;
}

.titleIntro {
	font-size: 5.5vw;
}



}