@media only screen and (max-width: 868px) {
  html {
    -webkit-tap-highlight-color: transparent; /* for removing the highlight */
  }

  .loader-logo > img {
    width: 85vw;
  }
  .newsletter-section {
    pointer-events: auto;
    width: calc(100% - 1rem);
    bottom: 5rem;
    padding-bottom: 2rem;
    /* padding-left: 0.5rem; */
  }
  .loader > div {
    transform: translate(-50%, -67.5%);
  }

  .footer-button > span {
    white-space: nowrap;
  }
  footer {
    /* pointer-events: none; */
  }
  .learn-more {
    /* position: relative;
    margin-top: 0.5rem; */
  }
  body {
  }
  .col:nth-child(2) {
    padding-bottom: 5rem;
  }
  form {
    padding: 1.5px;
    width: 100%;
    font-size: 0.9rem;
  }
  .newsletter-section input {
    width: 70%;
    padding: 0px;
    padding-left: 0.25rem;
  }
  .newsletter-section button {
    height: calc(1rem + 6px);
    font-weight: 100;
    color: black !important;
  }
  .it {
    gap: 0.25rem;
  }
  .subtext-loader {
    font-size: 5vw;
    gap: 0.25rem;
    margin-bottom: 2.5vh;
  }
  .navbar {
    display: none;
  }
  .index-home {
    flex-direction: column;
    overflow-y: scroll;
    height: 100vh;
  }

  .index-home img {
    height: auto;
    width: 100%;
  }
  .close {
    bottom: 1rem;
    top: auto;
    right: 0.25rem;
    display: block;
  }
  .close-desktop {
    display: none;
  }
  .navbar-mob {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: fixed;
    width: 100%;
    height: 5.5rem; /* Assurez-vous que cette hauteur correspond à la hauteur réelle de votre navbar */
    top: 0;
    left: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 35%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    transition: 0.5s ease;

    mask-image: -webkit-gradient(
      linear,
      left 20%,
      left 100%,
      from(#000),
      to(transparent)
    );
    -webkit-mask-image: -webkit-gradient(
      linear,
      left 20%,
      left 100%,
      from(#000),
      to(transparent)
    );
  }
  .navbar-mob {
    flex-direction: column;
  }
  .navbar-brand {
    padding-left: 1rem;
  }
  .navbar-links {
    justify-content: space-around;
    width: 100%;
    padding-top: 0px;
    font-size: 0.9rem;
  }

  .navbar-brand img {
    height: 0.95rem;
  }
  figure {
    flex: 0 0 calc(50%);
    margin-bottom: 1rem;
  }

  .index {
    padding: 0.5rem 0.5rem;
  }
  .navbar-links a {
    padding-top: 5px;
  }

  .index figure:nth-of-type(n + 3):nth-of-type(-n + 4) {
    margin-top: 0rem;
  }
  .index figure:nth-last-of-type(-n + 4) {
    padding-bottom: 0rem;
  }

  .learn-more:hover {
    opacity: 1;
  }
  .index:hover img {
    filter: none;
    opacity: 1;
  }
  .dimmed {
    opacity: 1;
  }

  .hider {
    display: block;
    width: 100%;
    position: fixed;
    background-color: #f6f5f1;
    bottom: 0rem;
    height: 5rem;
    backdrop-filter: blur(1px);
    -webkit-mask-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0)),
      color-stop(70%, rgba(255, 248, 186, 0.9)),
      to(rgba(255, 248, 186, 1))
    );
  }
  #hover-title {
    /* -webkit-mask-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.7) 75%,
      rgba(0, 0, 0, 0) 100%
    ); */
    -webkit-mask-image: -webkit-gradient(
      linear,
      right 0%,
      right 50%,
      from(transparent),
      to(#000)
    );

    background: rgba(246, 245, 241, 0.3);
  }
  .btn-menu {
    position: absolute;
    right: 0rem;
    top: -0.25rem;
    padding: 1rem;
    font-size: 1.5rem;
  }

  .navbar-links.hidden {
    display: none;
  }
  .about-ent h2,
  .contact-section h3,
  .social-section h3 {
    margin-bottom: 0.15rem;
  }
  .spacer {
    display: none;
  }
  .marge {
    width: 1px;
    background-color: black;
    height: 0.75rem;
    margin-top: 6.5px;
  }
  .navbar-links > a:last-of-type {
    padding-right: 10px;
  }
  .about-container {
    flex-direction: column;
    overflow: scroll;
  }
  .col {
    width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0rem;
    gap: 1rem;
  }
  .col:nth-child(1) {
    margin-top: 5rem;
  }

  .teacing-section {
    margin-top: 1rem;
  }
  .about-ent,
  .contact-section,
  .social-section {
    font-size: 1.356rem;
    line-height: 1.5rem;
  }
  .about-ent {
    width: 100%;
  }
  .about-images {
    display: none;
  }
  .newsletter-section {
    position: static;
  }
  .sub-col {
    display: flex;
    flex-wrap: wrap;
  }
  .sub-col:nth-child(1) {
    flex-direction: column;
    gap: 1rem;
  }
  .press-section,
  .partnerships-section,
  .teaching-section {
    width: 50%;
    font-size: 0.9rem;
    line-height: 1.15rem;
  }

  .desc {
    width: 100%;
  }

  #images-container {
    margin-top: 0px;
  }
  #images-container img {
    margin-bottom: 0px;
    width: 100%;
    min-height: auto;
  }
  .nav-up {
    bottom: -2rem !important;
  }
  .index figure:hover #hover-title {
    display: block;
  }
  .content {
    width: calc(100% - 3rem);
    line-height: 1.15rem;
  }
  #hover-title > div {
    padding-left: 1rem;
  }
  .item-header a {
    display: flex;
  }
  .ressources-container {
    flex-direction: column;
    align-items: center;
    overflow: scroll;
    margin-bottom: 5rem;
  }
  .ressources-container > .col:nth-child(1),
  .ressources-container > .col:nth-child(2) {
    width: calc(100% - 2rem);
  }
  ul {
    gap: 0px;
  }

  .title > span {
    padding-left: 0;
  }

  .title img {
    width: auto;
    height: 0.75rem;
    padding-top: 2.5px;
  }
  .desc-img {
    padding-left: 0;
  }
  .section {
    margin-bottom: 0rem;
    flex-direction: column;
    font-size: 0.9rem;
    line-height: 1.15rem;
  }

  .ressources-container > .col:nth-child(2) > div {
    gap: 1rem;
  }
  .ressources-container > .col {
    padding-left: 0rem;
    padding-right: 0rem;
  }
  .title img {
    padding-right: 0.5rem;
  }
  .pu-image-container button {
    top: 1rem;
    right: 0rem;
  }

  #popup {
    z-index: 999999999;
  }
  #popup > div {
    width: 80vw;
    margin-top: 1rem;
    border-radius: 5px;
  }

  .title {
    padding-left: 0rem;
  }

  .title-section {
    font-size: 1.3rem;
  }
  .item-date {
    display: none;
  }
  .section-header {
    margin-bottom: 0.5rem;
    width: 100%;
  }
  .item-content img {
    padding-left: 0%;
  }

  .contact-section {
    width: 100%;
  }
}
