/* balise principal */
* {
  margin: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  font-size: 1em;
  background-color: #2D473B;
  scroll-behavior: smooth;
}

a {
  font-size: 1em;
  color: #242424;
  text-decoration: none;
}
#focus-lien {
  border-bottom: 4px solid #158858;
}

em {
  color: #C8E0A5;
  font-style: normal;
}

h1 {
  font-size: 3.5em;
  color: #C8E0A5;
  font-family: 'Montserrat', sans-serif;
}

h2 {
  font-size: 1.5em;
  color: #C8E0A5;
}

p,
li {
  font-size: 1.1em;
  color: #f9f8ff;
}

nav,
footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  background-color: white;
  padding: 20px 50px;
}

nav {
  padding: 0px 0px;
  position: absolute;
  width: 100%;
  z-index: 5;
  backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.3s ease-out;
}

section {
  padding: 80px;
}

nav a {
  color: white;
  display: block;
  padding: 40px;
}

nav a:hover {
  background-color: #2D473B;
  color: white;
  text-decoration: none;
  transition: background-color 0.15s ease-out;
}

nav div {
  height: 0%;
  display: flex;
}

nav img {
  height: 5em;
  padding-left: 50px;
}

#menu-sociaux {
  display: flex;
  background-color: white;
  position: relative;
  height: 23px;
  z-index: 5;
}
#menu-sociaux a {
  display: flex;
  padding: 0px 5px 0px 5px;
}
#menu-sociaux a:hover {
  background-color:#2f6947;
  text-decoration: none;
}
#menu-sociaux img {
  width: 20px;
  margin: 2px;
}

#menu-smartphone {
  margin-right: 30px;
  display: none;
}
#selection-smartphone {
  position: fixed;
  top: 100px;
  left: 0px;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
}
#selection-smartphone a {
  font-size: 2em;
  display: flex;
  justify-content: center;
  padding: 10px;
}


/*forme simple*/
.barre {
  background-color: black;
  height: 4px;
  width: 50px;
  border-radius: 20px;
}

.arrow, .croix, .arrow-large {
  border-radius: 5px;
  width: 70px;
  height: 70px;
  cursor: pointer;
}
.arrow:hover {
  background-color: #158858;
}
.arrow div, .croix div, .arrow-large div {
  border-radius: 5px;
  position: absolute;
  background-color: white;
  width: 5px;
  height: 40px;
}
.arrow-bar1, .arrow-bar2 {
  margin-top: 2px;
  margin-left: 30px;
  transform: rotate(45deg);
}
.arrow-bar2 {
  margin-top: 28px;
  transform: rotate(-45deg);
}
.reverse-arrow {
  transform: rotate(180deg);
}

.croix {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #158858;
}
.croix div {
  height: 50px;
}
.croix-bar1 {
  transform: rotate(45deg);
}
.croix-bar2 {
  transform: rotate(-45deg);
}

.arrow-large {
  background-color: #158858;
  margin-right: 10px;
}
.arrow-large div {
  height: 25px;
}
.arrow-large-bar1 {
  margin-top: 37px;
  margin-left: 7px;
}
.arrow-large-bar2 {
  margin-top: 47px;
  margin-left: 17px;
  transform: rotate(90deg);
}
.arrow-large-bar3 {
  margin-top: 7px;
  margin-left: 58px;
}
.arrow-large-bar4 {
  margin-top: -3px;
  margin-left: 48px;
  transform: rotate(90deg);
}

#bouton-menu {
  height: auto;
}
#bouton-menu div {
  background-color: #fff;
  border-radius: 10px;
  width: 50px;
  height: 7px;
  margin-top: 10px;
}
#bouton-menu div:nth-child(1) {
  margin: 0;
}
#bouton-menu:hover + #bouton-menu div {
  transform: rotate(30deg);
}

/* class et ID */
.text-bouton {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.text-aligne {
  margin-top: 20px;
  max-width: 1000px;
}

.cta {
  display: inline-block;
  background: linear-gradient(#3e5f29, #2f6947);
  color: white;
  border-radius: 50px;
  padding: 20px 30px;
  width: fit-content;
}

a:hover {
  text-decoration: underline;
}

.cta:hover {
  background: linear-gradient(#0aac7b, #07d881);
  text-decoration: none;
  cursor: pointer;
}

.lien-icone {
  margin-left: 30px;
}

.lien-icone:hover {
  opacity: 0.5;
}

.text-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 4px 4px 10px;
  padding: 20px;
  padding-bottom: 50px;
  min-width: 300px;
  max-width: 300px;
}
.text-page .barre {
  background-color: #2D473B;
  margin: 20px;
}
.text-page h2 {
  color: #2D473B;

}
.text-page p {
  color: black;
}

#Visionneur-photos {
  display: none;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}
.arrow-visionneur {
  background-color: #158858;
  margin: 20px;
  margin-top: 50px;
  z-index: 7;
}

.selection-Bouton {
  margin-bottom: 10px;
  display: flex;
  justify-content: end;
  width: 100%;
  margin-top: 0px;
  z-index: 5;
}
.conteneur-windows-photos {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}
.windows-photo {
  box-shadow: 5px 5px 30px;
  padding: 10px;
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  border-radius: 10px;
  background-color: #fff;
  z-index: 6;
  max-width: 100%;
}

.windows-photo img {
  max-width: 100%;
  border-radius: 10px;
}

#event {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 3px 3px 10px;
  border-radius: 20px;
  position: fixed;
  bottom: -684px;
  left: 80%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 450px;
  height: 500px;
  overflow: hidden;
  z-index: 5;
}

#event img {
  border-radius: 10px;
  width: 290px;
  margin: 10px;
}

.presentation-manifestation {
  display: flex;
  height: 100%;
  width: 100%;
}
.text-manifestation {
  margin-top: 10px;
  height: 100%;
  width: 100%;
}
.presentation-manifestation h2 {
  color:#158858;
}
.presentation-manifestation p, .presentation-manifestation li {
  color: black;
}

#arrow-event {
  transform: rotate(90deg);
}
#arrow-event:hover {
  background-color: #0aac7b;
}

#arrow-event .arrow-bar1 {
  height: 30px;
  margin-top: 10px;
  margin-left: 34px;
}

#arrow-event .arrow-bar2 {
  height: 30px;
  margin-top: 29px;
  margin-left: 34px;
}

#titre-event {
  background-color: #2D473B;
  height: 1px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px;
  overflow: hidden;
}
#titre-event h2 {
  color: #fff;
}

/* a suprimer si sert a rien
#fenetre {
  display: none;
  text-align: center;
  background-color: white;
  border-radius: 6px;
  box-shadow: 4px 4px 25px;
  width: 500px;
  height: 400px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#fenetre h2 {
  color: black;
}
*/

#filtre {
  display: none;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  backdrop-filter: blur(5px);
  position: fixed;
  height: 100%;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

@media screen and (max-width: 996px) {
  h1, h2 {
    font-size: 2em;
  }

  section {
    padding: 50px 20px 50px 20px;
  }

  nav {
    height: 100px;
  }
  nav a {
    margin-left: 10px;
    margin-right: 10px;
  }
  #menu-smartphone {
    display: flex;
      justify-content: center;
  align-items: center;
  }
  #menu-sociaux {
    display: none;
  }
  #selection-principal {
    display: none;
  }
  #bouton-menu, #bouton-menu div {
    display: block;
  }

  footer {
    margin-bottom: 45px;
  }

  #event {
    width: 100%;
    left: 50%;
  }

  .text-page {
    min-width: 80%;
  }

  /*visionneur de photos*/
  .arrow-visionneur {
    position: fixed;
  }
  .arrow-visionneur:nth-child(1) {
    left: 0px;
  }
  .conteneur-windows-photos .reverse-arrow {
    right: 0px;
  }
  .windows-photo {
    padding: 0px;
    border-radius: 0px;
  }
  .windows-photo img {
    border-radius: 0px;
  }
  #filtre {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: none;
  }
  .selection-Bouton {
    justify-content: center;
  }
}