body {
  background-color: #eee;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  letter-spacing: -2px;
}

p:not(.elementor-heading-title) a {
  font-weight: 600;
  display: inline-block;
}

div[data-elementor-type=header],
div[data-elementor-type=wp-page] {
  max-width: 1920px;
  margin: 0 auto;
}

.menu-item a:hover {
  text-decoration: none;
}

.loop-projets-accueil.v1 div.elementor-loop-container {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1px;
}
@media screen and (max-width: 1850px) {
  .loop-projets-accueil.v1 div.elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
  }
}
@media screen and (max-width: 1150px) {
  .loop-projets-accueil.v1 div.elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media screen and (max-width: 768px) {
  .loop-projets-accueil.v1 div.elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}
@media screen and (max-width: 600px) {
  .loop-projets-accueil.v1 div.elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  }
}
@media screen and (max-width: 400px) {
  .loop-projets-accueil.v1 div.elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.loop-projets-accueil.v1.b div.e-loop-item .c-text p {
  font-size: 30px;
}
@media screen and (max-width: 1500px) {
  .loop-projets-accueil.v1.b div.e-loop-item .c-text p {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  .loop-projets-accueil.v1.b div.e-loop-item .c-text p {
    font-size: 18px;
  }
}

.loop-projets-accueil.v2 div.e-loop-item:nth-of-type(6n+1) a {
  transform: rotate(5deg);
}
.loop-projets-accueil.v2 div.e-loop-item:nth-of-type(6n+2) a {
  transform: rotate(-2deg);
}
.loop-projets-accueil.v2 div.e-loop-item:nth-of-type(6n+3) a {
  transform: rotate(-5deg);
}
.loop-projets-accueil.v2 div.e-loop-item:nth-of-type(6n+4) a {
  transform: rotate(4deg);
}
.loop-projets-accueil.v2 div.e-loop-item:nth-of-type(6n+5) a {
  transform: rotate(8deg);
}
.loop-projets-accueil.v2 div.e-loop-item:nth-of-type(6n+6) a {
  transform: rotate(-5deg);
}
.loop-projets-accueil.v2 div.e-loop-item a {
  box-shadow: 2px 2px 11px -3px #000000;
}

.container-projet {
  filter: contrast(110%) saturate(1.1);
}

.container-projet.v1 {
  position: relative;
  transition: all 0.2s;
}
.container-projet.v1 .image-gif:before {
  content: " ";
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 10;
  transition: all 0.5s;
  opacity: 0;
}
@media screen and (min-width: 1024px) {
  .container-projet.v1:hover .image-gif:before {
    opacity: 1;
  }
  .container-projet.v1:hover .image-gif {
    opacity: 1;
    display: block;
  }
  .container-projet.v1:hover .c-text {
    transition: width 0.2s ease, height 0.2s ease, padding 0.2s ease, opacity 0.2s ease 0.2s;
    margin: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    opacity: 1;
  }
}
@media screen and (max-width: 1024px) {
  .container-projet.v1.touched .image-gif:before {
    opacity: 1;
  }
  .container-projet.v1.touched .image-gif {
    opacity: 1;
    display: block;
  }
  .container-projet.v1.touched .c-text {
    margin: 10px;
    transition: width 0.2s ease, height 0.2s ease, padding 0.2s ease, opacity 0.2s ease 0.2s;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    opacity: 1;
  }
}
.container-projet.v1 .image-gif {
  transition: all 0.2s;
  position: absolute;
  opacity: 0;
  display: none;
}
.container-projet.v1 .c-text {
  position: absolute;
  z-index: 11;
  height: 100%;
  padding: 20px;
  transition: width 0.2s ease 0.2s, height 0.2s ease 0.2s, padding 0.2s ease 0s, opacity 0.2s ease 0s;
  opacity: 0;
}
.container-projet.v1 .c-text p {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 34px;
}

.container-projet.v2 {
  position: relative;
  /*
      &:nth-of-type(-n+1){        transform: rotate(5deg);    }
      &:nth-of-type(-n+2){        transform: rotate(-12deg);    }
      &:nth-of-type(-n+3){        transform: rotate(3deg);    }
  */
  transition: all 0.2s;
  background-color: #eee !important;
}
@media screen and (min-width: 1024px) {
  .container-projet.v2:hover {
    background-color: #fff !important;
    transform: scale(1.05) rotate(0) !important;
    z-index: 20;
  }
  .container-projet.v2:hover .image-gif:before {
    opacity: 1;
  }
  .container-projet.v2:hover .image-gif {
    opacity: 1;
    display: block;
  }
  .container-projet.v2:hover .c-text p {
    text-decoration: underline;
  }
}
@media screen and (max-width: 1024px) {
  .container-projet.v2.touched {
    transform: scale(1.05) rotate(0) !important;
    z-index: 20;
  }
  .container-projet.v2.touched .image-gif:before {
    opacity: 1;
  }
  .container-projet.v2.touched .image-gif {
    opacity: 1;
    display: block;
  }
  .container-projet.v2.touched .c-text p {
    text-decoration: underline;
  }
}
.container-projet.v2 .image-gif {
  transition: all 0.2s;
  position: absolute;
  opacity: 0;
  display: none;
}
.container-projet.v2 .c-text {
  transition: all 0.2s;
  padding: 20px;
}
.container-projet.v2 .c-text p {
  font-weight: 500 !important;
  font-size: 16px !important;
}

.elementor-post-navigation__link {
  transition: all 0.1s;
  padding: 0 20px;
}
.elementor-post-navigation__link:hover {
  transform: scale(1.05);
  padding: 0 15px;
}

.gvideo-wrapper [type=button], .gvideo-wrapper [type=submit], .gvideo-wrapper button {
  font-weight: 400;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #fff;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}

.single-video-container {
  text-align: center;
  max-width: 1920px;
  margin: 0 auto;
}
.single-video-container video {
  cursor: pointer;
  width: auto;
}

div.video-item a {
  position: relative;
  display: inline-block;
}
div.video-item a:after {
  content: " ";
  position: absolute;
  display: inline-block;
  width: 70px;
  height: 70px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url("/wp-content/themes/elbert/assets/images/play-btn.png");
  background-size: cover;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8)); /* Ombre avec transparence */
  opacity: 0.6;
  z-index: 10;
}
div.video-item:hover a:after {
  opacity: 1;
}

div.single-video-container:after {
  content: " ";
  pointer-events: none;
  position: absolute;
  display: inline-block;
  width: 70px;
  height: 70px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url("/wp-content/themes/elbert/assets/images/play-btn.png");
  background-size: cover;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8)); /* Ombre avec transparence */
  opacity: 0.6;
  z-index: 10;
}
div.single-video-container:hover:after {
  opacity: 1;
}
div.single-video-container.playing:after {
  display: none;
}

#footer-elbert {
  position: absolute;
  max-width: 300px;
  right: 0;
  transform: translateY(-100%);
  font-size: 12px;
  text-align: right;
}
#footer-elbert .inner {
  padding: 10px;
}
#footer-elbert .inner span {
  background-color: white;
  padding: 3px;
}

/*# sourceMappingURL=style-elbert.css.map */
