/* rem and em do not depend on html font-size in media queries!  1rem=1em=16px*/
.gif-video {
  display: none;
}
.video-title2 {
  display: none;
}

.DENG-title2 {
  display: none;
}
.INES-titleGIF1 {
  display: none;
}
.INES-titleGIF2 {
  display: none;
}
.TIMP-title-GIF {
  display: none;
}
.PORTRAIT-title1-GIF {
  display: none;
}
.PORTRAIT-title2-GIF {
  display: none;
}
.hero-title-GIF {
  display: none;
}
.hero-description-GIF {
  display: none;
}
.hero-description-GIF2 {
  display: none;
}
.AUTRES-title-GIF {
  display: none;
}
.AUTRES-title-GIF2 {
  display: none;
}

@media only screen and (max-width: 60em) {
  /* HEADER */
  .bio-apropos4 {
    display: none;
  }
  .titre-apropos4 {
    display: none;
  }
  /* HERO SECTION */
  .background-video {
    display: none;
  }
  .hero-text-box {
    display: none;
  }
  .hero-description {
    display: none;
  }

  .hero-title-GIF {
    display: none;
  }
  .hero-description-GIF2 {
    display: block;
    margin-top: 4rem;
    padding-top: 1rem;
    padding-bottom: 3rem;
    font-size: 2rem;
    text-align: center;
    border-top: 0.15rem solid white;
    width: 20rem;
    margin: auto;
  }
  .gif-video-BD {
    padding-bottom: 3rem;
  }

  .hero-text-box {
    margin-top: 4rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .position-élément {
    display: none;
  }

  /* CONTACT SECTION */
  .TITLE {
    font-size: 4rem;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2rem;
    width: 100%;
    line-height: 5rem;
    font-style: normal;
  }
  .main-nav-link-contact {
    text-align: right;
    margin-bottom: 2rem;
    font-style: italic;
    width: 100%;
    font-size: 3rem;
    color: white;
    margin-right: 3rem;
    margin-bottom: 1rem;
    text-decoration: none;
  }

  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
  }

  .main-nav {
    background-color: rgba(39, 39, 39, 0.7);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /* hide the navigation */
    /* allows no transition at all */
    /* display: none; */
    /* 1. hide it visually */
    opacity: 0;
    /* 2. make it unaccessible to mouse and keyboard */
    pointer-events: none;
    /* 3. Hide it from screen readers */
  }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }
  .main-nav-list {
    flex-direction: column;
    gap: 4.8rem;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3rem;
  }

  .MAIL {
    font-size: 3rem;
  }
  .hyperlien-mail {
    font-size: 1.5rem;
  }
  /* APROPOS SECTION */

  .présentation {
    display: block;
    padding: 0;
    margin-bottom: 2rem;
  }

  .titre-apropos {
    display: block;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  .cv-apropos {
    display: block;
    font-size: 0.1rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  .btn-pdf {
    display: block;
    font-size: 1.5rem;
    text-align: center;
  }
  .carousel-apropos {
    display: none;
  }
  .bio-apropos {
    display: block;
    font-size: 1.3rem;
    line-height: 1.2rem;

    width: auto;
    text-align: center;
  }
  .bio-apropos3 {
    font-size: 1.3rem;
    line-height: 1.9rem;
    width: auto;
    text-align: center;
  }
  .bio-apropos2 .bio-apropos4 {
    font-size: 1.3rem;
    line-height: 1.2rem;
    width: auto;
    text-align: center;
  }

  /* PHOTO SECTION */
  .photo-titre {
    display: block;
    word-break: break-word;
    text-align: center;
    margin: 1rem;
    font-size: 2rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
  }
  .photo-titre3 {
    text-align: center;
    margin: auto 0.5rem;
    font-size: 1.7rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
  }
  .titre-apropos3 {
    display: none;
    margin-bottom: 2rem;
    text-align: center;
  }
  .apropos-section {
    display: block;
    padding-top: 2rem;
    margin-bottom: 0rem;
    margin-top: 2rem;
    text-align: center;
  }
  .apropos-section1 {
    display: block;

    margin-bottom: 0rem;
    margin-top: 2rem;
    text-align: center;
  }
}

/**********************/
/* BELOW 1344PX (smaller desktops) */
/*************************/

@media only screen and (max-width: 60em) {
  .videoLink {
    display: none;
  }
  .videoPlayer1,
  .videoPlayer2,
  .videoPlayer2,
  .videoPlayer3,
  .videoPlayer4,
  .videoPlayer5,
  .videoPlayer6,
  .videoPlayer7,
  .videoPlayer8,
  .videoPlayer9,
  .videoPlayer10 .videoPlayer11 .videoPlayer12 .videoPlayer13 .videoPlayer14 {
    display: none;
  }
  .video-short-br1,
  .video-short-br2,
  .video-short-br3 {
    display: none;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .grid-section {
    grid-template-columns: 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .video-center,
  .video-title {
    text-align: center;
  }
  .gif-video {
    display: block;
    width: 100%; /* Ajustez la largeur selon vos besoins */
    /* Cela garantit que la hauteur est proportionnelle */
  }
  .photo-titre1 {
    font-size: 3rem;
  }
  .photo-titre2 {
    display: none;
  }
  .bio-apropos {
    line-height: 1.4rem;
  }
  .bio-apropos2 {
    line-height: 1.4rem;
  }
  .hero-title-GIF {
    display: block;
    margin-bottom: 4rem;
    text-align: center;
    margin-top: 4rem;
    font-size: 4rem;
    text-align: center;
  }
  .hero-description-GIF {
    display: block;

    margin-bottom: 15rem;
    font-size: 2rem;
    text-align: center;
  }
  .bio-apropos3 .bio-apropos4 {
    line-height: 2.4rem;
  }
  .background-image1 {
    width: 100%; /* Prend la largeur de la section */
    height: 60%;
    padding-top: 10rem;
  }
  .titre-apropos3 {
    display: none;
    margin-bottom: 2rem;
    text-align: center;
    margin-top: 2rem;
  }
}
@media only screen and (max-width: 40em) {
  /* CONTACT PAGE */

  form {
    display: flex;
    flex-direction: column;
    width: 30rem;
    margin: 0 auto;
  }
  .contact-section {
    width: 30rem;
    padding-bottom: 40rem;
    margin: 0 auto;
  }
  .background-image {
    width: 100%; /* Prend la largeur de la section */
    height: 60%;
    padding-top: 10rem;
  }
  .titre-apropos3 {
    display: none;
    margin-bottom: 2rem;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.8rem;
  }
  /* PAGE PHOTO */
  .TITLE {
    font-size: 2rem;
  }
  .SUBTITLE {
    font-size: 2rem;
  }
  .bio-apropos4 {
    display: none;
  }
  .titre-apropos4 {
    display: none;
  }
  .hero-title-GIF {
    display: block;

    font-size: 4rem;
    text-align: center;
  }
  .apropos-section1 {
    padding-top: 35rem;

    position: relative;
    height: 100vh; /* prend tout l’écran */

    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 1) 100%),
      /* fondu vers le noir */ url("../PHOTO-REAL/fond2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero-description-GIF {
    display: block;
    padding-bottom: 30rem;
    margin-bottom: 8rem;
    font-size: 2rem;
    text-align: center;
  }
}
