@font-face {
	font-family: "Velvelyne-Book";
	src: url("/fonts/Velvelyne-Book.woff2") format("woff2");
}

@font-face {
	font-family: "Velvelyne-Bold";
	src: url("/fonts/Velvelyne-Bold.woff2") format("woff2");
}

* {
	box-sizing: border-box;
}

html,
body {
	scroll-behavior: smooth;
	overscroll-behavior: none;
	font-family: "Velvelyne-Book", serif;
	background: linear-gradient(to bottom, #ffffff, #ffffff, #aeccee);
	color: #110422;
	overflow-x: scroll;

	box-sizing: border-box;
	height: 100%;
	padding: 0;
	margin: 0;
}

img {
	max-width: 100%
}

.wrapper {
	box-sizing: border-box;
	min-height: 100%;

	display: flex;
	flex-direction: column;
}


.page-body {
	padding: 20px;
	flex-grow: 1;
}


header {
	flex: 0;
	justify-content: space-between;
	font-family: 'Velvelyne-Bold';
	font-weight: normal;
	color: #be9298;
	max-width: calc(100% - 20px);
	margin-left: 10px;

}

footer {
	font-size: 0.8em;
	text-align: center;
	padding: 5px 10px;
	margin: 2rem;

	flex-grow: 0;
	flex-shrink: 0;
}

h1,
h2,
h3,
a {
	font-family: 'Velvelyne-Book';
	font-weight: normal;
}

/* Pour les liens */
a {
	color: #290424;
	font-size: 1em;
	text-decoration: none;
}

header a {
	font-size: 56px;
}

header a:hover {
	background-color: #ffffff00;
	color: #ae60ee;
}


a:hover {
	background-color: #a0abc2;
	color: #061427;
}

p {
	font-size: 1rem;
	line-height: 1.5;
}

h5 {
	font-size: 1.25em;
	font-family: 'Velvelyne-Bold';
	margin: 0;
}


.flex-container {
	margin-top: 5%;
	display: flex;
	flex-direction: row;
}

.flex-container>div.left {
	width: 15%;
	text-align: left;
	margin-left: 2%;
}

.flex-container>div.right {
	width: 85%;
	word-wrap: break-word;
	text-align: justify;
	margin-right: 5%;
	margin-left: 5%;

}

.prediction {
	display: flex;
	justify-content: center;
	align-items: center;
}

button {
	background-color: rgba(255, 0, 0, 0);
	border: none;
	color: #14011f;
	padding: 10px 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	padding-right: 0.73em;
}


.custom-tooltip {
	position: fixed;
	background: rgba(99, 6, 161, 0.767);
	color: #fff;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 15px;
	pointer-events: none;
	z-index: 9999;

	transition: opacity 0.15s ease-in-out;

	max-width: 300px;
	/* 👈 controls width */
	white-space: normal;
	/* 👈 allows wrapping */
	line-height: 1.7;
	font-family: "Velvelyne-Book", sans-serif;
	text-align: center;

}