/* CSS Document */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
	margin:0;
	font-family: Geneva, Helvetica, sans-serif;
	line-height: 30px;
	background: #ffffff;
	font-size: 18px;
}

/* PROV 
h1 {
	
	font-size: 35px;
	font-weight: 500;
	line-height: 40px;
	color: #F8F8FF;
	padding: 0px 10px 0px 10px;
    border-radius: 5px;
	text-align: center;	
	margin-bottom: -20px;
}

*/

/* Grands titres chapitres*/
h2 {
	font-size: 45px;
	font-weight: 700;
	line-height: 45px;
	color: #4d5561;
	margin-top: 20px;
	margin-bottom: 50px;
	padding-top: 5px;
	}

h3 {
	font-size: 25px;
	font-family:;
	line-height: 30px;
	color: #28344C;
	padding: 0px 0px 0px 0px;
	/*background-color: rgba(54,84,138,.5);*/
}

/* PROV
h4 {
font-size:25px;
font-family: Calibri, Geneva, Arial, Helvetica, sans-serif;
color: #030f23;
font-weight:500;
}

*/ 


a {
  color: #072f7d;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #030f23;
  background-color: #dadada;
  border-radius: 5px;
}

/* INTRO */
#GrandeIntro {
  height:400px;
  background-size:cover;
  background-position:center;
  position: relative;
  overflow: /*hidden*/;
}

/* icones RS */
#contact,
#top-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

#contact img,
#top-icons img {
  width:;
  height:;

  opacity: 1.5;

  transition: opacity 0.3s ease,
              transform 0.3s ease;
}

#contact img:hover,
#top-icons img:hover {
  opacity: 1;
  transform: scale(1.08);
}


#top-icons {
  display:flex;
  justify-content:center;

}

/* couches slider */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}
/* état */
.bg1 { opacity: 1; z-index: 1; }
.bg2 { opacity: 0; z-index: 0; }


/* overlay au-dessus */

.overlay {
  position: relative;
  z-index: 2;

  background: rgba(0,0,0,0.3);
  border-radius: 10px;

  height: 100%;

  color: white;

  display: flex;
  flex-direction: column;
}

/* barre icones rs */

.top-bar {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 15px;

  width: 100%;

  box-sizing: border-box;
}

/* Bloc central intro */
.intro-center {
  display: flex;
  align-items: center;      /* centre verticalement */
  justify-content: center;  /* centre l'ensemble */
  gap: 40px;                /* espace photo / texte */
  margin: auto 0;
  text-align: left;
}


/* photo */
.profile {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

/* bouton ... suite*/

.bouton_suite {
	font-size: 14px;
	color: #072f7d;
	font-weight: bold;
	border: hidden;
	border-color: inherit;
	background-color: inherit;
}

/* bloc texte */
.intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-text h1 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.1;
}

.intro-text h4 {
  margin: 8px 0 0 0;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
}


/* NAV */
header {
  position:sticky;
  top:0;
  z-index: 9999;
  background:#030f23;
}


#menu {
  display:flex;
  justify-content:center;
  font-size: 35px;
}

#menu a {
  color:#c8d4ec;
  padding:15px;
}

#menu a:hover {
  text-decoration: ;
  color: #030f23;
  background-color: #dadada;
  border-radius: 5px;
}

.menu-toggle {
  display:none;
  color:white;
  padding:10px;
}

/* CONTENU */
section {
  padding: 15px 25px;
  max-width:1280px;
  margin:auto;
  background-color: #e9f9ff;
  border: solid 0.1em gainsboro;
/*background: linear-gradient(#162648, #82a0d4);*/
}

.bloc {
  margin-bottom:40px;
  padding: 20px;
  background-color: #fdfeff;
  border-radius: 5px 60px 5px 5px;
  box-shadow: 5px 5px 20px rgba(154, 184, 194, 0.8); 
}

.periode {
font-size:14px;
font-weight:bold;
}

.sous-titre {
font-size:16px;
font-weight:bold;
}

.list {
	display: inherit;
	line-height: 30px;
	list-style-position: outside;
	list-style-image: url(files/carre_bleu_15.png);
	font-weight: normal;
	list-style-type: none;
}

ul, li {
padding-left: 0rem;
list-style-type: disc;
list-style-position: inside;
}

.hidden {
  display:none;
}

.logo {
  background-color: ;
  overflow:/*hidden*/;
  display:block;
  width:;
}

/* CONTENEUR NAV SLIDER */
.slider-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  border: none;
  border-radius: 50%;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);

  color: white;
  font-size: 14px;
  font-weight: bold;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;

  opacity: 0.6;

  z-index: 5;
}

/* SURVOL */
.slider-nav button:hover {
  background: rgba(255,255,255,0.3);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

/* POSITION GAUCHE */
#prev {
  left: 20px;
}

/* POSITION DROITE */
#next {
  right: 20px;
}

/*TRANSITIONS ANIMATION jpg contenu*/

#img{transition:0.5s;}
#img:hover{transform : scale(1.2) rotate(-5deg); background-color: none; text-decoration: none;}/* ici on ajoute rotate(xdeg) et on désactive le background RGBA du lien standard a: */

#img2{transition:0.5s;}
#img2:hover{transform : scale(1.4) rotate(90deg); background-color: #00001C; text-decoration: none;}/* ici on ajoute rotate(xdeg) et on désactive le background RGBA du lien standard a: */

#img3{transition:0.5s;}
#img3:hover{transform : scale(1.1) rotate(-1deg); background-color: none; text-decoration: none;}/* ici on ajoute rotate(xdeg) et on désactive le background RGBA du lien standard a: */

.pied {
  max-width:1280px;
  margin: 25px auto 25px auto;
  padding: 15px 40px 20px 40px;
  color:;
  position: inherit;
  background: linear-gradient(#1a1f23,#eff5ff);
  border-radius: 5px;
}

.compteur {
	float:inherit;
	width:70px;
	height:;
	text-align: center;
	font-size:12px;
	color: #333333;
	padding: 5px;
	background-color:;
	}

/* MOBILE */
@media(max-width:768px){
  
  body {
  font-size: 14px;
  line-height: 28px;
  }

  #menu {
    display:none;
    flex-direction:column;
  }

  #menu.active {
    display:flex;
  }

  .menu-toggle {
    display:block;
  }
  
  .grid {
    grid-template-columns:1fr;
  }

  #GrandeIntro {
    height: 580px;
  }
  
  .overlay {
  padding: 10px;
 }
 
 /* NO NAV SLIDER */
.slider-nav button {
  opacity: -0.1;
}
  
  .top-bar {
  display: contents;
  
  }
  
  #contact, #top-icons {
  display: block;
}
  .intro-center {
    margin-top: 80px;
    padding: 0 20px;
	display: contents;
  }

  .profile {
    width: 110px;
  }

 
  .intro-center p {
    font-size: 22px;
  }
  
   .intro-main {
    flex-direction: column;
    gap: 14px;
  }

  .intro-main h1 {
    text-align: center;
    font-size: 2rem;
  }

  .profile {
    width: 110px;
    height: 110px;
  }

  .intro-center h4 {
    font-size: 1.2rem;
    padding: 0px;
    line-height: 1.5;
  }

.intro-text h1 {
  font-size: 2rem;
}  

h2 {
  font-size: 35px;
  margin-bottom: 15px;
  line-height: 30px;
}

  header {
  width: 100%;
}

bloc {
   margin-bottom: 15px;
}

.pied {
   padding: 15px 10px 5px 10px;

}


   .top-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    padding-top: 15px;
  }

  .top-icons img {
    width: 26px;
    height: 26px;
  }

  img {
  max-width: 100%;
  height: auto;
}

}
