:root {
    --bs-primary: #6610f2;
    --bs-primary-rgb: 102, 16, 242;
    --bs-primary-text-emphasis: #2b0566;
    --bs-primary-bg-subtle: #d4bcfb;
    --bs-primary-border-subtle: #dbc5ff;

    --bs-primary-text-emphasis: #a974ff;
    --bs-primary-bg-subtle: #1a043d;
    --bs-primary-border-subtle: #460aa7
}

.vh-75 {
  height: 75vh !important;
}

.vh-50 {
  height: 50vh !important;
}

.vh-25 {
  height: 25vh !important;
}

.navbar-brand {
    margin-right: auto;
}

.form-select:focus {
    border-color: #af83f8;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(125, 52, 244, 0.502);
}

.form-select option:checked{
  background: #6610f2;
  color: #ffffff;
}

/* Primary */
.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: var(--bs-primary-bg-subtle); }

.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
  border-color: #af83f8; }

.table-hover .table-primary:hover {
  background-color: #af83f8; }
  .table-hover .table-primary:hover > td,
  .table-hover .table-primary:hover > th {
    background-color: #c5a4fa; }

.btn-primary {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary); }
  .btn-primary:hover {
    color: #fff;
    background-color: #560bd0;
    border-color: #510bc4; }
  .btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #560bd0;
    border-color: #510bc4;
    box-shadow: 0 0 0 0.2rem rgba(125, 52, 244, 0.5); }
  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary); }
  .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #510bc4;
    border-color: #4c0ab8; }
    .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
      box-shadow: 0 0 0 0.2rem rgba(#510bc4); }

.badge-primary {
  color: #fff;
  background-color: var(--bs-primary); }
  a.badge-primary:hover, a.badge-primary:focus {
    color: #fff;
    background-color: #510bc4; }
  a.badge-primary:focus, a.badge-primary.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(102, 16, 242, 0.5); }

.alert-primary {
  color: #35087e;
  background-color: #e0cffc;
  border-color: var(--bs-primary-bg-subtle); }
  .alert-primary hr {
    border-top-color: #c5a4fa; }
  .alert-primary .alert-link {
    color: #21054e; }

.list-group-item-primary {
  color: #35087e;
  background-color: var(--bs-primary-bg-subtle); }
  .list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
    color: #35087e;
    background-color: #c5a4fa; }
  .list-group-item-primary.list-group-item-action.active {
    color: #fff;
    background-color: #35087e;
    border-color: #35087e; }

.bg-primary {
  background-color: var(--bs-primary) !important; }

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
  background-color: #510bc4 !important; }

.border-primary {
  border-color: var(--bs-primary) !important; }

.text-primary {
  color: var(--bs-primary) !important; }

a.text-primary:hover, a.text-primary:focus {
  color: #4709ac !important; }

.primary-tooltip {
  --bs-tooltip-bg: var(--bs-primary);
  --bs-tooltip-color: #ffffff;
}

/* Basic */
body {
    font-family: 'Josefin Sans', sans-serif;
}

body::selection {
  background: #6610f2;
  color: #ffffff;
}

.btn-white {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #212529;
}

.select-none {
  user-select: none;
}

.dropdown-item:active {
  background: #6610f2 !important;
}

.btn.show {
  background: #6610f2 !important;
  border-color: #6610f2 !important;
}

h1.header, h2.header {
    font-family: sans-serif;
}

.img-bg{
    background-image: url(../assets/images/autre/Lycée-Paul-Louis-Courrier.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.overlay-text {
    /* -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #6610f2; */
    text-shadow:
        -1px -1px 0 #6610f2,
        1px -1px 0 #6610f2,
        -1px  1px 0 #6610f2,
        1px  1px 0 #6610f2;
    font-size: 40px;
    font-weight: bold;
}

.text-gras{
    font-weight: bold;
}

.lien{
    color: #212529;
}

.lien:hover{
    color: #6610f2;
}

.svg-flip {
    transform: rotate(180deg);
    margin-bottom: -1px;
}


/* Timeline */

.timeline {
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #d1d1d1;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container-timeline {
  padding: 10px 39px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container-timeline::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: #d1d1d1;
  border: 4px solid #6610f2;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 0;
  right: 30px;
  border: medium solid var(--bs-border-color-translucent);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.175);
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 0;
  left: 30px;
  border: medium solid rgba(0, 0, 0, 0.175);
  border-width: 10px 10px 10px 0;
  border-color: transparent rgba(0, 0, 0, 0.175) transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -12px;
}

/* Media queries - Responsive timeline on screens less than 992px wide */
@media screen and (max-width: 992px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container-timeline {
    width: 100%;
    padding-left: 69px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container-timeline::before {
    left: 60px;
    border: medium solid rgba(0, 0, 0, 0.175);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(0, 0, 0, 0.175) transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 18px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

.timeline-section {
  background: none; /* par défaut */
}

.timeline-section.timeline-bg-active {
  background-image: url("../assets/images/timeline_black.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll; /* or 'fixed' if you want a parallax effect */
  padding: 200px 0; /* space so the content doesn’t overlap weirdly */
}

/* Slide in and out */
.fade-in-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.appear {
  opacity: 1;
  transform: translateX(0);
}

main {
  overflow-x: hidden;
}

@media (min-width: 992px) {
  .fs-5 {
    font-size: 1,25rem !important;
  }
}

.photo-profile-section {
  background: none; /* par défaut */
}

.photo-profile-section.photo-profile-bg-active {
  background-image: url("../assets/images/tache-indigo.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll; /* or 'fixed' if you want a parallax effect */
  padding: 200px 0; /* space so the content doesn’t overlap weirdly */
}