/* Voici la feuille de style de mon portfolio, les feuilles de style des pages competences, projets, contact ont leur propre CSS, cette feuille de style sert de généralité a tout le
------------------------------------------------------------------------*/

/* Généralités pour toute la page
------------------------------------------------------------------------*/
body {
	background-image: url(images/background.jpg);
	background-size:cover;
	background-attachment: fixed
}	

/* Bandeau de la page
------------------------------------------------------------------------*/
header {
	padding-bottom: 5px;
	text-align: center;
	color: #353535;
	font-family: Arial, sans-serif;
	background: linear-gradient(0deg, rgba(255, 220, 123, 1) 21%, rgba(217, 155, 55, 1) 74%);
	border-radius: 5px;
	position: fixed;
	top: 0;
	width: 10%;
	margin-top: 7px;
	min-height: 98%;
}

header h1 {
	font-size:1.5em;
}
header h2 {
	font-size:1em;
}

header div {
	display: block;
	flex-direction: column;
	justify-content: space-between;
	height: 50vh;
	margin-top: 100px;
}

/* Menu de navigation
------------------------------------------------------------------------*/
nav {
		text-align: center;
		opacity: 1;
}

nav li {
    display: inline;
    margin-bottom:10px;
    margin-left: 10px;
    position: relative;
}

nav a {
	display:inline-block;
	font-size:110%;
	color:darkslategray;
	background:#E2BB37;
	border-radius:10px;
	margin-left:10px;
	margin-top:10px;
	padding: 5px 16px;
	min-width: 120px;
	text-decoration:none;
	text-transform:Capitalize;
	transition: all 0.2s ease;
}

nav a:hover {
    background-color: #D7A528;
	transform: scale(1.1);
}

nav a:active {
    background-color: #C29C21;
}

#english img {
	max-width: 76px;
	border-radius: 10px;
}

#france img {
	max-width: 60px;
	border-radius: 10px;
}
/* Généralités sur l'article de la page
------------------------------------------------------------------------*/
article {
	margin:2%;
	margin-left:20%;
	margin-right:20%;
	padding:10px;
	border-radius:10px;
	background-color: rgba(255, 255, 255, 0.425);
	font-family: Arial, Helvetica, sans-serif;
}

/* General article styles */
article h2 {
    text-transform: capitalize;
    text-align: left;
}

article ul {
    list-style-type: none;
}

/* Add specific class for compétences */
article.competences ul {
    list-style-type: none;
    padding-left: 0;
}

article.competences li {
    margin-bottom: 10px;
}

article.competences .progress-bar {
    width: 100%;
    background-color: #ddd;
    border-radius: 10px;
}

article.competences .progress {
    background-color: #4caf50;
    height: 10px;
    border-radius: 10px;
    width: 0%; /* Initial state for progress */
}


/* Liens de pieds de page
------------------------------------------------------------------------*/

footer {
	margin-left:20%;
	margin-right:20%;
	text-align: center;
	display: flex;
    justify-content: center;
    align-items: center;
}

footer #uca-logo {
	width:100%;
    max-width:500px;
}

footer #uca-iut-logo {
	width:100%;
    max-width:250px;
}