@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Quicksand:wght@300..700&display=swap');

body {
    font-size: 16px;
    --transparent: #ffffff00;
    --pure-white: #ffffff;
    --near-white: #f5f5f7;
    --gray-700: #dedee0;
    --gray-600: #d0d0d2;
    --gray-500: #777779;
    --gray-400: #444446;
    --gray-300: #222224;
    --gray-200: #111113;
    --dark-gray: #0D0D0D;
    --near-black: #050505;
    --pure-black: #000000;
    --gray: #343434;
    --light-gray: #BBBAD0;
    --ultrafast-transition: all 0.1s cubic-bezier(0.25, 1, 0.5, 1);
    --fast-transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --medium-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --slow-transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --navbar-height: 16px;
    --font-10px-0_625rem: 0.625rem;
    --font-12px-0_75rem: 0.75rem;
    --font-14px-0_875rem: 0.875rem;
    --font-16px-1rem: 1rem;
    --font-20px-1_25rem: 1.25rem;
    --font-24px-1_5rem: 1.5rem;
    --font-32px-2rem: 2rem;
    --font-48px-3rem: 3rem;
    --font-64px-4rem: 4rem;
    --font-96px-6rem: 6rem;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    color: black;
    font-family: "Poppins", serif;
    background-image: url("https://johanjeandon.fr/upload/texture1.png");
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1 {
    font-family: "Quicksand", serif;
}

* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

figure {
flex: 1 1 30%;
margin: 20px;
text-align: center;
}

figure img {
width: 100%;
border-radius: 8px;
}

figure figcaption {
font-size: 0.9em;
margin-top: 8px;
}

figure a {
color: blue;
text-decoration: none;
}

figure a:hover {
text-decoration: underline;
}

.content {
flex: 2 1 60%;
margin: 1rem;
}

.content h2 {
color: #2c3e50;
border-bottom: 2px solid #2980b9;
padding-bottom: 5px;
margin-bottom: 15px;
}

.content p {
margin-bottom: 20px;
}

main {
    padding: 3rem 1rem 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    width : 1080px;
    margin: 0 auto;
}

.common-font {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
}

figcaption a {
text-decoration: none;
color: blue;
}

figcaption a:hover {
text-decoration: underline;
}












/*HEADER*/
@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Regular.woff2') format('woff2'),
         url('../fonts/OpenDyslexic-Regular.woff') format('woff'),
         url('../fonts/OpenDyslexic-Regular.otf') format('opentype'),
         url('../fonts/OpenDyslexic-Regular.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Italic.woff2') format('woff2'),
         url('../fonts/OpenDyslexic-Italic.woff') format('woff'),
         url('../fonts/OpenDyslexic-Italic.otf') format('opentype'),
         url('../fonts/OpenDyslexic-Italic.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Bold.woff2') format('woff2'),
         url('../fonts/OpenDyslexic-Bold.woff') format('woff'),
         url('../fonts/OpenDyslexic-Bold.otf') format('opentype'),
         url('../fonts/OpenDyslexic-Bold.eot') format('embedded-opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Bold-Italic.woff2') format('woff2'),
         url('../fonts/OpenDyslexic-Bold-Italic.woff') format('woff'),
         url('../fonts/OpenDyslexic-Bold-Italic.otf') format('opentype'),
         url('../fonts/OpenDyslexic-Bold-Italic.eot') format('embedded-opentype');
    font-weight: bold;
    font-style: italic;
}

/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles de la barre de navigation */
.navbar {
    background-color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.navbar-logo {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.navbar-logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre le logo et le texte */
    transform: scale(1.05); /* Taille de base légèrement agrandie */
    transition: transform 0.3s ease-in-out;
}

.navbar-logo-container:hover {
    transform: scale(1); /* Dézoom au survol */
}

.navbar-menu {
    display: flex;
    gap: 15px;
}

.navbar-item {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.3s;
    font-size: 1rem;
    padding: 0.8rem;
    text-align: center;
    transition: color 0.3s ease-in-out;
}

.navbar-item:hover,
.navbar-item.active {
    background-color: #FFF5DC;
    border-radius: 5px;
    color: black; /* Changer la couleur du texte pour le lien actif */
    font-weight: bold; /* Rendre le texte du lien actif en gras */
    text-decoration: underline; /* Ajouter un soulignement sur le lien actif */
}

.navbar-item:hover {
    color: black;
    text-decoration: underline;
}

/* Menu burger pour mobile */
.navbar-checkbox {
    display: none;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

/* Bouton Accessibilité avec une image */
#accessibility-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#accessibility-button img {
    width: 40px;  /* Taille personnalisable */
    height: 40px;
}

/* Fenêtre modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    padding: 20px;
    margin: 10% auto;
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    position: relative;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Curseurs et options de la fenêtre d'accessibilité */
.modal-content label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.modal-content input,
.modal-content select {
    width: 100%;
    margin-top: 5px;
    padding: 5px;
}

/* Mode sombre */
.dark-mode {
    background-color: #121212;
    color: white;
}

/* Mode OpenDyslexic */
.dyslexic-font {
    font-family: 'OpenDyslexic', Arial, sans-serif;
}

    /* Styles pour l'alignement du texte */
    .text-align-left {
        text-align: left !important;
    }

    .text-align-center {
        text-align: center !important;
    }

    .text-align-right {
        text-align: right !important;
    }

    .text-align-justify {
        text-align: justify !important;
    }

/* Transition fluide pour tous les changements */
body {
    transition: all 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 10px;
    }

    .navbar-checkbox:checked ~ .navbar-menu {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }
}

.text-align-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 5px;
}

.text-align-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease-in-out;
}

.text-align-btn img {
    width: 30px; /* Ajuste la taille selon tes besoins */
    height: 30px;
}

.text-align-btn:hover {
    transform: scale(1.1);
}

.theme-toggle {
    display: flex;
    gap: 10px; /* Espacement entre les boutons */
    justify-content: center; /* Centre les boutons */
    align-items: center; /* Aligne verticalement */
}

.theme-toggle button {
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.dark-mode {
background-color: #121212 !important;
color: white !important;
background-image: none !important;
}

.theme-toggle img {
    width: 30px; /* Ajuste la taille selon tes besoins */
    height: 30px;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Conteneur pour les curseurs et les boutons de réinitialisation */
.range-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Style pour le bouton de réinitialisation */
.reset-button {
    background-color: #f44336; /* Rouge */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    display: inline-block;
}

/* Changer la couleur au survol */
.reset-button:hover {
    background-color: #d32f2f;
}

/* Fenêtre modale d'accessibilité */
#accessibility-modal {
    position: fixed;
    top: calc(100px); /* Ajuste cette valeur selon la hauteur de ta navbar */
    right: 0 !important;  /* Alignée à droite de la page */
    left: unset !important;  /* Désactive toute règle de positionnement à gauche qui pourrait interférer */
    width: 300px;  /* Largeur de la fenêtre modale */
    height: calc(100vh - 60px);  /* Hauteur de la fenêtre modale (100% de la hauteur de la page moins la hauteur de la navbar) */
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none;  /* La fenêtre est cachée par défaut */
    z-index: 2000;  /* Assurez-vous qu'elle est au-dessus du reste du contenu */
    overflow-y: auto;  /* Pour activer le défilement si le contenu est trop long */
}

/* Lorsque la fenêtre modale est affichée */
#accessibility-modal.active {
    display: block;
}

/* Espacement entre les différentes sections de la fenêtre modale */
.modal-content {
    background-color: white;
    padding: 20px;
    margin-top: 20px; /* Espacement du contenu avec le haut */
    margin-bottom: 20px; /* Espacement du contenu avec le bas */
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    position: relative;
}

/* Espacement entre les éléments à l'intérieur de la fenêtre modale */
.modal-content > * {
    margin-bottom: 15px;  /* Ajoute un espacement entre chaque élément (curseur, bouton, etc.) */
}

/* Espacement spécifique pour les boutons de la fenêtre modale */
.text-align-options,
.theme-toggle,
.range-container {
    margin-bottom: 20px;  /* Espacement entre les différents groupes de contrôles */
}

/* Style pour le bouton de réinitialisation */
.reset-button {
    background-color: #f44336; /* Rouge */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    display: inline-block;
}

/* Changer la couleur au survol */
.reset-button:hover {
    background-color: #d32f2f;
}

/* Espacement entre les différents groupes d'options */
.range-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px; /* Plus d'espacement entre les curseurs et le reste */
}

.text-align-btn,
.theme-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease-in-out;
}

/* Espacement autour des boutons d'alignement et des thèmes */
.text-align-btn img,
.theme-toggle img {
    width: 30px;  /* Ajuste la taille selon tes besoins */
    height: 30px;
}

.text-align-btn:hover,
.theme-toggle button:hover {
    transform: scale(1.1);
}















/* Style NAVBAR */
.navbar {
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 1001;
    background: green;
    display: flex;
    padding: 1rem;
    box-sizing: border-box;
    background-image: url("https://johanjeandon.fr/upload/texture2.png");
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    width: 62px;
    height: 62px;
    margin-right: 10px;
    border-radius: 50px;
}

.navbar-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}


.navbar-pf {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease-in-out;
}

}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding-right: 1rem;
}

.navbar-toggle-line {
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.navbar-checkbox {
    display: none;
}

@media (max-width: 1000px) {

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 5%;
        background: #34495e;
        width: 80%;
        padding: 1rem;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        z-index: 1000;
    }

    .navbar-checkbox:checked ~ .navbar-menu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-checkbox:checked ~ .navbar-toggle .navbar-toggle-line:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .navbar-checkbox:checked ~ .navbar-toggle .navbar-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .navbar-checkbox:checked ~ .navbar-toggle .navbar-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-item {
        color: #fff;
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }

    .navbar-item:hover {
        color: #f39c12;
    }
}



























/*Style CONTACT*/
:root {
    --primary-color: #5D6E47;
    --primary-dark: #4A5838;
    --bg-light: #F5F5F0;
    --white: #ffffff;
    --gray-600: #4B5563;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: black;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-left: 79px;
    color: black;
}


.container-c {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; 
    margin-left: 135px;
}

.contact {
    color: #000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100vw;
    min-height: calc(100vh - var(--navbar-height));
    margin: 0;
    padding-top: 2rem;
}

.contact-form {
    margin: 5rem auto;
    width: 800px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
}

.back-button:hover {
    text-decoration: underline;
}

.contact-form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
    width: 300px;
    padding: 0 0 0.5rem 0;
    transition: var(--fast-transition);
    resize: none;
    width: 530px;
}

.contact-form-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-form-number {

    font-size: 1.25rem;
    font-weight: 500;
    transition: var(--fast-transition);
}

.contact-form-input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.contact-form-label {

    font-size: 1.25rem;
    font-weight: 500;
}

.contact-form-input--submit {
    outline: none;
    background: none;
  
    cursor: pointer;
    transition: var(--medium-transition);
}

.section-contact {
    display: flex;
    padding: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    font-size: 1.25rem;
}

.contact-form-input:focus {
    outline: none;
    border-bottom: 1px solid green;
    transition: var(--fast-transition);
}

.contact-form-input-container:focus-within .contact-form-number--active {
    color: green;
    transition: var(--fast-transition);
}

.contact-form-input--submit {
    outline: none;
    background: none;
    color: var(--pure-white);
    cursor: pointer;
    transition: var(--medium-transition);
}

form {
    width: 400px;
    margin: 55px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

label {
    font-weight: bold;
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.red {
    color: red;
}

.flex-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.flex-row label {
    margin-bottom: 0; 
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

textarea {
    resize: none;
}

input[type="radio"] {
    margin-right: 5px;
}

label[for="radio"] {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

button {
    width: 100%;
    padding: 10px;
    background: green;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: green;
    background-image: url("https://johanjeandon.fr/upload/texture2.png");

}

#message {
    margin-bottom: 1rem;
    font-family: Arial, sans-Serif;
}

#email {
    margin-bottom: 1rem;
}

.message-box {
position: fixed;
top: 10px;
left: 10px;
padding: 10px;
border-radius: 5px;
font-weight: bold;
z-index: 1000;
}
.error-message {
background-color: rgba(255, 0, 0, 0.8);
color: white;
}
.success-message {
background-color: rgba(0, 128, 0, 0.8);
color: white;
}



.gallery-wrapper {
    width: 1080px;
    margin: 0 auto;
    padding: 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    grid-auto-rows: 1fr;
    grid-row-gap: 15px;
    padding: 1rem;
}

.image-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    filter: grayscale(100%);
}

.gallery-container img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.image-wrapper:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .gallery-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 10px;
    }
}




























/*Style FOOTER*/
footer {
    color: black;
    width: 100vw;
    text-align: center;
    position: relative;
    bottom: 0;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 0.5rem;
}

.footer-container p {
    margin: 0;
    text-align: center;
    flex-grow: 1;
    color: white;
    font-size: 0.7rem;
}

.footer-container svg {
    position: absolute;
    right: 2rem;
    top: 15%;
    transform: translateY(-50%);
}

.cls-1 {
fill: #27a620;
}




.footer-clean {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: green;
}

.footer-clean::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://johanjeandon.fr/upload/texture2.png");
  z-index: 0; /* Place l’image en arrière-plan */
}

.footer-clean * {
  position: relative;
  z-index: 1; /* Garde le texte au premier plan */
}

.footer-clean h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-clean ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-clean ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-clean ul a:hover {
  opacity:1;
}

.footer-clean .item.social {
  text-align:right;
}

@media (max-width:767px) {
  .footer-clean .item {
    text-align:center;
    padding-bottom:20px;
  }
}

@media (max-width: 768px) {
  .footer-clean .item.social {
    text-align:center;
  }
}

.footer-clean .item.social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid #ccc;
  margin-left:10px;
  margin-top:22px;
  color:inherit;
  opacity:0.75;
}

.row .justify-content-center  {
   display: flex;
}

.footer-clean .item.social > a:hover {
  opacity:0.9;
}

@media (max-width:991px) {
  .footer-clean .item.social > a {
    margin-top:40px;
  }
}

@media (max-width:767px) {
  .footer-clean .item.social > a {
    margin-top:10px;
  }
}

.footer-clean .copyright {
  margin-top:14px;
  margin-bottom:0;
  font-size:13px;
  opacity:0.6;
}

.footer-clean .row.justify-content-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 130px; /* Espacement entre colonnes */
    justify-content: center; /* Centre les colonnes horizontalement */
    flex-wrap: wrap; /* Permet de gérer les colonnes sur plusieurs lignes si nécessaire */
    width: 100%; /* S'assure que la ligne occupe toute la largeur */
}

.footer-clean .item {
    flex: 1 1 calc(15% - 5px); /* Réduire la largeur des colonnes */
    max-width: calc(15% - 5px); /* Ajuster pour garder de l'espace entre elles */
    box-sizing: border-box;
    text-align: left;
}

.footer-clean h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: white;
}

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

.footer-clean ul li {
    margin-bottom: 5px;
}

.footer-clean ul a {
    color: #FFF5DC;
    text-decoration: none;
    font-size: 14px;
}

.footer-clean ul a:hover {
    color: #000;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-clean .item {
        flex: 1 1 100%; /* Une seule colonne sur petits écrans */
        max-width: 100%;
        text-align: center;
    }
}


/*Pub*/
#pub1 {
    position: absolute;
    top: 1.5rem;
    right: 0px;
    z-index: 1000;
    width: 200px;
    height: auto;
}

#pub2 {
    position: absolute;
    top: 3.5rem;
    right: 0px;
    z-index: 1000;
    width: 200px;
    height: auto;
}

#pub3 {
    position: absolute;
    top: 18.5rem;
    left: 0px;
    width: 200px;
    height: auto;
}

#pub4 {
    position: absolute;
    top: 1.5rem;
    left: 0px;
    width: 200px;
    height: auto;
}

#pub-container1 {
    position: absolute;
    right: 15px;
    z-index: 1000;
    width: 200px;
    text-align: center;
}

#pub-container2 {
    position: absolute;
    left: 15px;
    z-index: 1000;
    width: 200px;
    text-align: center;
}

#pub-label1 {
    font-size: 0.8rem;
    color: grey;
    padding: 5px 10px;
}

#pub-label2 {
    font-size: 0.8rem;
    color: grey;
    padding: 2rem 10px;
}

#pub-label3 {
    font-size: 0.8rem;
    color: grey;
    padding: 5px 10px;
}

#pub-label4 {
    font-size: 0.8rem;
    color: grey;
    padding: 17rem 10px;
}

.pub-container img {
    width: 100%;
    height: auto;
}






/*CREDIT*/
.body-credit {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

.main-credit {
    max-width: 100vw;
    margin: 40px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.h1-credit {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Conteneur principal des crédits */
.credit-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
}

/* Carte de crédit */
.credit-card {
    display: flex;
    align-items: center;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.credit-card:hover {
    transform: scale(1.03);
}

/* Image */
.credit-card img {
    width: 40%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* Texte */
.credit-text {
    width: 60%;
    padding: 20px;
    text-align: left;
}

.credit-text h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.credit-text p {
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .credit-card {
        flex-direction: column;
        text-align: center;
    }

    .credit-card img {
        width: 100%;
        max-width: none;
    }

    .credit-text {
        width: 100%;
        text-align: center;
    }
}

/*PARTENAIRES*/
        .cardreader-part {display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; width: 1080px;}
        .card-part {background-color: #fff; flex: 1 1 calc(50% - 20px); border-radius: 15px; width: 1080px;   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); overflow: hidden; text-align: center;
        }
        .banner-part { height: 90px; width: 100%;background-size: cover; }

        .red-part { background-image: url('https://simonlabbe.fr/upload/logo_gims.jpg'); }
        .green-part { background-image: url('https://johanjeandon.fr/upload/banniere_johan.png'); }
        .violet-part { background-image: url('https://simonlabbe.fr/upload/image.png'); }
        .blue-part { background-image: url('https://simonlabbe.fr/upload/banner.png'); }

        .data-part { padding: 20px; position: relative; text-align: right;}

        .avatar-part { width: 90px; height: 90px; border-radius: 50%; background-color: grey; position: absolute; top: -40px;left: 20px;border: 3px solid #fff;}

        .avatar-part img {width: 100%; height: 100%; border-radius: 50%;}
        a {text-decoration: none; color: black; }
        .name-part a { font-size: 18px; font-weight: 800; color: #333; margin-left: 50px;}
        
        .pad15-part {
            font-size: 1.3rem;
            text-align: justify;
            color: #2c3e50;
            border-bottom: 2px solid #2980b9;
            padding-bottom: 5px;
            margin-bottom: 15px;
        }
        
        .desc-part {
            font-size: 0.8rem;
            padding-top: 2%;
        }
        
        .awhite-part a { color: white;}