* {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: 14px;
}
body {
  background-color: #f2f2f2;
  font-family: "RobotoDraft", "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0%;

  overflow: hidden;
  background-repeat: no-repeat;
  background-size: contain;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #4d0e67;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}
/* header img {
  position: absolute;
  top: 26px;
  left: 26px;
} */

.property-card {
  user-select: none;
  /* background-color: crimson; */
}

.card .dateDiv {
  display: none;
}
#timeLine .card .dateDiv {
  display: block;
  position: absolute;
  top: -20px;
}

#timeLine .property-card {
  height: 17.4em;
  /* width: 12.8em; */
  margin: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius: 16px;
  overflow: hidden;
}
#mesCards .property-card {
  margin: 20px;
  height: 18em;
  width: 13.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius: 16px;
  overflow: hidden;
  -webkit-box-shadow: 5px 5px 7px #bb86fc70, -5px -5px 7px #bb86fc54;
  box-shadow: 3px 3px 5px #10100fab, 4px -4px 4px #1b1b1873;
  flex-shrink: 0;
}
#mesCards .property-card:hover {
  /* filter: drop-shadow(-1px -1px 22px yellow); */
}

.wrong .carte {
  animation: pulseW 4s;
}
#mesCards {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  justify-content: space-around;
  margin-top: 40px;
}

#mesCards .card {
  display: none;
}

#mesCards .card:first-child {
  display: block;
}

/* .card {
  width: 150px;
  margin-top: 10px;
  margin-left: 10px;
  background-color: lightgrey;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  justify-content: flex-start;
  border-radius: 5%;
  cursor: move;
} */

/* .card h2 {
  color: rgb(26, 24, 24);
} */

/* header img {
  top: 33px;
  left: 26px;
} */

.draggable.dragging {
  opacity: 0.5;
}

#timelineCont {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  position: absolute;
  top: 15px;
  left: 0;

  user-select: none;
  cursor: pointer;
}

#timeLine {
  /* width: 100vw; */
  height: 250px;
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  /* justify-content: space-around; */
  margin-top: 40px;
}

.property-image {
  display: flex;
  justify-content: center;
  background-color: #f6e7d7;
}
.property-image img {
  object-fit: fill;
  object-position: center;

  /* border-radius: 5%; */

  align-self: center;

  max-height: 250px;
}

#mesCards .property-image img {
  object-fit: cover;
  max-height: 309px;
  object-position: center;
  align-self: center;
  position: absolute;
  transform: translate(50%, -50%);
  top: 50%;
  right: 50%;
}

.property-description h2 {
  margin-bottom: 0px;
  margin-top: 11px;
  white-space: pre-wrap;
}
.property-description p {
  margin-top: 3px;
  white-space: pre-wrap;
  color: #4d0e67;
}

/* Bottom Card Section */

.property-description {
  background-color: #f6e7d7;
  height: 0px;
  width: 100%;
  position: absolute;
  bottom: 0em;
  -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  text-align: center;
}

.property-card:hover .property-description {
  height: 6em;
  padding: 0px 1em;
}
.property-card:hover img {
  /* height: 18em; */
}
#timeLine {
  height: 290px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  margin-top: 100px;
  flex-shrink: 0;
  border-top: 1px solid rgb(28, 28, 26);
  white-space: nowrap;
}
#timeLine::before,
#timeLine::after {
  content: "";
  margin: auto;
}

#timeLine.bold {
  border-top: 2px solid rgb(28, 28, 26);
}

#mesCards .property-card:hover img {
  /* height: 28em; */
}

#mesCards {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  justify-content: center;
  margin-top: 40px;
  position: absolute;
  left: 50%;
  margin-left: -6.75em;
  bottom: 0;
  z-index: 2;
}

#mesCards .draggable {
  display: none;
}

.draggable {
  position: relative;
  display: flex;
  justify-content: center;
}
#timeLine .draggable::before {
  content: "";
  position: absolute;
  left: 50%;
  border-left: 2px solid rgb(34, 34, 31);
  height: 20px;
  top: -1px;
}

#mesCards .draggable:first-child {
  display: block;
}

.hidden {
  visibility: hidden;
}

#line {
  position: absolute;
  border-top: 1px solid rgb(28, 28, 26);
  width: 100%;
  top: 115px;
}
#line.bold {
  border-top: 2px solid rgb(28, 28, 26);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: auto; */
  /* padding: 20px 40px; */
  height: 110px;
  margin: 0 30px;
}

header img {
  display: inline-block;
  align-self: center;
}

nav {
  width: 50%;
  display: flex;
  justify-content: space-between;
}

nav a {
  text-decoration: none;
  color: rgb(28, 28, 26);

  z-index: 10;

  text-transform: uppercase;
}
