/* Global Styles */
html {
	background-color: #333333;
}

body {
	width: 80%;
    font-family: 'Raleway', sans-serif;
	font-size: 24px;
    color: #808080;
	margin: 0px auto ;
	box-shadow: -2.8em 0 2em #fa0068, 2.8em 0 2em #00d9fa;
	border: 2px solid #CCCCCC;
	border-top: 0px;
	border-bottom: 0px;
	text-align: center;
	max-width: 780px;
	height: 100vh; /* Full viewport height */
    filter: saturate(1.0);
}

div .main {
	background-color: #808080;
}

/* Typography Styles */
h1 {
    color: #9e4f70;
    text-align: center;
	vertical-align: middle;
	margin-top: 0px;
	padding-top: 16px;
}

h2, h3 {
	color: #663C66;
    text-align: center;
}

a {
    color: #9e4f70;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Color Styles */
.pink {
	color: #CC5285;
}

.blue {
	color: #52BCCC;
}

/* Layout Styles */
.intro {
	color: #CCCCCC;
}

.logo {
	background-color: #333333;
	margin: auto 0px;
    transition: filter 0.8s ease-out, background-color 0.8s ease-out;
}

.logo:hover {
	background-color: #333333;
    filter: saturate(2.4);
    transition: filter 1.6s ease-in, background-color 1.6s ease-in;
}

.logo-image {
	background-image: url('logo.png');
	background-size: 420px;
	margin: 0 auto;
	height: 420px;
	width: 420px;
	vertical-align: middle;
}

.brand_name {
	font-size: 54px;
    color: #FFFFFF;
}

.bas_page {
	vertical-align: center;
	text-align: center;
	color: #FFFFFF;
	background-color: #333333;
	margin: 32px auto;
}

/* Image and Text Styles */
.image-text {
	text-align: left;
}

.image-text a {
	display: inline-block;
	text-decoration: none;
    filter: saturate(0);
    transition: filter 0.8s ease-out;
}

.image-text a:hover {
	filter: saturate(1);
    transition: filter 1.6s ease-in;
}

.image-text img {
	vertical-align: middle;
	margin: 32px 32px;
}

.image-text span {
  	vertical-align: middle;
}

/* Hover Styles */
.common-hover:hover {
	transition: color 0.8s ease-out, background-color 0.8s ease-out;
}

.website_name {
	/* text-decoration: underline; */
	color: #CC5285;
}

.website_name:hover {
	color: #CC5285;
}

.autor_name {
	/* text-decoration: underline; */
	color: #52BCCC;
}

.autor_name:hover {
	color: #52BCCC;
}

/* Footer Styles */
footer {
    background-color: #333333;
    text-align: center;
	margin: 10px;
}

/* Styles spécifiques aux graphiques */
.chart-container {
    width: 94%;  /* Agrandit la largeur du graphique */
    margin: 0 auto;
    padding: 2px;
    background-color: #404040;
    border: 2px solid #CCCCCC;
}

canvas {
    margin-top: 0px;
}

.chartjs-render-monitor {
    color: #000000 !important;  /* Forcer le texte à être noir */
}

/* Ajustements supplémentaires pour les textes du graphique */
.chart-container .chartjs-axes, 
.chart-container .chartjs-title, 
.chart-container .chartjs-legend, 
.chart-container .chartjs-ticks {
    color: #000000 !important;  /* Texte noir pour les axes, titres, légendes et ticks */
}

/* Ajout de lisibilité pour les textes d'axes */
.chartjs-axes text, 
.chartjs-ticks text {
    fill: #000000 !important;  /* Assurer que les textes des axes et ticks soient noirs */
}

.info {
	font-size: 14pt;
	margin: 20px;
}

code {
	color: #CCCCCC;
}

/* Ajouté depuis styles_docs.css */

/* Sous-menu */
.sub-menu {
    display: none;
    position: absolute;
    background: #444;
    left: 0;
    min-width: 100px;
}

.sub-menu a {
    display: block;
    padding: 5px 10px;
    color: white;
    text-decoration: none;
}

.sub-menu a:hover {
    background-color: #555;
}

.sub-menu.active {
    display: block;
}

/* Sections vidéo */
.video {
    height: 96vh;
    min-height: 800px;
    background-color: #804080;
    margin: 0;
}

.video p {
    color: #111;
    margin: 64px;
    text-align: justify;
}

/* Navigation principale en bas de la page */
.main-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #333;
    z-index: 1000;
    padding: 10px 0;
}

/* Ajout de justification et réduction de taille de texte */
.justified {
    text-align: justify;
	margin: auto 6px 16px;
}

.small-text {
	color: #808080;
    font-size: 18px;  /* Réduction de la taille du texte */
}
