* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  min-height: 100vh;
}
.wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background-color: #2c3e50;
  color: white;
  position: fixed;
  top: 0;
  left: -250px;
  height: 100%;
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  max-height: 100vh;
  padding-bottom: 50px;
}

.sidebar.active {
  left: 0;
}

.toggle-sidebar {
  width: 50px;
  height: 50px;
  background-color: #34495e;
  position: fixed;
  bottom: 20px;
  left: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1100;
}

.toggle-sidebar img {
  width: 30px;
  height: 30px;
}

.toggle-sidebar.open {
  transform: rotate(45deg);
  background-color: #e74c3c;
}

.sidebar-header {
  text-align: center;
}

.sidebar-header img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.sidebar-header h3 {
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: 28px;
  opacity: 0.8;
}

.sidebar-images {
  margin-top: 5px;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #ccc;
}

.sidebar-images h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 25px;
}

.images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.sidebar-img {
  width: 100%;
  max-width: 50px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: 10px;
}

.sidebar-img:hover {
  transform: scale(1.1);
}

.menu-item {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: block;
  margin-top: 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.menu-item.active {
  background-color: #34495e;
}

.menu-item:hover {
  background-color: #4e6985;
}

.content {
  flex-grow: 1;
  background-image: url("/assets/bg/Paysage.png");
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  padding: 20px;
}

.section {
  display: none;
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.section.active {
  display: block;
}

.section h2 {
  margin-bottom: 10px;
}

.section p {
  font-size: 16px;
}

#art {
  padding: 20px;
}

.art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.art-item {
  position: relative;
  overflow: hidden;
}

.art-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.art-item img:hover {
  transform: scale(1.05);
}

.caption {
  margin-top: 10px;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  border-radius: 5px;
}

.artRef,
.artRef:active,
.artRef:visited .artRef:link {
  color: white;
  text-decoration: none;
}

.artRef:hover {
  color: #ccc;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
}

.nav-arrow {
  font-size: 30px;
  color: white;
  position: absolute;
  top: 50%;
  z-index: 1000;
  cursor: pointer;
}

#prev {
  left: 100px;
}

#next {
  right: 100px;
}

.close-btn {
  color: white;
  font-size: 30px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.site-footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 10px;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: auto;
}

.hebergRef,
.hebergRef:active,
.hebergRef:visited .hebergRef:link {
  color: white;
}

.hebergRef:hover {
  color: #ccc;
}
