 @import url("https://fonts.googleapis.com/css?family=Montserrat:500,600,800&display=swap");

html{
    position: relative;
    font-family: Montserrat, sans-serif;
    color: #0b1127;
    scroll-behavior: smooth;
}


.header{
    width: 100%;
    display:block;
    z-index: 10;
    position: relative;
    transition: 1s;
    top: 0;
    
}

header a{
    text-decoration: none;
    font-size: 1.5rem;


}

.header-list{
    display: flex;
    padding: 0;
    width: 18%;
    list-style: none;
    flex-flow: row wrap;
    justify-content: space-between;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}

.header-navigation {
    align-content:center;
    flex-direction: row;
    text-align: center;
    transition: 0.3s;

}


/* ______menu_______*/

.nav-link{
    font-size: 1.6rem;
    font-weight: 400;
    color: #dbdbdb;
}

.NavIcon{
    width: 5%;
    margin-right: 2%;
}

a:hover{
    transition: 0.8s;
    text-shadow: 0px 0px 13px rgba(255,255,255,0.78);}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: fixed;
    left: -100vw;
    top: 3rem;
    flex-direction: column;
    background-color: #0b1127f3;
    backdrop-filter: blur(2px);
    width: 100vw;
    text-align: center;
    transition: 0.3s;

}


.langIcon{

   width: 10%;
}



.nav-menu.active {
    left: 0;
    padding: 10% 0;
}


.nav-item {
    margin: 0.5rem 0;
    list-style: none;
}

.hamburger {
    padding: 5%;
    display: block;
    position: fixed;
    cursor: pointer;
    z-index: 10;
}



.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    display: block;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
    display: block;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    opacity: 1;

    display: block;
}




/*-------------------------------------*/
/* ______________ACCUEIL_______________*/
/* ____________________________________*/
.homepage {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(100px, 34vh);
    position: relative;
    z-index: 2;

    background-position: 50%;
    background-size: cover;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#9b9b9b), to(#ebebeb)), url(../images/intro-background.jpg);
    background-image: linear-gradient(180deg, #9b9b9b, #ebebeb), url(../images/intro-background.jpg);
    
}

.homepage-content{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    grid-column: 1 / 3;
    grid-auto-rows: minmax(100px, auto)

}
.coco{ 
    width: auto;
    max-height: 50vh;
    position: relative;
    margin: 0 auto;
    }

.boris{
    position: absolute;
    text-align: center;
    bottom: 70px;
    font-size: 0.5em;
    right: 50px;
}



.homepage-title{
    font-size: 3.5rem;
    text-align: center;
    display: block;
    color: white;
    margin: 0%;
    text-shadow: 0px 0px 10px #000000;
    text-transform: uppercase;
}

.homepage-title span{
    font-size: 1.5rem;
    display: block;
    line-height: 1.5;
    color: #0b1127;
    text-shadow: #636363 1px 1px 0;    
}

.homepage-description{
    color: white;
    width: 40%;
}

.legal{
    z-index: 100;
    position: relative;
    color: white;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

/* ______livre_______*/
#livreicon{
    width: 35px ;
    height: 35px;

}

.homepage-book{
    align-self: center;
    text-align: center;
    grid-column: auto;
    grid-row: auto;
    color: white;
    width: 100%;
    cursor: pointer;
    
}


/* ______Flêches_homepage_scroll_______*/

.arrow{
    display: none;
}
  .arrow span{
      display: block;
      width: 30px;
      height: 30px;
      border-bottom: 2px solid #ffffff;
      border-right: 2px solid #ffffff;
      transform: rotate(45deg);
      margin: -10px;
      animation: animate 4s infinite;
  }
  .arrow span:nth-child(2){
      animation-delay: -0.2s;
  }
  .arrow span:nth-child(3){
      animation-delay: -0.4s;
  }



  @keyframes animate {
      0%{
          opacity: 0;
          transform: rotate(45deg) translate(-10px,-10px);
      }
      50%{
          opacity: 1;
      }
      100%{
          opacity: 0;
          transform: rotate(45deg) translate(10px,10px);
      }
  }

/*-------------------------------------*/
/* ______________CONTENU_______________*/
/* ____________________________________*/

.content{
    position: relative;
     width: 100%;
    z-index: 3;
}

.text{
    color: white;
    padding: 5%;
    text-align: justify;
    line-height: 30px;
    margin: 10%;
    background-color:rgba(26, 26, 109, 0.13) ;
}



.date{
    margin: 0;
    text-align: center;
    color: white;    
}




.date.active{
    padding-top: 1%;
}
/* ------First content -------- */

.firstSection, .secondSection, .thirdSection, .fourthSection, .fifthSection, .sixthSection, .seventhSection{
    position: relative;
    margin-top: 10vh;
    min-height: 80vh;
    

}

.starTitle{
    display: none;
}


.firstBackdrop, .secondBackdrop, .thirdBackdrop, .fourthBackdrop, .fifthBackdrop, .sixthBackdrop, .seventhBackdrop{
    width: 100%;
    padding: 5% 0;
    z-index: 4;
    position: relative;
}

.firstBackdrop.active, .secondBackdrop.active, .thirdBackdrop.active, .fourthBackdrop.active, .fifthBackdrop.active{
    position: fixed;
    background-color: rgba(6, 6, 41, 0.541);
    backdrop-filter: blur(2px);
    top:0;

}

.imgblock{
    min-height: 0;
}

 .img{
     position: relative;
     width: 100%;
     margin: auto 0;
 }

 .imgLink{
     display: block;
     color: orange;
     text-decoration: none;
     font-size: 1rem;
     text-align: center;
 }

 #letter{
     min-height: 80vh;
 }

 #letter *{
     margin-top: 20%;
 }

 #form{
    z-index: 15;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0vh;
    background-color:rgba(6, 6, 24, 0.932) ;
    backdrop-filter: blur(5px);
    transition: 1s;


     
 }
 .formulaire{

     padding: 3%;
     margin: 0 auto;
     background-color:rgba(26, 26, 109, 0.13) ;
 }

 .inputBox{
     width: 80%;
     margin: 2vh auto;
     
 }

 .inputBox>*{
     width: 100%;
     margin: 0 auto;
     border: 10px rgba(6, 6, 117, 0.932) ;
 }
 .input{
     padding: 2%;

 }


 .contactTitle{
     color: white;
     text-align: center;
 }



 .submitButton{

     width: 50%; 
     display: block;
     padding: 2%;
     margin: 5% auto;
     background-color:rgba(26, 26, 109, 0.747) ;
     color: white;
     cursor: pointer;
     transition: 1s;
 }

 .submitButton:hover{
    background-color:rgba(26, 26, 109) ;}

    .closeButton{
        display: block;
        width: 50%;
        text-align: center;
        padding: 2% 0;
        margin: 5% auto;
        color: white;
        background-color: rgb(139, 4, 4, 0.747);
        cursor: pointer;
        transition: 1s;
    }

    .closeButton:hover{
        background-color: rgb(139, 4, 4,1);
    }


/*-------------------------------------*/
/* _______________LEGAL________________*/
/* ____________________________________*/
.legbox{
    position: relative;
    padding: 5% 0;
    z-index: 20;
    width: 100%;
    color: white;
}

/*-------------------------------------*/
/* ____________Background______________*/
/* ____________________________________*/
.background-container {
    position: fixed;
    z-index: 1;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-image: url(../images/starbg.jpg);
    background-repeat: repeat;
}
.background-container .background-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
}
.background-container .background-wrapper:before {
    background-image: url(../images/stars01.png);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-animation: blink 5s infinite 1s;
    animation: blink 5s infinite 1s;
}
.background-container .background-wrapper:after,
.background-container .background-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-repeat: repeat;
    background-size: -80%;
    width: 100%;
    height: 100%;
}
.background-container .background-wrapper:after {
    background-image: url(../images/stars03.png);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: blink 5s infinite 5s;
    animation: blink 5s infinite 5s;
}
.background-container .background-stars {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-image: url(../images/stars01.png);
    background-repeat: repeat;
    background-size: 80%;
    -webkit-animation: blink 5s infinite 2s;
    animation: blink 5s infinite 1s;
    width: 100%;
    height: 100%;
}
.background-container .background-stars:nth-child(2) {
    background-image: url(../images/stars02.png);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-animation: blink 5s infinite 3s;
    animation: blink 5s infinite 3s;
}
.background-container .background-stars:nth-child(3) {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-image: url(../images/stars03.png);
    -webkit-animation: blink 5s infinite 4s;
    animation: blink 5s infinite 4s;
}
.background-container .background-stars:nth-child(4) {
    background-image: url(../images/stars03.png);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-animation: blink 5s infinite;
}

@-webkit-keyframes blink {
    0% {
        opacity: 0.2;
    }
    30% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.8;
    }
    to {
        opacity: 0.2;
    }
}
@keyframes blink {
    0% {
        opacity: 0.2;
    }
    30% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.8;
    }
    to {
        opacity: 0.2;
    }
}
