/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=League+Spartan:wght@100..900&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Mallanna&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Puritan:ital,wght@0,400;0,700;1,400;1,700&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* GENERAL */
:root {
  --main-color: #ff914d;
  --second-color: #100f0d;
  --third-color: #efe1ce;
  --fourth-color: #f5f3f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-style: none;
}

p {
  color: var(--second-color);
}

/* NAVBAR */

.off-screen-menu {
  background-color: var(--second-color);
  height: 13vh;
  max-width: 450px;
  position: fixed;
  top: 0;
  left: -450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 0 20px 0;
  margin-top: 5rem;
  font-size: 1rem;
  transition: 0.5s ease;
}

.off-screen-menu > ul > li {
  padding: 0.5rem;
}

.off-screen-menu ul > li > a {
  color: var(--fourth-color);
}

.off-screen-menu > li > a:hover {
  text-decoration: none;
}

.off-screen-menu.active {
  left: 0;
}

nav {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 0 1rem;
  box-shadow: 0px 0px 29.1px rgba(0, 0, 0, 0.035),
    0px 0px 232px rgba(0, 0, 0, 0.07);
  width: 100%;
  height: 110px;
}

.off-screen-menu {
  background-color: #fff;
  height: 13vh;
  max-width: 450px;
  position: fixed;
  top: 0;
  left: -450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 0 20px 0;
  margin-top: 10rem;
  font-size: 1rem;
  transition: 0.5s ease;
}

.off-screen-menu > ul > li {
  padding: 0.5rem;
}

.off-screen-menu ul > li > a {
  color: var(--second-color);
}

.off-screen-menu > li > a:hover {
  text-decoration: none;
}

.off-screen-menu.active {
  left: 0;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  height: 10rem;
  width: 20rem;
  position: relative;
}

.burger-menu > p {
  margin-left: 0.5rem;
}

.burger-menu > span {
  height: 5px;
  width: 2.7rem;
  background-color: var(--main-color);
  border-radius: 25px;
  margin-left: 2rem;
  margin-top: 0.5rem;
  transform: translate(-50%, -50%);
  transition: 0.5s ease;
  cursor: pointer;
}

.titleLogo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 190;
  font-size: 1.5rem;
}

.titleLogo > p > span {
  color: var(--main-color);
  font-weight: 400;
}

.lien-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  gap: 0.4rem;
}

.lien-nav > li > a {
  color: var(--second-color);
  padding: 0.5rem 2rem 0.5rem 2rem;
  font-size: 1rem;
}

.lien-nav > li:nth-child(1) > a {
  border: 2px solid var(--second-color);
}

.lien-nav > li:nth-child(2) > a {
  color: #fff;
  background-color: var(--main-color);
  padding: 0.5rem 2.5rem 0.5rem 2.5rem;
}

.lien-nav > li > a:hover {
  text-decoration: underline;
}

.logo {
  height: 4rem;
}

/* HEADER */
header {
  display: flex;
  justify-content: flex-start;
  background-image: url("newImages/headerBG.png");
  height: 17.4rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding: 1rem;
  width: 0 auto;
  margin: 2rem 5rem 0rem 5rem;
}

.leftHeader {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.leftHeader > h2 {
  font-family: "Poppins", sans-serif;
  font-style: none;
  text-decoration: none;
  font-size: 2rem;
  margin-left: 1rem;
}

.leftHeader > h2 > span {
  color: var(--main-color);
}

.btns-search {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 5% / 50%;
}

.search-input {
  border: 0px;
}

.btns-search > button {
  margin-left: 2rem;
  background-color: var(--main-color);
  border: none;
  border-radius: 20% / 50%;
  margin-left: 18rem;
  padding: 1rem 1.5rem 1rem 1.5rem;
}

.btns-search > button > a {
  text-decoration: none;
  font-style: none;
  color: #fff;
}

/* VILLE */

.villes > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 5rem;
}

h2 {
  text-align: center;
  font-weight: 200;
  font-size: 2.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

.btncities {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  height: 40rem;
  max-width: 35rem;
  min-width: 26rem;
  background-size: 7rem;
  color: var(--fourth-color);
  font-size: 4rem;
  text-shadow: 1px 1px 2px var(--second-color);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  -webkit-text-stroke-width: 0.2px;
  -webkit-text-stroke-color: black;
  border: 0px;
  border-radius: 2px;
}

.btncities > p {
  color: white;
  font-weight: 200;
}

.btncities > p::first-letter {
  color: var(--main-color);
  font-weight: 500;
}

/* .btncities:focus{
  filter: none;
  opacity: 1;
}

.btncities:not(:focus) {
  filter: blur(2px);  
  opacity: 0.8;  
} */

.Marseille {
  /* background-image: url(marseille-7352728_1280.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)),
    url("marseille-7352728_1280.jpg");
}

.Paris {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)),
    url(paris-4563750_1280.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.Strasbourg {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)),
    url(Strasbourgchurch-625211_1280.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.Lyon {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)),
    url(Lyon-basilica-2382830_1280.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* FILTRE */
.filtre {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: flex-start;
  padding: 2rem 3rem;
}

.search-input {
  display: flex;
  width: 35%;
}

/* CARDS */
.stars {
  display: flex;
  justify-content: center;
  align-items: center;
}

#sort-price-button {
  background: rgb(221, 220, 220);
  border-color: transparent;
  padding-bottom: 8px;
  padding: 10px 12px;
  padding-top: 8px;
  border-radius: 30px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  white-space: nowrap;
}

.container-stars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* flex-wrap: wrap; */
  /* justify-content: center; */
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  overflow-y: scroll;
  width: 25%;
  height: 40rem;
}

.card > a {
  text-decoration: underline;
}

.card > a:hover {
  color: var(--main-color);
}

.sectionCardsTitle {
  font-size: 2.5rem;
  font-weight: 200;
}

.card {
  max-width: 28rem;
  height: 14rem;
  transition: all 0.3s;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

dialog {
  top: 25%;
  left: 40%;
  max-width: 26rem;
  min-height: 32rem;
  border: 0px;
}

.savoirPlus {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.savoirPlus > img {
  max-height: 12rem;
  object-fit: cover;
}

.savoirPlus > img:nth-child(2) {
  max-width: 4rem;
  object-fit: cover;
  align-self: flex-end;
}

.close_Modal {
  border: 0px;
  background-color: #fff;
  align-self: flex-end;
  cursor: pointer;
  height: 2rem;
  padding-top: 1rem;
  margin-right: -0.6rem;
  color: var(--main-color);
  font-weight: bolder;
  font-size: 1.3rem;
}

/* From Uiverse.io by vinodjangid07 */ 
.desc_btn {
  margin-top: 1rem;
  width: 130px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(15, 15, 15);
  border: none;
  color: white;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.103);
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
  font-size: 0.8rem;
  align-self: center;
}

.desc_btn::before {
  width: 130px;
  height: 130px;
  position: absolute;
  content: "";
  background-color: white;
  border-radius: 50%;
  left: -100%;
  top: 0;
  transition-duration: .3s;
  mix-blend-mode: difference;
}

.desc_btn:hover::before {
  transition-duration: .3s;
  transform: translate(100%,-50%);
  border-radius: 0;
}

.desc_btn:active {
  transform: translate(5px,5px);
  transition-duration: .3s;
}

#mapdesc {
  height: 8rem;
}

/* .card.expanded {
  width: 13rem; 
  height: 22rem; 
  padding: 1rem; 
  background-color: var(--third-color);
}

.card.expanded .card-des {
  font-size: 1rem; 
  overflow: visible;
}

.card.expanded > h3 {
  font-size: 1.3rem;
}

.card.expanded img {
  width: 100%;
  max-height: auto;
} */

.card:hover {
  transform: translateY(-10px);
  box-shadow: 4.5px 4.5px 7.2px rgba(0, 0, 0, 0.024),
    12.5px 12.5px 19.9px rgba(0, 0, 0, 0.035),
    30.1px 30.1px 47.9px rgba(0, 0, 0, 0.046),
    100px 100px 159px rgba(0, 0, 0, 0.07);
}

.card-image-container {
  width: 100%;
  height: 50%;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  /* overflow: hidden; */
}

.card-title {
  font-size: 1.3rem;
  font-weight: 500;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  text-align: left;
}

.container-stars::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.container-stars::-webkit-scrollbar-track {
  background: #fff;
}

/* Handle */
.container-stars::-webkit-scrollbar-thumb {
  background: #ff914d;
}

/* Handle on hover */
.container-stars::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#map {
  height: 40rem;
  min-width: 70%;
}

/* FOOTER */
footer {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  background-color: var(--main-color);
  height: 2rem;
}

footer > p {
  padding-top: 0.5rem;
}

.brand {
  color: var(--fourth-color);
  font-size: 0.8rem;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1060px) {
  .burger-menu > span {
    width: 2.5rem;
  }

  .burger-menu {
    height: 5rem;
    width: 10rem;
    justify-content: center;
  }

  .burger-menu > p {
    margin-left: 0.8rem;
    font-size: 0.8rem;
  }

  .titleLogo {
    margin-right: 5rem;
  }

  .titleLogo > p {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 300;
  }

  .titleLogo > p > span {
    text-align: center;
    font-weight: 00;
  }

  .lien-nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .lien-nav > li:nth-child(1) > a {
    font-size: 0.8rem;
    border: none;
    padding: 0;
  }
  .lien-nav > li:nth-child(2) > a {
    font-size: 0.8rem;
    background-color: #fff;
    color: #ff914d;
    padding: 0;
  }

  header {
    margin: 0rem;
    width: 100%;
  }

  .leftHeader > h2 > span {
    font-weight: 500;
  }

  h2 {
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  .btns-search {
    max-width: 25rem;
    padding: 0.5rem;
  }

  .btns-search > button {
    margin-left: 4rem;
    padding: 1rem;
  }

  .search-input {
    min-width: 13rem;
  }

  .villes {
    display: flex;
    justify-content: center;
  }

  .villes > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    margin: 0;
  }

  .btncities {
    min-height: 12rem;
    max-height: 1rem;
    min-width: 12rem;
    max-width: 14rem;
    font-size: 1.5rem;
    text-shadow: none;
  }

  .btncities > p {
    color: white;
    font-weight: 400;
  }

  .filtre {
    padding: 1rem;
  }

  .stars {
    flex-direction: column;
  }

  .container-stars {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: scroll;
    width: 95%;
    height: 15rem;
  }
  #map {
    height: 30rem;
    width: 100%;
  }

  .card {
    min-width: 14rem;
    max-width: 16rem;
    height: 13rem;
  }

  dialog {
    top: 25%;
    left: 10%;
    max-width: 22rem;
    min-height: 18rem;
    border: 0px;
  }
}
