*, ::before, ::after{
    box-sizing: border-box;
    margin:0;
    padding:0;
}

body{
    background-color: #222;
    height: 100vh;
    font-family: 'Myriad Pro', Calibri, Helvetica, sans-serif;  
}

/*------------- Barre navigation ---------------*/
.header{
    position:absolute;
    top:0px;
    width:100%;
    z-index: 1;
    scroll-snap-align: start;
}

.bloc-menu{
    background-color: #222;
    display:flex;
    justify-content: right;
    align-items: center;
    height: 55px;
}

.bloc-menu h1{
    font-family: 'Indie Flower', papyrus, "Goudy Old Style", "MV Boli", "Lucida Handwriting";
    font-size: 30px;
    color:#f1f1f1;
    padding-right : 7vw;
    filter: drop-shadow(1px 1px 2px #45a6e6);
}

.bloc-menu p{
    padding-right:7vw;
    font-size: 15px;
    color: #f1f1f1;
}

.img-separateur{
    height:5px;
    width: 100%;
    background-image: url(img/home_pvb.jpg);
    background-position: left;
    padding-top: 1px; /*pour éviter fusion des marges avec menu*/
    border-bottom: 1px dotted #777;
    filter: drop-shadow(2px 3px 2px #000);
}

.separateur{
    background-color: #534e58;
    width:100%;
    height: 2px;
    margin-top:3px;
}

/*------------- Section asymétrique ---------------*/

html {
    scroll-snap-type: y mandatory;
}

.tableaux_flex{
    position: absolute;
    margin-top: 75px;
    display :flex;
    flex-direction: column;
    align-items: flex-start;
}

.ligne-gauche, .ligne-droite{
    width:1px;
    height:100%;
    border-right: 2px solid #f1f1f18e;
    position:absolute;
    z-index: -1;
}

.ligne-gauche{
    top:30px;
    left:15vw;
}

.ligne-droite{
    top:95px;
    left:65vw;
}

#first{
    scroll-snap-align: none;
}

.tableau{
    display: flex;
    flex-direction: column;
    padding : 25px 0 80px 0;
    opacity: 1;
    scroll-snap-align: start;
    max-height: 90vh; 
}

.tableau h2{
    font-family: 'nueva std';
    color : #f1f1f1;
    background-color:#222;
    padding : 10px 0;
    font-size: 20px;
    display: block;

}

.tableau p{
    color: #f3f3f3;
    background-color:#222;
    font-style: italic;
    font-size: 12px;
    padding-bottom : 10px;
    text-align: right;
    padding-top:12px;
}

.tableau img{
    max-height:75vh;
    max-width:70vw;
    position: relative;
    filter: drop-shadow(10px 10px 3px #000);
}

.pos1{
    padding-left: 10vw;
}

.pos2{
    padding-left: 20vw;
}

.pos2 img{
    max-width: 70vw;
}

.pos3{
    padding-left: 30vw;
}

.pos3 img{
    max-width: 60vw;
}

.pos4{
    padding-left: 40vw;
}

.pos4 img{
    max-width: 50vw;
}

.pos5{
    padding-left: 50vw;
}

.pos5 img{
    max-width: 40vw;
}

.pos6{
    padding-left: 60vw;
}

.pos6 img{
    max-width: 30vw;
}

#footer{
    position:fixed;
    bottom:0;
    display: flex;
    justify-content: space-between;
    color: #f3f3f3;
    background-color: #222222c5;
    width:100%;
    padding : 5px 2vw;
    font-size: 15px;
}

#contact_footer {
  cursor: pointer;
}

#popup_contact{
    background: rgba(252, 252, 252, 0.85);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    z-index: 3;
    display: none;
}

#box_popup_contact{
    min-width: 50vw;
    height: auto;
    background: #222;
    margin: 1vw auto;
    padding: 50px;
    margin-top: 75px;
    position: relative;
    color: #f3f3f3;
    border-radius: 5px;
}

#close_popup_contact{
    font-size: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    opacity: .4;
}

#view_popup_contact{
    display: flex;
    flex-direction: row;
}

#descr_popup_contact{
    font-size: 15px;
    padding-bottom : 20px;
}

#descr_popup_contact a{
    color: #f3f3f3;
    text-decoration: none;
}

#descr_popup_contact p{
    padding : 10px 0;
}

#descr_popup_contact span{
    font-size : 20px;
    cursor: default;
}

#last{
    margin-bottom:20px;
}

@media screen and (max-width: 1248px){
    .ligne-droite{
        display:none;
    }
    .pos6, .pos5, .pos4, .pos3, .pos2, .pos1{
        padding-left: 20vw;
    }
    .pos6 img, .pos5 img, .pos4 img, .pos3 img, .pos2 img, .pos1 img{
        max-width: 70vw;
    }
    #footer {
        font-size: 13px;
      }
}

@media screen and (max-width: 850px){
    .ligne-gauche{
        left:7vw;
    }
    .bloc-menu h1{
        font-size: 25px;
    }
    h2{
        font-size: 18px;
    }
    .pos6, .pos5, .pos4, .pos3, .pos2, .pos1{
        padding-left: 15vw;
    }
    .pos6 img, .pos5 img, .pos4 img, .pos3 img, .pos2 img, .pos1 img{
        max-width: 75vw;
    }
    .tableau{
        padding-bottom:20px;
    }
    #footer {
        font-size: 12px;
      }
}

@media screen and (min-width: 500px){
    #box_popup_contact{
        max-width: 500px;
    }
}