:root {
  --hover-grey: #f7f7f7;
  --hover-corail: #fad5d5;
  --hover-white: #ffffff60;
  --hover-blue: #8997b4;

  --light-grey: #eeeeee;
  --dark-blue: #39445a;
  --corail: #eb4d4d;
}

/* Général */
html {
  scroll-behavior: smooth;
  height: 100%;
  /*min-width: 550px;*/
}

body {
  font-family: Arial;
  margin: 0;
}

a {text-decoration: none;}

p, h3 {
  color: var(--dark-blue);
}

section { padding: 20px 40px; margin-left: 200px; }

section:nth-child(4n) {
  background-color: var(--light-grey);
  border-radius: 5px;
}

h1 {
  font-size: 12
}

h2 {
  font-weight: normal;  color: var(--corail);
  margin: 10px 0;
}




/* HEADER */

header {
  background-color: white;   color: white;    font-weight: bold;
  position: sticky;          top: 0;
  height: 100px;
}

header .conteneur {
  background-color: var(--corail);
  width: 100%;    height: 100%;
}

.nom {
  font-size: 20px;
  margin-left: 10px;
}




/* LIEN */

.liens svg {
  stroke: var(--corail);
  fill: white;
}

.liens svg:hover {
  transform: scale(1.1);
  /*stroke: var(--dark-blue);*/
}

.liens {
  margin: 10px 50px;
  color: white;
}




/* BARRE NAVIGATION */
.bar-nav {
  background-color: var(--dark-blue);
  width: 200px;
  position: fixed;   top:100px; bottom: 0;
  padding: 0;
}

.bar-nav a {
  text-decoration: none;
  color: white;
}

.nav-button {
  padding: 20px;
}

.nav-button:hover {
  background-color: var(--hover-blue);
}

.bar-nav a:target {
  background-color: var(--hover-blue);
}




/* SECTIONS */
.element {  padding: 5px 10px; }

a .element:hover {
  background-color:var(--hover-grey);
}

.element a {
  color: var(--dark-blue);
}

.emoji {
  visibility: hidden;
  margin-left: 10px;
}

.element:hover .emoji {
  visibility: visible;
}

.competences {
  display: flex;  flex-direction: row;
  font-family: Courier; color: var(--dark-blue);
  margin: 0;  padding: 0;
}

.competences span {
  background-color: var(--hover-corail);  border-radius: 2px;
  margin-right: 5px; padding: 2px 5px;
  font-size: 14px;  list-style: none;  text-decoration: none;
}

.competences .blue {
  background-color: var(--hover-blue);
  color: white;
}




/* CONTENU*/
.contenu {
  width: 100%;  min-height: 100%;
}

.article div {
  margin: 50px 0;
}


.article a {
	color: var(--dark-blue);
	font-weight: bold;
}



/* Générique */
.ligne { display:flex;  flex-direction:row; align-items:center; }

.oppose { justify-content:space-between; }

.colonne {  display:flex;  flex-direction:column;   align-items: flex-start;}



/* Non visible */
.blanc {
  height: 100px;
  margin: -100px 0 0;
  visibility: hidden;
}

.espace1 { height: 500px; }



@media only screen and (max-width: 1000px){
  .bar-nav {
    display: none;
  }
  section {
    margin-left: 0px;
  }
  header, .conteneur {
    height: 150px;
  }
  .nom {
    font-size: 30px;
  }
}
