@font-face {
  font-family: "Vollkorn";
  src:url("./Vollkorn/static/Vollkorn-Regular.ttf");
}

@font-face {
  font-family: "Vollkorn-bold";
  src:url("./Vollkorn/static/Vollkorn-Bold.ttf");
}

@font-face {
  font-family: "Vollkorn-black";
  src:url("./Vollkorn/static/Vollkorn-Black.ttf");
}

body {
    font-family: 'Vollkorn', serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
}

header {
    background-color: #3b739a;
    color: white;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

a {
  color:#d31d1d
}

a:hover {
  color:#a00e0e ; 
  font-weight : bold ; 
}



main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section {
    padding: 2rem;
    border: 1px solid #bd4848;
    border-radius: 8px;
}


p {
    text-align : justify;

}


video {
  width:100%;
  height: auto;
}

iframe {
  width:100%;
  height: auto;
}

.video-container {
  display: flex;
  gap: 10px; /* espace entre les vidéos, optionnel */
}

.video-container video {
  width: 50%;
  height: auto;
}

.video-container iframe {
  flex: 1; 
  height: auto;
  aspect-ratio: 16 / 9;
}

/* --- Responsive mobile --- */
@media (max-width: 768px) {
  .video-container {
    flex-direction: column; /* empile les vidéos */
  }

  .video-container video {
    width: 100%;  /* pleine largeur */
  }
}

.active {
    background-color: #9e0000;
}

.centrer {
  text-align: center;
}


.important {
  font-weight: bold;
  border: 2px solid black ;
  margin: 1px;
  padding: 10px;
}

.citation {
  border: 2px solid black ;
  margin: 1px;
  padding: 10px;
}

.bold {
  font-family: "Vollkorn-bold";
}

.hyperbold {
  font-family: "Vollkorn-black";
}


.i {
  font-style: italic;
}

.definition {
  font-weight: bold;
  text-decoration-line: underline;
}

.titre {
  font-style: italic;
  font-weight: bold;
}


.boxed {



}

.container {
  display: flex;
  justify-content: center;
  vertical-align: top;
 }









 /* The navigation menu */
.navbar {
  overflow: hidden;
  background-color: #333;

}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 14px 16px;
  text-decoration: none;
  align-items: center;

}


/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}



/* Add a red background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #bd1c1c;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #d43f3f;
  width: 100%;
  z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  color: white;
  text-decoration: none;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: #ececec;
  color: black;
}


.subnav-content  a.aconstruire {
  background-color: #685d5d;
  color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
} 


/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}


.dropdown .dropbtn:hover {
    background-color: #bd1c1c;

}


.dropdown .dropbtn.aconstruire {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: #685d5d;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}


/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ebd2d2;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}



/* Slideshow container */
.slideshow-container {
  max-width: 2000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding-bottom: 1%;
  padding-top: 1%;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(145, 63, 63, 0.65);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 0px;
  width: 0px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-slide {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
