/* || General setup */

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
/*  background-color: #a9a9a9;*/
}

body {
  width: 70%;
  margin: 0 auto;
  background-image: url("../images/bandeau.jpg") ;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* || typography */

h1, h2, h3 {
  font-family: 'Sonsie One', cursive;
  color: #2a2a2a;
}

p, li {
  font-family: 'Open Sans Condensed', sans-serif;
  color: #2a2a2a;
}

h1 {
  font-size: 5rem;
  text-align: left;
  padding-left:10%;
  color: white;
  text-shadow: 2px 2px 5px black;
}

h2 {
  font-size: 3rem;
  text-align: center;
}

h3 {
  font-size: 2.2rem;
  margin-top:70px;
}

p, li {
  font-size: 1.6rem;
  line-height: 1.5;
}

/* || header layout */

nav, article, aside, footer {
  background-color: white;
  padding: 0.8%;
}

nav {
  min-height: 40px;
  background-color:rgba(249, 216, 146, 0.92); /* #e7b467;#f7dc66;*/
  display: flex;
  margin-bottom: 10px;
  border: 1px solid rgba(219, 226, 226, 1);
}

nav ul {
  padding: 0;
  list-style-type: none;
  flex: 2;
  display: flex;
}

nav li {
  display: inline;
  text-align: center;
  flex: 1;
}

nav a {
  display: inline-block;
  font-size: 1.8rem;
  /*text-transform: uppercase;*/
  text-decoration: none;
  color: black;
}

/* || main layout */

main {
  display: flex;
}

article {
  flex: 4;
  padding:15px 10% 30px 10%;
}

aside {
  border-radius: 25px;
  flex: 1;
  margin-left: 10px;
  margin-right:5px;
  background-color: rgba(219, 226, 226, 1);/*#a8216b;*/
}

aside li {
  padding-bottom: 10px;
}

aside.sommaire li{
  font-size: 1.5rem;
}

article li{
  padding-top:20px;
}
article div li{
  padding-top:0px;
}

article ol>ol{
  list-style-type: lower-alpha;
}

footer {
  margin-top: 10px;
}

img.illustration_recette{
  display:block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  padding-bottom:5%;
}

img.illustration_tp{
  display:block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom:2%;
  width: 40%;
}

div{
  margin-top:20px;
  margin-bottom:20px;
  border: 1px solid #020202;
  padding:10px;
  padding-left:5%;
  margin-right:10%;
  font-size: 1.5em;
  background-repeat: no-repeat;
  background-position: left center;

}

div.info{
  background-image: url("../images/info.png");
  background-color:#dbdbf2;
}

div.warn{
  background-image: url("../images/warning.png");
  background-color:#f9d892;
}

footer img{
  display:block;
  float:right;
}

aside ol{
    list-style-type: none;
    padding-left:22px;
}

/*ordi*/
@media (min-width : 1024px){
}

/*Tablette*/
@media (min-width : 768px) and (max-width : 1024px) {
  aside ol,aside ul {
    padding-left:20px;
  }
}
/*smartphone*/
@media (max-width : 768px) {

  aside ol,aside ul {
      margin:0px;
      padding:0px;
  }
    div.info{
      background-position: top center;
      padding-left:10px;
      padding-top:40px;
    }
    div.warn{
      background-position: top center;
      padding-left:10px;
      padding-top:40px;
    }

}
