/* À venir :
- garnir le fond
- retravailler un peu la forme
- mettre les parties dans l'ordre -> centre d'intérets à la fin */

body { /* Cette partie gère le corps de la page */
	margin:0px;
	font-size: 20px;
	font-family: Verdana, sans-serif;
	background: url(../images/fond3.jpg) repeat;
	background-attachment: fixed;
}

html {
  scroll-behavior: smooth;
  color:white;
}

h2 {
	text-align:center;
}

#home { /* l'Identifiant de l'élément "home" */
	display:flex;
	text-align:center;
	padding-top:60px;
}

#whoami { /* l'Identifiant de l'élément "whoami" */
	display: flex;
}

#techniques { /* l'Identifiant de l'élément "techniques" */
	/*display: flex;*/
}

#photocv { /* l'Identifiant de la division de la photo d'en-tête */
	margin-left:10%;
	margin-right:5%;
}

#photomoi { /* l'Identifiant de la photo de la section "À propos de moi" */
	margin-left:10%;
	margin-right:5%;
	margin-top:5%;
}

#intro {
	margin-right:5%;
	width:80%;
}

#about {
	margin-left:0%;
	margin-right:5%;
}

.presentation { /* la division associée à la section "À propos de moi" */
	margin-top:5%;
	/*width:50%;*/
	/*margin-left:30%;*/
}

#parcours { /* l'Identifiant associé à la section "Parcours" */
	margin-bottom: 5%;
	padding-left:5%;
	padding-right:5%;
	padding-bottom:5%;
}

.section { /* la division contrôlant le style des sections */
	text-align: justify;
	border-radius:20px;
	margin-left:5%;
	margin-right:5%;
	margin-top:5%;
	padding-bottom:3%;
	/*background: rgba(250, 250, 250, 0.8);*/
	background: rgba(0, 0, 0, 0.8);
	box-shadow: 5px 10px 18px #000000;
}

ul.navbar { /* la liste associée à la division de la barre de navigation */
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	background-color: #000000;
    position: sticky;
	top: 0px;
	width: 100%;
	z-index: 1;
}

ul.navbar li { /* les éléments de la liste associée à la division de la barre de navigation */
	float: right;
}

ul.navbar li a:not(.logo) { /* les liens des éléments de la liste associée à la division de la barre de navigation excepté le logo */
	display: block;
	color: white;
	text-align: center;
	padding: 14px 28px;
	text-decoration: none;
	font-family: Verdana, sans-serif;
	font-size: 18px;
}

ul.navbar li a:hover:not(.active):not(.logo) { /* les éléments de la liste associée à la division de la barre de navigation lors du survol */
	background-color: #777777;
}

ul.navbar li a.active { /* l'élément actif de la liste associée à la division de la barre de navigation */
	background-color: #00b6fb;
}

.logo { /* le logo en haut à gauche de la barre de navigation */
	display: block;
	color: white;
	text-align: center;
	padding: 10px 28px;
	text-decoration: none;
	font-family: Verdana, sans-serif;
	font-size: 24px;
}

@media screen and (max-width: 600px) { /* une tentative de responsive qui a n'a pas abouti faute de temps */
  ul.navbar li.right, 
  ul.navbar li {float: none;}
}

h1 { /* les éléments de type h1 */
	margin-top: 50px;
	margin-left: 5%;
	margin-right: 5%;
}

h2 { /* les éléments de type h2 */
	margin-top: 0px;
	margin-left: 5%;
	margin-right: 5%;
}

h5 { /* les éléments de type h5 */
	margin-left: 5%;
	margin-right: 5%;
}

p { /* les paragraphes */
	text-align: justify;
	margin-left: 5%;
	margin-right: 5%;
}

.listes { /* la division associée aux listes longues */
	text-align: justify;
	margin-left: 5%;
	margin-right: 5%;
}

ul.listes li { /* les éléments des listes longues */
	padding: 5px;
}



.listescourtes { /* la division associée aux listes courtes */
	text-align: center;
	list-style-type: none;
	margin-left: 5%;
	margin-right: 5%;
}

.listescourtes li { /* les éléments des listes courtes */
	border: 2px solid;
	display: inline-block;
	margin: 4px 10px;
	padding: 10px 20px;
	border-radius:50px;

}

.listescourtes li:hover { /* les éléments des listes courtes au survol */
	background-color: white;
	color: black;
}

a.bouton { /* les liens des boutons vers les réseaux sociaux */
	background-color: transparent;
	border: 2px solid white;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 8px;
	transition-duration: 0.3s;
	cursor: pointer;
	margin-top: 3%;
}

a.bouton:hover { /* les liens des boutons vers les réseaux sociaux au survol */
	background-color: white;
	color: black;
}

#contact { /* l'Identifiant associé à l'élément contact */
	background-color: #0E0E0E;
	padding-top: 5%;
	/*align-items: center;*/
	text-align: center;
	color: white;
	font-size: 24px;
}

#copyright { /* le copyright de fin de page */
	border-top: 1px solid white;
	padding: 10px;
	margin-left:0px;
	margin-right:0px;
	margin-top:5%;
	margin-bottom:0px;
	text-align: center;
}



.popup { /* Le conteneur de la popup */
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

.popup .popuptext { /* La popup */
  visibility: hidden;
  width: 300px;
  background: rgba(0, 0, 0, 1);
  color: #fff;
  text-align: center;
  border-radius:8px;
  padding: 20px;
  position: absolute;
  z-index: 1;
  top: 125%;
  left: 50%;
  margin-left: -150px;
}

.popup .popuptext::after { /* la flèche de la popup */
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -15px;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent #FFF;
}

.popup .show { /* Cacher ou montrer la popup */
  visibility: visible;
  animation: fadeIn 1s;
  margin-top:10px;
  border:2px Solid;
  border-color:#FFFFFF;
}



* {
  box-sizing: border-box;
}

/* Style inputs */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #2bb1fa;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

input[type=submit]:hover {
  background-color: #777777;
}

/* Style the container/contact section */
.container {
  text-align:left;
  border-radius: 5px;
  padding: 10px;
}

/* Create two columns that float next to eachother */
.column {
  float: left;
  width: 50%;
  margin-top: 6px;
  padding: 20px;
  box-sizing: border-box;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  background-color:#555555;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}






/* Le responsive a malheureusement été inachevé faute de temps */

/* Je me suis en grande partie aidé de ces sites pour construire le mien : */
/* https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_contact_section */
/* https://www.w3schools.com/css/css_navbar_horizontal.asp */

/* Site web codé par Maël Abdelhak pour l'élections des délégués au conseil départemental de 2023. */
