/* Définition du Viewport */
body {
    max-width: 1400px;
    margin: auto;
    font-family: 'Raleway', sans-serif;
    padding: 0 35px 0px 35px;
  }

  /* Définitions générales */

h1, h2, h3, p {
  margin: 0px;
}

h1 {
  font-size: 22px;
  font-weight: 700;
}

h2, label, input {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

h3 {
  font-size: 16px;
  font-weight: 700;
}

p,
.nav-links a {
  font-size: 16px;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #000000;
}

/* Définition du HEADER */

nav {
  display: flex;
  height: 100px;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  height: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 162px;
}

.nav-link:hover {
  color: #0065FC;
  font-weight: 500;
  border-top: #0065FC solid 2px;

}

.logo-booki {
  width: 61px;
  height: 19px;
}

.header-title {
  margin: 16px 0 4px 0;
}

/* Définition du FORM */

/* Filtre par nom de la ville */

form {
  margin: 20px 0 0 0;
}

.city-search-filter {
  display: flex;
}

.ico-search-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F2F2F2;
  border-radius: 15px 0 0 15px;
  width: 50px;
  height: 50px;
}

#wanted-city {
  width: 235px;
  height: 50px;
  border: solid 1px #F2F2F2;
  padding-left: 15px;
}

/* Définition de l'aspect du boutton CITY-SEARCH-SUBMIT en Desktop */

.city-search-submit-button-desktop {
  width: 135px;
  height: 50px;
  background-color: #0065FC;
  color: #FFFFFF;
  border-radius: 0 15px 15px 0;
  border: none;
}

/* Définition de l'aspect du boutton CITY-SEARCH-SUBMIT en Mobile */

.city-search-submit-button-mobile {
  font-family: FontAwesome, sans-serif;
  width: 50px;
  height: 50px;
  background-color: #0065FC;
  color: #FFFFFF;
  border-radius: 0 15px 15px 0;
  border: none;
  display: none;
}

/* Filtre par famille */

.family-filter {
  display: flex;
  align-items: center;
  margin: 32px 0 0 10px;
  height: 46px;
}

.family-links-container {
  display: flex;
  height: 100%;
  width: 100%;
  margin-left: 2%;
  gap: 3%;
}

.family-filter-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 15px 0 15px;
  font-size: 17px;
  font-weight: 700;
  border: solid 2px #F2F2F2;
  border-radius: 25px;
}

.family-filter-link:hover {
  background-color: #DEEBFF;
}

.family-filter i {
  padding: 5px;
  color: #0065FC;
}

/* Définition de la description du Filter dans FORM */

.filter-description {
  display: flex;
  margin: 32px 0 0 5px;
}

.filter-description-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0065FC;
  border: solid 1px #F2F2F2;
  border-radius: 25px;
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.filter-description-text {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

/* Définition du MAIN */

main {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 626px;
  margin-top: 37px;
}

/* Définition de la SECTION "Hébergements à Marseille" */

.hosting-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 65%;
  height: 100%;
  background-color: #F2F2F2;
  border-radius: 20px;
}

.hosting-title {
  display: flex;
  align-items: center;
  height: 90px;
  width: 90%;
}

.hosting-card-container {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  height: 428px;
  width: 90%;
  flex-wrap: wrap;
}

.hosting-show-more {
  display: flex;
  align-items: center;
  height: 90px;
  width: 90%;
}

.hosting-card {
  display: flex;
  flex-direction: column;
  height: 190px;
  width: 29%;
  border: solid 5px #FFFFFF;
  background-color: #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 20px;
}

.hosting-card a {
  height: 100%;
}

.hosting-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.hosting-card img {
  height: 55%;
  width: 100%;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
}

.star-blue {
  color: #0065FC;
  font-size: 12px;
}

.star-grey {
  color: #F2F2F2;
  font-size: 12px;
}

.card-price-description {
  font-size: 14px;
  font-weight: 400;
}

.hosting-card-description {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 90%;
  height: 40%;
  margin-left: 5%;
}
/* Définition du ASIDE "Les plus populaires" */

aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 31%;
  height: 626px;
  background-color: #F2F2F2;
  border-radius: 20px;
}

.popular-card-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: auto;
  gap: 35px;
}

.popular-hosting-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  height: 90px;
}

.popular-hosting-title i {
 color: #0065FC;
}

.popular-card {
  display: flex;
  flex-direction: row;
  height: 135px;
  width: auto;
  border: solid 5px #FFFFFF;
  background-color: #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 20px;
}

.popular-card a {
  display: flex;
  width: 100%;
}

.popular-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.popular-card img {
  height: 100%;
  width: 32%;
  border-radius: 20px 0 0 20px;
  object-fit: cover;
}

.popular-card-description {
  display: flex;
  flex-direction: column;
  width: 60%;
  justify-content: space-around;
  margin-left: 4%;
}

.popular-card-price-description {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 400;
}

/* Définition de la SECTION "Activités à Marseille" */

.activity-container {
  display: flex;
  flex-direction: column;
  height: 493px;
  margin-top: 60px;
}

.activity-card-container {
  display: flex;
  justify-content: space-between;
  height: auto;
  margin-top: 23px;
}

.activity-card {
  display: flex;
  flex-direction: column;
  height: 445px;
  width: 22%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 20px;
}

.activity-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.activity-card img {
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  height: 85%;
  width: 100%;
  overflow: hidden;
}

.activity-card a {
  height: 100%;
}

.activity-card-title {
  display: flex;
  height: 56px;
  align-items: center;
  margin: 0 10% 0 10%;
}

/* Définition du FOOTER */

footer {
  display: flex;
  margin-top: 60px;
  padding: 45px 0 0 70px;  
  height: 175px;
  background-color: #F2F2F2;
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 30%;
}

.footer-title {
  margin-bottom: 20px;
}

.footer-container a {
  margin-bottom: 12px;
}

/* Définition du RESPONSIVE */

/* Définition du RESPONSIVE pour les tablettes */

@media screen and (min-width: 768px) and (max-width: 991px) {

/* Définition du MAIN pour les tablettes */

  main {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  width: 100%;
  margin-top: 37px;
}

/* Définition du FORM pour les tablettes */

.family-filter {
  height: auto;
}

.family-links-container {
  flex-wrap: wrap;
  height: auto;
  row-gap: 17px;
}

.family-filter-link {
  height: 46px;
}

/* Définition de la SECTION "Hosting" pour les tablettes */

.hosting-container {
  width: 100%;
}

/* Définition du ASIDE "Popular-hosting" pour les tablettes */

aside {
  width: 100%;
  height: auto;
  margin-top: 53px;
  padding-bottom: 50px;
}

.popular-card-container {
  flex-direction: row;
  width: 90%;
}

.popular-card {
  width: 100%;
}

.popular-hosting-title {
  width: 90%;
}

.popular-card-description h3 {
  font-size: 14px;
}

/* Définition de la SECTION "Activity" pour les tablettes */

.activity-container {
  height: 360px;
}

.activity-card-container {
  height: 100%;
}

.activity-card {
  height: 100%;
}

.activity-card img {
  height: 80%;
}

.activity-card-title {
  height: 56px;
}

/* Définition du FOOTER pour les tablettes */

footer {
  margin-top: 100px;
}

}

/* Définition du RESPONSIVE pour les mobiles */

@media screen and (max-width: 767px) {

/* Définition générale */

body {
  padding: 0;
  height: auto;
}

form,
header h1,
header p {
  padding: 0 20px 0px 20px;
}

/* Définition du HEADER (NAV) en MOBILE */

nav {
  flex-direction: column;
  margin-top: 20px;
  width: 100%;
}

.nav-links {
  width: 100%;
}

.nav-link {
  width: 50%;
}

.nav-link:hover {
  color: #0065FC;
  font-weight: 500;
  border-bottom: #0065FC solid 2px;
  border-top: none;

}

/* Définition du FORM en MOBILE */

  /* Définition de l'aspect du boutton CITY-SEARCH-SUBMIT en MOBILE */

  .city-search-submit-button-desktop {
    display: none;
    }
    
  .city-search-submit-button-mobile {
    display: block;
    }

.family-filter {
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  gap: 14px;
  margin-left: 0;
}

.family-links-container {
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
  margin: 0;
  row-gap: 17px;
}

.family-filter-link {
  padding: 0;
  font-size: 11px;
  height: 46px;
  width: 150px;
}

.family-filter-link i {
  font-size: 17px;
  margin-right: 5px;
}

/* Définition du MAIN en MOBILE */

main {
  flex-direction: column-reverse;
  align-items: center;
  height: auto;
}

/* Définition du ASIDE "Popular-hosting" en MOBILE */

aside {
  width: 100%;
  border-radius: 0;
}

.popular-hosting-title {
  width: 90%;
  
}

.popular-card-container {
  width: 90%;
}

.popular-card {
  width: 98%;
}

/* Définition de la SECTION "Hosting" en MOBILE */

.hosting-container {
  width: 100%;
  height: 100%;
  margin-bottom: 75px;
  border-radius: 0;
  background-color: #FFFFFF;
}

.hosting-title {
  justify-content: flex-start;
}

.hosting-card-container {
  height: 100%;
  margin: 0;
  gap: 15px;
}

.hosting-card {
  width: 100%;
}

.hosting-show-more {
  display: none;
}

/* Définition de la SECTION "Activity" en MOBILE */

.activity-container {
  width: auto;
  height: auto;
  margin: 0 0 25px 20px;
}

.activity-card-container {
  width: 94%;
  flex-direction: column;
}

.activity-card {
  width: 100%;
  height: 190px;
  margin-bottom: 25px;
}

.activity-card img {
  height: 67%;
}

.activity-card-title {
  height: 56px;
}

/* Définition du FOOTER en MOBILE */

footer {
  width: auto;
  height: auto;
  flex-direction: column;
  margin: 0;
  padding: 20px 0 0 20px;
}

.footer-container {
  width: 90%;
  height: 150px;
  margin: 0;
}

}