/*STRUCTURE DU SITE*/

  * {
    box-sizing: border-box;
  }

 body {
    background-color: #154360;
    font-family: lato;
    color:#444;
    margin: 0;
  }

 header {
    background-color: #FAF9F9;
    padding: 20px;
    border: 2px #154360 solid;
    border-radius: 12px 12px 12px 12px
  }

header, nav, main, footer {
  width: 70%;
  margin: auto;
}


nav {
  
    background-color: #154360;
    padding: 20px;
    text-align: center;
    border: 0px;
    border-radius: 0px 0px 12px 12px;
    text-transform: uppercase;
}


footer {
    background-color: #154360;
    color: #f0f0d6;
    padding: 10px;
    text-align: center;
    border: 0px;
    border-radius: 12px;
}

#main {
    display: flex;
    flex-basis: 70%;
    flex-direction: column;
    flex-wrap: wrap;
    border: 2px #154360 solid;
    border-radius: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #FAF9F9;
  }

article {
  flex-basis: 70%;
  padding: 40px;  
}

aside {
  flex-basis: 30%;
  padding-top: 20px;
  padding-right: 50px;
  padding-bottom: 20px;
  padding-left: 50px;

}


/*STYLE ÉCRITURE */

p { 
  margin-bottom:0; 
  margin-top:.75em; 
  font-size: 1.1em;
  text-align: justify;
  text-indent: 0em;
  line-height: 1.2em;
}

.left { 
  margin-bottom:0; 
  margin-top:.75em; 
  font-size: 1.1em;
  text-align: left;
  text-indent: 0em;
  line-height: 1.2em;
}
.right { 
  margin-bottom:0; 
  margin-top:.75em; 
  font-size: 1.1em;
  text-align: right;
  text-indent: 0em;
  line-height: 1.2em;
}

.center { 
  margin-bottom: 0; 
  margin-top:.75em; 
  font-size: 1.1em;
  color: black;
  text-align: center;
  line-height: 1.2em;
}

.ligne {  
  font-size: 0.9em; 
  text-align: center;
  text-indent: 0em;
  color:#666; 
  margin-top: 0pt; 
}

h1   { 
  font-size: 3em;
  font-family: garamond;
  color:#8B0000;
  font-style: italic;
  text-align: center; 
}


h2 {    
  font-size: 1.9em;
  text-align: center;
  color: #052277;
}

h3 {  
  font-size: 1.2em;
  text-align: left;
  margin-top: 1em;
  color: #154360;
}

h4 {    
  font-weight: bold; 
  line-height: 1em;
  font-size: 1.1em;
  color: #000066;
  margin-top: 1.7em;
  margin-bottom: 1em 
  }

li {  
    margin-bottom: 0em; 
    margin-top:.75em; 
    font-family: lato, sans-serif;
    font-size: 1em;
    text-align: 0em;
    line-height: 1.1em;
  }

  .nav {
    display: inline;
    list-style-type: none; 
    margin: 10px;
    margin-bottom: 0; 
    margin-top:.25em; 
    font-family: lato, sans-serif;
    font-size: 0.8em;
    line-height: 1em;
  }

a { text-decoration: none; }
a:link {color: #4682B4; font-weight: bold;}/* lien non-visité */
a:visited {color: #000066;} /* lien visité */
a:hover { color: #800000} /* lien survolé */
a:active { color: green;} /* lien activé */


  .nav a { text-decoration: none; }
  .nav a:link { color: #f0f0d6; }
  .nav a:visited { color: #f0f0d6; }
  .nav a:hover { color: #ff7f00;font-weight: bold;}
  .nav a:active { color: #f0f0d6; }

  .footer a { text-decoration: none; }
  .footer a:link { color: #f0f0d6; }
  .footer a:visited { color: #f0f0d6; }
  .footer a:hover { color: #ff7f00;font-weight: bold;}
  .footer a:active { color: #f0f0d6; }

  
    .footer {
    display: inline;
    list-style-type: none; 
    margin: 10px;
    margin-bottom: 0; 
    margin-top:.25em; 
    font-family: lato, sans-serif, sans-serif;
    font-size: 0.85em;
    line-height: 1em; 
  }

  blockquote {
    display: block;
    font-family: lato, sans-serif; 
    font-size; 0.9em; 
    line-height: 1.1em;
    text-align: justify 
  }

img {
    width:100%;
    max-width:200px;
}

.media
{
  width:100%;
   max-width:700px;
}

.entete {
  width:100%;
   max-width:130px;
   float: left;
}
 .logo {
  width:100%;
   max-width:900px;
}

.oeuvre {
   width:100%;
   max-width:320px;
} 

img.oeuvre:hover{
    -ms-transform: scale(1.7);
  -webkit-transform: scale(1.7);
  transform: scale(1.7); 
}

.small {
   width:100%;
   max-width:160px;
} 

figcaption {
  text-align: center
  }

  .column {
      float: left;
      width: 50%;
      padding: 10px;
      box-sizing: border-box;
    }
    .clearfix::after {
      content: "";
      clear: both;
      display: table;
    }
  

/* ADAPTÉ À TOUS LES TAILLES D'ÉCRAN */

@media screen and (max-width: 900px){
  header, nav, main, footer {
   width: 100%;
   margin: auto;
 }
}

@media screen and (max-width: 500px){
  header, nav, main, footer {
   width: 100%;
   margin: auto;
 }
 #main {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    flex-wrap: wrap;
 }
 article, aside {
  flex-basis:100%;
  padding: 10px;
 }

  .column {
      float: left;
      width: 100%;
      padding: 10px;
      box-sizing: border-box;
    }
    .clearfix::after {
      content: "";
      clear: both;
      display: table;
    }
}