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

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-Black.woff2') format('woff2'),
        url('font/Selecta-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-Bold.woff2') format('woff2'),
        url('font/Selecta-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-BlackItalic.woff2') format('woff2'),
        url('font/Selecta-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-Medium.woff2') format('woff2'),
        url('font/Selecta-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-BoldItalic.woff2') format('woff2'),
        url('font/Selecta-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-Italic.woff2') format('woff2'),
        url('font/Selecta-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-Regular.woff2') format('woff2'),
        url('font/Selecta-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Selecta';
    src: url('font/Selecta-MediumItalic.woff2') format('woff2'),
        url('font/Selecta-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

body {
  font-family: Selecta, sans-serif;
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap; /* Permet le responsive */
  background-color: #F5F5F5;
}

/* COLONNE GAUCHE */




.sidebar {
  width: 12.5%; /* 1/8 pour desktop */
  padding: 20px;
  background-color: none;

  text-align: center;
  font-size: 0.9em;

}

.sidebar h2 {
  margin-bottom: 10px;
  font-size: 1em;
}

.sidebar p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.sidebar a {
  color: #000;
  text-decoration: none;
}

.logo {
	margin-top:20px;
	margin-bottom:30px;
 
}

.logo img{
width: 90%;
 
}

/* COLONNE DROITE */
.main {
  width: 50%; /* 4/8 pour desktop */
  padding-top: 10px;
}

.section {
  margin-bottom: 20px;
}

/* Titres cliquables */
.section input[type="checkbox"] {
  display: none;
}

.section label {
  display: block;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

.section .content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 10px;
  border-top: 1.5px solid black;
  border-bottom: 1.5px solid black;
  background-color: #FFFFFF;
}

.intro {
font-size:2em;
margin-top:25px;
margin-bottom: 25px;
margin-left:12px;

}


.content {
font-size:1.5em;
}

.content p {
}

.content img {
	width:50%;
 	margin-left:25%;
	margin-right:25%;
	margin-top:25px
	margin-top:25px

}




/* Lorsque le checkbox est coché */
.section input[type="checkbox"]:checked ~ .content {
  max-height: 100%; /* Ajustable selon contenu */
  padding: 10px;
}

.section h1 {
  font-size: 3em;
}

.section h2 {
  font-size: 1.5em;
  font-weight: normal;
  margin-top: 5px;
}

a:hover {
  font-weight: bold;
}

.toggle-infos {
  display: none;
}

.infos-button {
  display: none;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}



/* ------------------ */
/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .infos-button {
    display: block;
  }

  .sidebar {
    display: none;
    width: 100%;
    border-right: none;
  }

  /* Quand on clique sur le bouton */
  .toggle-infos:checked + .infos-button + .sidebar {
    display: block;
}



  .sidebar, .main {
    width: 100%;
    border-right: none;
  }

  .main {
    border-bottom: none;
  }

.intro {
font-size:1.5em;
}

.content img {
	width:100%;
 	margin-left:0%;
	margin-right:0%;
	margin-top:25px
	margin-top:25px

}

.logo img{
width: 75%;
 
}



}
