
/*****************   Configuration balise généraliste    *************************/
*{
    margin: 0;
    padding: 0;
}
html{
    height: auto;
    background-image:url("../img/NiSi.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center; 
    margin: 0 auto;
    width:auto;
}
body{
    max-width: 1280px;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 0 auto;
    width:100%;
    min-height: 100%;
    display: flex;
    flex-wrap: wrap;
}
header{
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    width: 100%;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.4);
}
nav{
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    background-color: rgba(0, 0, 0, 0.4);
}
nav ul{
    width: 100%;
    margin: 2px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
}
nav ul li{
    text-align: center;
    margin: 5px 5px;
    padding: 5px 10px;
    letter-spacing: normal;
    list-style-type: none;
    border-radius: 10px;
    width: auto;
}
nav ul li a{
    text-align: center;
    margin: auto;
    padding: 2px 10px;
    letter-spacing: normal;
    font-size: 0.7em;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}
nav ul li a:hover{
    text-align: center;
    margin: 0 auto;
    padding: 5px 10px;
    letter-spacing: normal;
    font-size: 0.7em;
    color: black;
    background-color: white;
    text-decoration: none;
    text-transform: uppercase;
}
main{
    height: auto;
    margin: 0 auto;
    padding: 10px;
    max-width: 1280px;
    width: 100%;
}
aside{
    display: flex;
    top: 0;
    max-width: 1280px;
    width: 100%;
    flex-direction: column;
    vertical-align: top;
    margin: 0 auto;
    padding: 10px;
}

/*****************   Balise Block    *************************/
section{
    width: 100%;
    display: flex;
    margin: 0 auto;
    padding: 10px 0;
    flex-wrap: wrap;
    max-width: 100%;
}
article{
    width: auto;
    margin: auto;
    padding: 5px;
    flex-wrap: wrap;
    text-align: center;
}
ol{
    padding: 15px;
}

li{
    text-align: center;
    color: white;
    list-style-type: none;
    padding: 3px 0;
    font-family:Vijaya;
    font-size: 1.7em;
    letter-spacing: 0.2em;
}
citation{
    color: lightskyblue;
    text-align: center;
    font-size: 1.8em;
}
address{
    font-size: 1.4em;
    line-height: 1.3em;
    border-radius: 25px;
    font-weight: 900;
    color: whitesmoke;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
address a{
    font-size: 1.0em;
    font-weight: 500;
    color: whitesmoke;
    padding: 5px 0px;
    text-decoration: none;
}

/*****************   texte    *************************/
h1{
    text-align: center;
    padding: 0;
    margin: 10px 10px auto;
    font-size: 1.5em;
    font-weight: 900;
    color: white;
    text-shadow: #B40431 2px 2px, #B40431 -2px 2px, #B40431 -1px 1px, #B40431 1px -1px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    
}
h2{
    text-align: center;
    color: white;
    padding: 10px 0;
    font-size: 1.3em;
}
h3{
    text-align: center;
    font-size: 1.0em;
    color: white;
    width: 100%;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 0.1em;
    margin: 5px auto;
}
h4{
    text-align: center;
    font-size: 0.8em;
    color: white;
    width: 100%;
}
h5{
    text-align: center;
    font-size: 0.6em;
    margin: 2px auto;
    color: white;
}
h6{
    text-align: center;
    font-size: 0.4em;
    color: white;
}
a{
    color: lightskyblue;
}

p{
    text-align: center;
    padding: 10px;
    margin: 2px;
    color: white;
    font-size: 22px;
}
aside p{
    text-align: justify;
    padding: 10px;
    margin: 10px;
}

/*****************   Class and id    *************************/
.experience{
    width: 100%;
    max-width: 90%;
    display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	align-content: center;
    margin: 0 auto;
    padding: 20px 0;
}
.title{
    text-align: center;
    font-size: 1.5em;
    word-spacing: 0.2em;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    margin: auto;
}
.title::before { 
    content: '< ';
    color: red;
    font-size: 1.2em;
}
.title::after {
    content: ' />';
    color: red;
    font-size: 1.2em;
}

#logo{
    text-align: center;
    display: flex;
    margin: 0 auto;
    padding: 20px 0;
    top: 0;
    right: 0;
    max-width: 300px;
    width: 100%;
    vertical-align: top;
    flex-wrap: wrap;
}
.round{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 1.0);
    filter: brightness(1.4);
    padding: 4px;
}
.round2{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid rgba(29, 0, 0, 0.9);
    padding: 1px;
    background-color: rgba(255, 255, 255, 1.0);
}
.logosquare{
    width: 100px;
    height: 100px;
    border-radius: 10%;
    padding: 5px;
    margin: 5px auto;
}
.citaut a{
    font-size: 0.7em;
    color: white;
}
.savfair{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
    width: 100%;
}
.savfair2{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
    width: 100%;
    padding: 0;
    margin: auto;
}
.savfair p{
    padding: 0;
    margin: 0 auto;
    font-size: 1.5em;
}
.forma3{
    text-align: center;
    padding: 6px;
    margin: 5px 5px 0;
    width: 100%;
    max-width: 320px;
    height: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.forma4{
    text-align: center;
    padding: 20px;
    margin: 0px auto;
    width: 100%;
    height: auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.forma3 p{
    text-align: center;
    font-size: 1.2em;
    margin: 4px auto 2px;
    padding: 3px 0px 0px;
}
.forma3 h3{
    text-align: center;
    font-size: 1.2em;
    margin: 0px auto 15px;
    padding: 5px 0;
}
.forma3 h2{
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    margin: 0px auto 15px;
    padding: 5px 0;
}
.forma4 h2{
    text-align: center;
    width: 100%;
    font-size: 1.2em;
    margin: 0px auto 15px;
    padding: 5px 0;
}
h2.competence5{
    font-size: 1.2em;
    text-transform: uppercase;
}
.backg{
    background-color: white;
    border-radius: 25px;
    padding: 10px;
}
/*****************  Animation and  keyframe    *************************/
.animlogo {
    width: 50px;
    height: 50px;
    margin: 5px;
    position: relative;
    -webkit-animation-name: example;  /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 2s;  /* Safari 4.0 - 8.0 */  
    -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 2s;  
    animation-fill-mode: forwards;
}
.animlogo:hover{
    opacity: 0.5;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
  from {top: -999px;}
  to {top: 10px; }
}

@keyframes example {
  from {top: -999px;}
  to {top: 10px; }
}

/*****************   Footer    *************************/
footer{
    height: auto;
    background-color: rgba(0, 0, 0, 1);
    max-width: 1280px;
    width: 100%;
    float: left;
    margin: 0 auto;
    padding: 5px;
	display: flex;
    flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
    bottom: 0;
    color: white;
}
footer article{
    height: auto;
    width: 100%;
    margin: 10px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}
.footarticle{
    display: inline-flex;
    height: auto;
    flex-wrap: wrap;
    align-content: center;
    width: 100%;
    margin: 0;
}
#logo2{
    text-align: center;
    display: flex;
    margin: 0 auto;
    padding: 10px 0;
    max-width: 300px;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
}
footer img{
    width: 300px;
    border: 1px solid black;
    padding: 5px;
    margin: 5px auto;
}
/*****************   media    *************************/
@media ( min-width: 320px) and (max-width:800px){
    citation{
        font-size: 1.3em;
    }
    nav{
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 5px;
        display: flex;
    }
    nav ul{
        width: 100%;
        margin: 2px auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        align-content: stretch;
    }
    nav ul li{
        text-align: center;
        margin: 2px 10px;
        padding: 2px 0px;
        letter-spacing: normal;
        list-style-type: none;
        width: auto;
        background-color: black;
    }
    nav ul li a{
        text-align: center;
        margin: 0 auto;
        padding: 2px 0px;
        letter-spacing: normal;
        font-size: 0.8em;
        color: white;
        text-decoration: none;
    }
    li{
        font-size: 1.5em;
        letter-spacing: normal;
    }
    h2.title{
        font-size: 1.0em;
        letter-spacing: 1px;
    }
    h3.competence{
        margin: 0px auto 10px;
        padding: 5px 0 5px;
        font-size: 1.1em;
        background-color: rgba(0,0,0,1);
    }
    h2.competence{
        margin: 0px auto 10px;
        padding: 5px 0 5px;
        font-size: 1.1em;
        background-color: rgba(100,0,0,1.0);
    }
    .animlogo{
        width: 60px;
        height: 60px;
        margin: auto;
        position: relative;
        -webkit-animation-name: example;  /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: 3s;  /* Safari 4.0 - 8.0 */  
        -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
        animation-name: example;
        animation-duration: 3s;  
        animation-fill-mode: forwards;
    }
    .title::before { 
        content: '<';
        color: red;
        font-size: 0.9em;
        text-align: center;
    }
    .title::after {
        content: '/>';
        color: red;
        font-size: 0.9em;
        text-align: center;
    }
    article{
        width: auto;
        margin: 0 auto;
        padding: 5px;
        flex-wrap: wrap;
        text-align: center;
    }
    .savfair{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        align-content: stretch;
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }
    .savfair p{
        padding: 0;
        margin: 0 auto;
        font-size: 1.20em;
    }
    .savfair3{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        align-content: stretch;
        padding: 5px 0;
        margin: 5px auto;
    }
    .competence{
        font-size: 1.2em;
        text-align: center;
        padding: 0;
        margin: 5px auto;
    }
    article.forma3{
        text-align: center;
        padding: 5px;
        margin: 5px 10px;
        width: 100%;
        max-width: 100%;
        height: 220px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
    }
    article.forma3 p{
        text-align: center;
        padding: 0;
        font-size: 1.1em;
        letter-spacing: normal;
    }
    address{
        font-size: 1.0em;
        line-height: 1.5em;
        font-weight: 900;
        color: whitesmoke;
        width: 100%;
        height: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
    address a{
        font-size: 1.0em;
        font-weight: 100;
        color: whitesmoke;
        padding: 5px 0px;
    }
    .livre{
        width: 100px;
        border: 1px solid black;
        margin: 5px auto;
    }
    footer img{
        width: 200px;
        border: 1px solid black;
        padding: 5px;
        margin: 5px auto;
    }
    #logo2{
        text-align: center;
        display: flex;
        margin: 0 auto;
        padding: 10px 0;
        max-width: 200px;
        width: 100%;
        flex-wrap: wrap;
        position: relative;
    }
    .logosquare{
        width: 50px;
        height: 50px;
        padding: 5px;
        margin: 10px auto;
    }
}