/* Media queries pour smartphones */


@media only screen and (min-width : 320px) and (max-width : 1024px) {
    
html {
    width: 100%;
    background-color: #f8f8f8;
    
}

body {
    margin:0;
    padding:0;
    background-color: #f8f8f8;
    max-width: 100%;
    }    
    
header {
    background-color: #f4f4f4;
    padding-left: 5%;
    padding-right: 5%;
    height: auto;
    padding-top: 2%;
    padding-bottom: 2%;
    color: #333;
}
 
   
#logo {
    -webkit-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    position: relative;
    height: 200px;
    width: 200px;
}

/* Nom - Prénom et leitmotiv */
    
.titre-header {
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    font-size: 2.3em;
    text-align: center;
    padding-right: 4%; 
    padding-top: 3%;
    position: relative;
    float: right;   
    }
    

/* Style commun aux titres de categories h2 */    
    
h2 {
    font-family: 'Open Sans', sans-serif;
}
    
.apropos, .experiences, .formations, .competences, .contact, .portfolio {
    display:flex;
    padding-left: 5%;
    padding-top: 50px;
    padding-bottom: 2%;
    font-size: 2em;
    color: #333;
    }
    
.apropos h2, .experiences h2, .formations h2, .competences h2, .contact h2, .portfolio h2 {
    padding-left: 2%;    
    }

 
#hamburger {
    display: block;
    background-color: #f4f4f4;
    text-align: center;
    }
    
#nav-burger {
    display:none;
    }
    
#nav-burger nav  {
    max-width: 100%;
    }
    
 #nav-burger nav ul li a {
    text-decoration: none;
    color: #333;
     border-bottom: 1px solid #dadada; 
     max-width: 100%;     
    }
    
#nav-burger nav ul li {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    list-style-type: none; 
    background-color: #f8f8f8;
    margin-bottom: 20px;
    }
    
#nav-burger nav ul li:first-child {
    display: none;
    }  
    
    
    
    

    
#communication, #graphisme, #developpement, #profil {
    width: auto;
    height: auto;
    margin-bottom: 5%;
    background-color: #f4f4f4;
    margin-left: 15%;
    margin-right: 15%;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    -webkit-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75); 
    }

    
#communication ul li, #developpement ul li, #graphisme ul li, #profil ul li {
    text-align: left;
    line-height: 2.5em !important;
    list-style-type: none;      
    }
    
#graphisme ul li, #profil ul li {
    line-height: 3em;
    }
    
#communication ul, #graphisme ul, #developpement ul, #profil ul {
        margin-top: 0;
    }
    
#icn-communication, #icn-graphisme, #icn-developpement, #icn-profil {
    height: 70%;
    width: 70%;
    margin-bottom: 0;
    margin-left: 15%;
    }
    

   
    
}



















/* Media queries pour desktop large screen */

@media only screen and (min-width : 1824px) { 

* {
    max-width: auto;
    }
    
.bloc-gauche {
    float: left;
    margin-left: 25% !important;
    padding-bottom: 5%;
    }
    
.bloc-droite {
    float: right;
    margin-right: 25% !important;
    }
    
#communication, #graphisme, #developpement, #profil {
    width: 300px;
    height: 200px;
    margin-bottom: 2%;
    background-color: #f4f4f4;
    font-family: 'Open Sans', sans-serif;
    -webkit-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75); 
    }

    
#communication ul li, #developpement ul li {
    text-align: left;
    line-height: 2.5em;
    list-style-type: none;      
    }
    
#graphisme ul li, #profil ul li {
    line-height: 3em;
    }
    
#communication ul, #graphisme ul, #developpement ul, #profil ul {
        margin-top: 0;
    }
    
#icn-communication, #icn-graphisme, #icn-developpement, #icn-profil {
    max-height: 100%;
    margin-bottom: 0;
    }
    
#icn-graphisme, #icn-profil {
    padding-top: 15%;
    }
    
}










@media only screen and (min-width : 1024px) { 
    
    #img-apropos:hover {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}
    
    @keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-1px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(2px, 0, 0);
  }
}
    
    
.bloc-gauche {
    float: left;
    margin-left: 15%;
    padding-bottom: 5%;
    
    }
    
.bloc-droite {
    float: right;
    margin-right: 15%;
    }
    
#communication, #graphisme, #developpement, #profil {
    width: 300px;
    height: 200px;
    margin-bottom: 2%;
    background-color: #f4f4f4;
    font-family: 'Open Sans', sans-serif;
    -webkit-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75);
    box-shadow: 2px 6px 20px -4px rgba(0,0,0,0.75); 
    
    }
 
#communication ul li, #developpement ul li {
    text-align: left;
    line-height: 2.5em;
    list-style-type: none;      
    }
    
#graphisme ul li, #profil ul li {
    line-height: 3em;
    list-style-type: none;  
    }
    
#communication ul, #graphisme ul, #developpement ul, #profil ul {
        margin-top: 0;
    }
    
#icn-communication, #icn-graphisme, #icn-developpement, #icn-profil {
    max-height: 100%;
    margin-bottom: 0;
    }
    
#icn-graphisme, #icn-profil {
    padding-top: 15%;
    }
}