/* GENERALE */

html, body{
    font-size: 16px;
}

nav{
 padding: 0 2rem;
 background: rgba(0, 0, 0, 0.95)!important;
 color: white;
}

nav img{
    margin-top: -0.5rem;
}

.Logo-Dev_, .Logo-ER{
    font-size: 1.8rem;
    font-family: 'Gruppo', cursive;
}

.ER, .saumon, .Logo-ER, .Logo-dev_er:hover{
    color: salmon!important;
}

.black{
    color: black;
    font-weight: bold;
}

.bold{
    font-weight: bold;
}

#title{
    padding-top: 5rem;
    padding-bottom: 1rem;
    text-align: center;
    background: #242424;
    color: white;
}

.container{
    border-bottom: salmon 1px solid;
    border-right: salmon 15px solid;
    width: 90vw;
    padding: auto;
}

.sous-titre{
    font-family: 'Advent Pro', sans-serif;
    font-size: 1.5rem;
}

h2, h3 {
    text-align: center;
}

li{
    list-style: none;
    padding: 0.2rem;
}

ul{
    padding: 0;
}

/* Body */

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

/* index.html - section mes projets */
#mes-projets{
    background-color:  #242424;
    z-index: 1;
}

.diapo{
    width: 89vw;
    height: auto;
    max-height: 100vw;
}

#ecommerce, #reseausocial, #menu-resto, #lachouette, #cvresponsive, #sauce{
    width: auto;
    height: auto;
}

#ecommerce, #reseausocial{
    background: rgba(0, 0, 0, 0.8);
}

#menu-resto{
    background: rgba(86, 157, 136, 0.8);
}

#lachouette{
    background: rgba(161, 148, 115, 0.8);
}

#cvresponsive{
    background: rgba(107, 89, 166, 0.8);
}

#sauce{
    background: rgba(191, 64, 64, 0.9);
}

.hidden-mobile{
    display: none!important;
}

/* index.html - ma formation */

 #mais-qui-suis-je-h2, #pourquoi-dev-web h2{
    font-size: 2.5rem;
    color: salmon;
}

#mes-tutos{
    padding: 1.5rem 0;
    background: rgba(250, 128, 114, 0.45);
 
}

#mes-tutos h2{
    color:black;
    margin: 0 2rem;
    padding: 0.5rem 0;
    border-bottom: black 2px solid;
    border-right: black 7px solid;
}

#mes-tutos h3{
    padding-top: 1rem;
}

#card-competences {
    margin: 0;
    padding: 0;
}

.card{/* Utilisé sur la page about.html aussi */
    margin: 1rem auto 1rem auto;
    width: 85vw;
    margin: 2rem;
    background-color: black;
    color:coral;
    box-shadow: 1px 1px 5px black;
}

.card img{
    width: 100%;
    height: auto;
}

.btn-card{
    color: coral!important;
}

.btn-card:hover{
    background-color: coral!important;
    color: black!important;
}

/* index.html - section #pourquoi-dev-web */

#pourquoi-dev-web{
    background: #272727;
    padding: 1rem;
    color: aliceblue;
}

#pourquoi-dev-web h2{
    margin: 0 1rem;
    padding: 0.5rem 0;
    border-bottom: salmon 2px solid;
    border-right: salmon 7px solid;
}

#pourquoi-dev-web p{
    padding: 0.5rem 0;
}

#container-pourquoi-dev-web{
    width: 80vw;
    margin: auto;
}

#container-pourquoi-dev-web h3{
    text-align: left;
}

.fa-door-open{
    color: sienna;
}

.fa-html5{
    color: #E34C26;
}

.fa-css3{
    color: #2965f1
}

.fa-circle-notch{
    color: salmon;
    border-radius: 50%;
    transition: all 3s;
}

.fa-circle-notch:hover{
    transform: rotate(360deg); 
    border-radius: 50%;
}

.fa-js{
    color: yellow;
}

.fa-search{
    color: rgb(206, 21, 21);
}

.fa-node-js{
    color: seagreen;
}

.fa-database{
    color: gray;
}

#p-contactez-moi{
    color: salmon;
}

/* about.html - section qui suis-je */

#qui-suis-je{
    padding: 3rem 3rem;
    background: #272727;
    text-align: justify;
    color: white;
}

/* about.html - Ma formation */
#ma-formation{
    margin: 0;
    padding: 2rem 0rem;
    background-color: rgba(250, 128, 114,0.45);
    text-align: center;
}

#ma-formation h2{
    font-size: 2rem;
    margin: 1rem 2rem;
    padding: 1rem 0;
    border-bottom: black 2px solid;
    border-right: black 7px solid;
}

#contenu-formation{
    width: 90%;
    margin: auto;
}

#contenu-formation img{
    max-width: 80vw;
    margin: auto;
}

#contenu-formation-li{
    font-size: 1.2rem;
    font-family: 'Zen Kurenaido', sans-serif;
}

.logo-langage{
 margin: 0.5rem auto;
 width: 32%;

}

/* about.html - recommendations */

#recommandations{
    padding-top: 2rem;
    background: #272727;
    padding-bottom: 2rem;
}

#recommandations h2{
    font-size: 2rem;
    margin: 0.5rem 2rem;
    padding: 1rem 0;
    border-bottom: salmon 2px solid;
    border-right: salmon 7px solid;
}

#recommandations .card{
    margin: 1rem auto;
    width: 80vw;
    background: black
}

/* footer */

#footer {
    text-align: center;
    border-top: 1px solid white ;
    background: #292b2c;
    color: aliceblue;
}

#devis{
    text-align: left;
    padding-left: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

#contact{
    float: right;
    padding-right: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

footer a{
    text-decoration: none;
    color: aliceblue;
}

footer a:hover{
    text-decoration: none;
    color:salmon
}

#social{
    padding: 0.2rem;
}

#social a{
    padding: 0 0.5rem 0 0.5rem;
}

/* Page DEVIS */

.p-center{
    text-align: center;
}

#image-h2{
    position: relative;
    margin: 2rem auto;
    padding-bottom: 2rem;
}

#img-devis{
    box-shadow: 1px 1px 8px gray;
    border-radius: 5px;
    display: block;
    margin: auto;
}

#prochainement{
    padding-top: 2rem;
    margin-left: 0;
    display: inline-block;
    width: 70%;
    text-align: right;
}

#prochainement-dot{
    display: inline-block;
    color:salmon;
    padding-bottom: 2rem;
    font-size: 3rem;
    width: 10%;
}

#prochainement-dot:after {
    display: inline-block;
    animation: load steps(1, end) 1s infinite;
    content: "";
}
  
@keyframes load {
    0% {
        content: "";
    }
    25% {
        content: ".";
        color:salmon;
    }
    50% {
        content: "..";
        color:salmon;
    }
    75% {
        content: "...";
        color:salmon;
    }
    100% {
        content: "";
    }
}

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

    #contenu-formation{
        width: 90%;
        margin: auto;
        display: flex;
    }
    
    #contenu-formation img{
        margin:0;
        min-width: 50%;
    }

    #contenu-formation-li{
        min-width: 50%;
        font-size: 2rem;
        margin: auto;
    }

    .logo-langage{
        margin: 0.5rem 2rem;
        width: 15%;
        filter: grayscale(1);
    }
       
    .logo-langage:hover{
        filter: grayscale(0);;
    }
       
    #prochainement{
        padding-top: 2rem;
        display: inline-block;
        width: 60%;
        text-align: right;
    }

    #card-competences{
        display: flex;
        justify-content: space-around;
    }

    .card{
        width: 25vw;
        margin: 2rem;
    }
    
    .card img{
        width: 100%;
        height: 300px;
    }

    .hidden-mobile{
        display:block!important;
    }
}