/* styles.css */

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black; /* Fond sombre */
    color: #fff;
}

#home-page header{
    overflow: hidden;
    background-size: cover; /* Pour que l'image de fond couvre toute la largeur */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    padding: 0px;
    color: #ffffff;
    position: relative;
    height: 100vh; /* Pour que la section occupe toute la hauteur de la fenêtre */
}

#home-page header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-top: 15px;
    margin-left: 15px;
    left: -20px;
    cursor: pointer;
}

#home-page header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    text-align: left; /* Aligner le texte à gauche */
    margin-left: 175px; /* Ajouter une marge à gauche pour le centrer à gauche */
    cursor: default;
}

.banner-text:hover + .hidden {
    opacity: 1;
    transition: opacity 3s;
}

.hidden {
    opacity: 0;
    transition: opacity 3s;
}

header, .banner, .menu, footer {
    z-index: 1;
}


.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Pour que l'image de fond couvre toute la largeur */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    z-index: 0;
}

.background-image.active {
    opacity: 1;
}

.menu {
    width: 60%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 20px; /* Ajuste la position du menu */
    right: 10px;
}

.menu ul{
    list-style-type: none;
    display: flex;
    font-family: 'Orbitron', sans-serif;
}

.menu ul li{
    flex: 1 1 auto;
    text-align: center;
    position: relative;
}

.menu a{
    display: block;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
    cursor: pointer;
}

.menu a:hover{
    color: #ffaa5e;
    border-bottom: 2px solid #ffaa5e;
}

.menu-item .sous{
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: rgba(106, 98, 130, 0.6);
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.menu > ul li:hover .sous{
    display: flex;
    flex-flow: column wrap;
}

.menu-item .sous li{
    flex: 1 1 auto;
    text-align: left;
}

.menu-item .sous a{
    padding: 10px;
    border-bottom: none;
}

.menu-item .sous a:hover{
    border-bottom: none;
    background-color: RGBa(200,200,200,0.1);
}

.menu-item > a::after{
    font-size: 12px;
}

.Aseprite {
    background-image: url(../background/Space-0001Canvax10.png);
    background-size: cover; /* Pour que l'image de fond couvre toute la largeur */
    background-position: right;
    background-repeat: repeat;
    text-align: center;
    padding: 20px;
    color: #ffffff;
    position: relative;
    height: 96vh; /* Pour que la section occupe toute la hauteur de la fenêtre */
}

.tab-button {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px; /* Vous pouvez ajuster la taille de la police selon vos préférences */
    flex: 0 0 calc(40% - 0px); /* Largeur fixe de 50% - marge */
    background-color: #544e68;
    color: #fff;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    width: calc(25% - 20px);
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Vos styles existants pour .tutorial */
    background: linear-gradient(180deg, transparent, #fff, transparent);
    background-size: 100% 300%;
    background-position: center bottom;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease-in-out; 
}

.tab-button:hover {
    background-position: center top;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 100%;
    height: 100%;
    border: 5px solid transparent; /* Épaisseur du liseré, personnalisable */
    border-image: linear-gradient(180deg, transparent, #fff, transparent); /* Couleur du liseré, personnalisable */
    border-image-slice: 1;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;  
}

.tab-button:hover::before {
    transform: scaleX(0.95);
}
.tab-button:hover {
    background-color: #080818; /* Nouvelle couleur de fond au survol */
}

.tab-button h2 {
    font-size: 1.5rem;
}

.tab-button p {
    font-size: 1rem;
    margin: 10px 0;
}

.bandeau-construction {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    background-color: #ffcc00;
    color: #000;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #000;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}


.construction-banner {
    background-color: #ffaa5e; /* Couleur de fond du bandeau */
    color: #fff; /* Couleur du texte */
    text-align: center;
    justify-content: center;
    padding: 10px;
    font-size: 1rem;
    position: absolute;
    right: 3%;
    width: 90%; /* Pour couvrir toute la largeur de la fenêtre */
    z-index: 1; /* Assure que le bandeau s'affiche au-dessus du contenu */
    bottom: 0; /* Alignement en haut de la fenêtre */
}

.construction-banner p {
    margin: 0;
}

.footer-home {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: none; /* Supprimez l'arrière-plan des icônes sociales */
}

.social-links {
    margin-bottom: 10px; /* Espace entre les icônes et la date */
}

.social-icon {
    background: none; /* Supprimez l'arrière-plan des icônes sociales */
    transition: opacity 0.3s; /* Ajoutez une transition d'opacité pour un effet de fondu */
}

.social-icon:hover {
    opacity: 0.7; /* Réduisez légèrement l'opacité au survol */
}

.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ajustez la hauteur selon vos besoins */
}

.cta-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0vh; /* Ajustez la hauteur selon vos besoins */
}

.cta-button {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    padding: 10px 50px;
    background-color: rgba(106, 98, 130, 0.6);
    color: #000000;
    border: none;
    text-align: center;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.5s ease;
    position: relative; /* Met à jour la position pour éviter le conflit avec position: absolute */
}

.cta-button::before {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    animation: lightEffect 2s linear infinite;
}

@keyframes lightEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.cta-button:hover::before {
    animation-duration: 0.3s; /* Ajustez la durée d'animation au survol */
}

.cta-button:hover {
    background: #ed987c;
    color: #fff;
    font-weight: bolder;
    background-color: rgba(106, 98, 130, 0.8);
    background-position: 100% 0;
}

.cta-button:hover + .cta-message {
    max-height: 100px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.cta-button2 {
    display: inline-block;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    height: 2vh; /* Ajustez la hauteur selon vos besoins */
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    top: 50vh;
    cursor: pointer;
    padding: 10px 50px;
    background-color: rgba(106, 98, 130, 0.6);
    color: #000000;
    border: none;
    text-align: center;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.5s ease;
}

.cta-button2::before {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    animation: lightEffect 2s linear infinite;
}

@keyframes lightEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.cta-button2:hover::before {
    animation-duration: 0.3s; /* Ajustez la durée d'animation au survol */
}

.cta-button2:hover {
    background: #ed987c;
    color: #fff;
    font-weight: bolder;
    background-color: rgba(106, 98, 130, 0.7);
    background-position: 100% 0;
}

.hamburger {
    position: fixed; /* Position fixée pour rester en place par rapport à la fenêtre */
    top: 20px; /* Ajustez la position verticale selon vos besoins */
    left: 20px; /* Ajustez la position horizontale selon vos besoins */
    z-index: 1100; /* Assurez-vous que le hamburger reste au-dessus du contenu */
    transition: transform 0.3s ease;
}

.hamburger.open {
    transform: rotate(180deg);
}

.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: 0.4s;
}

.hamburgerPA {
    position: fixed; /* Position fixée pour rester en place par rapport à la fenêtre */
    top: 20px; /* Ajustez la position verticale selon vos besoins */
    left: 20px; /* Ajustez la position horizontale selon vos besoins */
    z-index: 1100; /* Assurez-vous que le hamburger reste au-dessus du contenu */
    transition: transform 0.3s ease;
    color: #f2d3ab;
}

.hamburgerPA.open {
    transform: rotate(180deg);
}

.hamburgerPA .bar {
    width: 30px;
    height: 3px;
    color: #f2d3ab;
    background-color: #f2d3ab;
    margin: 6px 0;
    transition: 0.4s;
}

.side-nav {
    width: 0;
    position: fixed;
    padding-top: 10px;
    top: 70px;
    max-height: calc(100vh - 80px); /* Ajuste la hauteur en fonction de la hauteur du hamburger */
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 9;
    border-radius: 3px;
    font-family: "Montserrat Alternates", sans-serif;
    background: linear-gradient(to bottom, rgba(13, 43, 69, 0.95), #000);
}

.side-nav ul {
    list-style: none;
    margin-left: 20px;
}

.side-nav li {
    padding: 3px;
}

.side-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.side-nav .backPage {
    background-color: #6188ac;
    text-decoration: none;
    color: white;
}

.side-nav a:hover {
    background-color: #6188ac;
    text-decoration: none;
    color: white;
    border-radius: 3px;
}

.side-nav ul li {
    margin-bottom: 0px;
    position: relative;
}

.side-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    transition: color 0.3s;
    cursor: pointer;
}

.side-nav ul > li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: disc; /* Ajoute des puces */
}

.side-nav ul ul > li {
    list-style-type: none; /* Supprime les puces */
    margin-bottom: 0px; /* Ajuste l'espacement */
}

.side-nav.open {
    width: 200px;
}

/* Styles pour décaler le contenu vers la droite quand le side-nav est ouvert */
.side-nav.open + #TutoAseprite {
    margin-left: 200px; /* Ajustez la valeur selon la largeur de votre side-nav */
    
}

.side-navPA {
    width: 0;
    position: fixed;
    padding-top: 10px;
    top: 70px;
    height: calc(100vh - 80px); /* Ajuste la hauteur en fonction de la hauteur du hamburger */
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 9;
    border-radius: 3px;
    font-family: "Montserrat Alternates", sans-serif;
    background: linear-gradient(to bottom, rgba(39, 39, 68, 0.9), #000);
}

.side-navPA ul {
    list-style: none;
    margin-left: 20px;
}

.side-navPA li {
    padding: 3px;
}

.side-navPA a {
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.side-navPA .backPage {
    background-color: #8b6d9c;
    text-decoration: none;
    color: #fbf5ef;
}

.side-navPA a:hover {
    background-color: #8b6d9c;
    text-decoration: none;
    color: #fbf5ef;
    border-radius: 3px;
}

.side-navPA ul li {
    margin-bottom: 0px;
    position: relative;
}

.side-navPA ul li a {
    text-decoration: none;
    color: #c69fa5;
    display: block;
    transition: color 0.3s;
    cursor: pointer;
}

.side-navPA ul > li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: disc; /* Ajoute des puces */
}

.side-navPA ul ul > li {
    list-style-type: none; /* Supprime les puces */
    margin-bottom: 0px; /* Ajuste l'espacement */
}

.side-navPA.open {
    width: 200px;
}

/* Styles pour décaler le contenu vers la droite quand le side-nav est ouvert */
.side-navPA.open + #TutoAsepritePA {
    margin-left: 200px; /* Ajustez la valeur selon la largeur de votre side-nav */
    
}

.top-sidebar {
    position: fixed;
    top: 75px;
    left: 0;
    width: 250px;
    max-height: calc(96vh - 70px);
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
    border-radius: 3px;
    background: linear-gradient(to bottom, rgba(13, 43, 69, 0.8), #000);
}



/* Classe pour activer le défilement */
.enable-scroll {
    overflow-y: auto;
}


/* Styles pour le contenu */
.content {
    margin-left: 220px; /* Pour laisser de l'espace pour le panneau latéral */
    padding: 20px;
}

.banner h1{
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 3.5rem;
    margin-top: 0%;
}

.banner h2{
    text-align: center;
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 2rem;
    margin-top: 0;
}


.header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 5vh;
}

.header h1 {
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 2.5rem;
}

#content h2{
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 2.5rem;
    text-align: right;
    margin-right: 2%;
}

.background-images {
    display: flex;
    flex-direction: column;
}

.background {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background img {
    max-width: 33%;
    height: auto;
    margin: 0px;
}

  .result-item {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
  }
  
  .result-item h2 {
    margin: 0;
    font-size: 1.5em;
  }
  
  .result-item p {
    margin: 5px 0;
  }


.content1 {
    padding: 25px;
    background-color: #544e68;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 40px;
}

h2 {
    font-size: 2rem;
    margin-top: 20px;
}

.content1 h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    text-align: justify;
    border-radius: 5px;
    margin-top: 20px;
    background-color: rgba(32, 60, 86, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h4 {
    font-size: 1.5rem;
    margin-top: 20px;
}

p {
    font-size: 1.2rem;
}

.background .tutorial {
    position: absolute;
    top: 50%; /* Ajustez la valeur pour centrer verticalement */
    left: 50%; /* Ajustez la valeur pour centrer horizontalement */
    transform: translate(-50%, -50%); /* Centrez l'élément par rapport à son propre centre */
}

.background_tuto {
    background-image: url(../background/Fond_etoiles-0003x10.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 1; /* Réglez la valeur selon vos préférences (0 à 1) */
    margin-left: 0px;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.background_tutoPA {
    background-color: #c69fa5;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    opacity: 1; /* Réglez la valeur selon vos préférences (0 à 1) */
    margin-left: 0px;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.MenuPage {
    /* Styles spécifiques pour le menu dans background_tuto */
    padding: 20px; /* Espacement intérieur */
    margin-left: 50px; /* Décalage vers la droite */
}


.MenuPage ul {
    /* Styles spécifiques pour les listes ul dans le menu de background_tuto */
    text-decoration: none;
    margin: 5px;
    padding: 5px;
}

.MenuPage ul li {
    /* Styles spécifiques pour les éléments de liste li dans le menu de background_tuto */
    margin-bottom: 10px; /* Espacement entre les éléments */
    text-decoration: none; /* Supprime les soulignements */
}

.MenuPage ul li:hover {
    background-color: #6188ac;
    border-radius: 5px;
    transition: 0.4s linear;
    cursor: pointer;
}

.MenuPagePA {
    /* Styles spécifiques pour le menu dans background_tuto */
    padding: 20px; /* Espacement intérieur */
    margin-left: 50px; /* Décalage vers la droite */
}


.MenuPagePA ul {
    /* Styles spécifiques pour les listes ul dans le menu de background_tuto */
    text-decoration: none;
    margin: 5px;
    padding: 5px;
}

.MenuPagePA ul li {
    /* Styles spécifiques pour les éléments de liste li dans le menu de background_tuto */
    margin-bottom: 10px; /* Espacement entre les éléments */
    text-decoration: none; /* Supprime les soulignements */
}

.MenuPagePA ul li:hover {
    background-color: #c69fa5;
    border-radius: 5px;
    transition: 0.4s linear;
    cursor: pointer;
}

.lienTitre {
    text-decoration: underline;
    text-decoration-color: #6188ac;
    text-decoration-thickness: 3px;
    color: white;
}

.lienTitre:hover{
    background-color: #6188ac;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienTitreAccueil {
    text-decoration: none;
    color: white;
}


.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    max-height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
}

.container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
}

.header-content .logo {
    margin-left: 10px;
    margin-right: 10px;
}

.header-content .logo img {
    height: 50px;
}

.header-content #logo-link:hover {
    cursor: pointer;
}

.header-content h1 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    font-size: 44px;
}

.header-content h1 a {
    text-decoration: none;
    color: white;
}

.fixed-headerPA {
    position: fixed;
    top: 0;
    left: 0;
    max-height: 50px;
    width: 100%;
    background-color: rgba(39, 39, 68, 0.35);
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
}

.containerPA {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-contentPA {
    display: flex;
    align-items: center;
}

.header-contentPA .logo {
    margin-left: 10px;
    margin-right: 10px;
}

.header-contentPA .logo img {
    height: 50px;
}

.header-contentPA #logo-link:hover {
    cursor: pointer;
}

.header-contentPA h1 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    font-size: 44px;
}

.header-contentPA h1 a {
    text-decoration: none;
    color: #f2d3ab;
}

#TutoAseprite {
    margin: 5%;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    max-width: 800px;
    box-sizing: border-box;
    margin: 0 auto;
    transition: margin-left 0.5s ease;
}

#TutoAseprite p{
    font-size: 16px;
    line-height: 1.5;
}

#TutoAseprite h1 {
    text-align: right;
    font-size: 28px;
    margin-top: 70px;
    padding-top: 70px;
    margin-bottom: 0px;
    font-family: 'Orbitron', sans-serif;
    margin-right: 9%;
}

#TutoAseprite h4 {
    text-align: left;
    padding-top: 20px;
    margin-bottom: 0px;
    font-family: "Montserrat Alternates", sans-serif;
}

#TutoAseprite h5 {
    margin-bottom: 0px;
    text-align: justify;
    justify-content: center;
    width: 90%;
    font-family: "Montserrat Alternates", sans-serif;
}

#TutoAseprite section {
    font-family: "Montserrat Alternates", sans-serif;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 0px;
    padding-top: 30px;
    text-align: justify;
    justify-content: center;
    width: 90%;
    font-size: 16px;
}

#TutoAseprite section h5 {
    margin-bottom: 0px;
    text-align: justify;
    justify-content: center;
    width: 90%;
    margin-left: 50px;
    font-family: "Montserrat Alternates", sans-serif;
}

#TutoAsepritePA {
    margin: 5%;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    max-width: 800px;
    box-sizing: border-box;
    margin: 0 auto;
    transition: margin-left 0.5s ease;
}

#TutoAsepritePA p{
    font-size: 16px;
    line-height: 1.5;
}

#TutoAsepritePA h1 {
    text-align: right;
    font-size: 28px;
    margin-top: 70px;
    padding-top: 70px;
    margin-bottom: 0px;
    font-family: 'Orbitron', sans-serif;
    margin-right: 9%;
}

#TutoAsepritePA h2 {
    text-align: left;
    padding-top: 20px;
    margin-bottom: 0px;
    font-family: "Montserrat Alternates", sans-serif;
}

#TutoAsepritePA h4 {
    text-align: left;
    padding-top: 20px;
    margin-bottom: 0px;
    font-family: "Montserrat Alternates", sans-serif;
}

#TutoAsepritePA h3 {
    margin-bottom: 0px;
    text-align: justify;
    justify-content: center;
    width: 90%;
    font-family: "Montserrat Alternates", sans-serif;
}

#TutoAsepritePA section {
    font-family: "Montserrat Alternates", sans-serif;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 0px;
    padding-top: 30px;
    text-align: justify;
    justify-content: center;
    width: 90%;
    font-size: 16px;
}

#TutoAsepritePA section h3 {
    margin-bottom: 0px;
    text-align: justify;
    justify-content: center;
    width: 90%;
    margin-left: 50px;
    font-family: "Montserrat Alternates", sans-serif;
}

.touche {
    font-family: 'Orbitron', sans-serif;
    background-color: #6188ac;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #ed987c;
    box-shadow: rgb(0, 0, 0) 0px -2px 0px inset;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding-right: 5px;
    padding-left: 5px;
    display: inline-block;
}

.raccourci {
    text-align: right;
}

.souris {
    font-family: "Montserrat Alternates", sans-serif;
    color: #d35452;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.stylet {
    font-family: "Montserrat Alternates", sans-serif;
    color: #47ad32;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.lien {
    text-decoration: none;
    color: #ed987c;
    text-decoration-thickness: 3px;
}

.lien:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienOutil {
    text-decoration: none;
    color: #7fc7f5;
    text-decoration-thickness: 3px;
}

.lienOutil:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienMenu {
    text-decoration: none;
    color: #faaa5e;
    text-decoration-thickness: 3px;
}

.lienMenu:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienPreview {
    text-decoration: none;
    color: #fdd29b;
    text-decoration-thickness: 3px;
}

.lienPreview:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienTimeline {
    text-decoration: none;
    color: #64d1bf;
    text-decoration-thickness: 3px;
}

.lienTimeline:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienBC {
    text-decoration: none;
    color: #8238d6;
    text-decoration-thickness: 3px;
}

.lienBC:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienColor {
    text-decoration: none;
    color: #df9cc5;
    text-decoration-thickness: 3px;
}

.lienColor:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.lienPA {
    text-decoration: none;
    color: #f2d3ab;
    text-decoration-thickness: 3px;
}

.lienPA:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.credits {
    text-decoration: none;
    color: #bf94ff;
    text-decoration-thickness: 3px;
}

.credits:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}

.menu_tuto {
    margin-bottom: 0px;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 90%;
    font-family: "Montserrat Alternates", sans-serif;
}

.menuImg {
    margin-top: 10px;
    max-width: 100%;
    padding: 0px;
    justify-content: center;
    align-items: center;
    position: relative;
    display: flex;
}

.menuImg img {
    max-width: 100%;
    padding: 5px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    cursor: pointer;
}

.screenshot {
    margin-top: 10px;
    max-width: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.screenshot img {
    max-width: 95%;
    padding: 5px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.screenshoth {
    margin-top: 10px;
    max-width: 100%;
    padding: 0px;
    padding-bottom: 3px;
    display: flex;
    justify-content: left;
    align-items: left; 
}

.screenshoth img {
    max-width: 95%;
    padding: 0px;
    display: flex;
    justify-content: left;
    align-items: left;
    opacity: 1;
}

.screenshotPA {
    text-align: center;
}
.screenshotPA img {
    width: 90%;
}
.screenshotPA figcaption {
    font-size: 14px;
    color: #c69fa5;
    margin-top: 5px;
    margin-bottom: 10px;
}

.screenshotPAArtwork {
    text-align: center;
}
.screenshotPAArtwork img {
    width: 90%;
}

.screenshotPAArtwork figcaption {
    font-size: 14px;
    color: #c69fa5;
    margin-top: 5px;
    margin-bottom: 10px;
}

.solution {
    display: flex; /* Active le flexbox */
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    flex-direction: column; /* Organise les éléments en colonne (bouton et image) */
}

 
.toggle-button {
    margin: 0; /* Supprime les marges par défaut */
    padding: 0; /* Supprime le padding par défaut */
    vertical-align: center; /* Aligne verticalement au texte ou aux autres éléments */
    display: inline-block; /* Évite qu'il s'étende inutilement */
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px; /* Taille de la flèche */
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.3s ease;
}
  
.toggle-button:hover {
    background-color: #c69fa5;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
  
.solution-image {
    display: flex;
    justify-content: center; /* Centrer l'image horizontalement */
    align-items: center; /* Centrer l'image verticalement */
    margin: 0 auto; /* Centrer le conteneur lui-même */
    max-width: 95%; /* Limiter la largeur comme les autres images */
    padding: 20px; /* Même padding que les autres */
    border-style: double;
    border-radius: 16px;
    border-width: 3px;
    border-color: #203c56;
    background-color: rgb(198, 159, 165, 0.1) ;
}

.solution-image img {
    top: 10px;
    bottom: 10px;
    max-width: 100%; /* Évite qu'elle dépasse son conteneur */
    height: auto; /* Maintient les proportions */
}
  

.contenttuto:target {
    outline: none;
}


.contenttuto {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    height: 100%;
    overflow-y: auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.contenttuto h2 {
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 2.5rem;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4)
}

.contenttuto h3 {
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 1.5rem;
    text-align: center;
}

.contenttuto h4 {
    position: relative; /* Position relative pour que les barres soient positionnées par rapport au titre */
    margin-bottom: 10px;
    bottom : 10px;
    cursor: pointer;
}

.contenttuto h5 {
    position: relative; /* Position relative pour que les barres soient positionnées par rapport au titre */
    margin-bottom: 10px;
    bottom : 5px;
    cursor: pointer;
}

.contenttuto .lienWeb {
    text-decoration: none;
    color: #ed987c;
}


/* Animation de l'effet futuriste */
@keyframes underlineAnimation {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.contenttuto h4::before {
    content: '';
    position: absolute;
    bottom: -5px; /* Positionne la barre en dessous du titre */
    padding-bottom: 5px;
    left: 0;
    width: 100%; /* Largeur initiale de la barre */
    height: 3px; /* Épaisseur de la barre */
    background: linear-gradient(to right, #ed987c 0%, #544e68 50%, #ed987c 100%); /* Dégradé de couleur pour la barre */
    background-size: 200% auto;
    animation: underlineAnimation 20s infinite; /* Applique l'animation avec une durée de 3 secondes et en boucle infinie */
}

.contenttuto .screenshot img{
    max-width: 96%;
}

.contenttuto .screenshot .ulnormal img{
    max-width: 96%;
}

.contenttuto .screenshot .ulnormal .sousulnormal img{
    max-width: 96%;
}

.contenttuto ul {
    list-style: none;
}

.contenttuto .ulnormal {
    list-style: square;
    padding-left: 50px;
}

.contenttuto .ulnormal li{
    list-style: square;
    margin-left: 30px;
}

.contenttuto .sousulnormal li{
    list-style: disc;
    margin-left: 30px;
}

.contenttuto .ulnormal {
    list-style: square;
    padding-left: 50px;
}

.contenttuto .sousulnormal {
    list-style: disc;
    padding-left: 50px;
}

.contenttuto ul li h5{
    font-size: 20px;
    margin-left: 0px;
}

.contenttuto h5::before {
    content: '';
    position: absolute;
    padding-top: 2px; /* Positionne la barre en dessous du titre */
    top: -2px;
    left: 0;
    width: 105%; /* Largeur initiale de la barre */
    height: 2px; /* Épaisseur de la barre */
    background: linear-gradient(to right, #ed987c 0%, #6fcce6 50%, #ed987c 100%); /* Dégradé de couleur pour la barre */
    background-size: 200% auto;
    animation: underlineAnimation 20s infinite; /* Applique l'animation avec une durée de 3 secondes et en boucle infinie */
}

.contenttuto ul li{
    margin-left: 0;
}

.contenttuto ul li p {
    margin-left: 50px;
    margin-bottom: 20px;
}

.contenttutoPA:target {
    outline: none;
}

.contenttutoPA {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    height: 100%;
    overflow-y: auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    /*color: #f2d3ab;*/
}

.contenttutoPA h2 {
    position: relative; /* Position relative pour que les barres soient positionnées par rapport au titre */
    margin-bottom: 10px;
    font-size: 30px;
    cursor: pointer;
    overflow-y: hidden;
}

.contenttutoPA h3 {
    position: relative; /* Position relative pour que les barres soient positionnées par rapport au titre */
    margin-bottom: 10px;
    bottom : 5px;
    cursor: pointer;
}

.contenttutoPA .lienWeb {
    text-decoration: none;
    color: #8b6d9c;
}

.contenttutoPA .lienWeb:hover{
    text-decoration: none;
    color: #8b6d9c;
}

.lienAseprite {
    text-decoration: none;
    color: #ed987c;
}

.lienAseprite:hover{
    text-decoration: underline;
    border-radius: 5px;
    transition: 0.4s linear;
}



/* Animation de l'effet futuriste */
@keyframes underlineAnimation {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.contenttutoPA h2::before {
    content: '';
    position: absolute;
    bottom: -5px; /* Positionne la barre en dessous du titre */
    padding-bottom: 5px;
    left: 0;
    width: 100%; /* Largeur initiale de la barre */
    height: 3px; /* Épaisseur de la barre */
    background: linear-gradient(to right, #f2d3ab 0%, #8b6d9c 50%, #494d7e 100%); /* Dégradé de couleur pour la barre */
    background-size: 200% auto;
    animation: underlineAnimation 20s infinite; /* Applique l'animation avec une durée de 3 secondes et en boucle infinie */
}

.contenttutoPA .screenshot img{
    max-width: 96%;
}

.contenttutoPA .screenshot .ulnormal img{
    max-width: 96%;
}

.contenttutoPA .screenshot .ulnormal .sousulnormal img{
    max-width: 96%;
}

.contenttutoPA ul {
    list-style: none;
}

.contenttutoPA .ulnormal {
    list-style: square;
    padding-left: 50px;
}

.contenttutoPA .ulnormal li{
    list-style: square;
    margin-left: 30px;
}

.contenttutoPA .sousulnormal li{
    list-style: disc;
    margin-left: 30px;
}

.contenttutoPA .ulnormal {
    list-style: square;
    padding-left: 50px;
}

.contenttutoPA .sousulnormal {
    list-style: disc;
    padding-left: 50px;
}

.contenttutoPA ul li h3{
    font-size: 20px;
    margin-left: 0px;
}

.contenttutoPA h3::before {
    content: '';
    position: absolute;
    padding-top: 2px; /* Positionne la barre en dessous du titre */
    top: -2px;
    left: 0;
    width: 105%; /* Largeur initiale de la barre */
    height: 2px; /* Épaisseur de la barre */
    background: linear-gradient(to right, #f2d3ab 0%, #8b6d9c 50%, #494d7e 100%); /* Dégradé de couleur pour la barre */
    background-size: 200% auto;
    animation: underlineAnimation 20s infinite; /* Applique l'animation avec une durée de 3 secondes et en boucle infinie */
}

.contenttutoPA ul li{
    margin-left: 0;
}

.contenttutoPA ul li p {
    margin-left: 50px;
    margin-bottom: 20px;
}

.encadrement {
    margin-top: 10px;
    margin-left: 5%;
    padding : 10px;
    border-style:groove;
    border-radius: 16px;
    border-width: 3px;
    border-color: #6188ac;
    background : rgba(97, 136, 172, 0.3) ;
}

.note {
    margin-top: 10px;
    margin-left: 5%;
    padding : 10px;
    border-style: double;
    border-radius: 16px;
    border-width: 3px;
    border-color: #544e68;
    background : rgba(198, 159, 165, 0.2) ;
   
}

.recap {
    position: relative;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 20px; /* Coins arrondis */
    background: rgba(198, 159, 165, 0.1); /* Fond semi-transparent */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #f2d3ab;
    overflow: hidden; /* Cache les débordements des bordures animées */
}

.recap h3 {
    font-size: 28px;

}

.recap ul li {
    font-size: 16px;
    margin-left: 5%;
}


.scroll-image{
    cursor: pointer;
}


/* Bordures animées */
.recap::before,
.recap::after,
.recap .border-left,
.recap .border-right {
    content: "";
    position: absolute;
    background: linear-gradient(to right, #ed987c, #544e68, #ed987c);
    background-size: 200% auto;
    animation: borderAnimation 3s linear infinite;
}

/* Bordure haut */
.recap::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

/* Bordure bas */
.recap::after {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

/* Bordure gauche */
.recap .border-left {
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #ed987c, #544e68, #ed987c);
}

/* Bordure droite */
.recap .border-right {
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #ed987c, #544e68, #ed987c);
}

/* Style du titre h4 */
.recap h4 {
    margin-top: -10px; /* Supprime la marge supérieure par défaut */
    padding-top: 0px; /* Ajoute un peu d'espace entre la bordure supérieure et le titre */
    color: #f2d3ab;
}

@keyframes borderAnimation {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}




.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px;
    height: 100%;
    overflow-y: auto;
}

.content h2 {
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 2.5rem;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4)
}

.content h3 {
    font-family: 'Orbitron', sans-serif; /* Utilisation de la police Orbitron */
    font-size: 1.5rem;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 50%;
    padding-top: 10px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0px;
    width: 100%;
    height: 100%;
}

.video-wrapperSmall {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0px;
}

.video-containerWebmSmall {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
    margin: 0px 0;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 99%;
    padding-top: 15px;
}

.video-wrapperFull {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 99%;
    padding-top: 15px;
    margin: 20px 0;
}

.video-containerWebm {
    position: relative;
    width: 80%;
    max-width: 600px;
}

.video-containerWebmFull {
    position: relative;
    justify-content: center;
    align-items: center;
    margin-left: 5%;
    width: 100%;
    max-width: 2400px;
}

video {
    width: 100%;
    height: 100%;
    margin-bottom: 50px;
}

.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.current-time {
    margin-left: 5px; /* Ajustez la marge selon vos besoins */
}

.controls button, .controls input {
    margin: 0 3px;
}


.tutorial {
    flex: 0 0 calc(40% - 0px); /* Largeur fixe de 50% - marge */
    background-color: #544e68;
    color: #fff;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    width: calc(33.33% - 20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Vos styles existants pour .tutorial */
    background: linear-gradient(180deg, transparent, #fff, transparent);
    background-size: 100% 300%;
    background-position: center bottom;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease-in-out; 
}

.tutorial:hover {
    background-position: center top;
}

.tutorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 100%;
    height: 100%;
    border: 5px solid transparent; /* Épaisseur du liseré, personnalisable */
    border-image: linear-gradient(180deg, transparent, #fff, transparent); /* Couleur du liseré, personnalisable */
    border-image-slice: 1;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;  
}

.tutorial:hover::before {
    transform: scaleX(0.95);
}
.tutorial:hover {
    background-color: #6a6282; /* Nouvelle couleur de fond au survol */
}

.tutorial h2 {
    font-size: 1.5rem;
}

.tutorial p {
    font-size: 1rem;
    margin: 10px 0;
}

button {
    flex: 0 0 calc(40% - 0px); /* Largeur fixe de 50% - marge */
    background-color: #544e68;
    color: #fff;
    margin: 5px;
    padding: 0px;
    border-radius: 5px;
    width: calc(10% - 20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, transparent, #fff, transparent);
    background-size: 100% 300%;
    background-position: center bottom;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease-in-out;
  }
  
  button:hover {
    background-position: center top;
  }


button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-image: linear-gradient(180deg, transparent, #fff, transparent);
    border-image-slice: 1;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
}

button:hover::before {
    transform: scaleX(0.95);
}

.back-button {
    display: block;
    padding: 10px 20px;
    background-color: #ed987c;
    color: #000000;
    border: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    overflow: hidden; /* Masque tout contenu débordant */
    position: relative; 
}

.back-button::before {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); /* Créez un dégradé de lumière */
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    animation: lightEffect 2s linear infinite; /* Utilisez une animation nommée "lightEffect" */
}

/* Définissez l'animation "lightEffect" */
@keyframes lightEffect {
    0% {
        left: -100%; /* Débute en dehors du bouton */
    }
    100% {
        left: 100%; /* Termine en dehors du bouton */
    }
}

.back-button:hover {
    background: #ed987c;
}

.footer {
    background: #203c56; /* Couleur de fond du footer */
    padding: 10px 0; /* Espace intérieur du footer */
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer2 {
    background: rgb(0, 0, 0, 0.1); /* Couleur de fond du footer */
    padding: 20px 0; /* Espace intérieur du footer */
    padding-right: 20px;
    text-align: right;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
}

.social-links {
    font-size: 24px; /* Réduire la taille des icônes */
    margin-left: 5px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    display: inline;
    margin: 0 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-card {
    margin: 5px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: none;
}

.image-card img {
    width: 100%;
    height: auto;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 60, 86, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.modal-container img {
    max-width: 100%;
    max-height: 100%;
}

.modal-container.active {
    opacity: 1;
}

.modal-image {
    min-width: 60%;
    min-height: 60%;
    max-width: 60%;
    max-height: 60%;
    display: block;
    margin: auto;
}

.icon-aseprite::before {
    content: url('/img/Logo_Aseprite-export.png');
    display: inline-block;
    width: 24px;  /* Ajustez selon la taille de votre icône */
    height: 24px;
    margin-left: 3px;
    margin-right: -5px;  /* Espace entre l'icône et le texte */
    vertical-align: middle;  /* Pour aligner l'icône avec le texte */
}


/* Media Query pour les écrans de taille plein écran ordi (+991px) */
@media (min-width: 956px) and (max-width: 2297px){
    .top-sidebar {
        width: 250px;
    }

    #TutoAseprite {
        padding-right: 10%;
        padding-left: 10%;
        max-width: 1800px;
    }

    #TutoAseprite h1 {
        font-size: 36px;
    }

    #TutoAsepritePA {
        padding-right: 10%;
        padding-left: 10%;
        max-width: 1800px;
    }

    #TutoAsepritePA h1 {
        font-size: 36px;
    }

    .content {
        margin-left: 0px; /* Pour laisser de l'espace pour le panneau latéral */
    }
    
    .side-nav.open {
        width: 300px;
    }

    .side-nav.open + #TutoAseprite {
        margin-left: 300px; /* Ajustez la valeur selon la largeur de votre side-nav */
    }

    .side-navPA.open {
        width: 300px;
    }

    .side-navPA.open + #TutoAsepritePA {
        margin-left: 300px; /* Ajustez la valeur selon la largeur de votre side-nav */
    }

    .fixed-header{
        width: 100%;
    }

    .fixed-headerPA{
        width: 100%;
    }

    .back-button {
        margin-left: 290px;
    }

    .footer2{
        margin-left: 0px;
    }

    .menu_tuto {
        width: 100%;
    }
}

/* Media Query pour les écrans de taille plein écran ordi (+2298px) */
@media (min-width: 2298px){
   

    .side-nav.open {
        width: 500px;
    }

    .side-nav.open + #TutoAseprite {
        margin-left: 500px; /* Ajustez la valeur selon la largeur de votre side-nav */  
    }

    .side-navPA.open {
        width: 500px;
    }

    .side-navPA.open + #TutoAsepritePA {
        margin-left: 500px; /* Ajustez la valeur selon la largeur de votre side-nav */  
    }

    #TutoAseprite {
        padding-right: 10%;
        padding-left: 10%;
        max-width: 2300px;
    }

    #TutoAseprite h1 {
        font-size: 36px;
        margin-right: -10%;
    }

    #TutoAsepritePA {
        padding-right: 10%;
        padding-left: 10%;
        max-width: 2300px;
    }

    #TutoAsepritePA h1 {
        font-size: 36px;
        margin-right: -10%;
    }

    .content {
        margin-left: 0px; /* Pour laisser de l'espace pour le panneau latéral */
    }

    .fixed-header{
        width: 100%;
    }

    .fixed-headerPA{
        width: 100%;
    }

    .back-button {
        margin-left: 290px;
    }

    .footer2{
        margin-left: 0px;
    }
}



/* Media Query pour les écrans de taille tablette (768px - 991px) */
@media (min-width: 768px) and (max-width: 955px) {
    .tutorial {
        width: calc(50% - 20px); /* Deux tutoriels par ligne sur une tablette */
    }

    header {
        background-size: auto 100%;
        background-position:center;
        background-repeat: no-repeat;
    }

    .content {
        margin: 0px; /* Réduisez la marge pour économiser de l'espace sur tablette */
        width: calc(100% - 50px); /* Occupe toute la largeur disponible */
    }

    .content1 {
        margin: 0px; /* Réduisez la marge pour économiser de l'espace sur tablette */
        width: calc(100% - 50px); /* Occupe toute la largeur disponible */
    }

    h1 {
        font-size: 2rem; /* Ajustez la taille de police selon vos préférences */
    }

    .header-content h1 {
        font-size: 40px;
    }

    .header-content .logo img {
        height: 40px;
    }

    .header-contentPA h1 {
        font-size: 40px;
    }

    .header-contentPA .logo img {
        height: 40px;
    }
}


/* Media Query pour les écrans de taille téléphone (moins de 768px) */
@media (max-width: 767px) {
    .tutorial {
        flex: 0 0 calc(90% - 10px); /* Les tutoriels occupent 75% de la largeur - espace */
        margin: 10px; /* Espace autour des tutoriels */
    }

    header {
        background-size: auto 100%;
        background-position:center;
        background-repeat: no-repeat;
        top: -10px;
    }

    .fixed-header{
        width: 100%;
        height: 50px;
        padding: 0px;
    }

    .fixed-headerPA{
        width: 100%;
        height: 50px;
        padding: 0px;
    }

    .header-content h1 {
        font-size: 30px;
    }

    .header-content .logo img {
        height: 30px;
    }

    .header-contentPA h1 {
        font-size: 30px;
    }

    .header-contentPA .logo img {
        height: 30px;
    }

    .container {
        height: 50px;
    }

    .containerPA {
        height: 50px;
    }

    .content1 {
        margin: 0px; /* Rétablissez la marge plus grande pour les écrans plus larges */
        margin-right: -1%;
        width: calc(100%-30px); /* Appliquez la largeur souhaitée pour les écrans plus larges */
    }

    .content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Centre les tutoriels horizontalement */
        margin: 0;
    }
    
    #content h2{
        font-size: 1.5rem;
    }
    .content h2 {
        font-size: 1.5rem;
    }
    
    .content h3 {
        font-size: 1rem;
    }

    .contenttuto .screenshot img{
        max-width: 95%;
    }
    
    .contenttuto .screenshot .ulnormal img{
        max-width: 97%;
    }
    
    .contenttuto .screenshot .ulnormal .sousulnormal img{
        max-width: 97%;
    }

    .contenttuto .ulnormal {
        list-style: square;
        padding-left: 20px;
    }
    
    .contenttuto .sousulnormal {
        list-style: disc;
        padding-left: 20px;
    }

    .contenttutoPA .screenshot img{
        max-width: 95%;
    }
    
    .contenttutoPA .screenshot .ulnormal img{
        max-width: 97%;
    }
    
    .contenttutoPA .screenshot .ulnormal .sousulnormal img{
        max-width: 97%;
    }

    .contenttutoPA .ulnormal {
        list-style: square;
        padding-left: 20px;
    }
    
    .contenttutoPA .sousulnormal {
        list-style: disc;
        padding-left: 20px;
    }
    

    .footer {
        height: 20px; /* Définissez la hauteur souhaitée */
        top: 0px;
        position: absolute;
        top: 10px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        background: none;
    }   

    .footer-home {
        height: 20px; /* Définissez la hauteur souhaitée */
        bottom: 10px;
    }

    .social-links {
        display: flex;
        justify-content: space-between; /* Rapprochez les icônes */
        height: 10px;
        top: -20px;
    }

    .banner {
        padding-top: 30px; /* Ajoute de l'espace en bas du .banner pour éviter le chevauchement avec le footer */
    }

    .banner h1 {
        font-size: 1.5rem; /* Ajustez la taille de police selon vos préférences */
    }

    .header p {
        font-size: 1rem; /* Ajustez la taille de police selon vos préférences */
    }

    #home-page header h1 {
        font-size: 1rem;
        margin-top: -20px;
        margin-left: 10px;
        margin-bottom: 0px;
    }

    #home-page header h4 {
        font-size: 0.7rem;
        text-align: left; /* Aligner le texte à gauche */
        margin-left: 10px;
        margin-top: 5px;
    }

    .menu {
        width: 100%;
        position: absolute;
        top: 60px; /* Ajuste la position du menu */
        left: 0px;
        align-items: center;
    }

    .menu ul{
        list-style-type: none;
        display: flex;
        font-size: 12px;
    }

    .hidden {
        opacity: 1;
    }

    #TutoAseprite h1 {
        font-size: 20px;
        margin-top: 0px;
        margin-right: 7%;
    }

    #TutoAseprite h4 {
        font-size: 16px;
    }
    
    #TutoAseprite h5 {
        font-size: 16px;
    }

    #TutoAseprite section {
        font-size: 14px;
        margin-left: 15px;
    }

    #TutoAseprite p{
        font-size: 14px;
    }

    #TutoAsepritePA h1 {
        font-size: 20px;
        margin-top: 0px;
        margin-right: 7%;
    }

    #TutoAsepritePA h2 {
        font-size: 16px;
    }
    
    #TutoAsepritePA h3 {
        font-size: 16px;
    }

    #TutoAsepritePA section {
        font-size: 14px;
        margin-left: 15px;
    }

    #TutoAsepritePA p{
        font-size: 14px;
    }

    .souris {
        font-size: 14px;
    }

    .stylet {
        font-size: 14px;
    }

    .touche {
        font-size: 12px;
        padding-right: 3px;
        padding-left: 3px;
    }

    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .image-card {
        width: 25%; /* 2 images par ligne avec un petit espacement entre elles */
    }

    #month-buttons button {
        font-size: 12px; /* Taille du texte réduite */
        width: auto; /* La largeur s'ajuste en fonction du contenu */
    }

    .tab-button {
        font-size: 12px;
        min-width: 150px;
        display: block;
        margin-bottom: 5px;
        margin-left: 38%; /* Ajoutez cette propriété pour centrer horizontalement */
        justify-content: center;
        align-items: center;
        text-align: center;
        flex: 0 0 calc(30% - 0px); /* Largeur fixe de 50% - marge */
        width: calc(33% - 0px);
    }


    .hamburger {
        top: 10px; /* Ajustez la position verticale selon vos besoins */
        left: 10px; /* Ajustez la position horizontale selon vos besoins */
    }

    .hamburger .bar {
        width: 20px;
        height: 1px;
    }

    .hamburgerPA {
        top: 10px; /* Ajustez la position verticale selon vos besoins */
        left: 10px; /* Ajustez la position horizontale selon vos besoins */
    }

    .hamburgerPA .bar {
        width: 20px;
        height: 1px;
    }
    

    .top-sidebar {
        display: none;
        width: 110px;
        font-size: 10px;
    }

    .top-sidebar h3 {
        display: none;
        font-size: 16px;
    }

    .side-nav {
        top: 50px;
        width: 100%;
        left: -100%; /* Cache le side-nav hors de la vue initialement */
        max-height: calc(103vh - 80px);
    }

    .side-nav.open {
        left: 0; /* Affiche le side-nav */
    }

    .side-navPA {
        top: 50px;
        width: 100%;
        left: -100%; /* Cache le side-nav hors de la vue initialement */
        max-height: calc(103vh - 80px);
    }

    .side-navPA.open {
        left: 0; /* Affiche le side-nav */
    }

    .MenuPage {
        padding: 10px; /* Espacement intérieur */
        margin-left: 20px; /* Décalage vers la droite */
    }

    .MenuPage ul {
        /* Styles spécifiques pour les listes ul dans le menu de background_tuto */
        text-decoration: none;
        margin: 0;
        padding: 0px;
    }


    .footer2{
        margin-left: 0px;
    }

    .icon-aseprite::before {
        content: url('/img/Logo_Aseprite-export.png');
        display: inline-block;
        width: 16px;  /* Ajustez selon la taille de votre icône */
        height: 16px;
        margin-left: 3px;
        margin-right: 2px;  /* Espace entre l'icône et le texte */
        vertical-align: middle;  /* Pour aligner l'icône avec le texte */
    }

}