html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

::before, ::after{
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

:root{
	--color1: #FBDE6D; /* jaune */
	--color2: rgba(255, 255, 255, .9); /* blanc-pure */
	--color3: rgba(255, 255, 255, .5); /* blanc-léger */
	--color4: rgba(0, 0, 0, .6); /* noir-léger */
	--color5: rgba(0, 0, 0, .85); /* noir-foncé */
	/*--color4: #203234;*/

	--font1: "Courgette", cursive;
	--font2: "Lato", sans-serif;

	--bora: 12px;
	--boxshadow: 0 0px 10px rgba(0,0,0,.3);

	--h100: 100vh;
	--line-h: 24px;
	--nth-lines-trunc: 4;
}

html{
	font-size: 16px;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

::-webkit-scrollbar{
	width: 0;
	background: transparent;
}


body{
	background: linear-gradient(var(--color2) 50%, var(--color4));
	font: 1rem/1.5rem var(--font2);
}

.structure{
	background: url("../img/fond-1.jpg") top/auto 33.33333333% no-repeat,
				url("../img/fond-2.jpg") center/auto 33.33333333% no-repeat,
				url("../img/fond-3.jpg") bottom/auto 33.33333333% no-repeat transparent;
}

.menu{
	display: flex;
	justify-content: center;
	gap: 3rem;
	list-style: none;
}

.menu a:link, .menu a:visited{
	display: block;
	color: var(--color5);
	font-size: .875rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-decoration: none;
	padding: 1rem 0;
	transition: transform .2s ease-in-out;
}

.menu a:hover, .menu a:active, .menu a:focus{
	transform: scale(1.1);
}

.toggle{
	display: none;
}

.bandeau{
	display: flex;
	align-items: center;
}

.logo{
	pading: 2rem;
	/*margin-left: 8rem;*/
	margin: 0 auto;
	position: relative;
}

.logo img{
	display: block;
	width: 50vw;
	transform: scale(1);
	transition: transform .2s ease-in-out;
	animaion: MoveUpDown 4s linear 0.70s infinite;
}

.logo img:hover{
	transform: scale(1.05);
}

@keyframes MoveUpDown{
	0%, 50%, 100% {
        translate: 0 0;
    }
    25% {
        translate: 0 -10px;
    }
    75% {
        translate: 0 10px;
    }
}

.nfts{
	position: absolute;
	top: 330px;
	left: 62%;
}

.nfts img{
	position: absolute;
	top: 0;
	left: 0;
	width: 140px;
}

.nfts img:nth-child(2){
	top: -50px;
	left: 100px;
}

.nfts img:nth-child(3){
	top: -20px;
	left: 200px;
}

.nfts img:nth-child(4){
	top: 75px;
	left: 190px;
}

.nfts img:nth-child(5){
	top: 90px;
	left: 80px;
}

h1{
	font: 700 3rem/1 var(--font1);
	color: #F6D000;
	text-align: center;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, .9);
	margin-bottom: 3rem;
}

.section, .section-double section{
	display: flex;
	justify-content: center;
	align-items: center;
}

.container{
	background: var(--color3);
	flex-basis: 95vw;
	padding: 4rem 2rem;
	margin-bottom: 3rem;
	border-radius: var(--bora);
	box-shadow: var(--boxshadow);
}

.section-double .container{
	background: var(--color4);
	color: var(--color2);
	padding: 2rem;
	box-shadow: 0 0px 10px rgba(255, 255, 255, .2);
}

#tokenomics{
	container-type: inline-size;
  	container-name: tokenomics;
}

.down{
	display: none;
}

.container-card{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 3rem;
	container-type: inline-size;
  	container-name: containerCard;
}

.card{
	position: relative;
	background: var(--color4);
	color: #fff;
	flex-basis: 100%;
	display: flex;
	flex-direction: column;
	padding: .5rem;
	border-radius: var(--bora);
	box-shadow: 2px 2px 10px rgba(0, 0, 0, .3);
}

.card.last{
	flex-basis: 100%;
}

#environnements img{
	display: block;
	width: 100%;
	object-fit: cover;
}

.overlay{
	position: absolute;
	background: rgba(0,0,0,.7);
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	overflow: hidden;
	transform: scale(0);
	transition: .3s ease;
	border-radius: var(--bora);
}

#environnements .card h2{
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#environnements .card:hover .overlay{
	transform: scale(1);
}

.card h2{
	bakground: url("../img/bone-1.png") left center/1.75rem no-repeat transparent;
	font: 700 1.25rem/1 var(--font2);
	paddng-left: 2.3rem;
	margin-bottom: 1rem;
}

.card:nth-child(2) h2{
	bakground-image: url("../img/bone-2.png");
}

.card:nth-child(3) h2{
	bakground-image: url("../img/bone-4.png");
}

.card:nth-child(4) h2{
	bakground-image: url("../img/bone-3.png");
}


/*.card h2::before{
	content: url(../img/bone-1.png);
	position: absolute;
	width: 1.5rem;
	outline: 1px solid green;
}*/

.card h2 + *{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.card li{
	list-style: inside url("../img/undone.png");
}

.card a:link, .card a:visited{
	display: block;
	background: var(--color1);
	color: #000;
	font: 1.2rem/1 var(--font2);
	text-align: center;
	text-decoration: none;
	padding: .4rem;
	border-radius: var(--bora);
}

.pie-chart{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 6rem;
}

pie-chart{
	width: 340px;
	height: 340px;
}

@container tokenomics (min-width: 390px) and (max-width: 520px){
	.pie-chart{
		margin: 4rem 0 1rem;
	}

	pie-chart{
		width: 260px;
		height: 260px;
	}
}

form div{
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 2rem;
}

form div:last-of-type{
	margin-bottom: 2rem;
}

label{
	padding-left: .5rem;
}

label i{
	padding-right: .8rem;
}

input, textarea, form button{
	background: var(--color2);
	font: 1rem/1 var(--font2);
	border-radius: var(--bora);
}

input{
	height: 2rem;
	padding: .1rem .5rem;
	border: 0;
}

textarea{
	min-height: 5rem;
	padding: .5rem;
	border: 0;
	resize: vertical;
}

form button{
	background: var(--color1);
	color: var(--color5);
	width: 100%;
	padding: .6rem;
	border: 0;
	cursor: pointer;
}

label, form button{
	font: 1.2rem/1 var(--font2);
}

.card a:hover, .card a:active, .card a:focus, form button:hover, form button:focus{
	transition: transform .2s ease-in-out;
	transform: scale(1.03);
}

.btn-app{
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 8rem 0 2rem;
}

.btn-app span{
	background: var(--color5);
	color: var(--color2);
	font-variant: small-caps;
	padding: 1rem;
	border-radius: var(--bora);
	box-shadow: 1px 1px 10px -3px var(--color3);
}

.btn-app span:first-child{
	margin-left: 1.2rem;
}

footer{
	widh: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	background: var(--color4);
	color: var(--color2);
	font-size: 1.1rem;
	font-variant: small-caps;
	text-align: center;
	padding: 1rem;
	marin-top: 8rem;
}

footer img{
	display: block;
	height: 2rem;
}

footer div{
	display: flex;
	gap: 1rem;
}

footer p, footer a{
	line-height: 1.2;
}

footer a{
	color: color: var(--color2);
	text-decoration: none;
}

footer a:is(:hover, :active, :focus){
	text-decoration: underline;
}

footer span{
	font-size: .95rem;
}

@media screen and (max-width: 991px){
	.toggle{
		display: block;
		position: absolute;
		top: 2.5rem;
		right: 2.5rem;
		background: rgba(255, 255, 255, .7);
		font-size: 2rem;
		padding: .3rem .5rem;
		border: 1px solid transparent;
		border-radius: var(--bora);
		cursor: pointer;
		z-index: 20;
	}

	.toggle:hover, .toggle:focus{
		border-color: #DE080B;
		border-color: var(--color1);
	}

	.ouvrir, .open .fermer{
		display: block;
		color: var(--color5);
	}

	/*.open .yellow{
		color: var(--color1);
	}*/

	.fermer, .open .ouvrir{
		display: none;
	}

	.menu{
		background: rgba(0, 0, 0, .95);
		width: 100%;
		height: 100dvh;
		position: absolute;
		top: 0;
		left: 0;
		transform: translateX(-100%);
		transition: transform .5s;
		flex-direction: column;
		align-items: center;
		justify-content: space-evenly;
		z-index: 10;
	}

	.menu a:link, .menu a:visited{
		color: var(--color1);
		font-size: 1.5rem;
	}

	.open .menu{
		transform: translateX(0);
	}
}

@media screen and (max-width: 500px){
	.toggle{
		right: 1.5rem;
	}
}

@media screen and (min-width: 992px){
	.bandeau{
		height: var(--h100);
	}

	.logo img{
		width: 30vw;
		transorm: translateY(-2rem);
	}

	.logo img:hover{
		tranform: translateY(-2rem) scale(1.1);
	}

	nav{
		/*position: absolute;
		top: 0;
		left: 0;*/
		display: flex;
		justify-content: center;
		background: rgba(255, 255, 255, .7);
		width: 100%;
		pading: 1rem;
	}

	.down{
		position: absolute;
		top: 93vh;
		left: 50vw;
		transform: translate(-50%, -50%);
		font-size: 2.5rem;
		color: var(--color5);
	}

	.down[href="#environnements"]{
		top: 200vh;
	}

	.down[href="#collection"]{
		top: 300vh;
	}

	.down[href="#roadmap"]{
		top: 400vh;
	}

	.down[href="#tokecontact"]{
		top: 500vh;
		color: var(--color2);
	}

	.up[href="#header"]{
		top: 618vh;
		color: var(--color2);
	}

	.container{
		flex-basis: 90vw;
	}

	.section-double{
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.container-double{
		flex-basis: 90vw;
		display: flex;
		justify-content: center;
		align-items: stretch;
		gap: 3rem;
		background: var(--color3);
		border-radius: var(--bora);
		box-shadow: var(--boxshadow);
		padding: 2rem;
	}

	.section-double section{
		flex-basis: 50%;
		height: auto;
		align-items: flex-start;
		background: var(--color4);
		border-radius: var(--bora);
		box-shadow: var(--boxshadow);
	}

	.section-double .container{
		background: transparent;
		box-shadow: none;
		margin-bottom: 0;
	}

	.card:nth-child(odd){
		margin-bottom: 1.5rem;
	}

	.card:nth-child(even){
		margin-top: 1.5rem;
	}

	.pie-chart{
		margin-top: 6rem;
	}

	form div{
		margin-bottom: 1.5rem;
	}

	footer{
		padding: .7rem 4rem;
	}

	.scrollbar{
		position: fixed;
		top: 0;
		right: 0;
		width: 15px;
		height: 0;
		opacity: 0;
		background: linear-gradient(to top, var(--color1), #F7D02A);
	}

	.click-scrollbar{
		position: fixed;
		top: 0;
		right: 0;
		width: 15px;
		height: 100%;
		background: rgba(170, 170, 170, .356);
	}
}

@media screen and (min-width: 939px){
	#presentation .container-card{
		flex-wrap: nowrap;
	}
}

@media screen and (min-width: 1349px){
	.down{
		display: block;
	}

	.section, .section-double{
		height: var(--h100);
	}

	.container-card{
		flex-wrap: nowrap;
	}
}

@container containerCard (min-width: 828px){
	.card, .card.last{
		flex-basis: 45%;
	}
}

@container containerCard (min-width: 1150px){ /* 1150 */
	.card, .card.last{
		flex-basis: 25%;
	}
}



