body, html {
    margin: 0;
    padding: 0;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
	background-color: #ffebd2;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #273248;
    color: #ffa364;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.fixed-header .logo {
    font-size: 1.5em;
    font-weight: bold;
	margin-right: 20px;
}

.fixed-header .menu {
    flex-grow: 1; /* Permet au menu de prendre tout l’espace disponible */
}

.fixed-header .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.fixed-header .menu ul li {
    margin: 0 10px;
}

.fixed-header .menu ul li a {
    color: #ffebd2;
    text-decoration: none;
    padding: 5px 15px;
    transition: background-color 0.3s;
	font-weight: bold;
	font-size: 19px;
	font-family : "Gruppo";
}

.fixed-header .menu ul li a:hover {
    background-color: #273248;
    border-radius: 5px;
	color : #ffa364;
}

@media (max-width: 768px) {
  /* Menu en colonne et centrage */
  .header {
    flex-direction: column;
    text-align: center;
  }

  .menu ul {
    flex-direction: column; /* Les éléments du menu passent en colonne */
    gap: 10px; /* Espacement réduit */
  }

  .contact-btn {
    margin-top: 15px; /* Ajoute un espacement entre le menu et le bouton */
    font-size: 0.9rem; /* Réduit la taille du texte */
    padding: 8px 16px; /* Réduit les dimensions du bouton */
  }
}

@media (max-width: 480px) {
  /* Réduction supplémentaire pour les très petits écrans */
  .menu ul {
    font-size: 0.8rem; /* Réduit la taille du texte du menu */
  }

  .contact-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

main {
    padding-top: 70px; /* Compense la hauteur du header fixe */
}

@media (max-width: 768px) {
    main {
        padding-top: 120px; /* Augmente l'espacement pour les petits écrans */
    }
}

section {
    padding: 50px;
}
.menu a {
    color: #ffa364; /* Couleur du texte : bleu */
    text-decoration: none; /* Supprime le soulignement */
    font-weight: semi-bold; /* Optionnel : rend le texte en gras */
}

.logo img {
    width: 60px; /* Ajuste la largeur */
    height: auto; /* Garde les proportions */
    display: flex; /* Évite les marges indésirables */
}

h1 {
	color : #af4f41;
    font-size: 45px;
	font-weight: 300;
}

p {
	color : #273248;
}
.site-footer {
    background-color: #ffa364; /* Couleur de fond */
    color: white; /* Couleur du texte */
    text-align: center; /* Centrer le texte */
    padding: 20px 0; /* Espacement intérieur haut et bas */
    font-size: 14px;
}

.site-footer a {
    color: #af4f41; /* Couleur des liens */
    text-decoration: none; /* Supprime le soulignement */
    margin: 0 10px; /* Espacement horizontal entre les liens */
}

.site-footer a:hover {
    text-decoration: underline; /* Soulignement au survol */
}

.footer-menu ul {
    list-style: none; /* Supprime les puces */
    padding: 0;
    margin: 10px 0 0; /* Ajoute de l’espace entre le texte et le menu */
    display: flex;
    justify-content: center; /* Centre les éléments du menu */
    gap: 15px; /* Ajoute de l’espace entre les éléments */
}

.footer-menu li {
    display: inline; /* Affiche les éléments du menu sur une seule ligne */
}

.special-paragraph {
    color: #ffebd2; /* Change la couleur du texte en rouge */
}

.gruppo-regular {
  font-family: "Gruppo", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.contact-btn {
    text-decoration: none; /* Supprime le soulignement */
    background-color: #af4f41; /* Couleur de fond du bouton */
    color: #ffebd2; /* Couleur du texte */
    padding: 10px 25px; /* Taille du bouton */
    border-radius: 1px; /* Coins arrondis */
	border: 0px solid #ffebd2;
    font-size: 1rem; /* Taille de la police */
    font-weight: bold;
	font-size: 19px;
	font-family : "Gruppo";
    transition: background-color 0.3s ease; /* Animation au survol */
	margin-right: 20px;
}

.contact-btn:hover {
    background-color: #fc7643; /* Couleur de fond au survol */
}

#home {
    padding: 0 0 0 10vw; /* Espacement intérieur de la section */
    background-color: #273248;
    display: flex; /* Assure que la section contient les éléments */
    justify-content: center; /* Centre horizontalement le conteneur */
    align-items: center; /* Aligne verticalement */
}

.container {
    display: flex; /* Active Flexbox pour le contenu */
    justify-content: space-between; /* Sépare le texte et l'image */
    align-items: center; /* Aligne verticalement les enfants */
    width: 100%; /* Occupe toute la largeur disponible */
    margin: 0 auto; /* Centre horizontalement */
}

.text-content {
    max-width: 60%; /* Largeur maximale du texte */
}

.text-content h1 {
    font-size: clamp(2rem, 5vw, 5.8rem); /* Taille du titre */
    margin: 0 0 10px 0; /* Supprime les marges par défaut sauf en bas */
    text-align: left; /* Aligne à gauche */
	font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;  
	font-style: normal; 
	font-variant: normal; 
	font-weight: 100; 
}

.text-content p {
    font-size: 1rem; /* Taille du paragraphe */
    margin: 20px 0 50px 0; /* Supprime les marges */
    text-align: left; /* Aligne à gauche */
	color: #ffebd2;
}

.image-accueil {
	display: block;
    max-width: 40%; /* Limite la largeur de l'image */
    height: auto; /* Maintient les proportions */
    margin: 0; /* Supprime les marges */
    object-fit: contain; /* Assure que l'image ne déborde pas */
    align-self: flex-start; /* Aligne l'image en haut à droite */
}

.class { 
	font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; 
}

.def-metier-btn {
    text-decoration: none; /* Supprime le soulignement */
    background-color: #af4f41; /* Couleur de fond du bouton */
    color: #ffebd2; /* Couleur du texte */
    padding: 1vw 3vw; /* Taille du bouton */
    border-radius: 1px; /* Coins arrondis */
	border: 0px solid #ffebd2;
    font-size: 1.2vw; /* Taille de la police */
    font-weight: regular;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
    transition: background-color 0.3s ease; /* Animation au survol */
	display: inline-block;
	text-align: center;
	}
	
	@media (max-width: 768px) {
    .def-metier-btn {
        font-size: 3vw; /* Augmente la taille de la police pour les mobiles */
        padding: 2vw 4vw; /* Augmente le padding pour un bouton facilement cliquable */
    }
}

/* Media queries pour très petits écrans (par exemple, smartphones) */
@media (max-width: 480px) {
    .def-metier-btn {
        font-size: 4vw; /* Adapte encore la taille de la police */
        padding: 3vw 5vw; /* Rend le bouton plus accessible */
        border-radius: 0px; /* Coins plus arrondis pour un design mobile-friendly */
    }
}

.def-metier-btn:hover {
    background-color: #fc7643; /* Couleur de fond au survol */
}

.video {
    width: 100%; /* S'adapte à la largeur du conteneur */
    height: auto; /* Conserve les proportions */
}

#video {
	 background-color: #000000;
}

#citation {
	 background-color: #af4f41;
	 padding: 30px;
    border-bottom: 1px solid #af4f41;
}

#citation h1{
	 color: #fc7643;
	 display: flex; /* Active Flexbox */
     justify-content: center; /* Centre horizontalement */
     align-items: center; /* Centre verticalement */
	 margin: 0 0; /* 10px en haut et en bas, 0px à gauche et à droite */
	 font-family: "Gruppo";
	 font-size: 50px;
}

.article {
    display: flex; /* Arrange les éléments en ligne */
    align-items: flex-start; /* Aligne le texte en haut de l'image */
    gap: 20px; /* Espacement entre l'image et le texte */
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background-color: #273248;
}

.article img {
    width: 150px; /* Largeur fixe pour les images */
    height: 150px; /* Hauteur fixe */
    object-fit: cover; /* Adapte l'image à la taille donnée sans la déformer */
    border-radius: 2px; /* Coins arrondis */
}

.article .content {
    flex: 1; /* Le texte prend tout l'espace restant */
	text-align: left;
}

.article h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffebd2;
	font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
	font-weight: 400;
}

.article .date {
	margin: 0;
    font-size: 1rem;
    color: #af4f41;
    line-height: 1.5;
	font-style: italic;
}

.article .extrait {
    margin: 0 0 15px;
    font-size: 1rem;
    color: #fc7643;
    line-height: 1.5;
}

.article .lien {
    text-decoration: none;
    color: #fc7643;
    font-weight: bold;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
}

.article .lien:hover {
     color: #ffa364;
}

#nouveaux-articles {
	padding: 1vw 13vw 2.6vw 13vw;
	text-align: center;
}

#nouveaux-articles h1 {
	text-align: left;
}

#tutoriels  {
    max-width: full;
    margin: 0;
    background-color: #273248;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 1vw 13vw 2.6vw 13vw;
	text-align: center;
}

#tutoriels h1 {
	text-align: left;
}

/* Conteneur des articles */
.tutoriels-container {
    display: flex; /* Dispose les articles en ligne */
    flex-wrap: wrap; /* Permet un retour à la ligne si la largeur dépasse */
    gap: 20px; /* Espacement entre les articles */
    justify-content: space-between; /* Espacement équilibré */
}

/* Style des articles individuels */
.tutoriels {
    display: flex; /* Dispose l'image et le contenu en ligne */
    flex-direction: column; /* Garde l'image et le texte en colonne */
    align-items: stretch;
    width: calc(23% - 20px); /* Chaque article prend 1/4 de la largeur */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #ffebd2;
    box-sizing: border-box;
	justify-content: space-between;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Style de l'image */
.tutoriels img {
	align-self: flex-start;
    width: 100%; /* L'image prend la largeur du conteneur de l'article */
    height: 300px; /* Hauteur fixe */
    object-fit: cover; /* Adapte l'image sans déformation */
    border-radius: 2px; /* Coins arrondis */
    margin-bottom: 10px; /* Espacement entre l'image et le texte */
}

/* Contenu de l'article */
.tutoriels .content {
    text-align: center; /* Centrer le texte */
}

/* Style du titre de l'article */
.tutoriels h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #af4f41;
	font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
	font-weight: 400;
	align-self: center;
}

/* Style de l'extrait */
.tutoriels .extrait {
    font-size: 0.9rem;
    color: #273248;
    line-height: 1.5;
    margin: 1.5vw 1.5vw 3vw;
}

/* Style du lien */
.tutoriels .lien {
   text-decoration: none;
    color: #af4f41;
    font-weight: bold;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
	margin: 0 0 15px;
	align-self: center;
}

.tutoriels .lien:hover {
    color: #ffa364;
}

/* Responsiveness pour les petits écrans */
@media (max-width: 800px) {
    .tutoriels {
        width: calc(50% - 3vw); /* Deux colonnes */
    }
}

@media (max-width: 480px) {
    .tutoriels {
        width: 100%; /* Une seule colonne */
    }
}

#definitions {
	padding: 1vw 13vw 2.6vw 13vw;
}

#definitions h3 {
	margin: 0 0 10px;
    font-size: 1.5rem;
    color: #273248;
	font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
	font-weight: 400;
}

.suite-article-btn {
    text-decoration: none; /* Supprime le soulignement */
    background-color: #af4f41; /* Couleur de fond du bouton */
    color: #ffebd2; /* Couleur du texte */
    padding: 1vw 3vw; /* Taille du bouton */
    border-radius: 1px; /* Coins arrondis */
	border: 0px solid #ffebd2;
    font-size: 1.2vw; /* Taille de la police */
    font-weight: regular;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
    transition: background-color 0.3s ease; /* Animation au survol */
	display: inline-block;
	text-align: center;
	}
	
	@media (max-width: 768px) {
    .suite-article-btn {
        font-size: 3vw; /* Augmente la taille de la police pour les mobiles */
        padding: 2vw 4vw; /* Augmente le padding pour un bouton facilement cliquable */
    }
}

/* Media queries pour très petits écrans (par exemple, smartphones) */
@media (max-width: 480px) {
    .suite-article-btn {
        font-size: 4vw; /* Adapte encore la taille de la police */
        padding: 3vw 5vw; /* Rend le bouton plus accessible */
        border-radius: 0px; /* Coins plus arrondis pour un design mobile-friendly */
    }
}

.suite-article-btn:hover {
    background-color: #fc7643; /* Couleur de fond au survol */
}

.suite-tutoriel-btn {
    text-decoration: none; /* Supprime le soulignement */
    background-color: #af4f41; /* Couleur de fond du bouton */
    color: #ffebd2; /* Couleur du texte */
    padding: 1vw 3vw; /* Taille du bouton */
    border-radius: 1px; /* Coins arrondis */
	border: 0px solid #ffebd2;
    font-size: 1.2vw; /* Taille de la police */
    font-weight: regular;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
    transition: background-color 0.3s ease; /* Animation au survol */
	display: inline-block;
	text-align: center;
	margin: 25px 0 10px 0;
	}
	
	@media (max-width: 768px) {
    .suite-tutoriel-btn {
        font-size: 3vw; /* Augmente la taille de la police pour les mobiles */
        padding: 2vw 4vw; /* Augmente le padding pour un bouton facilement cliquable */
    }
}

/* Media queries pour très petits écrans (par exemple, smartphones) */
@media (max-width: 480px) {
    .suite-tutoriel-btn {
        font-size: 4vw; /* Adapte encore la taille de la police */
        padding: 3vw 5vw; /* Rend le bouton plus accessible */
        border-radius: 0px; /* Coins plus arrondis pour un design mobile-friendly */
    }
}

.suite-tutoriel-btn:hover {
    background-color: #fc7643; /* Couleur de fond au survol */
}

.articles .article {
    transition: all 0.3s ease;
}
.articles .article[style*="display: none"] {
    opacity: 0;
    transform: scale(0.9);
}