*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden; 
}
@keyframes animate{
  0%{
      background-position: 0 50%;
  }
  50%{
      background-position: 90% 45%;
  }
  100%{
      background-position: 0 50%;
  }
}

::selection{
  color: #ffffff;
  background-color: #FFED00;
}

[class*="reveal-"]{
  opacity: 0;
  transform: translateY(-30px);
}
.reveal-visible{
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s cubic-bezier(0,.58,.82,1);
  
}
.reveal-1{
  transition-delay: 0.2s;
}
.reveal-2{
  transition-delay: 0.4s;
}
.droitgauche{
  animation: droigau 1.5s ease forwards;
}
@keyframes droigau {
  from{
    transform: translateX(5.5cm) ;
  }
  to{
    transform: translateX(0) ;
  }
} 

@supports not ((-webkit-backdrop-filter: blur(50px)) or (backdrop-filter: blur(50px))) {
  .navbar {
    background: rgba(128, 143, 193, 0.562); /* Couleur de la navbar pour les navigateurs non supportés */
  }
}

::-webkit-scrollbar{
  width: 1em;
}
::-webkit-scrollbar-track{
  background: #01315e;
}
::-webkit-scrollbar-thumb{    
  background: #ffffff;
  border: 3px solid #01315e;
}
::-webkit-scrollbar-thumb:active{
  background: #001f3c;
  
}

/* ========= La Navbar ========= */

.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 101;
}
.header::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  z-index: -1;
}

.navbar .underline{
  font-size: 1.12rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.5rem;
}
.navbar .underline:hover{
  color: #FFED00;
  transition: 0.5s ease-in-out;
}

#check{
  display: none;
}

.icons{
  position: absolute;
  right: 5%;
  font-size: 2.8rem;
  color:#fff;
  cursor: pointer;
  display: none;
}

@media (max-width: 992px){
  .header{
    padding: 1.3rem 5%;
  }
}
@media (max-width: 855px){
  .icons{
    display: inline-flex;
  }
  #check:checked~.icons #menu-icon {
    display: none;
  }
  .icons #close-icon{
    display: none;
  }

  #check:checked~.icons #close-icon {
    display: block;
  }

  .navbar{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: .3s ease;
    overflow: hidden;
  }
  #check:checked~.navbar {
    height: 15rem;
  }
  .navbar a{
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(-50px);
    transition: 0.3s ease;
    opacity: 0;
  }
  #check:checked~.navbar a{
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.15s * var(--i));
    margin-left: 0;
  }
}

.logo{
    position: relative;
  }
.logosite{
  width: 6em;
  transform: scale(1.15);
}

/* ========= L'accueil du site ========= */

.hero {
  height: 100vh;
  width: 100vw;
  color: #fff;
  display: flex;
  position: relative;
  z-index: 2;
}
.hero::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 110%;
  background: linear-gradient(-45deg,#011a31,#04396a);
  animation: animate 7s ease-out infinite;
  background-size: 400% 400%;
  z-index: 1;
}
.hero a{
  color: #FFF;
  text-decoration: underline;
}

.gauche{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    z-index: 2;
}
.droite{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    z-index: 2;
}

.gauche h1{
    font-size: 3vw;
    padding-left: 7%;
    line-height: 1em;
}
.gauche p{
    font-size: 1.2vw;
    padding-left: 7%;
    margin-top: 1em;
}

.emil{
  width: 45vw;
  transform: translateY(7px);
}

/* 
.cercle{
  border-radius: 50%;
  background-color: #003566;
  width: 50vh;
  height: 50vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
  
}

.emil{
  position: absolute;
  top: 0px;
  left: -25px; 
  width: 120%;
}

.cercle:hover .emil{
  transform: scale(1.4,1.4) translateY(25px);
  transition: 0.9s ease;
}  */

@media (max-width: 650px){
  .gauche{
    width: 100%;
    height: 50%;
    
  }
  .droite{
    width: 100%;
    height: 50%;
  }
  .hero {
    flex-direction: column;
    height: 95vh;
  }
  .gauche h1{
    font-size: 5.4vw;
    padding: 25% 4% 15px 4%;
  }
  .gauche p{
    font-size: 2.3vw;
    padding: 0 8% 0 8%;
  }
  .emil{
    width: 20em
  }
  /* .cercle{
    width: 40vh;
    height: 40vh;
  } */
}
@media (min-width: 650px) and (max-width: 940px){
  .emil{
    width: 50vw;
  }
}

/* @media (min-width: 320px) and (max-width: 400px){
  .cercle{
    margin-bottom: 50px;
  }

} */


main{
    width: 100vw;
    height: fit-content;
    position: relative;
    background-image: url(../img/noise.gif);
    background-repeat: repeat;
    z-index: 20;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background-size: 15% 15%;
}

.ytbpres{
  padding-top: 100px;
  display: flex;
  justify-content: center;
}
.ytbpres iframe{
  aspect-ratio: 16/9;
  width: 55%;
}
.ytbpres video{
  aspect-ratio: 16/9;
  width: 55%;
  border-radius: 10px;
}

@media screen and (max-width: 768px){
  .ytbpres iframe{
    width: 70%;
  }
  .ytbpres{
    padding-top: 50px;
  }
}
@media screen and (max-width: 470px){
  .ytbpres iframe{
    width: 85%;
  }
}

/* ========= Les réseaux sur les côtés ========= */

.icon-bar {
    position: sticky;
    width: 0px;
    top: 60%;
    transform: translateY(-100%);
    z-index: 3;
}

/* @media (max-width: 768px){
  .icon-bar {
    transform: translateY(-50%);
}
} */

@media (max-width: 740px){
  .icon-bar {
    transform: translateY(35%);
    top: 10%;
}
}
.icon-bar a {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 16px 16px;
    transition: all 0.3s ease;
    color: #fff;
    width: fit-content;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}
.icon-bar .discord {
    background: #000000;
}
.icon-bar .discord:hover {
  background: #7289da;
}
.icon-bar .mail {
  background: #000000;
}
.icon-bar .mail:hover {
  background: #bb0000;
}
.icon-bar .insta {
  background: #000000;
}
.icon-bar .insta:hover {
  background: linear-gradient(-10deg,#f98520,#881ae2);
}
.icon-bar .twitter {
  background: #000000;
}
.icon-bar .twitter:hover {
  background: #141414;
}

.hrsousvid{
  width: 63%;
  border: 1px solid #000000;
  margin: 5em auto;
  color: #000000;
  overflow: visible;
}

.convaincu{
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translateY(-15em);
}
.convaincu h2{
  font-size: 3em;
  text-align: center;
  margin-bottom: 15px;
  padding: 0;
}
@media (max-width: 450px){
  .convaincu h2{
    font-size: 2em;
  }  

}

/* ========= Les Bouttons ========= */


.button {
  cursor: pointer;
  position: relative;
  margin-bottom: 25px;
  padding: 11px 14px;
  font-size: 18px;
  color:  #003566;
  border: 2px solid #003566;
  border-radius: 34px;
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color:  #003566;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.button:hover::before {
  scale: 3;
}

.button:hover {
  color: #ffffff;
  scale: 1.1;
  box-shadow: 0 0px 20px rgba(193, 163, 98,0.4);
}

.button:active {
  scale: 1;
}

.buttonproj {
  cursor: pointer;
  position: relative;
  margin-bottom: 25px;
  padding: 11px 14px;
  font-size: 18px;
  color:  #ffffff;
  border: 2px solid #ffffff;
  border-radius: 34px;
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  overflow: hidden;
}

.buttonproj::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color:  #ffffff;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}


.buttonproj:hover {
  color: #003566;
  border: 2px solid #003566;
  scale: 1.1;
  box-shadow: 0 0px 20px rgba(193, 163, 98,0.4);
}

.buttonproj:active {
  scale: 1;
}

.buttonproj:hover::before {
  scale: 3;
}


/* ========= La Timeline ========= */

.timeline {
  position: relative;
  width: 660px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 1em 0;
  list-style-type: none;
  transform: translateY(-150px);
}

.timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 8px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80,80,80);
  background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.direction-l {
  position: relative;
  width: 300px;
  float: left;
  text-align: right;
}

.direction-r {
  position: relative;
  width: 300px;
  float: right;
}

.flag-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.flag {
  position: relative;
  display: flex;
  align-items: center;
  background: rgb(248,248,248);
  padding: 10px 14px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1.2em;
  text-align: left;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: 50%;
  right: -42px;
  content: ' ';
  display: block;
  width: 15px;
  height: 15px;
  margin-top: -10px;
  background: #fff;
  border-radius: 10px;
  border: 4px solid #003566;
  z-index: 10;
}

.direction-r .flag:before {
  left: -40px;
}

.direction-l .flag:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.direction-r .flag:after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248,248,248);
  border-width: 8px;
  pointer-events: none;
}

.desc {
  margin: 1.5em 0.75em 0 0;
  font-size: 0.88em;
  font-style: italic;
  line-height: 1.5em;
}

.direction-r .desc {
  margin: 1.5em 0 0 0.75em;
}

/* ================ Media Queries Timeline ================ */

@media screen and (max-width: 660px) {

.timeline {
 	width: 100%;
	padding: 4em 0 1em 0;
}

.timeline li {
	padding: 2em 0;
}

.direction-l,
.direction-r {
	float: none;
	width: 100%;

	text-align: center;
}

.flag-wrapper {
	text-align: center;
}

.flag {
	background: rgb(255,255,255);
	z-index: 15;
}

.direction-l .flag:before,
.direction-r .flag:before {
  position: absolute;
  top: -30px;
	left: 50%;
	content: ' ';
	display: block;
	width: 12px;
	height: 12px;
	margin-left: -9px;
	background: #fff;
	border-radius: 10px;
	border: 4px solid #003566;
	z-index: 10;
}

.direction-l .flag:after,
.direction-r .flag:after {
	content: "";
	position: absolute;
	left: 50%;
	top: -8px;
	height: 0;
	width: 0;
	margin-left: -8px;
	border: solid transparent;
	border-bottom-color: rgb(255,255,255);
	border-width: 8px;
	pointer-events: none;
}

/* .time-wrapper {
	display: block;
	position: relative;
	margin: 4px 0 0 0;
	z-index: 14;
} */

.direction-l .time-wrapper {
	float: none;
}

.direction-r .time-wrapper {
	float: none;
}

.desc {
	position: relative;
	margin: 1em 0 0 0;
	padding: 1em;
	background: rgb(245,245,245);
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
	box-shadow: 0 0 1px rgba(0,0,0,0.20);
	
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
	position: relative;
	margin: 1em 1em 0 1em;
	padding: 1em;
	
  z-index: 15;
}

}

@media screen and (min-width: 400px) and (max-width: 660px) {
.direction-l .desc,
.direction-r .desc {
	margin: 1em 4em 0 4em;
}
}

.suite{
  background: rgb(255,255,255);
  background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,29,71,1) 65%);
  background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,29,71,1) 65%);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,29,71,1) 65%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#001d47",GradientType=1);
  width: 100vw;
  height: fit-content;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.mur{
  width: 100%;
  height: 100vh;
  display: flex;
}
.left{
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.left h2{
  background-image: linear-gradient(-45deg,#ffc300,#fff,#ffc300);
  background-clip: text;
  color: transparent;
  font-weight: 300;
  font-size: 1.6vw;
  margin-top: 1.5rem;
}
.left h1{
  font-size: 2.2vw;
  margin-bottom: 20px;
}
.left h1 span{
  background-image: linear-gradient(-45deg,#ffc300,#fff,#ffc300);
  background-clip: text;
  color: transparent;
}

.slider {
  position: relative;
  width: 92%;
  overflow: hidden;
  
}
.images {
  display: flex;
  width: 100%;
}
.images img {
  width: 100%;
  transition: all 0.15s ease;
  border-radius: 15px;
}
.images input {
  display: none;
}
.dots {
  display: flex;
  justify-content: center;
  margin: 5px;
}
.dots label {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: solid #fff 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 5px;
}
.dots label:hover{
  background: #fff;
}
#img1:checked ~ .m1 {
  margin-left: 0;
}
#img2:checked ~ .m2 {
  margin-left: -100%;
}
#img3:checked ~ .m3 {
  margin-left: -200%;
}
#img4:checked ~ .m4 {
  margin-left: -300%;
}

.right{
  width: 50%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.vidavis{
  width: 90%;
  margin-top: 6rem;
}
.vidavis video{
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 15px;
}

@media screen and (max-width: 750px) {
  .mur{
    flex-direction: column;
    height: fit-content;
  }
  .left{
    width: 100%;
    height: fit-content;
  }
  .left h2{
    font-size: 2.4vw;
    margin-top: 2em;
  }
  .left h1{
    font-size: 3vw;
    margin-bottom: 2em;
  }
  .right{
    width: 100%;
    height: fit-content;
  }
  .slider{
    margin-bottom: 2em;
  }
  .vidavis{
    margin-top: 3em;
    position: relative;
  }
  .vidavis iframe{
    position: relative;
  }
}

.azy{
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh;
  width: 100%; */
}
.carre{
  height: 37vw;
  width: 75vw;
  background-color: rgb(255, 255, 255);
  display: flex;
  margin: 2em auto;
  border-radius: 15px;
}
.gauca{
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.droica{
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
}
.droica h1{
  font-size: 2.1vw;
  margin: 0 0 1% 0;
}
.droica p{
  font-size: 1.3vw;
  margin: 0 15px;
}
.tel{
  width: 98%;
  height: 98%;
}

@media (max-width: 553px){
  .carre{
      height: 80vw;
      width: 43vw;
      flex-direction: column;
  }
  .gauca{
      width: 100%;
      height: 50%;
  }
  .droica{
      width: 100%;
      height: 50%;
  }
  .droica p{
      margin: 0 10px;
  }
  .tel{
    width: 95%;
    height: 95%;
  }
}
@media (max-width: 376px){
  .carre{
      height: 115vw;
      width: 63vw;
      flex-direction: column;
  }
  .droica h1{
      font-size: 2.8vw;
  }
  .droica p{
      font-size: 2vw;
  }
}

/* ========= Le Footer ========= */

.vague{
  position: relative;
  width: 100%;
  height: 122px;
  overflow: hidden;
  background-color: #fff;
}
.vague .wave{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(../img/wave.png);
  background-size: 1000px 100px;
}
.vague .wave.wave1{
  animation: wavi1 30s linear infinite;
  z-index: 100;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}
.vague .wave.wave2{
  animation: wavi2 15s linear infinite;
  z-index: 99;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 10px;
}
.vague .wave.wave3{
  animation: wavi1 15s linear infinite;
  z-index: 98;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 15;
}
.vague .wave.wave4{
  animation: wavi2 15s linear infinite;
  z-index: 97;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: 20px;
}
@keyframes wavi1 {
  0%{
    background-position-x: 0;
  }
  100%{
    background-position-x: 1000px;
  }
}
@keyframes wavi2 {
  0%{
    background-position-x: 0;
  }
  100%{
    background-position-x: -1000px;
  }
}

footer{
  width: 100%;
  height: fit-content;
  background-color: rgb(0,29,71);
  color: #fff;
}
.footarea{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80%;
}
.navfo{
  display: flex;
  justify-content: space-evenly;
  width: 90%;
}
.ressoc{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 45px auto;
}
.ressoc p{
  font-size: 2vw;
}
.tdc{
  font-size: 3.5vw;
}
.footarea h1{
  font-size: 3vw;
}

.hrfooter{
  width: 80%;
  text-align: center;
  border: 1px solid #fff;
  margin: 0 auto 15px auto;
}
.dessusceo{
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 1.7vw;
  margin: 15px auto;
}
footer a{
  text-decoration: none;
  color: #fff;
}
.ytbceo{
  font-size: 2vw;
  transform: translateY(5px);
}

.ceo{
  height: 20%;
  width: 100%;
  padding: 22px 0;
  display: flex;
  justify-content: center;
}
.ceo .ceoa{
  text-decoration: none;
  color: #fff;
  margin: 5px 20px;
  font-size: 0.9vw;
}

@media (max-width: 560px){
  .ressoc{
    margin: 12px auto;
  }
  .ressoc p.tdc{
    font-size: 2.15vw;
  }
  .ytbceo{
    transform: translateY(1px);
  }
  .ceo{
    padding: 0 0 4em 0;
  }
  .ceo .ceoa{
    font-size: 1.1vw;
  }
}

/* ========= Page mes créations et derniers projets ========= */

.centertitrecrea{
  color: #fff;
  text-align: center;
  font-size: 1.45vw;
  background-color: rgba(0, 30, 71, 0.432);
  padding: 5px 8px;
  border-radius: 15px;
} 
.centertitrecrea span{
  background-image: linear-gradient(-45deg,#ffc300,#fff,#ffc300);
  background-clip: text;
  color: transparent;
}
.centertitrecrea h2{
  font-size: 0.8vw;
}
@media (max-width: 650px) {
  .centertitrecrea h2{
    font-size: 1.2vw;
  }
  .centertitrecrea{
    border-radius: 8px;
  } 
}

.herocrea{
  position: relative;
  height: fit-content;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-size: 200% 200%;
  padding-top: 10em;
  /* padding-bottom: 3cm; */
  z-index: 1;
  background: rgb(0,29,71);
  background: radial-gradient(circle, rgba(0,29,71,1) 0%, rgba(255,255,255,1) 100%);
  animation: animate 7s ease-out infinite;
}

.container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 5% 0;
  z-index: 1;
}
.container a{
  position: relative;
  display: inline-block;
}
.minia{
  width: 25em;
  margin: 1em;
  border-radius: 15px;
  border: #fff 2px solid;
  z-index: 1;
}

@media (max-width: 470px) {
  .minia{
      width: 70vw;
  }
  .container{
      flex-direction: column;
  }
  .container a:hover::after {
    width: 90% !important;
    font-size: 0.9em !important;
  }
}

.container a:hover::after {
  content: attr(data-title);
  position: absolute;
  bottom: 22px;
  left: 15px;
  width: 93.2%;
  height: 60%;
  font-size: 1.2em;
  box-sizing: border-box;
  text-align: center;
  padding: 5%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.826) 50%, rgba(255, 255, 255, 0) 100%);
  color: rgb(0, 0, 0);
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: end;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 2;
  pointer-events: none;
}

 .vidproj{
  width: 23em;
  margin: 10px;
}
.vidproj iframe{
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 15px;
  border: #fff 2px solid;
} 

.vidproj video{
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 15px;
  border: black 2px solid;
  background-color: black;
  position: relative;
}

@media screen and (max-width: 470px) {
  .vidproj{
    width: 17em;
  }
}

.souscrea{
  height: fit-content;
  width: 100%;
  background-color: #ffffff;
  border-radius: 50%;
}

.comment{
  text-align: center;
}

.suiteprojet{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 120vh;
}

.video-bg{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

.textsurvideo{
  transform: translateY(1.5cm);
  line-height: 2.9em;
}
.textsurvideo h1{
  color: #fff;
  font-size: 3.2vw;
  margin-bottom: 30px;
}
.textsurvideo h1 span{
  background-image: linear-gradient(-45deg,#ffc300,#fff,#ffc300);
  background-clip: text;
  color: transparent;
}

@media (max-width: 550px) {
  .textsurvideo h1{
    font-size: 5vw;
    line-height: 1em !important;
  }
  .titresousvidproj{
    font-size: 2.8vw !important;
  }
}

.titresousvidproj{
  text-align: center;
  font-size: 1.9vw;
  color: #011a31;
  padding: 72px 2em 0 2em;
}

.divcontainer{
  margin-top: -4.8em;
  width: 100%;
  height: fit-content;
  background-color: #fff;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.conteneur{
  width: 100vw;
  padding: 0 25% 18% 25%;
  color: #fff;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: left;
  background: rgb(1,26,49);
background: linear-gradient(180deg, rgba(1,26,49,1) 95%, rgba(255,255,255,1) 100%);
}

.conteneur h1{
  text-align: center;
  text-transform: uppercase;
  text-decoration: underline;
  margin-top: 4em;
  font-size: 2.85em;
  margin-bottom: 0.5em;
  font-weight: 800;
}
.conteneur h2{
  font-size: 1.9em;
  margin-top: 2.2em;
  font-weight: 600;
}
.conteneur p{
  font-size: 1em;
  font-weight: 300;
}
.logoconteneur{
  width: 10em;
  margin: 45px auto 0 auto;
}

 @media (max-width: 620px) {
  .conteneur h1{
    font-size: 2em;
  }
  .conteneur h2{
    font-size: 1.7em;
  }
  .conteneur p{
    font-size: 0.8em;
  }
  .conteneur{
    padding: 0 20%;
  }
}

@media (max-width: 620px) {
  .conteneur{
    padding: 0 10%;
  }
}

.azy2{
  display: flex;
  padding: 0 35px;
  margin-bottom: 1.8em;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  flex-direction: column;
}

.textewrapper{
  font-size: clamp(1vw,2em,5vw);
  padding-bottom: 15px;
}
.wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
}
.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 2.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
  left: -22px;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .imag) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;
  height: 342px;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
  border: 2px black solid;
}
.carousel .card .imag {
  background: #003566;
  height: 158px;
  width: 158px;
  border-radius: 50%;
}
.card .imag img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}
.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 -10px 0;
}
.carousel .card span {
  color: #6A6D78;
  font-size: 1.31rem;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((90% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}

