body{
	margin:0;
	padding:0;
	background:black;
}

p{
	margin:0 0 20px 0;
}

p,ul{
	font-family:'Oswald',sans-serif;
	font-weight:300;
	font-style:normal;
}

img{
	border:0;
}

h1,#pixels{
	font-family:'Oswald',sans-serif;
	font-weight:700;
	color:white;
}

h2,h3,h4,h5,h6{
	font-family:'Oswald',sans-serif;
	font-weight:300;
	color:white;
}

#header h1,#pixels{
	color:#48941A;
}

/* UTILITAIRES */

.grey-text{
	color:#c4c4c4;
}

.red-text{
	color:red;
}

.separator{
	width:100%;
	border:0;
	border-top:1px solid #c4c4c4;
}

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

/* LAYOUT */

.float-left{
	float:left;
	margin-left:20px;
}

.float-right{
	float:right;
	margin-right:20px;
}

.clear{
	clear:both;
}

.center{
	font-size:2.5em;
	padding-top:80px;
	text-align:center;
}

/* NAVIGATION */

#nav{
    height:70px;
    background:black;
    z-index:9999;
    position:fixed;
    top:0;
    left:0;
    width:100%;
}

#nav .contenue{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:980px;
    max-width:100%;
    margin:0 auto;
}

.nav-left{
    display:flex;
    align-items:center;
}

.logo-nav{
    height:70px;
    width:auto;
}

#menu{
    display:flex;
    gap:25px;
}

#menu a{
    color:white;
    text-decoration:none;
    font-family:'Oswald',sans-serif;
    font-size:18px;
    padding:10px 15px;
    letter-spacing:1px;
}

#menu a:hover{
    color:red;
}

#burger{
    display:none;
    flex-direction:column;
    cursor:pointer;
}

#burger span{
    height:3px;
    width:25px;
    background:white;
    margin:4px 0;
    display:block;
}

/* STRUCTURE */

#header,#premier,#deuxieme{
	width:100%;
}

/* ACCUEIL */

#premier{
	background:url(img/premierBG.jpg) 50% 0 no-repeat fixed;
	color:white;
	min-height:1200px;
}

.titre-accueil{
	font-size:40px;
}

/* COMPETENCES */

#deuxieme{
	background:url(img/deuxiemeBG.jpg) 50% 0 no-repeat fixed;
	color:white;
	min-height:1200px;
	overflow:hidden;
}

#deuxieme hr{
	height:1px;
	width:100px;
	background:#fff;
	border:0;
}

.Developpement,
.projet,
.Logiciels{
	background:rgba(0,0,0,0.74);
	width:150px;
	float:left;
	text-align:center;
	margin:10px;
}

#deuxieme .bg{
	background:url(img/avatar.png) 50% 0 no-repeat fixed;
	pointer-events:none;
	height:1200px;
	position:absolute;
	width:400px;
	z-index:200;
}

/* IMAGES */

.img-competence{
	height:44px;
	width:auto;
	margin:5px;
}

.img-logiciel{
	height:40px;
	width:40px;
}

.img-email-icon{
	width:22px;
	vertical-align:middle;
	margin-left:10px;
}

/* PORTFOLIO */

#troisieme{
	background:url(img/troisiemeBG.jpg) 50% 0 no-repeat fixed;
	color:white;
	padding-top:100px;
}

.portfolio_centre{
	text-align:center;
}

.genere_portfolio{
	width:300px;
	background:rgba(0,0,0,0.74);
	display:inline-block;
	margin:10px;
	text-align:center;
	vertical-align:top;
	transition:0.3s;
}

.genere_portfolio img{
	width:200px;
	height:150px;
	object-fit:cover;
}

.genere_portfolio:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* CONTACT */

#cinquieme{
	background:#342939;
	padding-top:40px;
}

.contenue{
	margin:0 auto;
	overflow:hidden;
	width:980px;
	max-width:100%;
}

.contenue .float-left{
	padding-top:100px;
	width:350px;
}

.contenue .float-right{
	padding-top:100px;
}

#cinquieme form{
	float:left;
	width:300px;
}

/* ALERTES PHP */

#contact-alert {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
}

/* FORM */

label{
	margin-top:10px;
	display:block;
	font-family:'Oswald',sans-serif;
	font-weight:300;
	color:#c4c4c4;
}

input,textarea,select{
	padding:3px;
	border:1px solid #F5C5C5;
	border-radius:2px;
	width:200px;
	box-sizing: border-box; /* Important pour le responsive */
	box-shadow:1px 1px 2px #C0C0C0 inset;
}

input[type="submit"] {
    background: #48941A;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    padding: 10px;
    margin-top: 15px;
    width: 100%;
    transition: background 0.3s;
    box-shadow: none;
}

input[type="submit"]:hover {
    background: #367014;
}

textarea{
	height:135px;
	width:290px;
	max-width:100%;
}

.message-area{
	max-height:80px;
}

/* FLIP CARD */

.flip-container{
	perspective:1000px;
	position:relative;
}

.flip-container,
.front,
.back{
	height:250px;
	width:250px;
}

.flipper{
	position:relative;
	transform-style:preserve-3d;
	transition:0.7s;
}

.front,
.back{
	backface-visibility:hidden;
	position:absolute;
	top:0;
	left:0;
	height:250px;
	width:250px;
	border-radius:120px;
}

.front{
	background:black;
	color:white;
	z-index:2;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	padding:10px;
}

.front p{
	margin:0;
}

.back{
	background:#c4c4c4;
	transform:rotateY(180deg);
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
	padding:10px;
}

.back p{
	margin:5px 0;
}

.flip-container:hover .flipper{
	transform:rotateY(180deg);
}

.flip-container.hover .flipper{
	transform:rotateY(180deg);
}

/* FOOTER UPDATED */

footer{
    background:black;
    padding:40px 0;
}

.contenuefooter{
    width:980px;
    max-width:100%;
    margin:0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-logo-container, 
.creation, 
.footer-social-container {
    float: none; /* Nettoyage des anciens floats */
    width: auto;
}

.footer-logo-img{
    height:60px;
    width:auto;
    opacity:0.5;
}

.creation{
    text-align:center;
    flex: 1;
    min-width: 280px;
}

.footer-text{
    color:rgba(93,80,80,1);
    font-size:medium;
    margin:0;
}

.footer-social-container{
    text-align:right;
}

.footer-social-container img{
    margin-left:8px;
    opacity:0.8;
}

.footer-social-container img:hover{
    opacity:1;
}

/* RESPONSIVE */

@media screen and (max-width:980px){

    .contenue,
    #nav .contenue,
    .contenuefooter{
        width:100%;
        padding-left:15px;
        padding-right:15px;
        box-sizing:border-box;
    }

    #nav{
        height:auto;
        line-height:normal;
        padding:10px 0;
    }

    #burger{
        display:flex;
    }

    #menu{
        display:none;
        flex-direction:column;
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:black;
        text-align:center;
        padding:20px 0;
    }

    #menu.open{
        display:flex;
    }

    #menu a{
        padding:12px 0;
        font-size:20px;
    }

    .contenuefooter {
        flex-direction: column;
        gap: 20px;
    }

    .float-left,
    .float-right,
    .creation{
        float:none;
        margin:0;
        width:auto;
        text-align:center;
    }

    .footer-logo-container,
    .footer-social-container{
        float:none;
        text-align:center;
    }

    .Developpement,
    .projet,
    .Logiciels,
    .genere_portfolio{
        float:none;
        display:block;
        width:auto;
        margin:15px auto;
    }

    #deuxieme .bg{
        display:none;
    }

    #cinquieme form{
        float:none;
        width:100%;
        max-width: 320px;
        margin: 0 auto;
    }

    input,
    textarea,
    select{
        width:100%;
    }
}