/********************
 GENERAL
*********************/

html {
  --navbar-background: rgba(250, 246, 236, 0.8);
  --page-background: var(--cream);
  --footer-background: var(--cream-500);
  --footer-color: var(--black);
  --logo-dark-background: var(--black);
  --logo-light-background: var(--white);
}

/********************
 INDEX
*********************/
.index-1 {
  padding: var(--medium-vmargin) var(--large-hmargin) 0;
}

.index-1 > img {
  margin: 0 auto;
  height: auto;
  width: 100%;
  max-width: 1000px;
}

/* INDEX 2 */

.index-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;
}

.index-2 > div:first-child {
  padding: var(--small-vmargin) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-2 > div:first-child > div.editable {
  margin: 20px 0;
}

.index-2 > div:first-child > div.editable > p + p {
  margin-top: 10px;
}

.index-2 > div:first-child > div.editable + div.editable {
  font-family: var(--degular);
  color: var(--black-200);
  margin: 0 0 40px;
}

.index-2 > div:first-child > div:last-child {
  width: 100%;
}

.index-2 > div:first-child > div:last-child > .btn {
  margin: 0 auto;
}

.index-2 > div:last-child {
  position: relative;
  width: 100%;
  min-height: 45vw;
  overflow: hidden;
  border-radius: 500vw;
}

.index-2 > div:last-child > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1200px) {
  .index-2 > div:last-child {
    min-height: 50vw;
  }
}

@media screen and (max-width: 992px) {
  .index-2 {
    grid-template-columns: 1fr;
  }
  .index-2 > div:last-child {
    min-height: 60vw;
    border-radius: 20px;
  }
}

/* INDEX 3 */

.index-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;
}

.index-3 > div:first-child {
  position: relative;
  width: 100%;
  min-height: 45vw;
  overflow: hidden;
  border-radius: 500vw;
}

.index-3 > div:first-child img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.index-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;
}

.index-3 > div:first-child:hover > div {
  opacity: 1;
}

.index-3 > div:last-child {
  padding: var(--small-vmargin) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-3 > div:last-child > div.editable {
  margin: 10px 0 40px;
}

.index-3 > div:last-child > div.editable > p + p {
  margin-top: 10px;
}

.index-3 > div:last-child > div:last-child {
  width: 100%;
}

.index-3 > div:last-child > div > .btn {
  margin: 0 auto;
}

.index-3 + .news {
  margin-top: var(--small-vmargin);
}

@media screen and (max-width: 1200px) {
  .index-3 > div:first-child {
    min-height: 50vw;
  }
  .index-3 > div:first-child > div {
    min-height: 50vw;
  }
}

@media screen and (max-width: 992px) {
  .index-3 {
    grid-template-columns: 1fr;
  }
  .index-3 > div:first-child {
    order: 2;
    min-height: 40vw;
    border-radius: 20px;
  }
  .index-3 > div:first-child > div {
    min-height: 60vw;
  }
  .index-3 > div:first-child img {
    object-position: center -12vw;
  }
}

/* INDEX 4 */
.index-4 {
  height: 300vh;
  margin-top: var(--small-vmargin);
}

.index-4 > div {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 1fr;
  gap: var(--small-vmargin) 60px;
  padding: var(--navbar-height) 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reservation {
  padding-left: var(--large-hmargin);
  padding-right: 40px;
  display: flex;
  flex-direction: column;
}

.reservation > div {
  width: 100%;
  flex: 1;
  margin-bottom: 49px;
}

.reservation > div > iframe {
  height: 100%;
  width: 100%;
  border: none;
  overflow: scroll;
  min-height: 600px;
}

.carrousel {
  overflow: hidden;
  padding-bottom: 10px;
}

.carrousel-control {
  width: 100%;
  padding-right: var(--large-hmargin);
  margin-top: 40px;
}

.carrousel-control > div {
  width: 250px;
  max-width: 100%;
  position: relative;
  margin: 0 auto;
}

.carrousel-control > div > div {
  width: 100%;
  height: 1px;
  background-color: var(--black);
}

.carrousel-control > div > span {
  display: block;
  background-color: var(--cream);
  border: 1px solid var(--black);
  height: 14px;
  width: 14px;
  min-height: 14px;
  min-width: 14px;
  border-radius: 50%;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.carrousel-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.carrousel-wrapper > div:first-child {
  min-width: calc(50vw - var(--large-hmargin) * 1.5 + 80px);
  max-width: calc(50vw - var(--large-hmargin) * 1.5 + 80px);
  display: flex;
  flex-direction: column;
  padding-right: 80px;
  padding-left: 40px;
}

.carrousel-wrapper > div:first-child > div.editable {
  margin: 10px 0 40px;
}

.carrousel-wrapper > div:first-child > div:last-child {
  width: 100%;
}

.carrousel-wrapper > div:first-child > div > .btn {
  margin: 0 auto;
}

.carrousel-wrapper img {
  height: calc(100vh - var(--navbar-height) * 2 - 49px);
  width: auto;
}

.carrousel-wrapper > div:last-child {
  width: var(--large-hmargin);
}

.index-4-replacer {
  display: none;
}

@media screen and (max-width: 992px) {
  .index-4 > div {
    grid-template-columns: 1fr;
  }
  .index-4 .reservation {
    display: none;
  }
  .reservation {
    padding: 0 20px;
  }
  .index-4-replacer {
    margin-top: var(--small-vmargin);
    display: block;
  }
  .carrousel-wrapper > div:first-child {
    min-width: calc(100vw - var(--large-hmargin) - 80px);
    max-width: calc(100vw - var(--large-hmargin) - 80px);
  }
}

@media screen and (max-width: 650px) {
  .reservation {
    padding: 0 10px;
  }
}

/* INDEX 5 */

.index-5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background-color: var(--cream-600);
  overflow: hidden;
}

.index-5 > div:first-child {
  padding: 0 var(--large-hmargin);
  margin: var(--medium-vmargin) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-5 > div:first-child > div.editable {
  margin: 10px 0 40px;
}

.index-5 > div:first-child > div:last-child {
  width: 100%;
}

.index-5 > div:first-child .btn {
  margin: 0 auto;
}

.index-5 > div:last-child {
  position: relative;
  overflow: hidden;
  min-height: 35vw;
  height: 100%;
}

.index-5 > div:last-child > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-5.reverse > div:first-child {
  order: 2;
}

.index-5.reverse > div:last-child {
  order: 1;
}

@media screen and (max-width: 1500px) {
  .index-5 > div:last-child {
    min-height: 40vw;
  }
}

@media screen and (max-width: 992px) {
  .index-5 {
    grid-template-columns: 1fr;
  }
  .index-5 > div:first-child {
    margin: var(--large-vmargin);
    min-height: 40vw;
  }
  .index-5 > div:last-child {
    min-height: 60vw;
  }
  .index-5.reverse > div:first-child {
    order: 1;
  }
  .index-5.reverse > div:last-child {
    order: 2;
  }
}

/* INDEX 6 */
.index-6 {
  padding: 40px 0;
  overflow: hidden;
  width: 100%;
}

.index-6 > div {
  display: flex;
  align-items: center;
  width: max-content;
  animation: loop 15s linear 0s infinite forwards;
}

.index-6 > div > p {
  font-family: var(--sitefont);
  font-size: 4rem;
  font-weight: 200;
  letter-spacing: 0.2rem !important;
  font-style: italic;
  color: var(--blue-600);
}

.index-6 > div > img {
  height: 5rem;
  margin: 0 80px;
  transform: translateY(-0.5rem);
}

@keyframes loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 992px) {
  .index-6 > div > p {
    font-size: 2.5rem;
    letter-spacing: 0.1rem !important;
  }
  .index-6 > div > img {
    height: 3.5rem;
    transform: translateY(-0.3rem);
  }
}

@media screen and (max-width: 750px) {
  .index-6 > div > img {
    margin: 0 40px;
  }
}

/* INDEX 7 */
.index-7 {
  height: 300vh;
  position: relative;
  --image-ratio: 1;
  overflow: hidden;
}

.index-7 > div {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
  padding: var(--small-vmargin) var(--large-hmargin);
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.index-7 > div > h3 {
  text-align: center;
  font-style: italic;
}

.index-7 > div > div.editable {
  font-family: var(--degular);
  font-style: italic;
  font-size: 0.8rem;
  margin: 10px 0 20px auto;
}

.index-7 > div > div:last-child {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.index-7 > img {
  position: absolute;
  width: auto;
  height: auto;
  z-index: 1;
  left: 100vw;
}

.index-7 > img:nth-child(1) {
  left: 4%;
  height: calc(300px * var(--image-ratio));
  top: 5%;
}

.index-7 > img:nth-child(2) {
  left: unset;
  right: 5%;
  height: calc(500px * var(--image-ratio));
  top: 25%;
}

.index-7 > img:nth-child(3) {
  left: 10%;
  height: calc(350px * var(--image-ratio));
  top: 30%;
}

.index-7 > img:nth-child(4) {
  left: 5%;
  height: calc(350px * var(--image-ratio));
  top: 40%;
  z-index: 0;
}

.index-7 > img:nth-child(5) {
  left: unset;
  right: 6%;
  height: calc(450px * var(--image-ratio));
  top: 62%;
}

.index-7 > img:nth-child(6) {
  left: 13%;
  height: calc(350px * var(--image-ratio));
  top: 80%;
}

.index-7 > img:nth-child(7) {
  left: 50%;
  height: calc(350px * var(--image-ratio));
  top: unset;
  bottom: 0;
}

.index-7 > img:nth-child(8) {
  left: 20%;
  height: 100px;
  top: 22%;
  z-index: 0;
}

.index-7 > img:nth-child(9) {
  left: unset;
  right: 20%;
  height: 100px;
  top: 47%;
  z-index: 0;
}

@media screen and (max-width: 1500px) {
  .index-7 {
    --image-ratio: 0.8;
  }
}

@media screen and (max-width: 1200px) {
  .index-7 {
    --image-ratio: 0.7;
  }
  .index-7 > div {
    max-width: 900px;
  }
}

@media screen and (max-width: 992px) {
  .index-7 {
    --image-ratio: 0.6;
  }
  .index-7 > img:nth-child(8),
  .index-7 > img:nth-child(9) {
    height: 80px;
  }
  .index-7 > div {
    max-width: 700px;
  }
}

@media screen and (max-width: 500px) {
  .index-7 {
    --image-ratio: 0.5;
  }
}
