/*Responsive tablettes*/
@media(min-width:768px) and (max-width:1388px)
{

    *
    {
        width:100%;
        padding: 0;
    }

    body
    {
    width: 80%;
    }

}

@media(max-width:767px)
{
    *
    {
        width: 100%;
        padding: 0;
    }

    body
    {
        width: 100%;
    }

    header
    {
        width: 100%;
    }

    header h1
    {
        font-size: 17px;
        margin-left: 4px;
    }

    nav

    {
        width: 100%;
    }

    nav ul li a
    {
        font-size: 13px;
    }

    footer
    {
        width:100%;
    }
}

@font-face
{
    font-family:"FFF" ;
    src: url(Polices/FFF_Tusj.ttf);
}

@font-face
{
    font-family: "Elite";
    src: url(Polices/SpecialElite-Regular.ttf);
}

/*All*/
body
{
    font-family:"Elite",Arial, Helvetica, sans-serif;
    font-size: 16px;
    background-color: whitesmoke;
    text-align: justify;
    
}

header{
    position: relative;
    margin: auto;
    background-image: url("images/circle-cropped.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 170px;
    background-color: teal;
    color:whitesmoke;
    text-align: center;
    flex:1 1 auto;
    width: 100%;
    padding: 0;
    height: 250px;
    font-family: "FFF",Arial, Helvetica, sans-serif;
    font-size: 18px;
    
}
h1{
    position: absolute;
    bottom: 0;
    margin-left: 80px;
}
h2{
    text-align: center;
    text-transform: uppercase;
    color: #484b56;
    text-decoration: coral underline;
}

ul{
    list-style: none;
}

footer{
    background-color: teal;
    text-align: center;
    flex:1 1 auto;
    height: 80px;
}

.copyright{
    color: #efefef;
    }

/*Barre navigation*/
nav ul{
    display: table;
    margin: 0;
    padding: 0;
    width: 100%;
    background: teal;
    background: linear-gradient(rgb(223, 178, 33), rgb(236, 194, 7));
    background: -webkit-linear-gradient(rgb(223, 178, 33), rgb(236, 194, 7));
    background:    -moz-linear-gradient(rgb(223, 178, 33)e, rgb(236, 194, 7));
    background:     -ms-linear-gradient(rgb(223, 178, 33)e, rgb(236, 194, 7));
    background:      -o-linear-gradient(rgb(223, 178, 33)e, rgb(236, 194, 7));
    background:         linear-gradient(rgb(223, 178, 33)lue,rgb(236, 194, 7));
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3),
                0 3px 5px rgba(0, 0, 0, .2),
                0 5px 10px rgba(0, 0, 0, .2),
                0 20px 20px rgba(0, 0, 0, .15);
}

nav ul li{
    display: table-cell;
}

nav ul li a{
    display: block;
    text-align: center;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .7); 
    text-decoration: none;
    font-weight: bold;
    padding: 8px 8px 17px 8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 
                0 -1px 0 hsl(41, 96%, 36%) inset, 
                0 -2px 0 hsl(39, 92%, 40%) inset, 
                0 -3px 0 hsl(41, 74%, 48%) inset, 
                0 -4px 0 hsl(51, 80%, 52%) inset, 
                0 -5px 0 hsl(56, 95%, 50%) inset;
    transition: all .3s .1s;
    position: relative;
}

nav ul li:first-child a{
    border-radius: 3px 0 0 3px;
}
nav ul li:last-child a{
    border-radius: 0 3px 3px 0;
}

nav ul li a:hover, 
nav ul li a:focus{
    background: rgba(255,255,255,.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 
                0 -1px 0 hsl(41, 97%, 28%) inset, 
                0 -2px 0 hsl(39, 92%, 40%) inset, 
                0 -3px 0 hsl(41, 74%, 48%) inset, 
                0 -4px 0 hsl(51, 80%, 52%) inset, 
                0 -5px 0 hsl(56, 95%, 50%) inset;
    transition: all .3s 0s;
} 

nav ul li a:active{
    background: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.1)); 
    box-shadow: 0 0 2px rgba(0,0,0,.3) inset;
    padding: 8px 25px 17px 25px;
}

nav ul li a::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 9px;
    margin-left: -2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
}

nav ul li a:hover::before,
nav ul li a:focus::before{
    background: white;
    box-shadow: 0 0 2px white, 
                0 -1px 0 rgba(0, 0, 0, .4);
}

#aperP{
    text-align: center;
}

.clear{
    clear: both;
    margin-top: 120px;
}

strong{
    text-transform: none;
    color: teal;
}

/*index*/

.presentation{
    float: left;
    margin: 0;
    padding: 0;
    box-shadow: 1px 1px 11px #555;
}

#resume
{
    margin-top: 20px;
    float: right;
}


/*Défilement des images de div (à améliorer...)*/

.slideshow {
    margin: auto;
    width: 350px;
    height: 200px;
    overflow: hidden;
    border: 3px solid #F2F2F2;
 }
 
 .slideshow ul {
    width: 400%;
    height: 200px;
    padding:0; margin:0;
    list-style: none;
 }
 .slideshow li {
    float: left;
 }

/* CV */

em{
    color: teal;
    text-decoration: underline coral;}

.missions{
    color: #484b56;
    text-decoration: underline teal;
}

.bloc_cv{
    border-style: solid;
    border-radius: 6px;
    border-color: teal;
    margin-bottom: 15px;
}


/* créations */

h3{
    color: teal;
    text-decoration: underline coral;
}
 
  .row {
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
    }

    .portfolio:hover{
    box-shadow: 5px 5px 12px dimgray;
    }

  .row,
  .row > .column {
    padding: 8px;
  }
  
  .column {
    float: left;
    width: 25%;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .content {
    background-color: white;
    padding: 10px;
  }

  

/* Contact */
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  }

input[type="text"], select, textarea {
    width: 100%;
    padding: 12px; 
    border: 1px solid white;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
  }
 
  input[type=submit] {
    background-color: goldenrod;
    color: white;
    margin-left: 100px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: teal;
    box-shadow: 1px 1px 11px #555;
  }

  
  
