.nav-container,
.footer-container {
  width: 85%;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .nav-container,
  .footer-container {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .navbar .navbar-toggler {
    margin-left: 4px;
  }

  .navbar .navbar-collapse {
    align-items: flex-start;
  }

  .navbar .navbar-nav {
    width: 100%;
  }

  .navbar .nav-link {
    text-align: left;
    margin-left: 4px;
  }

  .navbar .ms-auto {
    margin-left: 0 !important;
  }

  footer .navbar-nav {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }

  footer .navbar-nav .nav-item {
    justify-content: center !important;
  }
}

.navbar {
  --bs-navbar-padding-y: calc(0.5rem * 0.85);
  --bs-navbar-brand-padding-y: calc(0.5rem * 0.85);
  --bs-navbar-nav-link-padding-y: calc(0.5rem * 0.85);
}

.footer-linkedin-icon {
  width: 24px;
  height: 24px;
}

.toggleWrapper {
  overflow: hidden;
  padding: 0 200px;
  color: white;
  padding: 0 10px;
  display: flex;
  align-items: center; /* Centrage vertical */
}

.toggleWrapper input {
  position: absolute;
  left: -99em;
}

.toggle {
  cursor: pointer;
  display: inline-block;
  position: relative;
  width: 61px;
  height: 34px;
  background-color: #83d8ff;
  border-radius: 63px;
  transition: background-color 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.toggle:before {
  content: '';
  position: absolute;
  left: -38px;
  top: 11px;
  font-size: 14px;
}

.toggle:after {
  content: '';
  position: absolute;
  right: -36px;
  top: 11px;
  font-size: 14px;
  color: #749ed7;
}

.toggle__handler {
  display: inline-block;
  position: relative;
  z-index: 1;
  top: 0px;
  left: 1px;
  width: 33px;
  height: 35px;
  background-color: #ffcf96;
  border-radius: 38px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: rotate(-45deg);
}

input:checked + .toggle .toggle__handler {
  background-color: #ffe5b5;
  transform: translate3d(26px, 0, 0) rotate(0);
}

.toggle__handler .crater {
  position: absolute;
  background-color: #e8cda5;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  border-radius: 100%;
}

.toggle__handler .crater--1 {
  top: 14px;
  left: 8px;
  width: 3px;
  height: 3px;
}

.toggle__handler .crater--2 {
  top: 21px;
  left: 17px;
  width: 5px;
  height: 5px;
}

.toggle__handler .crater--3 {
  top: 8px;
  left: 19px;
  width: 6px;
  height: 6px;
}

.star {
  position: absolute;
  background-color: #fff;
  transition: all 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  border-radius: 50%;
}

.star--1 {
  top: 8px;
  left: 23px;
  z-index: 0;
  width: 23px;
  height: 2px;
}

.star--2 {
  top: 14px;
  left: 21px;
  z-index: 1;
  width: 23px;
  height: 2px;
}

.star--3 {
  top: 20px;
  left: 28px;
  z-index: 0;
  width: 23px;
  height: 2px;
}

.star--4, .star--5, .star--6 {
  opacity: 0;
  transition: all 300ms 0 cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.star--4 {
  top: 12px;
  left: 8px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(2px, 0, 0);
}

.star--5 {
  top: 24px;
  left: 13px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(2px, 0, 0);
}

.star--6 {
  top: 27px;
  left: 21px;
  z-index: 0;
  width: 2px;
  height: 2px;
  transform: translate3d(2px, 0, 0);
}

input:checked + .toggle {
  background-color: #749dd6;
}

input:checked + .toggle:before {
  color: #749ed7;
}

input:checked + .toggle:after {
  color: #fff;
}


input:checked + .toggle .toggle__handler .crater {
  opacity: 1;
}

input:checked + .toggle .star--1 {
  width: 2px;
  height: 2px;
}

input:checked + .toggle .star--2 {
  width: 3px;
  height: 3px;
  transform: translate3d(-4px, 0, 0);
}

input:checked + .toggle .star--3 {
  width: 2px;
  height: 2px;
  transform: translate3d(-5px, 0, 0);
}

input:checked + .toggle .star--4, input:checked + .toggle .star--5, input:checked + .toggle .star--6 {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

input:checked + .toggle .star--4 {
  transition: all 300ms 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

input:checked + .toggle .star--5 {
  transition: all 300ms 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

input:checked + .toggle .star--6 {
  transition: all 300ms 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

/* For the loading of the page */
.no-animation * {
  transition: none !important;
  animation: none !important;
}