/********************
 GENERAL
*********************/

html {
  --navbar-background: rgba(250, 246, 236, 0.8);
  --page-background: var(--cream);
  --footer-background: var(--cream-600);
  --footer-color: var(--black);
  --logo-dark-background: var(--green-500);
  --logo-light-background: var(--white);
}

@media screen and (max-width: 500px) {
  #head > a:first-child > svg.b {
    max-width: 100% !important;
  }
}

/********************
 INDEX
*********************/
#page__body {
  background-color: var(--cream-500);
}

.map {
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  position: relative;
  --blue: #17338b;
  --blue-transparent: rgba(23, 51, 139, 0.6);
}

.map-inner {
  width: 100%;
  min-width: 90vh;
  height: max-content;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.map-inner > img {
  width: 100%;
  height: auto;
  position: relative;
}

.map > svg {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  z-index: 3;
}

.map-inner > a {
  position: absolute;
  display: block;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.4),
    filter 0.2s ease-in-out;
  --delay: 0s;
  filter: drop-shadow(0 0 0px transparent);
  z-index: 1;
}

.map-inner > a:hover,
.map-inner > a.hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px var(--blue-transparent));
  animation: none;
}

.map-inner > a > svg {
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  animation: map_bounce 1.8s ease-in-out var(--delay) infinite both;
}

.map-inner > a.no-bounce > svg {
  animation: none;
}

.map-inner > a:hover > svg,
.map-inner > a.hover > svg {
  animation: none;
}

.map-inner > a > svg > path {
  transition: fill 0.2s ease-in-out;
  fill: var(--cream-500);
}

.map-inner > a:hover > svg > path,
.map-inner > a.hover > svg > path {
  fill: var(--cream-600);
}

.map-inner > a > img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  animation: map_bounce 1.8s ease-in-out var(--delay) infinite both;
}

.map-inner > a.no-bounce > img {
  animation: none;
}

.map-inner > a:hover > img,
.map-inner > a.hover > img {
  animation: none;
}

.map-inner > a > div {
  background-color: var(--blue);
  border-radius: 90000px;
  pointer-events: none;
  width: max-content;
  position: absolute;
  top: 0;
  left: 100%;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.map-inner > a:hover > div,
.map-inner > a.hover > div {
  opacity: 1;
}

.map-inner > a > div > div {
  background-color: var(--cream-500);
  border: 2px solid var(--blue);
  transform: translate(-2px, -2px);
  border-radius: 90000px;
  width: max-content;
  padding: 5px 15px;
}

.map-inner > a > div > div > svg {
  height: 1.4vw;
  min-height: 20px;
  display: block;
  width: auto;
}

.map-inner > .garden {
  top: 33%;
  right: 9.4%;
  width: 12.6%;
  --delay: 1.2s;
}

.map-inner > .garden > div {
  bottom: 0;
  top: unset;
  transform: translate(-50%, 50%);
}

.map-inner > .menina {
  top: 52.2%;
  right: 57%;
  width: 12.5%;
  --hover-color: #eba490;
  --delay: 0.6s;
}

.map-inner > .castle-1 {
  top: 57.5%;
  right: 34.3%;
  width: 15.6%;
}

.map-inner > .castle-1:hover,
.map-inner > .castle-1.hover {
  transform: translateY(20%) scale(1.1);
}

.map-inner > .castle-1 > div {
  bottom: 0;
  top: unset;
  transform: translate(-50%, 50%);
}

.map-inner > .castle-2 {
  top: 50.5%;
  right: 34.15%;
  width: 15.7%;
  z-index: 2;
}

.map-inner > .castle-2:hover,
.map-inner > .castle-2.hover {
  transform: translateY(-20%) scale(1.1);
}

.map-inner > .castle-2 > div {
  transform: translateX(-50%);
}

.map-inner > .pool {
  top: 39.5%;
  right: 55%;
  width: 13.1%;
}

.map-inner > .tennis {
  top: 57.6%;
  right: 12%;
  width: 13.2%;
}

@keyframes map_bounce {
  0% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(2px);
  }
}

/* Animation */

.map-inner > div,
.map-inner > a > span {
  position: absolute;
  z-index: 4;
  display: none;
}

.map-inner > div.animate,
.map-inner > a > span.animate {
  display: block;
}

.map-inner > div > img,
.map-inner > a > span > img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
}

.map-inner > div > img:first-child,
.map-inner > a > span > img:first-child {
  position: relative;
}

.map-inner > span {
  opacity: 0;
  display: block;
  position: absolute;
  z-index: 3;
}

.map-inner > span > svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Fish */
.map-inner > .fish {
  top: 35%;
  left: -5%;
  width: 7%;
}

#fish_trigger {
  top: 0.9%;
  left: 0;
  width: 32%;
}

.map-inner > .fish.animate {
  animation: fish-translate 1.8s steps(3) 0s 1 both;
}

.map-inner > .fish.animate > img {
  animation: fish 0.6s steps(1) 0s infinite both;
}

.map-inner > .fish > img:nth-child(2) {
  animation-delay: 0.15s;
}

.map-inner > .fish > img:nth-child(3) {
  animation-delay: 0.3s;
}

.map-inner > .fish > img:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes fish-translate {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(300%, 0%);
  }
}

@keyframes fish {
  0% {
    opacity: 0;
  }
  0.00000000001% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Leaf */
.map-inner > .leaf-1 {
  top: 30%;
  left: 70%;
  width: 7.5%;
}

#leaf_trigger_1 {
  top: 28%;
  left: 66%;
  width: 5%;
}

.map-inner > .leaf-2 {
  top: 56%;
  left: 24%;
  width: 7.5%;
}

#leaf_trigger_2 {
  top: 53.5%;
  left: 19.5%;
  width: 6%;
}

.map-inner > .leaf-3 {
  top: 67%;
  left: 15%;
  width: 7.5%;
  transform: scaleX(-100%);
}

#leaf_trigger_3 {
  top: 65.5%;
  left: 20.5%;
  width: 6%;
}

.map-inner > .leaf.animate {
  animation: leaf-translate 1.8s steps(3) 0s 1 both;
  z-index: 10;
}

.map-inner > .leaf-3.animate {
  animation: leaf-translate-revert 1.8s steps(3) 0s 1 both;
}

.map-inner > .leaf.animate > img {
  animation: leaf 0.6s steps(1) 0s infinite both;
}

.map-inner > .leaf > img:nth-child(2) {
  animation-delay: 0.15s;
}

.map-inner > .leaf > img:nth-child(3) {
  animation-delay: 0.3s;
}

.map-inner > .leaf > img:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes leaf-translate {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(250%, 120%);
  }
}

@keyframes leaf-translate-revert {
  0% {
    transform: scaleX(-100%) translate(0, 0);
  }
  100% {
    transform: scaleX(-100%) translate(250%, 120%);
  }
}

@keyframes leaf {
  0% {
    opacity: 0;
  }
  0.00000000001% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Bird */
.map-inner > .bird {
  z-index: 0;
}

.map-inner > .bird-1 {
  top: 32.6%;
  left: 71.6%;
  width: 9%;
  display: block;
}

#bird_trigger_1 {
  top: 35%;
  left: 68%;
  width: 6%;
}

.map-inner > .bird-2 {
  top: 30.2%;
  left: 38.9%;
  width: 9%;
  display: block;
  transform: scaleX(-100%);
}

#bird_trigger_2 {
  top: 32.5%;
  left: 43.5%;
  width: 7%;
}

.map-inner > .bird-3 {
  top: 61.4%;
  left: 68.8%;
  width: 9%;
  display: block;
}

#bird_trigger_3 {
  top: 63.5%;
  left: 67.5%;
  width: 4%;
}

.map-inner > .bird.animate {
  z-index: 10;
  animation: bird-translate 7.2s steps(16) 0s 1 both;
}

.map-inner > .bird-2.animate {
  animation: bird-translate-revert 7.2s steps(16) 0s 1 both;
}

.map-inner > .bird.animate > img {
  animation: bird 0.45s steps(1) 0s infinite both;
}

.map-inner > .bird > img:nth-child(1) {
  opacity: 1;
}

.map-inner > .bird.animate > img:nth-child(1) {
  opacity: 0 !important;
}

.map-inner > .bird > img:nth-child(2) {
  opacity: 0;
}

.map-inner > .bird > img:nth-child(3) {
  animation-delay: 0.15s;
  opacity: 0;
}

.map-inner > .bird > img:nth-child(4) {
  animation-delay: 0.3s;
  opacity: 0;
}

@keyframes bird-translate {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(1200%, -800%);
  }
}

@keyframes bird-translate-revert {
  0% {
    transform: scaleX(-100%) translate(0, 0);
  }
  100% {
    transform: scaleX(-100%) translate(1200%, -800%);
  }
}

@keyframes bird {
  0% {
    opacity: 0;
  }
  0.00000000001% {
    opacity: 1;
  }
  33.3333% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Barrow */
.map-inner > .barrow {
  top: 41.6%;
  left: 87.6%;
  width: 14%;
  display: block;
  z-index: 0;
}

#barrow_trigger {
  top: 41.3%;
  left: 86.8%;
  width: 4%;
}

.map-inner > .barrow.animate > img {
  animation: barrow 1s steps(1) 0s 1 both;
}

.map-inner > .barrow > img:nth-child(1) {
  opacity: 0;
}

.map-inner > .barrow > img:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0;
}

.map-inner > .barrow > img:nth-child(3) {
  animation-delay: 0.4s;
  opacity: 0;
}

.map-inner > .barrow > img:nth-child(4) {
  animation-delay: 0.6s;
  opacity: 1;
}

@keyframes barrow {
  0% {
    opacity: 0;
  }
  0.00000000001% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Buoy */
.buoy {
  top: 51%;
  left: 33%;
  width: 26%;
  display: block !important;
  pointer-events: none;
}

.buoy.animate > img {
  animation: buoy 1s steps(1) 0s 3 both;
}

.buoy > img:nth-child(1) {
  opacity: 1;
}

.buoy > img:nth-child(2) {
  opacity: 0;
  animation-delay: 0.33333s;
}

.buoy > img:nth-child(3) {
  animation-delay: 0.66666s;
  opacity: 0;
}

@keyframes buoy {
  0% {
    opacity: 0;
  }
  0.00000000001% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Ball */
.ball {
  top: 37%;
  left: 15%;
  width: 100%;
  display: block !important;
  pointer-events: none;
}

.ball.animate > img {
  animation: ball 1.5s steps(1) 0s 1 both;
}

.ball > img {
  opacity: 0;
}

.ball > img:nth-child(2) {
  animation-delay: 0.3s;
}

.ball > img:nth-child(3) {
  animation-delay: 0.6s;
}

.ball > img:nth-child(4) {
  animation-delay: 0.9s;
}

.ball > img:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes ball {
  0% {
    opacity: 0;
  }
  0.00000000001% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Steps */

.map-inner > .steps {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.map-inner > .steps > img {
  width: 0.7vw;
  min-width: 0.6vh;
  height: 0.7vw;
  min-height: 0.6vh;
  object-fit: contain;
  animation: step 2s ease-in 0s 1 both;
}

.map-inner > .stepper {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  /*border-left: 20px solid red;*/
  border-left: 20px solid transparent;
  transform: translate(-50%, -50%);
}

#stepper_1 {
  top: 58.1%;
  left: 38.8%;
  transform: rotate(45deg);
}

#stepper_1.animate {
  animation: stepper-1 14s linear 0s 1 both;
}

#stepper_2 {
  top: 45.1%;
  left: 53.8%;
  transform: rotate(150deg);
}

#stepper_2.animate {
  animation: stepper-2 14s linear 0s 1 both;
}

#stepper_3 {
  top: 63.6%;
  left: -0.5%;
  transform: rotate(0deg);
}

#stepper_3.animate {
  animation: stepper-3 14s linear 0s 1 both;
}

@keyframes stepper-1 {
  0% {
    top: 58.1%;
    left: 38.8%;
    transform: rotate(45deg);
  }
  3% {
    top: 59%;
    left: 40%;
    transform: rotate(30deg);
  }
  25% {
    top: 62.5%;
    left: 46%;
    transform: rotate(45deg);
  }
  35% {
    top: 64%;
    left: 48%;
    transform: rotate(37.5deg);
  }
  40% {
    top: 65.5%;
    left: 50%;
    transform: rotate(30deg);
  }
  55% {
    top: 66.7%;
    left: 54%;
    transform: rotate(0);
  }
  70% {
    top: 67.6%;
    left: 62%;
    transform: rotate(0);
  }
  70.0001% {
    top: 67.6%;
    left: 62%;
    transform: rotate(-90deg);
  }
  85% {
    top: 63%;
    left: 62%;
    transform: rotate(-90deg);
  }
  85.0001% {
    top: 63%;
    left: 62%;
    transform: rotate(-115deg);
  }
  100% {
    top: 59%;
    left: 59%;
    transform: rotate(-125deg);
  }
}

@keyframes stepper-2 {
  0% {
    top: 45.1%;
    left: 53.8%;
    transform: rotate(150deg);
  }
  30% {
    top: 51.5%;
    left: 49%;
    transform: rotate(110deg);
  }
  30.00001% {
    top: 51.5%;
    left: 49%;
    transform: rotate(-168deg);
  }
  85% {
    top: 48.5%;
    left: 28%;
    transform: rotate(-168deg);
  }
  85.000001% {
    top: 48.5%;
    left: 28%;
    transform: rotate(-150deg);
  }
  100% {
    top: 46.5%;
    left: 24%;
    transform: rotate(-150deg);
  }
}

@keyframes stepper-3 {
  0% {
    top: 63.6%;
    left: -0.5%;
    transform: rotate(-2deg);
  }
  85% {
    top: 62.8%;
    left: 31%;
    transform: rotate(-2deg);
  }
  85.0000001% {
    top: 62.8%;
    left: 31%;
    transform: rotate(-55deg);
  }
  100% {
    top: 58%;
    left: 33%;
    transform: rotate(-55deg);
  }
}

@keyframes step {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/********************
 CHAMBRES D'HOTES
*********************/
.rooms-1 {
  padding: var(--medium-vmargin) var(--large-hmargin) 0;
}

.rooms-1 > img {
  margin: 0 auto;
  height: auto;
  width: 100%;
  max-width: 1000px;
}

/* ROOMS 2 */

.rooms-2 {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: var(--small-vmargin) var(--large-hmargin);
  padding: var(--medium-vmargin) var(--large-hmargin) 0;
}

.rooms-2 > div:first-child {
  padding: var(--small-vmargin) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rooms-2 > div:first-child > div.editable {
  margin: 10px 0 40px;
}

.rooms-2 > div:first-child > div.editable > p + p {
  margin-top: 10px;
}

.rooms-2 > div:first-child > div:last-child {
  width: 100%;
}

.rooms-2 > div:first-child > div:last-child > .btn {
  margin: 0 auto;
}

.rooms-2 > div:last-child {
  position: relative;
  width: 100%;
  min-height: 45vw;
  overflow: hidden;
  border-radius: 500vw;
}

.rooms-2 > div:last-child > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1200px) {
  .rooms-2 > div:last-child {
    min-height: 50vw;
  }
}

@media screen and (max-width: 992px) {
  .rooms-2 {
    grid-template-columns: 1fr;
  }
  .rooms-2 > div:last-child {
    min-height: 60vw;
    border-radius: 20px;
  }
}

/* ROOMS 3 */

.rooms-3 {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: var(--small-vmargin) var(--large-hmargin);
  padding: var(--medium-vmargin) var(--large-hmargin) 0;
}

.rooms-3 > div:first-child {
  position: relative;
  width: 100%;
  min-height: 45vw;
  overflow: hidden;
  border-radius: 500vw;
}

.rooms-3 > div:first-child img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.rooms-3 > div:first-child > div {
  width: 100%;
  height: 100%;
  min-height: 45vw;
  position: relative;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.rooms-3 > div:first-child:hover > div {
  opacity: 1;
}

.rooms-3 > div:last-child {
  padding: var(--small-vmargin) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rooms-3 > div:last-child > div.editable {
  margin: 10px 0 20px;
}

.rooms-3 > div:last-child > h2 + div.editable {
  margin-bottom: 40px;
}

.rooms-3 > div:last-child > div:not(.editable) {
  width: 100%;
}

.rooms-3 > div:last-child > div:not(.editable) > .btn {
  margin: 0 auto;
}

@media screen and (max-width: 1200px) {
  .rooms-3 > div:first-child {
    min-height: 50vw;
  }
  .rooms-3 > div:first-child > div {
    min-height: 50vw;
  }
}

@media screen and (max-width: 992px) {
  .rooms-3 {
    grid-template-columns: 1fr;
  }
  .rooms-3 > div:first-child {
    order: 2;
    min-height: 60vw;
    border-radius: 20px;
  }
  .rooms-3 > div:first-child > div {
    min-height: 40vw;
  }
}

/* ROOMS 4 */
.rooms-4 {
  height: 600vh;
  width: 100vw;
  overflow: hidden;
  margin-top: var(--large-vmargin);
}

.rooms {
  display: flex;
  align-items: stretch;
  height: 100vh;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  width: 600vw;
}

.room {
  width: 100vw;
  display: flex;
  align-items: stretch;
  background-color: var(--cream-600);
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.room > div:first-child {
  flex: 1;
  position: relative;
}

.room > div:first-child > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-info {
  width: 35%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.room-spacer {
  flex: 1;
}

.frise {
  position: relative;
  margin: 20px 0;
}

.frise > span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--black);
  position: absolute;
  z-index: 1;
  top: 6px;
}

.frise > div {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.frise > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  gap: 3px;
}

.frise > div > div > p {
  font-family: var(--degular);
  font-weight: 300;
  transition: font-weight 0.2s ease-in-out;
}

.frise > div > div > p > span {
  display: inline;
}

.frise > div > div > div {
  height: 13px;
  width: 13px;
  min-height: 13px;
  min-width: 13px;
  background-color: var(--black);
  border: 1px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-in-out,
    transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 2.5);
}

.frise > div > div > div > span {
  display: block;
  height: 9px;
  width: 9px;
  min-height: 9px;
  min-width: 9px;
  background-color: var(--black);
  border-radius: 50%;
}

.frise > div > div.active > div {
  background-color: var(--cream-600);
}

.frise > div > div:hover > div {
  transform: scale(1.2);
}

.frise > div > div.active > p,
.frise > div > div:hover > p {
  font-weight: 600;
}

.room-info > h3 {
  margin-bottom: 10px;
}

.room-info > div.editable + div.editable {
  margin: 20px 0;
  font-family: var(--degular);
}

.room-info-grid {
  margin: 10px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.room-info-grid > p::before {
  content: "•";
  display: inline-block;
  margin-right: 10px;
}

.room-info > .btn {
  margin: 40px auto;
}

.room-info > img {
  margin: 0 auto;
}

@media screen and (max-width: 1600px) {
  .frise > div > div > p > span {
    display: none;
  }
}

@media screen and (max-width: 1500px) {
  .room-info > h3 {
    margin-bottom: 0;
    font-size: 3rem;
  }
  .room-info {
    width: 40%;
  }
}

@media screen and (max-width: 992px) {
  .room {
    flex-direction: column;
  }
  .room > div:first-child {
    order: 2;
  }
  .room-info {
    width: 100%;
    order: 1;
  }
  .room-info > .btn {
    margin: 20px auto;
  }
  .room-info-grid {
    gap: 5px;
    margin-top: 5px;
  }
  .room-info > h3 {
    font-size: 2rem;
  }
  .frise > div > div > p > span {
    display: inline;
  }
}

@media screen and (max-width: 750px) {
  .room-info {
    padding: 20px;
  }
}

@media screen and (max-width: 620px) {
  .frise > div > div > p > span {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .frise > div {
    padding: 0 10px;
  }
}

/* ROOMS 5 */

.rooms-5 {
  padding: var(--medium-vmargin) 0;
}

.rooms-5 > h2 {
  margin: 0 0 var(--small-vmargin);
  padding: 0 var(--large-hmargin);
  text-align: center;
}

.rooms-5 .flickity-slider {
  min-height: 22vw;
}

.rooms-5 .carousel-cell {
  background-color: var(--black);
  border-radius: 10px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 33%;
  overflow: hidden;
  height: 100%;
  margin: 0 20px;
}

.rooms-5 .carousel-cell > img {
  position: absolute;
  z-index: 1;
  opacity: 0.45;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rooms-5 .carousel-cell > div {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.rooms-5 .carousel-cell > div > h4 {
  font-family: var(--sitefont);
  font-size: 3rem;
  font-style: normal;
  font-weight: 100;
  margin-bottom: 20px;
  letter-spacing: 0.06rem;
}

.rooms-5 .carousel-cell > div > .btn {
  margin: 20px auto 0;
  border-color: var(--white);
}

.rooms-5 > .btn {
  margin: var(--small-vmargin) auto 0;
}

@media screen and (max-width: 1500px) {
  .rooms-5 .flickity-slider {
    min-height: 30vw;
  }
  .rooms-5 .carousel-cell {
    width: 40%;
  }
  .rooms-5 .carousel-cell > div > h4 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 1200px) {
  .rooms-5 .flickity-slider {
    min-height: 30vw;
  }
  .rooms-5 .carousel-cell {
    width: 45%;
  }
  .rooms-5 .carousel-cell > div > h4 {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 992px) {
  .rooms-5 .flickity-slider {
    min-height: 350px;
  }
  .rooms-5 .carousel-cell {
    width: 500px;
    margin: 0 10px;
  }
  .rooms-5 .carousel-cell > div > h4 {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 750px) {
  .rooms-5 .carousel-cell > div > h4 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 600px) {
  .rooms-5 .carousel-cell {
    width: 400px;
  }
}

/* ROOMS 6 */

.rooms-6 {
  margin-top: var(--medium-vmargin);
  padding: 0 40px;
}

.rooms-6 > h2 {
  text-align: center;
}

.region {
  margin-top: var(--small-vmargin);
  border: 3px solid var(--gold);
  display: flex;
  align-items: stretch;
}

.region-map {
  --scale: 0;
  position: relative;
  flex: 1;
  border-right: 3px solid var(--gold);
  overflow: hidden;
}

.region-map > img {
  position: relative;
  width: 100%;
  transform: scale(calc(1 + var(--scale)))
    translate(calc(-25% * var(--scale) / 2), calc(-25% * var(--scale) / 2));
  height: auto;
}

.region-poi {
  cursor: pointer;
  position: absolute;
}

.region-poi > svg {
  height: 2rem;
  width: auto;
}

.region-poi > div {
  height: 20px;
  width: 20px;
  min-height: 20px;
  min-width: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.region-poi > div > span {
  display: block;
  background-color: var(--gold);
  height: 12px;
  width: 12px;
  min-height: 12px;
  min-width: 12px;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.5);
  transform: scale(0);
}

.region-poi.active > div > span {
  transform: scale(1);
}

.region-poi > p {
  font-family: var(--degular);
  transition: font-weight 0.2s ease-in-out;
  line-height: 1.2 !important;
  position: absolute;
  width: max-content;
}

.region-poi.active > p,
.region-poi:hover > p {
  font-weight: 600;
}

.region-domain {
  top: calc(58% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
  left: calc(52% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
}

.region-domain > p {
  left: 50%;
  top: calc(100% + 2px);
}

.region-albi {
  top: calc(40% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
  left: calc(53% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
}

.region-albi > p {
  right: calc(100% + 2px);
  bottom: 60%;
}

.region-castres {
  top: calc(55% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
  left: calc(58% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
}

.region-castres > p {
  left: calc(100% + 2px);
  bottom: 60%;
}

.region-carcassonne {
  top: calc(73% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
  left: calc(61% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
}

.region-carcassonne > p {
  left: 4px;
  top: calc(100% + 2px);
}

.region-toulouse {
  top: calc(57% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
  left: calc(39% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
}

.region-toulouse > p {
  right: calc(100% + 2px);
  top: calc(100% + 2px);
}

.region-st-ferreol {
  top: calc(64% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
  left: calc(47% * (1 + var(--scale) / 2) - 25% * var(--scale) * 1.5);
}

.region-st-ferreol > p {
  right: calc(100% + 2px);
  top: calc(100% + 2px);
  text-align: right;
}

.region-info {
  width: 40%;
  position: relative;
  overflow: hidden;
}

.place {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.place.active {
  opacity: 1;
  pointer-events: all;
}

.place > img:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place > img:not(:first-child) {
  flex: 1;
  width: 100%;
  min-height: 1px;
  object-fit: cover;
}

.place > div {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 5px 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10px;
}

.place > div > div.editable {
  font-family: var(--degular);
}

.place > div.editable {
  margin: 20px 0;
}

.place > .btn {
  margin: 0 auto;
}

.rooms-6 + .news {
  margin-top: var(--small-vmargin);
}

@media screen and (max-width: 1200px) {
  .place > div {
    margin-bottom: 5px;
  }
  .place > p {
    margin: 10px 0;
  }
}

@media screen and (max-width: 992px) {
  .region {
    flex-direction: column;
    width: 100%;
  }
  .region-map {
    border-right: none;
    border-bottom: 3px solid var(--gold);
    width: 100%;
  }
  .region-info {
    height: max-content;
    width: 100%;
  }
  .place {
    position: relative;
    opacity: 1;
    pointer-events: all;
    display: none;
    min-height: 40vw;
    padding: 20px;
  }
  .place.active {
    display: block;
  }
  .place > img:not(:first-child) {
    max-height: 30vw;
  }
}

@media screen and (max-width: 750px) {
  .region-map {
    --scale: 0.5;
  }
  .region-poi > p {
    font-size: 1.9vw;
  }
}

@media screen and (max-width: 600px) {
  .region-map {
    --scale: 1;
  }
  .region-poi > p {
    font-size: 2.5vw;
  }
  .rooms-6 {
    padding: 0 20px;
  }
}

.book-message {
  text-align: center;
}

.main-carousel + .book-message {
  margin-top: 40px;
}

.book-message p > a {
  color: var(--orange) !important;
}

.book-message p > a:hover {
  color: var(--orange-200) !important;
}
