/****** General ***********/
html{
  font-family: "Raleway", sans-serif;
  font-size:16px;
}

:root {
  --main-color: #0065fc;
  --main-bg-color: #f2f2f2;
  --filter-bg-color: #deebff;
  --grey-bg-color: #d9d9d9;
}

.body-container {
  max-width: 1440px;
  min-width: 320px;
  margin: 0 auto;
}
h1, h2{
  font-size:22px;
}

h3 {
  font-size: 16px;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.filter-button:hover {
  cursor: pointer;
}
i.fa-solid.fa-money-bill-wave, i.fa-solid.fa-person, i.fa-solid.fa-heart, i.fa-solid.fa-fire {
font-size: 22px;
}
i.fa-solid.fa-chart-line {
  font-size: 16px;
}
.fa-solid {
  color: var(--main-color);
}

.neutral-star {
  color: var(--main-bg-color);
}
/*******nav-bar**********/
nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo {
  padding: 30px 50px;
  max-height: 19px;
  width: 61.09px;
}

/******* menu-bar **********/

#menu-bar {
  display: flex;
  gap: 68px;
  padding: 0px 50px;
  margin: 0;
}

#menu-bar li {
  display: flex;
  align-items: flex-end;
}

#menu-bar a {
  font-weight: 400;
  font-size: 16px;
  color: inherit;
  text-decoration: none;
  padding-top: 14px;
  border-top: 2px solid transparent;
}

#menu-bar a:hover {
  color: var(--main-color);
  border-top: 2px solid var(--main-color);
}

/************header*************/

header {
  display: flex;
  flex-direction: column;
  padding: 0px 50px;
  gap: 35px;
}

/********* title **********/
.header-tître-paragraphe {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

h1 {
  font-size: 22px;
  margin: 0px;
}

p {
  margin: 0px;
}
/**********formulaire***********/

.header-formulaire, form{
  max-width: 377px;
}


fieldset {
  display: flex;
  align-items: center;
  max-width: 375px;
  height: 47px;
  font-family: sans-serif;
  border: 1px solid var(--main-bg-color);
  border-radius: 15px;
  padding: 0px;
  margin: 0px;
}

label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  font-size: 18px;
  box-sizing: border-box;
  color: var(--main-color);
  background-color: var(--main-bg-color);
  border-radius: 15px 0px 0px 15px;
  height: 100%;
}

label .fa-solid {
  color: black;
}

input#logo-geo {
  flex: 1;
  border: none;
  padding: 14px 16px;
  margin: 0px;
  max-width: 193px;
  border-bottom: 1px solid var(--main-bg-color);
  border-top: 1px solid var(--main-bg-color);
  height: 100%;
  box-sizing: border-box;
}

input::placeholder {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: black;
}

button {
  display: flex;
  align-items: center;
  width: 132px;
  font-size: 18px;
  font-weight: 700;
  height: 47px;
  padding: 15px 16px;
  background-color: #007bff;
  color: white;
  border: 1px solid var(--main-color);
  border-radius: 0px 15px 15px 0px;
}

button,
a {
  cursor: pointer;
}

button .text {
  display: inline;
}

button .fa-solid {
  display: none;
}

/*********header-filter********/

.header-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  line-height: 50px;
}

.header-filter h2 {
  font-size: 18px;
  margin: 0;
}

.header-main-container-filter {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.header-first-container-filter,
.header-second-container-filter {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 19px;
  border-radius: 50px;
  border: 2px solid var(--grey-bg-color);
  color: var(--main-color);
  white-space: nowrap;
}

.header-main-container-filter p{
  margin: 0;
  color: black;
  font-size: 1.063em;
  font-weight: 700;
}
/****** filtre-Hover ********/

.header-first-container-filter div:hover,
.header-second-container-filter div:hover {
  background-color: var(--filter-bg-color);
}

/********disclaimer*********/
.header-disclaimer {
  display: flex;
  align-items: center;
  height: 24px;
  gap: 10px;
}

.icone-info {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  width: 24px;
  border: 1px solid #d9d9d9;
  border-radius: 50px 50px;
}

/*********main*********/

main {
  display: flex;
  flex-direction: column;
  padding: 0px 50px;
  gap: 30px;
  margin-top: 30px;
}

/****** Hebergements And Populaires ***********/
#hebergements-populaires {
  display: flex;
  gap: 40px;
}

/****** Hebergements ***********/

.hebergements-a-marseille {
  width: 67%;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  padding: 30px;
  gap: 30px;
  background-color: var(--main-bg-color);
}

/******Hébergement-title*****/

.hebergements-title h2 {
  font-size: 22px;
  margin: 0;
}

/********hebergement container card*******/

.first-container-hebergement-card,
.second-container-hebergement-card {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
}

.first-container-hebergement-card article,
.second-container-hebergement-card article {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/********* hebergement container card*********/

.card-marseille {
  display: block;
  width: 33%;
  background-color: white;
  padding-bottom: 15px;
  border-radius: 20px;
  filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
  padding: 5px;
  padding-bottom: 10px;
  text-decoration: none;
}

/*********hebergment img card ********/

.card-marseille img {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0px 0px;
}

/********* hebergement card text ********/

.card-marseille .card-content {
  display: flex;
  flex-direction: column;
  padding: 0px 15px 0px 15px;
  gap: 8px;
  margin: 0;
}

/********* hebergement card title *******/

.card-title {
  line-height: 19px;
  font-size: 16px;
  margin: 0;
}

/********** hebergement card subtitle ********/

.card-subtitle {
  font-size: 14px;
  margin: 0;
}

/********** hebergement card rating******/

.card-rating {
  color: #0065fc; /* bleu pour étoiles */
  margin: 0;
}

.neutral-star {
  color: #ccc; /* gris pour étoiles vides */
}

/********* liens afficher plus ********/

.lien-afficher-plus {
  font-weight: 700;
  font-size: 18px;
}

/****** Populaires ***********/

.populaires {
  display: flex;
  flex-direction: column;
  width: 33%;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 15px;
  background-color: var(--main-bg-color);
}

.populaires-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 22px;
  margin: 0;
}

.card-populaire .card-content {
  width: 67%;
  background-color: white;
  padding: 10px 5px 5px 15px;
}

.populaire-container-card {
  display: flex;
  flex-direction: column;
}

.card-populaire {
  display: flex;
  margin-top: 30px;
  background-color: white;
  border-radius: 20px;
  border: 5px solid white;
  filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
}

.card-populaire img {
  width: 33%;
  height: 136px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  object-fit: cover;
}

.populaire-container-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/****** activité a marseille ****/

.activité-a-marseille {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  gap: 30px;
}

.container-card-activité-marseille {
  display: flex;
  gap: 30px;
}

.container-card-activité-marseille a {
  display: flex;
  flex: 1;
}

.card-activité-marseille {
  display: flex;
  flex: 1;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.card-activité-marseille img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 15px 15px 0px 0px;
}

.card-activité-marseille h3 {
  font-size: 16px;
  padding: 20px 19px 20px 19px;
}

/******* footer ******/

footer {
  display: flex;
  background-color: var(--main-bg-color);
  margin: 50px;
}

.menu-footer {
  width: 33%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
}

.menu-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-footer h2 {
  margin: 0px;
  font-size: 18px;
}

.menu-footer li {
  margin-top: 15px;
}

footer a {
  font-size: 16px;
}
/* Le code ci-dessous correspond à la version responsive uniquement */

/****** Media queries ***********/
/* Medium devices (tablets, less/equal than 1024px) */
@media (max-width: 1024px) {
  .body {
    margin: 0;
  }

  /*********** nav ********/

  /*********** header *********/

  .header-filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-filter p{
    font-size: 1em;
  }

  /*******hebergement-populaire******/

  #hebergements-populaires {
    flex-direction: column;
    gap: 50px;
  }

  .hebergements-a-marseille {
    width: 100%;
    box-sizing: border-box;
  }
  /**********populaire**********/

  .populaires {
    background-color: var(--main-bg-color);
    width: 100%;
  }

  .populaire-container-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .populaire-container-card a {
    width: 30%;
  }

  .card-populaire img {
    height: 146px;
  }

  /******activité******/
  .container-card-activité-marseille {
    align-items: stretch;
  }
  .card-activité-marseille img {
    height: 200px;
  }

  /******footer*******/
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
  /*......nav....... */
  nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .logo {
    height: 79px;
    padding: 30px 10px 30px 10px;
  }

  /******* menu-bar **********/

  #menu-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 0px;
    width: 100%;
  }

  #menu-bar li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
  }
  #menu-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 0px 7px 0px;
    border-bottom: 2px solid transparent;
    width: 100%;
  }

  #menu-bar a:hover {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
    border-top: 2px solid transparent;
  }
  /********header**********/
  header {
    margin-top: 30px;
    padding: 0px 20px;
  }

  /******formulaire***********/
 
/*fieldset + input {
    width: 100%;
  }

input#logo-geo {
  width: 302px;
}
*/

input#logo-geo {
  width: 100%;
  max-width: 277px !important;
}

  label{
  width:50px;
  }

  button {
    width: 49px !important;
    height: 49px;
    padding: 15px 16px;
    border-radius: 20px;
    border: 1px solid var(--main-color);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  }

  button .button-text {
    display: none;
  }

  button .fa-solid {
    display: inline;
    color: white;
  }
  /******header-filter********/

  .header-main-container-filter {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap:20px;
  }

  .header-first-container-filter,
  .header-second-container-filter {
    display: flex;
    flex-direction: row;
    gap:10px
  }

  .filter-button p{
    font-size: clamp(12px, 3.75vw, 14px)
  }

  .filter-button {
    flex:1;
    max-width: 270px;
    min-width:130px;
    box-sizing: border-box;
  }


  /****** header-disclaimer******/

  .header-disclaimer p {
    width: 301px;
    height: 38px;
  }

  /****** main **********/

  main {
    padding: 0px;
    margin-top: 0px;
    gap: 15px;
  }

  /****** hebergement-populaire *****/
  #hebergements-populaires {
    flex-direction: column-reverse;
    gap: 15px;
    padding: 0px;
    margin-top: 35px;
  }

  #hebergements-populaires section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 0px;
  }

  /*******populaire*********/

  .populaires{
    gap:15px;
  }
  .populaire-container-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .card-populaire {
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0px;
  }
  .populaire-container-card a {
    width: 100%;
  }

  .card-populaire img {
    display: block;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    width: 33%;
    height: 146px;
  }

  .card-populaire .card-content {
    width: 67%;
    height: 146px;
  }
  /******* hergement-a-marseille *********/

  .hebergements-a-marseille {
    background-color: white;
    gap:15px;
    padding: 20px;
  }

  .first-container-hebergement-card,
  .second-container-hebergement-card {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  .card-marseille {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .card-marseille img {
    width: 100%;
    height: 124px;
  }
  .card-marseille .card-content {
    padding: 0px 15px 0px 15px;
    gap: 8px;
    margin: 0;
  }

  /****** activité a marseille ****/
  #activité-a-marseille-container {
    padding: 0px;
    gap: 15px;
  }

  .container-card-activité-marseille {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
  .card-activité-marseille img {
    width: 100%;
    height: 141px;
  }

  /****** footer ******/

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    margin: 0px;
    padding: 30px;
  }

  .menu-footer {
    width: 100%;
    padding: 0px;
  }
}
