@media all and (max-width: 767px) {
  /* FLEXBOX */

  body {
    width: 100%;
    box-sizing: content-box;
    min-width: 280px;
  }

  /* Contenu principale */
  main,
  header,
  footer {
    width: 100%;
  }
  .footer_frame {
    width: 86%;
  }

  /* En-tete */
  header {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-content: center;
  }

  #top_section {
    padding-left: 2%;
    padding-right: 2%;
  }

  aside {
    width: 100%;
  }

  #activ_section {
    padding-left: 2%;
    padding-right: 2%;
  }

  /* SOUS-BLOCS */

  /* Menu navigation */
  #menu,
  nav {
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  nav li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: none;
    padding-right: 0%;
    padding-left: 0%;
    padding-bottom: 20px;
    width: 50%;

    border-bottom: 5px solid #e7e7e7;
  }

  nav li:hover {
    border-top: none;

    border-bottom: 5px solid #0065fc;
  }
  nav li:hover > a {
    color: #0065fc;
  }

  /* Logo */
  .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 10%;
  }

  .logo__img {
    width: fit-content;
    height: 90px;
    width: 190px;
    padding-left: 20%;
  }

  #main_section {
    flex-direction: column-reverse;
    height: fit-content;
  }

  .background--aside {
    background-color: #eeeeee;
    width: 92%;
    margin: 0px;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 0px 0px 0px 0px;
  }

  .background--article {
    background-color: transparent;
    width: 92%;
    margin: 0px;
    padding-left: 4%;
    padding-right: 4%;

    border-radius: 0px 0px 0px 0px;
  }

  /* Champ de recherche de localisations */

  #search {
    margin-top: 40px;
    border-radius: 33px 30px 30px 33px;
  }

  #search__img {
    padding: 15px;
    font-size: 1.5em;
    width: fit-content;
    height: fit-content;

    border-radius: 30px 0px 0px 30px;
  }

  #search__form {
    width: 100%;
  }

  #search__form--margin {
    margin: 0px 0px 9px 20px;
    width: 85%;
  }

  #search__text {
    font-size: 20px;
    font-weight: bold;
    margin: 12px;
    width: 85%;
  }

  #search_button--text {
    display: none;
  }
  .search__button {
    border-radius: 27px;
    width: auto;
    height: auto;
    padding: 5px;
  }
  #search_button--img {
    display: block;
    margin: 10px;
    font-size: 1.4em;
  }

  /* Filtre */
  #filter {
    flex-direction: column;
  }

  #filter_bloc {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 430px;
  }

  .filter__item {
    width: fit-content;
    border-radius: 100px;
    border-width: 3px;
  }

  .filter__item--img {
    font-size: 1.8em;
    padding: 10px;
    border-radius: 100px;
  }

  .filter__item--txt {
    padding: 7px;
    padding-right: 30px;
    font-weight: bold;
  }

  /* Encard des resultats */
  #results {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: fit-content;
    width: 100%;
  }

  .result_cardbloc {
    width: 100%;
  }

  .result_card {
    width: auto;
    border-radius: 50px;
  }

  .result_card--img {
    width: 99.9%;
    height: 220px;
    border-radius: 43px 43px 0% 0%;
  }

  .result_card--text {
    height: 110px;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 13px;
    margin-right: 0px;
    width: 95%;
  }

  .results--aff-plus {
    font-size: 1.2em;
  }

  /* Encard des plus populaires */

  #popular__title {
    width: 86%;
    min-width: 250px;
  }

  i.fa-solid.fa-chart-line {
    font-size: 1.5em;
  }

  .populars {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: fit-content;
  }

  .popular_bloc {
    width: auto;
  }

  .popular_card {
    margin: 7px;
    border-radius: 45px;
  }

  .popular_card--img {
    height: 250px;
    width: 35%;
    margin-right: 5%;
    border-radius: 38px 0px 0px 38px;
  }

  .popular_card__text {
    padding-left: 0px;
    width: 65%;
    min-width: auto;
  }

  /* Encard des activites */

  #activ_section {
    height: 2075px;
    width: 86%;
    padding-right: 7%;
    padding-left: 7%;
  }

  #activ_lineblocs {
    flex-direction: row;
    max-height: 100%;
    justify-content: space-between;
    align-content: space-between;
  }

  .activ_bloc {
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;

    max-width: 3000px;
  }

  .activity-galery {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 16% 16% 16% 16% 16% 16%;
    gap: 2% 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "p1"
      "p2"
      "p3"
      "p4"
      "p5"
      "p6";
    width: 100%;
    height: 1800px;
  }

  .activ_card {
    border-radius: 45px;
  }

  .activ_card--img {
    border-radius: 45px 45px 0% 0%;
  }

  .activ_card--img--full,
  .activ_card--img--60p,
  .activ_card--img--40p {
    height: 75%;
  }

  .activ_card__text {
    padding-top: 20px;
  }

  h4.activ_card__text--style {
    font-size: 20px;
  }

  .footer_frame {
    flex-direction: column;
  }

  .footer__item {
    width: 66%;
  }

  footer h3 {
    margin-top: 20px;
    margin-bottom: 0px;
    font-size: 28px;
  }

  /* ELEMENTS */

  /* Pseudo-elements*/

  h1 {
    font-size: 1.3em;
  }

  h2 {
    font-size: 1em;
    font-weight: bold;
  }

  h3 {
    font-size: 1.6em;
  }

  h4,
  p {
    font-size: 20px;
  }

  li {
    font-size: 19px;
  }

  a {
    width: auto;
  }

  /* Etoiles */

  .star--blue,
  .star--grey {
    font-size: 18px;
  }
}
