.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 2rem;
  font-weight: 700;
}
.logo-main-nav {
  width: 9%;
  position: relative;
}
.logo-main-nav img {
  width: 100%;
  position: absolute;
  left: 50%;
  top: -25px;
  transform: translate(-50%);
  object-fit: contain;
}
.logo-menu-phone {
  display: none;
}
.deroulant {
  position: relative;
}
.activite-desktop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.deroulant label {
  display: none;
}
.deroulant input {
  display: none;
}
.sous-menu {
  display: none;
  position: absolute;
  width: 100%;
  text-align: center;
}
.sous-menu li {
  background-color: var(--txt-border-color);
  color: var(--background-color);
  margin-bottom: 0.1rem;
  padding: 2px 10px;
  border-radius: 3px;
}
.deroulant:hover .sous-menu {
  display: unset;
  transition: all 0.3s ease-in-out;
}
header {
  z-index: 99;
  position: fixed;
  top: 0px;
  width: 100%;
  transition: 0.3s ease-in-out;
}
.header-shadow {
  box-shadow: 0px 0px 5px var(--shadow-color);
}

.header-color {
  background-color: rgba(255, 255, 255, 1);
}

/* bouton changement de langue */

.change-langue {
  position: fixed;
  right: 5%;
  bottom: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1.2rem;
  background-color: #5ebfa5;
  border-radius: 50%;
}

.change-langue img {
  margin: auto;
  width: 40px;
}
.change-langue-choice {
  display: none;
  margin-top: 1rem;
}
.make-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* FOOTER */
footer {
  background: url("../../img/wavebackreverse.png") no-repeat;
  background-size: 110% 120%;
  background-position-y: -3rem;
  background-position-x: -8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 20;
  overflow-y: hidden;
  padding: 15rem 0 4rem;
  margin-top: -14rem;
}
@media screen and (max-width: 1300px) {
  footer {
    background-size: 120% 120%;
  }
}
footer a,
footer p,
footer h5,
footer svg,
footer h4 {
  color: var(--background-color);
}
footer h5 {
  font-size: 1.2rem;
  margin: 0;
}
.container-footer {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto;
  border-bottom: 1px var(--background-color) solid;
  padding-bottom: 4rem;
}
.footer-nav,
.activites-footer,
.kisurf-footer,
.reseaux-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reseaux-footer {
  justify-self: right;
  text-align: right;
}
.reseaux-footer li {
  color: white;
  list-style-type: none;
}
.credit-mention {
  padding-top: 4rem;
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 1080px) {
  .menu-phone {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .deroulant label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .activite-desktop {
    display: none;
  }
  .logo-main-nav {
    display: none;
  }
  .deroulant input:checked + .sous-menu {
    display: unset;
    position: unset;
  }
  .deroulant input:checked + .sous-menu {
    display: unset;
    position: unset;
  }

  .logo-menu-phone {
    display: unset;
    position: relative;
    top: 2rem;
  }
  .logo-menu-phone img {
    width: 50%;
  }
  .burger-icon,
  .burger-icon::before,
  .burger-icon::after {
    content: "";
    display: inline-block;
    width: 30px;
    background-color: var(--txt-border-color);
    height: 3px;
    transition: all 0.3s ease-in;
  }
  .burger-icon {
    position: relative;
  }
  .burger-icon::before {
    position: absolute;
    top: 7px;
  }
  .burger-icon::after {
    position: absolute;
    top: -7px;
  }
  .burger-icon.open {
    background: transparent;
  }
  .burger-icon.open::before {
    transform: rotate(225deg);
    top: 0;
  }
  .burger-icon.open::after {
    transform: rotate(-225deg);
    top: 0;
  }
  .menu-burger {
    display: none;
  }
  .menu-burger.open {
    display: flex;
    width: 100%;
    background-color: var(--background-color);
    z-index: 99;
    padding: 2rem;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  /* FOOTER */
  footer {
    background-position: center;
    background-position-y: -20rem;
    background-size: 600% 160%;
    padding: 15rem 0 4rem;
    margin-top: -12rem;
  }
  .container-footer {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 4rem;
  }
  .reseaux-footer {
    text-align: left;
  }
  .credit-mention {
    width: 80%;
    flex-direction: column;
    gap: 4rem;
  }
}
