/*ecran d'accueil*/
:root{
    --doc-height:100svh;
}
#landing_screen{
    position: relative;
    height: 100svh;
}
.ecran{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 1s linear;
    max-width: 100%;
    width: 100%;
    height: 100vh;    
    height: var(--doc-height);
}
 .ecran:first-child{
    opacity: 1;
} 
.ecran.active{
    opacity: 1;
    /* position: static; */
}
 #landing_screen .ecran img{
    /* width: auto;
    height: 100%; */
    min-height: 100%;
    width: auto;
} 

.bold{
    font-weight: 900;
}
.ecran h1,
.ecran h2
{
color: #fff;
font-size: 26px;
font-family: 'Minion Pro Regular';
text-align: center;
padding-bottom: 30px;
}
.ecran h3{
    color: #fff;
font-size: 20px;
font-family: 'Minion Pro Regular';
text-align: center;
padding-bottom: 40px;
}
.ecran .titles{
    position: absolute;
    bottom: 0;
    width: 100%;
}
/* Section About  */
.bg_black  {
    color: #fff;
    background-color: #000;
}
.bg_white{
    color: #000;
    background-color: #fff;
}


.texte p {
    font-family: 'Minion Pro Regular';
}
.texte .wrapper img,
.texte .wrapper figure{
    width: 400px;
    height: auto;
}
.texte .wrapper figure{
    padding-left: 30px;
    padding-right: 30px;
}
.texte.bg_white figure{
    padding-left: 0;
}
.texte .titre:before{
    content: "";
    width: 30px;
    display: block;
    position: absolute;
    bottom: 0;
    height: 1px;
    padding: 0;
}
.texte.bg_black .titre:before{
    background-color: #fff;
}
.texte.bg_white .titre:before{
    background-color: #000;
}
.texte .wrapper{
    display: flex;    
    /* padding-left: 30px;
    padding-right: 30px; */
    width: 100%;
    max-width: 1200px;
}
.texte>div{
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1200px;
}
.texte{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    height: var(--doc-height);
}

.texte h1{
    font-weight: 900;
    font-size: 30px;
    font-family: 'Minion Pro Regular';
    margin-bottom: 20px;
    position: relative;
}
.texte .titre{
    font-family: 'Minion Pro Regular';
    font-weight: 900;
    margin-bottom: 25px;
    position: relative;
}

.texte h2{
    font-size: 26px;
}
.texte h3{
    font-size: 20px;
}
.texte .content_text{
    line-height: 2em;
    padding-top:30px;
    /* padding-right: 30px; */
}
.texte p{
    text-align: justify;
}
.texte.bg_white .content_text{
    padding-right: 30px;
}


@media(max-width:1200px){
    .texte .wrapper{
        align-items: center;
    }
    .texte .content img{
        height: 400px;
    }
    }

/*A intégrer */

#main {
     /* scroll-snap-type: y mandatory;
     overflow-y: scroll;  */
        height: 100vh;    
     height: var(--doc-height);  
     /* overflow: hidden; */
  }
  #main.snapped{
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
  }
  #main.snapped>* {
    scroll-snap-align: start;
  }
  
  #main::-webkit-scrollbar {
    display: none;
  }

/* formulaire de contact */
/* #contact{
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    height: 100vh;
    height: var(--doc-height);
}
#contact h2{
    font-size: 26px;
    text-align: center;
    font-weight: 900;
    padding-bottom: 30px;
}
#contact form{
    width: 100%;
    max-width: 1200px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contact .row{
    display: flex;
    width: 100%;
    max-width: 800px;
}
#contact .row.space-between{
    justify-content: space-between;
}

#contact .row .input{
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
}
#contact .row.space-between .input:nth-child(2n+1){
    padding-right: 20px;
}
#contact .row .input label{
    padding-bottom: 5px ;
    font-size: 1.3em;
}
#contact .row .input input{
    width: 100%;
    line-height: 16px;
    height: 30px;
    padding: 5px;
}
#contact .row textarea{
    width: 100%;
}
#contact form button{
    width: 150px;
    height: 50px;
    line-height: 50px;
    text-transform: uppercase;
    border: 0;
    font-weight: 600;
    cursor: pointer;
} */
.zone.texte *{
    opacity: 0;
    transition:all 0.3s linear;
}
.zone.texte.active *{
    opacity: 1;
}
.moyen_ecran,.petit_ecran{
    display: none;
  }
@media(max-width:960px){
    .grand_ecran{
      display: none;
    }
    .moyen_ecran{
      display: block;
      height: 100%;
    }
  }
@media (max-width:800px){
.texte .wrapper{
    flex-direction: column;
}
.texte.bg_white .wrapper{
    flex-direction: column-reverse;
}
.texte .wrapper p{
    padding-left: 20px;
    padding-right: 20px;
}
.texte .wrapper>div{
    width: 100%;
}
.texte .wrapper figure{
    padding-top: 30px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;

}
    /*old*/
    .texte .content,
    .texte:nth-child(2n+1) .content{
        flex-direction: column;
    }
    .content img{
     padding-top: 30px;
    }
    
    .zone.texte *{
        opacity: 1;
        padding-right: 0;
        padding-left: 0;
    }
    .zone.texte h2{
        padding-left: 15px;
    }
    .zone.texte img{
        width: 100%;
        height: auto;
    }
    .zone.texte .content p{
        padding-left: 20px;
        padding-right: 20px;
    }

    .texte{
        height: auto;
    }
    .texte .content{
        padding-left: 0;    
        padding-right: 0;        
    }
    .texte:nth-child(2n+1) .content_text,
    .texte:nth-child(2n) .content_text    {
        padding-left: 0;    
        padding-right: 0;
    }
    /*Section contact*/
    #contact{
        height: auto;
        max-width: 100%;
    }
    #contact .row{
        flex-direction: column;
    }
    #contact .row .input{
        padding-left: 30px;
        padding-right: 30px;
        width: calc(100% - 60px);
    }
}
@media(max-width:480px){
    .grand_ecran,.moyen_ecran{
      display: none;
    }
    .petit_ecran{
      display: block;
      height: 100%;
    }
  }
