html,
body {
	height: 100%;
}

body {
	background-color: #151e2e;
	background-image: linear-gradient(to right, #272f3d 1px, transparent 1px), linear-gradient(to bottom, #272f3d 1px, transparent 1px);
	background-size: 24px 24px;

	display: flex;
	overflow: hidden;
	font-family: 'Poppins', Verdana, Geneva, Tahoma, sans-serif
}

h1 {
	position: relative;
	padding: 0;
	margin: 0;
	font-family: "Verdana", "Playfair Display", "Raleway", sans-serif;
	color: #f8f8f8;
	-webkit-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;

	text-align: center;
	font-size: 50px;
	text-transform: uppercase;
	/*letter-spacing: 1px;*/
	font-weight: 400;

	border-bottom: 1px solid #3b3b3b;
	border-top: 1px solid #3b3b3b;

}

.main-container {
	border-color: #ffffff1a;
	outline-color:
		color-mix(in oklab, #6a7282 50%, transparent);

	width: 80%;
	min-width: 425px;

	height: 70%;
	min-height: fit-content;

	margin: auto;
	padding: 10px;
	row-gap: 15px;

	display: flex;
	flex-direction: column;
	align-items: center;

	/*background: #ffffff24;*/
	background: #3133394d;
	border-radius: 16px;
	box-shadow: 0 4px 30px #0000001a;
	backdrop-filter: blur(7.3px);
	-webkit-backdrop-filter: blur(7.3px);
	border: 1px solid #ffffff99;
}

canvas {
	border: 1px solid black;
}

.chart-container {
	width: 80%;
	height: 70%;

	display: flex;
	justify-content: center;

	padding: 3px;
}

.btn-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	column-gap: 60px;
}

/*******Bouton******/

.fancy {
	background-color: transparent;
	border: 2px solid #ffffff;
	border-radius: 0;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	float: right;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0;
	outline: none;
	overflow: visible;
	padding: 1.25em 2em;
	position: relative;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	transition: all 0.3s ease-in-out;
	user-select: none;
	font-size: 13px;

	/*Shadow*/
	box-shadow: rgba(0, 0, 0, 0.4) 1px 5px 5px 4px, rgba(0, 0, 0, 0.3) 13px 13px 3px 6px, rgba(0, 0, 0, 0.2) 2px 3px 5px 3px inset;
}

.fancy::before {
	content: " ";
	width: 1.5625rem;
	height: 2px;
	background: #ffffff;
	top: 50%;
	left: 1.5em;
	position: absolute;
	transform: translateY(-50%);
	transform-origin: center;
	transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
	font-size: 1.125em;
	line-height: 1.33333em;
	padding-left: 2em;
	display: block;
	text-align: left;
	transition: all 0.3s ease-in-out;
	text-transform: uppercase;
	text-decoration: none;
	color: ffffff;
}

.fancy .top-key {
	height: 2px;
	width: 1.5625rem;
	top: -2px;
	left: 0.625rem;
	position: absolute;
	background: #373f4c;
	transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
	height: 2px;
	width: 1.5625rem;
	right: 1.875rem;
	bottom: -2px;
	position: absolute;
	background: #373f4c;
	transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
	height: 2px;
	width: 0.625rem;
	right: 0.625rem;
	bottom: -2px;
	position: absolute;
	background: #373f4c;
	transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
	color: white;
	background: black;
}

.fancy:hover::before {
	width: 0.9375rem;
	background: white;
}

.fancy:hover .text {
	color: white;
	padding-left: 1.5em;
}

.fancy:hover .top-key {
	left: -2px;
	width: 0px;
}

.fancy:hover .bottom-key-1,
.fancy:hover .bottom-key-2 {
	right: 0;
	width: 0;
}

/**Bouton*/