/* Feuille de style du site peinture. Chaque page en dépend, certaine page ont du CSS directement (à intégrer)












1 - Reset
2 - Polices
3 - Le menu / la mise en page globale (blocpage, sections, body, etc...)
4 - La gallerie
5 - La lightbox
6 - Page contact

7 - Responsive


*/

/* 1 - Le reset CSS   */



html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, menu, header, section{
   margin:0;
   padding:0;
   border:0;
   font-size:100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, header, nav, section, article, diva{
   display:block;
}

ol, ul{
   list-style:none;
}
table{
   border-collapse:collapse;border-spacing:0;
}

html {
    width:100%;
    height: 100%;
    display: table;
}


/* 2 - Les 2 polices  */





@font-face {
    font-family: 'cac_champagneregular';
    src: url('font/cac_champagne-webfont.eot');
    src: url('font/cac_champagne-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/cac_champagne-webfont.woff2') format('woff2'),
         url('font/cac_champagne-webfont.woff') format('woff'),
         url('font/cac_champagne-webfont.ttf') format('truetype'),
         url('font/cac_champagne-webfont.svg#cac_champagneregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: '3dumbregular';
    src: url('font/3Dumb-webfont.eot');
    src: url('font/3Dumb-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/3Dumb-webfont.woff2') format('woff2'),
         url('font/3Dumb-webfont.woff') format('woff'),
         url('font/3Dumb-webfont.ttf') format('truetype'),
         url('font/3Dumb-webfont.svg#3dumbregular') format('svg');
    font-weight: normal;
    font-style: normal;

}






/* 3 - Menu + général*/




/* Le menu*/



ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgb(205, 227, 255);
    display: flex;
    justify-content: space-around;
}

li {
    float: left;
}

li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'cac_champagneregular', sans-serif;
    font-style: italic;
    font-size:30px;
}

a:hover:not(.active) {
    background-color: rgb(230, 243, 255);
}

#bord{
    width:auto;
    height:10px;
    background-color: rgb(230, 243, 255);
}

.dropdown{
    display:none;
    position:absolute;
}



/* Partie + général */


section{

    width:auto;
    display:flex;
    justify-content: space-around;
    margin-top: 10px;
    margin-bottom: 10px;
}

body {
    width:100%;
    display:table-cell;
    line-height:1;
    background-image: linear-gradient(to right , rgb(100, 100, 100), white,white, white, white, white, white, rgb(100, 100, 100));
}

html, body {
    margin: 0px;
    padding: 0px;
    height:100%;
}



#blocpageindex{
    border: 1px solid black;
    width:1150px;
    height:90%;
    margin : auto;
    margin-top:25px;
    background-color: white;
    margin-bottom:40px;
}



#blocpage{
    border: 1px solid black;
    width:90%;
    height:auto;
    margin : auto;
    margin-top:25px;
    background-color: white;
    margin-bottom:40px;
}
#blocpagecontact{
    border: 1px solid black;
    width:1150px;
    height:auto;
    margin : auto;
    margin-top:25px;
    background-color: white;
    margin-bottom:40px;
}
#blocpagebio{
    border: 1px solid black;
    width:1150px;
    height:auto;
    margin : auto;
    margin-top:25px;
    background-color: white;
    margin-bottom:40px;
}


a{
    text-decoration: none;
}



h1 {
    font-family: '3dumbregular', sans-serif;
    font-size: 35px;
    text-align: center;
    margin-top:20px;
    color:black;
    
}






/* 4 - Ici pour la gallerie*/



.gallery2{
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width:500px;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
}

.gallery2:hover {
    border: 1px solid #000;
}

.gallery2 img {
    width: 100%;
    height: auto;
}








.gallery{
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width:360px;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
}

.gallery:hover {
    border: 1px solid #000;
}

.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 15px;
    text-align: center;
    font-family: 'cac_champagneregular', sans-serif;
    font-size: 20px;
    
    
/* 5 - Ici pour la lightbox (Le script est dans chaque page.).*/
    
    
    
    
}


#bio{
    margin-top:10px;
    display:flex;
    justify-content: space-between;
}
.profile{
    margin-left:20px;
    margin-right: 20px;
    margin-top:20px;
}


#espace{
    height:30px;
}

p{
    text-emphasis-style: none;
    font-family: 'cac_champagneregular', sans-serif;
    font-size: 28px;
    margin: 5px;
}

.citation{
    font-style: italic;
    margin-left:20px;
}

.auteur{
    margin-left: 400px;
    text-decoration: underline;
    margin-bottom:30px;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}




body {
  font-family: Verdana, sans-serif;
  margin: 0;
}

* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}





/* 6 - Ici pour contact.*/




h2{
    text-align: center;
    font-family: '3dumbregular', sans-serif;
    font-size: 25px;
    margin-top: 8px;
}
h3{
    font-family: 'cac_champagneregular', sans-serif;
    font-size: 30px;
    margin-top: 10px;
    text-align: center;
    font-weight: normal;
}

.contact{
    width:500px;
    height:100px;
    margin:auto;
    margin-bottom: 50px;
    margin-top:50px;
    border: 5px double grey;

}


h1:hover{
    text-shadow:1px 1px rgb(220,220,220);
}


.sectionindex2{
    display:none;
    height:100%;
}
.sectionindex{
        display:flex;
        flex-direction: column;
        justify-content: center;
        
    }



/* 7 - Responsive */



@media screen and (max-width: 1100px) {
    ul {
        display:flex;
        flex-direction:column;
    }
    li a{
        font-size: 23px;
    }

    nav{
        width:160px;
        height:auto;
        display:none;
    }
    #iconmenu{
        display: inline-block;
    }
    
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(205, 227, 255);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border:1px solid black;
    border-top:none;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: 'cac_champagneregular', sans-serif;
    font-style: italic;
    font-size:23px;
}

/* Change color of dropdown links on hover */

.dropdown-content .drop:hover {background-color: rgb(230, 243, 255);}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
    .dropdown:hover .dropbtn {
    background-color: rgb(230, 243, 255);
    }
    .dropbtn {
    background-color: rgb(205, 227, 255);
    color: black;
    padding: 5px;
    cursor: pointer;
    min-width: 100px;
    font-family: 'cac_champagneregular', sans-serif;
    font-style: italic;
    font-size:23px;
    border:none;
    border-right:1px solid black;
    border-bottom: 1px solid black;
    height:60px;
}
    
    #headresp{
        background-color: rgb(205, 227, 255);
        width:100%;
        display:flex;
        height: 60px;
        border-bottom: 1px solid black;
        border-top: 1px solid black;
        position: fixed;
        top: 0;
        width: 100%;
    }
    
    
    .atitre{
        width:100%;
        height:39px;
        min-width:190px;
        margin-top: -4px;
    }
    
    
    #titre{
        
    }
    
    h1{
        font-size:20px;
        text-align: center;
        position:relative;
        top:11px;
        width:200px;
        margin:auto;
        
    }
    
    a:hover:not(.active) {
    background-color: rgb(205, 227, 255);
}
    
    a{
        margin:auto;
    }
    
    .drop:hover{
        background-color: rgb(230, 243, 255);
    }
    
    h1:hover{
    
    }
    
    #bord{
        display:none;
    }
    
    #blocpage{
        width:90%;
        margin:auto;
        margin-top:60px;

    }
    #blocpageindex{
        width:90%;
        margin:auto;
        margin-top:60px;
        height:auto;

    }
    
    #blocpagecontact{
        margin:auto;
        margin-top:60px;
        width: 500px;
    }
    p{
        word-wrap: break-word;
    }
    #blocpagebio{
        width:90%;
        min-width: 400px;
        margin-top:60px;
    }
    
    section{
        display:flex;
        flex-direction:column;
    }

    .gallery{
        width: 90%;
        margin:auto;
        margin-bottom:15px;
    }
    .gallery2{
        width: 90%;
        margin:auto;
        margin-bottom:15px;
    }
    
    .sectionindex{
        display:none;
    }
    .sectionindex2{
        display:flex;
        flex-direction: column;
        justify-content: center;
        margin-top:0px;
        margin-bottom: 4px;
        width:100%;
        height:100%;
    }
}



    
    
    
    
}







