/* Animations */


@keyframes opacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


.js-scroll {
  opacity: 0;
  transition: opacity 200ms;
}

.js-scroll.scrolled {
  opacity: 1;
}

.scrolled.scroll-opacity {
  animation: opacity 1s;
  animation-fill-mode: both;
}

.scrolled.scroll-scale-in-hor-center {
  -webkit-animation: scale-in-hor-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-hor-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes scale-in-hor-center {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes scale-in-hor-center {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.scrolled.scroll-slideinleft {
  animation: slideInLeft 0.5s;
  animation-fill-mode: both;
}

@keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.scrolled.scroll-slideinright {
  animation: slideInRight 0.5s;
  animation-fill-mode: both;
}

main {
  margin-top: 150px;

}

html body {
  background-color: #FFFFFF;
}


/* Image Gallery */

.box-location-image {
  display: flex;
  margin-left: 7vw;
}

.flex-box-location-image {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.image1 {
  object-fit: cover;
  width: 57.5vw;
  animation: opacity 1s ease-in 0s;
  animation-fill-mode: both;
}

.image2 {
  object-fit: cover;
  width: 30vw;
  margin-bottom: 8px;
  animation: opacity 1s ease-in 0.5s;
  animation-fill-mode: both;
}

.image3 {
  object-fit: cover;
  width: 30vw;
  animation: opacity 1s ease-in 0.5s;
  animation-fill-mode: both;
}

/* Title */
.box-title {
  width: fit-content;
  margin-left: 7vw;
  margin-top: 50px;
  animation: slideInLeft 1s ease-in 1S;
  animation-fill-mode: both;
}

.flex-title {
  display: flex;
  align-items: center;
}

.box-title h1 {
  font-weight: 700;
  font-size: 40px;
  text-transform: uppercase;
  color: var(--title-color);

}

.price {
  font-weight: 600;
  font-size: 22px;
  margin-left: 10px;
  text-transform: uppercase;
  color: var(--main-color);

}

.box-ville {
  display: flex;
  align-items: center;
}

.box-title svg {
  width: 20px;
  fill: var(--main-color);
}

.ville {
  color: var(--main-color);
  font-weight: 600;
  font-size: 28px;
  margin-left: 8px;
  text-transform: uppercase;
}

.retour-box {
  width: 70px;
  height: 70px;
  background-color: var(--main-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  margin-left: 8vw;
  top: 180px;
  animation: opacity 1s ease-in 1s;
  animation-fill-mode: both;
}

.retour-box:hover {
  opacity: 80%;
  cursor: pointer;
}

.retour-box svg {
  fill: #fff;
  scale: 1;
  width: 30px;
}

/* Description */
.box-description {
  margin-left: 7vw;
  margin-top: 40px;
}

h2 {
  font-weight: 700;
  font-size: 30px;
  color: var(--title-color);
  text-transform: uppercase;
}

h3 {
  font-weight: 500;
  font-size: 20px;
  color: #636060;
  text-transform: uppercase;
}

.box-description p {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: var(--content);
  width: 40vw;
  margin-top: 25px;
}

#more {
  display: none;
}

.read-more {
  text-decoration: none;
  background: none;
  border: none;
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--main-color);
  margin-top: 10px;
  cursor: pointer;
}

/* Location */
.box-location {
  width: 600px;
  height: 180px;
  background: #FBFBFB;
  border-radius: 6px;
  position: absolute;
  margin-top: 0px;
  right: 4vw;
  overflow: hidden;
}

.rental-flex {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.rental-button {
  padding: 25px 260px;
  background-color: var(--main-color);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 18px;
  border-radius: 3px;
  transition: .1s;
}

.rental-button:hover {
  opacity: 0.8;
}

.rental-redirection {
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  margin-top: 10px;
  padding: 0px 25px;
  color: var(--content);
}

/* Avis */
.box-avis {
  width: 600px;
  height: auto;
  padding: 25px 0;
  background-color: #FBFBFB;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  position: absolute;
  margin-top: 200px;
  right: 4vw;
}

.box-avis-title {
  display: flex;
  align-items: center;
  margin-left: 2vw;
}

.avis-title {
  font-weight: 700;
  font-size: 21px;
  color: var(--title-color);
}

.box-avis svg {
  margin-left: 5px;
  width: 18px;
  fill: var(--title-color);
}

.container-avis {
  margin-top: 32px;
  width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#avis-content {
  animation: ease-in-out .1s;
}

.container-top-avis {
  display: flex;
  justify-content: space-between;
}

.container-top-avis .first-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.name-avis {
  font-size: 18px;
  color: var(--title-color);
  font-weight: 600;
}

.date-avis {
  font-size: 16px;
  color: #636060;
  font-weight: 400;
}

.text-avis {
  margin-top: 20px;
  color: var(--content);
  font-size: 16px;
  font-style: italic;
}

/* Caractéristique */
.box-caracteristique {
  padding: 60px 0px;
  background-color: #FBFBFB;
  margin-top: 50px;
}

.box-caracteristique h2 {
  margin-left: 7vw;
  margin-top: 0px;
}

.box-caracteristique h3 {
  margin-left: 7vw;
}

.seemore-cara {
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  float: right;
  margin-right: 5vw;
  margin-top: -50px;
  color: var(--main-color);
}

.card-caracteristiques {
  width: 120px;
  display: flex;
  flex-direction: column;
}

.caracteristiques {
  margin-left: 7vw;
  margin-top: 40px;
  width: 90vw;
  display: flex;
  justify-content: space-between;
}

.icon {
  width: 90px;
  height: 90px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: background-color 1s;
}

.icon:hover {
  background-color: var(--main-color);
}

.icon:hover svg {
  fill: #FFFFFF;
}

.icon svg {
  fill: var(--main-color);
  width: 52px;
  transition: .1s;
}

.ruler svg {
  width: 22px;
}

.title-caracteristique {
  font-weight: 500;
  font-size: 18px;
  margin-top: 10px;
  color: #2D2D2D;
}

.text-caracteristique {
  font-weight: 400;
  font-size: 16px;
  color: #2C3F50;
}


/*Popup*/
.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  transition: .64s ease-in-out;

}

.popup-inner {
  position: relative;
  bottom: -100vw;
  right: -100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55vw;
  height: 80vh;
  background-color: #fff;
  transform: rotate(32deg);
  transition: .64s ease-in-out;
  border-radius: 5px;
  overflow: hidden;
  flex-direction: column;
}

.title-popup {
  margin-top: -60px;
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.popup:target {
  visibility: visible;
  opacity: 1;
}

.popup:target .popup-inner {
  bottom: 0;
  right: 0;
  transform: rotate(0);
}

.closepopup {
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  font-weight: 400;
  ;
  fill: var(--title-color);
  text-align: center;
  cursor: pointer;
  text-decoration: none;

}

.closepopup svg {
  scale: 1;
  width: 35px;
  height: 35px;
}

.popup-caracteristiques .icon {
  margin-top: 10px;

}

.popup-caracteristiques {
  width: 45vw;
  display: flex;
  flex-wrap: wrap;
}

/* Maps */
.box-maps {
  margin-left: 7vw;
  margin-top: 50px;
}

.maps {
  margin-top: 25px;
  width: 85vw;
  height: 500px;

}

.bold {
  font-weight: 700;
}

@media screen and (min-width: 0px) and (max-width: 350px) {
  .image1 {
    width: 88.5vw;
  }

  .image2,
  .image3 {
    display: none;
  }

  /* Title */
  .box-title h1 {
    font-size: 25px;
    width: 80%;
  }

  .flex-title {
    display: block;

  }

  .price {
    margin: 0;
    font-size: 20px;
    margin-top: 10px;
  }

  .box-title svg {
    display: none;
  }

  .ville {
    display: none;
  }

  .retour-box {
    width: 40px;
    height: 40px;
    top: 160px;
    margin-left: 8vw;
  }

  .retour-box svg {
    fill: #fff;
    scale: 1;
    width: 20px;
  }

  /* Description */
  .box-description {
    margin-left: 7vw;
    margin-top: 40px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 15px;
    padding-right: 55px;
  }

  .box-description p {
    font-size: 14px;
    width: 80vw;
    line-height: 20px;

  }

  .read-more {
    font-size: 14px;
  }

  /* Location */
  .box-location {
    width: 89vw;
    height: 160px;
    margin-top: 20px;
    margin-left: 7vw;
    position: initial;
  }

  .rental-button {
    padding: 20px 34vw;
    font-size: 16px;
  }

  .rental-redirection {
    font-size: 13px;
    padding: 0px 15px;
    margin-bottom: 20px;
  }

  /* Avis */
  /* Avis */
  .box-avis {
    position: relative;
    width: 90vw;
    margin-top: 20px;
    display: block;
    margin: 0 auto;
    right: 0;
    margin-top: 20px;
  }

  .box-avis-title {
    margin-left: 5vw;
  }

  .avis-title {
    font-size: 20px;
  }

  .box-avis svg {
    width: 20px;
  }

  .container-avis {
    margin-top: 24px;
    width: 80%;
  }

  .container-top-avis {
    flex-direction: column;
    gap: 16px;
  }

  .container-top-avis .first-content {
    gap: 16px;
  }

  .container-top-avis .first-content img {
    display: none;
  }

  .name-avis {
    font-size: 17px;
  }

  .date-avis {
    font-size: 14px;
  }

  .text-avis {
    margin-top: 20px;
    font-size: 14px;
  }


  /* Caractéristique */
  .box-caracteristique {
    padding: 60px 0px;
    margin-top: 50px;
  }

  .seemore-cara {
    font-size: 15px;
    float: none;
    margin: 0;
    margin-left: 7vw;
  }

  .card-caracteristiques {
    width: 90px;
    margin-right: 25px;
    margin-bottom: 20px;
  }

  .caracteristiques {
    margin-top: 40px;
    width: 90vw;
    height: 420px;
    overflow: hidden;
    justify-content: start;
    flex-wrap: wrap;
  }

  .icon {
    width: 70px;
    height: 70px;

  }

  .icon svg {
    width: 32px;
  }

  .ruler svg {
    width: 15px;
  }

  .title-caracteristique {
    font-size: 16px;
  }

  .text-caracteristique {
    font-size: 14px;
  }

  /* Maps */

  .maps {
    height: 300px;

  }
}

@media screen and (min-width: 350px) and (max-width: 500px) {
  .image1 {
    width: 88.5vw;
  }

  .image2,
  .image3 {
    display: none;
  }

  /* Title */
  .box-title h1 {
    font-size: 25px;
    width: 80%;
  }

  .flex-title {
    display: block;

  }

  .price {
    margin: 0;
    font-size: 20px;
    margin-top: 10px;
  }

  .box-title svg {
    display: none;
  }

  .ville {
    display: none;
  }

  .retour-box {
    width: 40px;
    height: 40px;
    top: 160px;
    margin-left: 8vw;
  }

  .retour-box svg {
    fill: #fff;
    scale: 1;
    width: 20px;
  }

  /* Description */
  .box-description {
    margin-left: 7vw;
    margin-top: 40px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 15px;
    padding-right: 55px;
  }

  .box-description p {
    font-size: 14px;
    width: 80vw;
    line-height: 20px;

  }

  .read-more {
    font-size: 14px;
  }

  /* Location */
  .box-location {
    width: 89vw;
    height: 160px;
    margin-top: 20px;
    margin-left: 7vw;
    position: initial;
  }

  .rental-button {
    padding: 20px 34vw;
    font-size: 16px;
  }

  .rental-redirection {
    font-size: 13px;
    padding: 0px 15px;
    margin-bottom: 20px;
  }

  /* Avis */
  .box-avis {
    position: relative;
    width: 90vw;
    margin-top: 20px;
    display: block;
    margin: 0 auto;
    right: 0;
    margin-top: 20px;
  }

  .box-avis-title {
    margin-left: 5vw;
  }

  .avis-title {
    font-size: 20px;
  }

  .box-avis svg {
    width: 20px;
  }

  .container-avis {
    margin-top: 48px;
    width: 80%;
  }

  .container-top-avis {
    flex-direction: column;
    gap: 16px;
  }

  .container-top-avis .first-content {
    gap: 16px;
  }

  .name-avis {
    font-size: 17px;
  }

  .date-avis {
    font-size: 15px;
  }

  .text-avis {
    margin-top: 20px;
    font-size: 15px;
  }

  /* Caractéristique */
  .box-caracteristique {
    padding: 60px 0px;
    margin-top: 50px;
  }

  .seemore-cara {
    font-size: 15px;
    float: none;
    margin: 0;
    margin-left: 7vw;
  }

  .card-caracteristiques {
    width: 90px;
    margin-right: 25px;
    margin-bottom: 20px;
  }

  .caracteristiques {
    margin-top: 40px;
    width: 90vw;
    height: 420px;
    overflow: hidden;
    justify-content: start;
    flex-wrap: wrap;
  }

  .icon {
    width: 70px;
    height: 70px;

  }

  .icon svg {
    width: 32px;
  }

  .ruler svg {
    width: 15px;
  }

  .title-caracteristique {
    font-size: 16px;
  }

  .text-caracteristique {
    font-size: 14px;
  }

  /* Maps */

  .maps {
    height: 300px;

  }
}

@media screen and (min-width: 501px) and (max-width: 820px) {
  .image1 {
    width: 88.5vw;
  }

  .image2,
  .image3 {
    display: none;
  }

  /* Title */
  .box-title h1 {
    font-size: 28px;
    width: 50%;
  }

  .price {
    font-size: 20px;

  }

  .box-title svg {
    width: 16px;
  }

  .ville {
    font-size: 18px;
  }

  .retour-box {
    width: 50px;
    height: 50px;
    top: 160px;
    margin-left: 9vw;
  }

  .retour-box svg {
    fill: #fff;
    scale: 1;
    width: 20px;
  }

  /* Description */
  .box-description {
    margin-left: 7vw;
    margin-top: 40px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 16px;
  }

  .box-description p {
    font-size: 14px;
    width: 80vw;

  }

  .read-more {
    font-size: 16px;
  }

  /* Location */
  .box-location {
    width: 89vw;
    height: 160px;
    margin-top: 20px;
    margin-left: 7vw;
    position: initial;
  }

  .rental-button {
    padding: 20px 38vw;
    font-size: 16px;
  }

  .rental-redirection {
    font-size: 14px;
    padding: 0px 15px;
    margin-bottom: 20px;
  }

  /* Avis */
  .box-avis {
    position: relative;
    width: 90vw;
    margin-top: 20px;
    display: block;
    margin: 0 auto;
    right: 0;
    margin-top: 20px;
  }

  .box-avis-title {
    margin-left: 5vw;
  }

  .avis-title {
    font-size: 21px;
  }

  .container-avis {
    margin-top: 48px;
    width: 80%;
  }

  /* Caractéristique */
  .box-caracteristique {
    padding: 60px 0px;
    margin-top: 50px;
  }

  .seemore-cara {
    font-size: 15px;
  }

  .card-caracteristiques {
    width: 90px;
    margin-right: 25px;
    margin-bottom: 20px;
  }

  .caracteristiques {
    margin-top: 40px;
    width: 90vw;
    overflow: hidden;
    justify-content: start;
    flex-wrap: wrap;
  }

  .icon {
    width: 70px;
    height: 70px;

  }

  .icon svg {
    width: 32px;
  }

  .ruler svg {
    width: 15px;
  }

  .title-caracteristique {
    font-size: 16px;
  }

  .text-caracteristique {
    font-size: 14px;
  }

  /* Maps */

  .maps {
    height: 300px;

  }
}

@media screen and (min-width: 820px) and (max-width: 1230px) {

  /* Title */
  .box-title h1 {
    font-size: 30px;
  }

  .price {
    font-size: 20px;

  }

  .box-title svg {
    width: 18px;
  }

  .ville {
    font-size: 22px;
  }

  .retour-box {
    width: 50px;
    height: 50px;
    top: 160px;
  }

  .retour-box svg {
    fill: #fff;
    scale: 1;
    width: 20px;
  }

  /* Description */
  .box-description {
    margin-left: 7vw;
    margin-top: 40px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .box-description p {
    font-size: 16px;
    width: 80vw;

  }

  .read-more {
    font-size: 16px;
  }

  /* Location */
  .box-location {
    width: 89vw;
    height: 160px;
    margin-top: 20px;
    margin-left: 7vw;
    position: initial;
  }

  .rental-button {
    padding: 22px 40vw;
    font-size: 16px;
  }

  .rental-redirection {
    font-size: 15px;
    padding: 0px 15px;
    margin-bottom: 20px;
  }

  /* Avis */
  .box-avis {
    position: relative;
    width: 90vw;
    margin-top: 20px;
    display: block;
    margin: 0 auto;
    right: 0;
    margin-top: 20px;
  }

  .box-avis-title {
    margin-left: 5vw;
  }

  .container-avis {
    margin-top: 48px;
  }

  /* Caractéristique */
  .box-caracteristique {
    padding: 60px 0px;
    margin-top: 50px;
  }

  .seemore-cara {
    font-size: 17px;
  }

  .card-caracteristiques {
    width: 90px;
    margin-right: 25px;
  }

  .caracteristiques {
    margin-top: 40px;
    width: 90vw;
    overflow: hidden;
    justify-content: start;
  }

  .icon {
    width: 80px;
    height: 80px;

  }

  .icon svg {
    width: 42px;
  }

  .ruler svg {
    width: 18px;
  }

  .title-caracteristique {
    font-size: 16px;
  }

  .text-caracteristique {
    font-size: 14px;
  }

  /* Maps */

  .maps {
    height: 300px;

  }
}

@media screen and (min-width: 1230px) and (max-width: 1500px) {

  /* Title */
  .box-title h1 {
    font-size: 30px;
  }

  .price {
    font-size: 18px;

  }

  .box-title svg {
    width: 18px;
  }

  .ville {
    font-size: 22px;
  }

  .retour-box {
    width: 60px;
    height: 60px;
    top: 165px;
  }

  .retour-box svg {
    fill: #fff;
    scale: 1;
    width: 25px;
  }

  /* Description */
  .box-description {
    margin-left: 7vw;
    margin-top: 40px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .box-description p {
    font-size: 16px;

  }

  .read-more {
    font-size: 16px;
  }

  /* Location */
  .box-location {
    width: 450px;
    height: 160px;
    right: 5vw;
  }

  .rental-button {
    padding: 20px 190px;
    font-size: 16px;
  }

  .rental-redirection {
    font-size: 15px;
    padding: 0px 15px;
    margin-bottom: 20px;
  }

  /* Avis */
  .box-avis {
    width: 450px;
    right: 5vw;
  }

  .avis-title {
    font-size: 19px;
  }

  .box-avis svg {
    width: 16px;
  }

  .avis-description {
    margin-top: 45px;
    font-size: 20px;
  }

  /* Caractéristique */
  .box-caracteristique {
    padding: 60px 0px;
    margin-top: 50px;
  }

  .seemore-cara {
    font-size: 17px;
  }

  .card-caracteristiques {
    width: 200px;
  }

  .caracteristiques {
    margin-top: 40px;
    width: 90vw;
    overflow: hidden;
  }

  .icon {
    width: 80px;
    height: 80px;

  }

  .icon svg {
    width: 42px;
  }

  .ruler svg {
    width: 18px;
  }

  .title-caracteristique {
    font-size: 16px;
  }

  .text-caracteristique {
    font-size: 14px;
  }

  /* Maps */

  .maps {
    height: 400px;

  }
}

@media screen and (min-width: 1500px) and (max-width: 1800px) {

  /* Title */
  .box-title h1 {
    font-size: 35px;
  }

  .price {
    font-size: 22px;

  }

  .box-title svg {
    width: 20px;
  }

  .ville {
    font-size: 25px;
  }

  /* Description */
  .box-description {
    margin-left: 7vw;
    margin-top: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  .box-description p {
    font-size: 16px;
  }

  .read-more {
    font-size: 16px;
  }

  /* Location */
  .box-location {
    width: 550px;
    height: 160px;
    right: 5vw;
  }

  .rental-button {
    padding: 25px 240px;
    font-size: 18px;
  }

  .rental-redirection {
    font-size: 15px;
    padding: 0px 25px;
    margin-bottom: 20px;
  }

  /* Avis */
  .box-avis {
    width: 550px;
    right: 5vw;
  }

  .avis-title {
    font-size: 19px;
  }

  .box-avis svg {
    width: 16px;
  }

  .avis-description {
    margin-top: 45px;
    font-size: 20px;
  }
}