/* Sur Code Pen Version finalisée */

/* Resets */

*, html, body, ::after, ::before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
    font-family: 'Quick Sand Light';
    src: url('Quicksand-VariableFont_wght.ttf') format('ttf'),
    	 url('fonts/quicksand-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/quicksand-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Page Web */

body{
  font-family: "Times New Roman", Cambria, serif;
  color: #181818;
  width: 80%;
  margin: auto;
}

/* Page Index */

section #apres_creation p::selection {
    color: white;
    background-color: black;
}

/* Section */
.premiere_lettre{
	font-family: 'Lato', Arial, sans-serif;
	font-size: 5rem;
	font-weight: bold;
	color: #2c0404;
	text-shadow: -4px 5px 0px #DDD;
	vertical-align: middle;
	line-height: 5rem;
}

section{
  /*margin-top: 60px;*/
}

section p, #apres_creation p{
   font-size: 1.6rem;
   margin-bottom: 60px;
   text-align: left;
   
}

section p{
    line-height: 3.5rem;
}

/*section:not(#site_one_page section){
  margin-top: 60px;
}

section p, ul:not(#site_one_page ul), li:not(#site_one_page li){
   font-size: 1.5em;
}*/


section h2, #apres_creation h2{
   text-align: center;
   font-family: 'Roboto', serif;
   font-size: 1.8em;
   padding: 20px;
}

#etapes_projet_web, #apres_creation h2{
   border: 10px solid white;
   border-radius: 5px;
   box-shadow: 3px 3px 5px black, 3px -3px 5px gray;
   padding: 20px;
   background-color: salmon;
   color: white;
   text-shadow: 3px 3px 3px black;
}

#p_etapes_projet_web{
  margin-top: 30px;
}

.titres_etapes{
   font-size: 1.2em;
   font-weight: bold;
   text-decoration: underline;
}

#apres_creation h2{
   font-size: 0.9em;
}

section h1{
    font-size: 2.5rem;
    text-decoration: underline;
    transition: transform 0.4s ease-in;
    font-family: "CinzelDecorative", Roboto, Cambria, serif;
    transition: all 0.7s ease-in;
    padding: 20px;
}

section h1::before{
   content: " ";
   display: inline-block;
   width: 0px;
   height: 10px;
   line-height: 20px;
   background-color: black;
   vertical-align: middle;
   margin-right: 20px;
}                                                             


#apres_creation{
   border: 3px solid skyblue;
   background-color: white;
   padding: 20px;
   margin-bottom: 50px;
   box-shadow: 2px 2px 5px black, -2px 2px 5px black, 2px -2px 5px black;
   
}

#btn{
    font-size: 1.3em;
    background-color: blue;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    padding: 15px;
    margin-left: 10px;
    border: 2px solid rgb(34, 66, 124);
}

#btn:hover{
   box-shadow: 2px 5px 10px black;
}

#btn:active{
   background-color: red;
}

/*
section p:nth-child(even){
  margin-bottom: 30px;
  text-align: right;
  position: relative;
  left: -1000px;
  opacity: 0;
  transition: transform 1s;
}

section p:nth-child(odd){
  text-align: left;
  position: relative;
  left: 1000px;
  opacity: 0;
  transition: transform 1s, opacity 3s;
}
*/

#liste_formules{
   list-style-type: square;
}

#zone_clientele{
    text-align: center;
}


.images_sites{
    text-align: center;
    margin: 10px;
}

/* Zone Compétences */
#liste_competences, #liste_competences_logiciels, #liste_os{
   display: flex;
   flex-direction: row;
   justify-content: space-around;
   align-items: center;
   flex-wrap: wrap;
}


figure img{
   width: 200px;
   height: 200px;
   margin: 10px;
   transition: transform 0.5s ease-in-out;
   filter: grayscale(80%) blur(5px);
       
}

figure #image_suite_office{
   width: 200px;
   height: 130px;
}

figure figcaption{
   font-size: 30px;
   font-family: Roboto, sans-serif;
   margin: 20px;
   padding: 10px;
   border: 5px solid black;
   border-radius: 10px;
   box-shadow: 0 0 10px rgba(0,0,0,0.5);
   transition: all 2s ease;
}

figure img:hover{
    transform: scale(1.2);
    filter: grayscale(0%);
}

.impair:hover{
   transform: rotate(-360deg) translateX(-60px);
   background-color: skyblue;
   color: white;
}

.pair:hover{
   transform: rotate(360deg) translateX(60px);
   background-color: skyblue;
   color: white;
}