@font-face {
  font-family: "libertas";
  src:
    local("Libertas"),
    url("../fonts/pac_libertas/PAC\ LIBERTAS\ font.ttf");
}

* {
  box-sizing: content-box;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 180px;
  height: 200vh;
  background: url('../images/bg2.jpg') fixed;
  background-size: cover;
}

.overflow-hidden {
  height: 100vh;
  overflow: hidden !important;
}

.container {
  width: 1024px;
  margin: 0 auto;
}

.main-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.4);
}

.main-menu .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-menu img {
  width: 50px;
  height: 50px;
}

.main-menu ul {
  flex: 1;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.main-menu ul li {
  height: 100%;
  flex: 1;
}

.main-menu ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
  font-family: 'libertas';
  font-size: 1.2rem;
  letter-spacing: 2;
}

.nav-current a {
  color: red !important;
}

.main-menu ul li a:hover {
  text-decoration: underline;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.header--logoHolder {
  overflow: hidden;
  width: 300px;
  height: 300px;
}

.header--logoHolder img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  box-shadow: 5px 5px 10px 15px rgba(0, 0, 0, .3);
}

.header--title {
  padding: 0 1rem;
  font-family: 'libertas';
  font-size: 3.5rem;
  text-transform: uppercase;
  color: #fddc6d;
  background: rgba(0, 0, 0, 0.4);
  text-shadow: rgba(0, 0, 0, .1) 3px 0 3px;
}

.main {
  height: 100%;
  width: 1024px;
  margin: 0 auto;
}

.main--presentation-image {
  display: block;
  margin: 30px auto;
}

.main--presentation-texte {
  color: white;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  font-family: 'Roboto';
}

.caillouxpopup__container {
  display: none;
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  padding: 1rem;
  background: rgba(0, 0, 0, .3);
  color: white;

  transform: translate(-50%, -50%);
}

.caillouxpopup__container.open {
  display: block !important;
}

.caillouxpopup__content__close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  color: white;
}

.caillouxpopup__content__close:hover {
  cursor: pointer;
}

.caillouxpopup__content input.send {
  display: block;
  margin: 1rem auto 0;
  padding: 1rem 2rem;
  background: black;
  color: white;
}

.nous__gallery {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.nous__gallery li {
  position: relative;
  width: 45%;
  padding-top: 30%;
  margin: 2.5%;
}

.nous__gallery li img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight {
  color: #0026ff;
}

.nousrejoindre__logo {
  animation: 500s rotateSlowly infinite;
}

.nousrejoindre__body {
  background-position: center;
  animation: 200s backgroundZoom infinite;
}

.activitesE {
  position: fixed !important;
  top: 30px;
  left: 25px;
}

@keyframes backgroundZoom {
  0% {
    background-size: 100vw 100vh;
  }

  100% {
    background-size: 200vw 200vh;
  }
}

@keyframes rotateSlowly {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}


/** GLITCH EFFECT **/

.block1 h1 {
  font-size: 2rem;
  background: none;
}

.glitch-block {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.glitch-block__ctn {
  margin: 0 auto;
  width: 600px;
  height: 70px;
  background: rgba(0, 0, 0, .3);
}

.glitchedAnim,
.invisible-text {
  font-size: 250px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}
.glitchedAnim {
  position: absolute;
  top: 0;
  opacity: 0.9;
}
.invisible-text {
  visibility: hidden;
}
.glitchedAnim:nth-child(2) {
  color: #f03e3e;
  animation: skewAnim 3s infinite;
}
.glitchedAnim:nth-child(3) {
  color: #3df0cf;
  animation: glitchAnim2 3s infinite;
}
.glitchedAnim:nth-child(4) {
  color: #f1f1f1;
  animation: glitchAnim1 3s infinite;
}
.txt-info {
  font-family: Open Sans, sans-serif;
  color: #f1f1f1;
  font-size: 20px;
}
@keyframes glitchAnim1 {
  7% {
    transform: none;
  }
  10% {
    transform: translate(6px, -2px);
  }
  13% {
    transform: none;
  }
  20% {
    transform: none;
  }
  23% {
    transform: translate(-12px, -7px);
  }
  26% {
    transform: none;
  }
  40% {
    transform: none;
  }
  43% {
    transform: translate(10px, -9px);
  }
  46% {
    transform: none;
  }
  65% {
    transform: none;
  }
  68% {
    transform: translate(7px, 5px);
  }
  71% {
    transform: none;
  }
  100% {
    transform: none;
  }
}
@keyframes glitchAnim2 {
  7% {
    transform: none;
  }
  10% {
    transform: translate(-6px, 2px);
  }
  13% {
    transform: none;
  }
  20% {
    transform: none;
  }
  23% {
    transform: translate(12px, 7px);
  }
  26% {
    transform: none;
  }
  40% {
    transform: none;
  }
  43% {
    transform: translate(-10px, 9px);
  }
  46% {
    transform: none;
  }
  65% {
    transform: none;
  }
  68% {
    transform: translate(-7px, 5px);
  }
  71% {
    transform: none;
  }
  100% {
    transform: none;
  }
}
@keyframes skewAnim {
  20% {
    transform: none;
  }
  23% {
    transform: skew(5deg, -5deg) translate(10px, 5px);
  }
  26% {
    transform: none;
  }
  40% {
    transform: none;
  }
  43% {
    transform: skew(5deg, -10deg) translate(-5px, 2px);
  }
  46% {
    transform: none;
  }
  100% {
    transform: none;
  }
}