@font-face {
    font-family: "ceraProLight";
    src: url(../fonts/CeraProLight.otf);
}

@font-face {
    font-family: "ceraProRegular";
    src: url(../fonts/CeraProRegular.otf);
}

@font-face {
    font-family: "romanica";
    src: url(../fonts/Romanica.ttf);
}



*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-family: 'ceraProLight';
    overflow-x: hidden;
}

h2{
    margin: 0;
    padding: 0;
}

img{
    width: 100%;
    height: auto;
}

header{
    height: 100vh;
    width: 100%;
    /* background-image: url(../img/fond2.png); */
    background-image: url(../img/fond-jeu-nuit.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.titre{
    width: 20%;
    margin-left: 30%;
    padding-top: 8%;
}

.logo-jeu{
    opacity: 1;
}

.compagnie{
    display: flex;
    width: 100%;
    color: white;
    justify-content: right;
    align-items: center;
    margin-top: 50px;
    padding: 30px;
    font-size: 0.8em;
    transform: translate(0, 0);
}

.compagnie div{
    flex-basis: 5%;
}


/* SECTION PRESENTATION */
.presentation{
    display: flex;
    padding: 20px;
    justify-content: space-around;
    padding-top: 150px;
    padding-bottom: 300px;
    background-image: url(../img/fondBleu2.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    /* background-color: blueviolet; */
    /* position: fixed;
    top: 0;
    left: 0; */
}

video{
    width: 38%;
    height: 100%;
}

.video{
    flex-basis: 38%;
    background-color: black;
    opacity: 1;
    transform: translate(0, 0);
}

.txt-explicatif{
    flex-basis: 45%;
    opacity: 1;
    transform: translate(0, 0);
}

.txt-explicatif h2{
    font-family: 'romanica';
    color: white;
    font-size: 2em;
}



/* SECTION DE L'ÉQUIPE */
.equipe{
    width: 80%;
    margin: 0 auto;
    /* background-color: chocolate; */
    position: relative;
}

/* ---------------- VAGUES ------------- */
.ocean {
    height: 100%;
    width: 150%;
    position: absolute;
    top: 0;
    left: -13%;
    /* background-image: url(../img/fondBleuSimple.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed; */
    background: #FFFF;
}

.wave {
    /* background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg) repeat-x; */
    background: url(../img/wave.svg) repeat-x;
    position: absolute;
    top: -198px;
    width: 6400px;
    height: 198px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2){
    top: -175px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

@keyframes wave{
    0% {
        margin-left: 0;
   }
    100% {
        margin-left: -1600px;
   }
}

@keyframes swell {
    0%, 100% {
        transform: translate3d(0, -25px, 0);
   }
    50% {
        transform: translate3d(0, 5px, 0);
   }
}

.equipe h1{
    font-family: 'romanica';
    font-size: 3em;
    opacity: 1;
    transform: translate(0, 0);
    margin-top: 0;
    /* color: white; */
}

/* .equipe h2{
    color: white;
} */

.membres{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    /* background-color: powderblue; */
    justify-content: space-between;
    margin-top: 50px;

}

.membres article{
    display: flex;
    flex-basis: 47%;
    /* background-color: plum; */
    justify-content: space-between;
    margin-bottom: 70px;
    opacity: 1;
    transform: translate(0, 0);
}

.membres article section{
    flex-basis: 65%;
    /* background-color: burlywood; */
}

.membres img{
    background-color: pink;
    /* background-color: white; */
    border-radius: 100%;
    flex-basis: 30%;
    max-width: 150px;
    height: 150px;
}


footer{
    background-image: url(../img/fondBleu2.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 120px;
    padding: 20px;
    color: white;
    font-size: 0.8em;
}

.footer{
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer a{
    flex-basis: 8%;
}

