/* RESET DE BASE */
body {
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  font-family: "Courier New", Courier, monospace;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #240046; /* cohérence avec la page d'accueil */
  padding: 10px 20px;
  height: 65px;
}

.logo img {
  width: 100px;
  height: auto;
  animation-name: logo-move;
  animation-delay: 0s;
  animation-duration: 3s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
}

@keyframes logo-move {
  from {
    width: 300px;
    transform: translate(-50%, -50%);
  }
  to {
    width: 100px;
    position: absolute;
    top: -5px;
    left: -5px;
    transform: none;
  }
}

/* MENU BURGER */
.image-menu {
  width: 40px;
  transition: transform 0.2s ease-in-out;
}

.image-menu:hover {
  transform: scale(1.1);
}

#menu-bouton {
  cursor: pointer;
  background: none;
  border: none;
}

.allmenu {
  position: absolute;
  top: 15px;
  right: 20px;
}

.menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px;
}

.menu ul li {
  margin: 10px 0;
}

.menu ul a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.menu ul a:hover {
  color: magenta;
}

/* CONTAINER PRINCIPAL */
.alldiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  margin-top: 100px;
  width: 100%;
}

.container {
  font-size: 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  color: #3c096c;
  transition: transform 0.2s ease-in-out;
  margin-bottom: 20px;
  padding: 20px;
}

.container:hover {
  transform: scale(1.05);
}

.titre-container {
  font-weight: bolder;
  margin-bottom: 15px;
}

#span1 {
  color: black;
}

#span2 {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

#span2:hover {
  color: magenta;
  text-decoration: underline;
}

.lien-container {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.lien-container:hover {
  color: magenta;
  text-decoration: underline;
}

.image-container {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.lien-p {
  margin-left: 10px;
  color: #333;
}

.android-image-container {
  width: 30px;
  height: auto;
}

.sous-container {
  margin-left: 10px;
  padding-top: 10px;
}

/* BOUTON LOCALISATION */
#map-bouton {
  background-color: transparent;
  color: #3c096c;
  max-width: 250px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

#map-bouton:hover {
  color: magenta;
  transform: scale(1.05);
}

.map {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  margin-top: 10px;
}

#map-bouton:hover + .map,
.map:focus,
.map:hover {
  opacity: 1;
  visibility: visible;
}

.map a {
  text-decoration: none;
  color: black;
}

.map a:hover {
  color: magenta;
}

/* FORMULAIRE DE CONTACT */
.contact-form-section {
  background-color: #fff;
  padding: 30px;
  margin: 30px auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
  text-align: center;
  color: #240046;
  margin-bottom: 20px;
}

.form-contact {
  display: flex;
  flex-direction: column;
}

.form-contact label {
  margin: 10px 0 5px;
  font-weight: bold;
  color: #240046;
}

.form-contact input,
.form-contact select,
.form-contact textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  transition: border-color 0.3s ease-in-out;
}

.form-contact input:focus,
.form-contact select:focus,
.form-contact textarea:focus {
  border-color: magenta;
  outline: none;
}

.form-contact button {
  margin-top: 20px;
  padding: 12px;
  background-color: #240046;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.form-contact button:hover {
  background-color: magenta;
  transform: scale(1.05);
}

/* Responsive */
@media only screen and (max-width: 480px) {
  .contact-form-section {
    width: 95%;
    padding: 20px;
  }

  .form-contact input,
  .form-contact select,
  .form-contact textarea {
    font-size: 14px;
  }

  .form-contact button {
    font-size: 14px;
  }
}
/* FORMULAIRE DE CONTACT */
.contact-form-section {
  background-color: #fff;
  padding: 30px;
  margin: 30px auto;
  width: 90%; /* même largeur que la section au-dessus */
  max-width: 600px; /* même largeur que l'image en dessous */
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
  text-align: center;
  color: #240046;
  margin-bottom: 20px;
}

.form-contact {
  display: flex;
  flex-direction: column;
}

.form-contact label {
  margin: 10px 0 5px;
  font-weight: bold;
  color: #240046;
}

.form-contact input,
.form-contact select,
.form-contact textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  transition: border-color 0.3s ease-in-out;
  width: 100%; /* occupe toute la largeur */
  box-sizing: border-box; /* inclut padding/border dans la largeur */
}

.form-contact input:focus,
.form-contact select:focus,
.form-contact textarea:focus {
  border-color: magenta;
  outline: none;
}

.form-contact button {
  margin-top: 20px;
  padding: 12px;
  background-color: #240046;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
  width: 100%; /* bouton sur toute la largeur */
}

.form-contact button:hover {
  background-color: magenta;
  transform: scale(1.02);
}

/* Responsive */
@media only screen and (max-width: 480px) {
  .contact-form-section {
    width: 95%;
    padding: 20px;
  }

  .form-contact input,
  .form-contact select,
  .form-contact textarea {
    font-size: 14px;
  }

  .form-contact button {
    font-size: 14px;
  }
}

/* IMAGE DESTINE */
.destine-image {
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.destine-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  transition: transform 0.2s ease-in-out;
}

.destine-image img:hover {
  transform: scale(1.05);
}

/* FOOTER */
/* FOOTER */
.allfooter {
  background-color: #240046; /* Violet profond pour cohérence */
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.footer1 {
  margin-bottom: 10px;
  color: #e0aaff;
}

.footer-paragraphe1 {
  margin: 0;
  font-size: 14px;
}

.footer2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e0aaff;
}

.image-instagram,
.android-image {
  width: 20px;
  height: auto;
  margin-right: 5px;
  vertical-align: middle;
}

.lienfooter {
  text-decoration: none;
  color: #e0aaff;
  margin: 8px 0;
  transition: color 0.2s ease-in-out;
}

.lienfooter:hover {
  color: magenta;
  text-decoration: underline;
}

/* BOUTON REMONTER */
#bouton-remonter {
  margin: 15px auto;
  background-color: #444;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#bouton-remonter a {
  color: #fff;
  text-decoration: none;
}

#bouton-remonter a:hover {
  color: magenta;
}

/* RESPONSIVE */
@media only screen and (max-width: 380px) {
  .logo img {
    width: 90px;
  }

  .allmenu {
    top: 10px;
    right: 10px;
  }

  .image-menu {
    width: 40px;
  }

  .alldiv {
    flex-direction: column;
    align-items: center;
  }

  .container {
    width: 95%;
    margin-left: 0;
  }

  .destine-image {
    width: 95%;
    margin-left: 0;
  }
}
