html {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "PT Serif", serif;
  font-size: 16px;
  letter-spacing: 1px;
  margin: 0px;
  overflow-x: hidden;
}

:root {
  --title-font: "Quattrocento", serif;
  --paragraphs-font: "Quattrocento Sans", serif;
  --paragraphs-color-dark: #2e2e2e;
  --titles-color-dark: #1a1a1a;
  --titles-color-light: #f5f5f5;
  --paragraphs-color-light: #ededed;
}

body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0px;
  overflow-x: hidden;
}

img {
  max-width: 400px;
  border-radius: 15px;
}

p {
  font-family: var(--paragraphs-font);
  color: var(--paragraphs-color-dark);
  font-weight: 400;
  letter-spacing: 1.1px;
  line-height: 18px;
}

nav,
main,
footer {
  width: 100%;
}

header {
  width: 100%;
  height: 500px;
  background-image: url("smanjene-slike-ordered/10.webp"),
    linear-gradient(rgb(0, 19, 51, 0.8), rgba(0, 19, 51, 0.8));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  background-blend-mode: darken;
  margin-bottom: 50px;
}

.logo {
  height: 75px;
  width: auto;
  border-radius: 0px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wider-screen-nav {
  align-self: center;
  width: 60%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 20px;
}

.nav-links a {
  color: var(--paragraphs-color-light);
  text-decoration: none;
  margin: 10px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  letter-spacing: 1.5px;
  font-family: var(--title-font);
  font-size: 1.15rem;
}

.nav-links a:nth-child(1):hover,
.nav-links a:nth-child(2):hover,
.nav-links a:nth-child(3):hover {
  transform: scale(1.1);
  color: var(--titles-color-light);
}

#nav-book-button {
  font-family: var(--title-font);
  border: 2px solid var(--paragraphs-color-light);
  background-color: rgb(55, 122, 0, 0);
  transition: transform 0.3s ease, border-radius 0.3s ease;
  color: var(--titles-color-light);
}

.book-now {
  background-color: #042242;
  padding: 23px 28px;
  color: var(--titles-color-light);
  text-decoration: none;
  border-radius: 5px; /* Optional: Adds rounded corners */
  font-weight: bold;
  font-size: 1.2em;
  transition: transform 0.3s ease, border-radius 0.3s ease;
  font-family: var(--title-font);
}

/* Animation for sliding in from the bottom */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px); /* Start from 20px below */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Final position */
  }
}

/* Pulse animation: Grow and shrink smoothly */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* Slightly larger */
  }
  100% {
    transform: scale(1);
  }
}

/* Hover effect with scaling */
.book-now:hover {
  transform: scale(1.1); /* Slightly increase size on hover */
  border-radius: 15px;
}

header > section {
  width: 60%;
  color: white;
  align-self: center;
  justify-self: center;
  margin-top: 35px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center; /* Centers the text */
  overflow: hidden; /* Ensures the text doesn't overflow */
  white-space: nowrap; /* Keeps text on one line */
  border-right: 3px solid transparent; /* Typing cursor hidden initially */
  animation: typingH1 0.8s steps(28) forwards, blink 0.6s step-end infinite 1.5s;
  font-family: var(--title-font);
  color: var(--titles-color-light);
  letter-spacing: 1.2px;
}

@keyframes typingH1 {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

header section p {
  color: var(--paragraphs-color-light);
  font-size: 1.25em;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid transparent;
  width: 0; /* Start with width 0 so it's hidden */
  animation: typingP 0.7s steps(47) 0.5s forwards,
    blink 0.6s step-end infinite 5.5s;
  font-family: var(--paragraphs-font);
  font-weight: 400;
}

@keyframes typingP {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
  100% {
    border-color: black; /* Matches the color of the text */
  }
}

header > section > .book-now {
  background-color: #042242;

  color: white;
  text-decoration: none;
  border: none;
  margin-top: 35px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.villa-story {
  width: 60%;
  margin: 40px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Initially hidden */
  transform: translateY(50px); /* Start from below */
  animation: slideIn 1s ease-out forwards; /* Animation */
}

p {
  font-family: var(--paragraphs-font);
  color: var(--paragraphs-color-dark);
  font-weight: 400;
  letter-spacing: 1.1px;
  line-height: 18px;
}

@keyframes slideIn {
  to {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to its normal position */
  }
}

.villa-story img {
  width: 50%;
  border-radius: 15px;
  box-shadow: 30px 30px 0px 0px #c6e6ff;
  margin: 20px;
  opacity: 0; /* Initially hidden */
  transform: translateX(-150px); /* Start from below */
  animation: imageSlideIn 1s ease-out forwards; /* Animation */
}

@keyframes imageSlideIn {
  to {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to its normal position */
  }
}

.story-villa-article {
  margin: 20px;
  margin-left: 40px;
  margin-right: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  opacity: 0; /* Initially hidden */
  transform: translateX(150px); /* Start from below */
  animation: textSlideIn 1s ease-out forwards; /* Animation */
}

@keyframes textSlideIn {
  to {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to its normal position */
  }
}

.story-villa-article hr {
  opacity: 0;
  transform: translateX(300px);
  animation: hrSlideIn 0.75s ease-in-out forwards 1s;
}

@keyframes hrSlideIn {
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.story-villa-article h2 {
  font-size: 1.5em;
  font-family: var(--title-font);
  color: var(--titles-color-dark);
}

/* Set initial visibility and opacity for the divs and their children */
#pool-offerings,
#view-offerings,
#playgrond-offerings,
#accomoditation-offerings,
#offerings-title {
  opacity: 0;
  transition: opacity 0.8s ease-in; /* Slower fade-in effect */
}

hr {
  background-color: #64b5f6;
  width: 15%;
  height: 3px;
  border: none;
  margin: 10px 0px;
}

.offerings {
  width: 100%;
  background-color: #e3f2fd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.villa-offering-article {
  width: 60%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 40px 10px;
}

#offerings-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
  font-family: var(--title-font);
  color: var(--titles-color-dark);
}

#first-block,
#second-block {
  margin: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#first-block > div,
#second-block > div {
  margin: 30px 0px;
}

#first-block div h3,
#second-block div h3 {
  margin-bottom: 0px;
  margin-top: 40px;
  font-family: var(--title-font);
  color: var(--titles-color-dark);
}

#first-block div p,
#second-block div p {
  margin-top: 5px;
}

.learn-more-offerings {
  color: #0d5dad;
  margin-top: 5px;
  text-decoration: none;
}

#view-img {
  border-bottom-left-radius: 150px;
  box-shadow: -22px 22px 0px 0px #64b5f6;
  margin: 5px;
}

#accomoditation-img {
  border-bottom-right-radius: 150px;
  box-shadow: 22px 22px 0px 0px #64b5f6;
  margin: 5px;
}

#pool-img {
  border-top-left-radius: 150px;
  box-shadow: -22px -22px 0px 0px #64b5f6;
  margin: 5px;
}

#playground-img {
  border-top-right-radius: 150px;
  box-shadow: 22px -22px 0px 0px #64b5f6;
  margin: 5px;
}

#pool-offerings {
  margin-top: 10px;
}

#pool-offerings,
#view-offerings {
  text-align: end;
}

#pool-offerings div h3,
#playgrond-offerings div h3 {
  margin-top: 15px;
}

.small-book-stay {
  width: 60%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: center;
  justify-self: center;
  padding: 30px;
}

#full-width-hr {
  width: 100%;
  height: 1.5px;
}

.small-book-stay h3 {
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--titles-color-dark);
  font-family: var(--paragraphs-font);
}

.carousel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 500px;
}

.carousel-track {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.6s ease, opacity 0.6s ease, z-index 0.6s;
  opacity: 0;
  z-index: -1;
}

.carousel-item.center {
  z-index: 10;
  transform: translateX(0) scale(1);
  opacity: 1;
  transition: transform 0.6s ease;
}

.carousel-item.center:hover {
  cursor: pointer;
  transform: scale(1.25);
}

.carousel-item.left {
  z-index: 5;
  transform: translateX(-150px) scale(0.8);
  opacity: 0.7;
  filter: brightness(40%);
}

.carousel-item.right {
  z-index: 5;
  transform: translateX(150px) scale(0.8);
  opacity: 0.7;
  filter: brightness(40%);
}

.carousel-item.hidden {
  z-index: -1;
  opacity: 0;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.carousel-button.left {
  left: 220px;
}

.carousel-button.right {
  right: 220px;
}

.carousel-item.far-left {
  z-index: 1;
  transform: translateX(-300px) scale(0.6);
  opacity: 0.5;
  filter: brightness(20%);
}

.carousel-item.far-right {
  z-index: 1;
  transform: translateX(300px) scale(0.6);
  opacity: 0.5;
  filter: brightness(20%);
}

/* Animation for hr, h3, and p elements
  /* Initial states for animation */
.gallery-hr,
.gallery-title,
.gallery-description,
.carousel-wrapper {
  opacity: 0;
}

/* General Modal Styles */
.modal {
  display: flex;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.98); /* Dark background */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
  display: none;
}

/* Modal Image */
.modal-image {
  max-width: 90%; /* Limit the image size */
  max-height: 80%; /* Limit the image height */
  object-fit: contain; /* Ensure the image fits within the modal */
  margin-bottom: 20px; /* Space for the buttons */
}

.modal-navigation {
  width: 90%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.close-btn {
  left: 50%;
  background-color: var(--paragraphs-color-dark);
  border: none;
  color: var(--paragraphs-color-light);
  font-size: 30px;

  border-radius: 50%;
  z-index: 10;
  height: 80%;
  padding: 0px 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
  background-color: var(--paragraphs-color-light);
  color: var(--paragraphs-color-dark);
  cursor: pointer;
}

#modal-prev-btn,
#modal-next-btn {
  color: var(--paragraphs-color-light);
  width: 40px;
  height: 40px;
  background-color: var(--paragraphs-color-dark);
  border: none;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#modal-prev-btn:hover,
#modal-next-btn:hover {
  background-color: var(--paragraphs-color-light);
  color: var(--paragraphs-color-dark);
  cursor: pointer;
}

.gallery-wrapper {
  background-color: #021121;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-wrapper h3 {
  color: var(--titles-color-light);
  font-family: var(--title-font);
  margin-top: 10px;
  font-weight: 400;
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
}

.gallery-wrapper p {
  font-weight: 300;
  color: var(--paragraphs-color-light);
  margin-top: 5px;
  margin-bottom: 5px;
}

.gallery-wrapper hr {
  margin-top: 70px;
  width: 10%;
}

.journey-wrapper {
  background-image: linear-gradient(rgba(0, 19, 51, 0.8), rgba(0, 19, 51, 0.8)),
    url("smanjene-slike-ordered/1.webp");

  width: 100%;
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.journey-wrapper h2 {
  color: var(--titles-color-light);
  font-family: var(--title-font);
  font-weight: 400;
  font-size: 2rem;
  margin: 20px;
}

.journey-wrapper p,
.journey-wrapper a {
  font-weight: 400;
  color: var(--paragraphs-color-light);
  margin-bottom: 5px;
  font-size: 1.25rem;
  text-decoration: none;
}

.journey-wrapper p:nth-of-type(2) {
  font-weight: 700;
  font-size: 1.5rem;
}

.journey-wrapper a {
  margin: 20px;
}

footer {
  background-color: #000814;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-wrapper {
  width: 65%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
  align-self: center;
}

.footer-title {
  color: var(--titles-color-light);
  font-family: var(--title-font);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

footer hr {
  width: 100%;
  height: 1px;
  margin-top: 30px;
  margin-bottom: 30px;
}

footer span,
footer p,
footer a {
  color: var(--paragraphs-color-light);
  font-weight: 300;
  font-family: var(--paragraphs-font);
  text-decoration: none;
}

.footer-icons {
  height: 20px;
  width: auto;
  margin-right: 10px;
  margin-left: -5px;
}

footer div {
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.info-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.copyright {
  color: var(--paragraphs-color-light);
  font-family: var(--paragraphs-font);
  font-weight: 400;
  margin: 20px;
}

#menu-icon {
  transition: transform 0.3s ease;
}

#menu-icon:hover {
  transform: scale(1.15);
  cursor: pointer;
}

.tracking-in-expand {
  animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.scale-in-hor-center {
  -webkit-animation: scale-in-hor-center 4s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: scale-in-hor-center 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.75s
    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;
  }
}

.slide-in-blurred-left {
  -webkit-animation: slide-in-blurred-left 1.2s cubic-bezier(0.23, 1, 0.32, 1)
    both;
  animation: slide-in-blurred-left 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.slide-in-blurred-right {
  -webkit-animation: slide-in-blurred-right 1.2s cubic-bezier(0.23, 1, 0.32, 1)
    both;
  animation: slide-in-blurred-right 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@-webkit-keyframes slide-in-blurred-right {
  0% {
    -webkit-transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
    transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
    transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

/* ----------------------------------------------
   * Generated by Animista on 2024-11-22 23:15:2
   * Licensed under FreeBSD License.
   * See http://animista.net/license for more info. 
   * w: http://animista.net, t: @cssanimista
   * ---------------------------------------------- */

/**
   * ----------------------------------------
   * animation slide-in-blurred-left
   * ----------------------------------------
   */
@-webkit-keyframes slide-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
    transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

.smaller-screen-nav {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  color: white;
  margin-top: 15px;
  display: none;
}

.smaller-screen-nav img {
  max-width: 90px;
  height: auto;
}

.smaller-screen-nav {
  display: none;
}

@media (max-width: 1600px) {
  header > section {
    width: 78%;
  }
}

@media (max-width: 1420px) {
  header > section,
  .wider-screen-nav,
  .villa-story,
  .villa-offering-article,
  .small-book-stay {
    width: 75%;
  }

  .carousel-button.right {
    right: 10%;
  }
  .carousel-button.left {
    left: 10%;
  }
}

@media (min-width: 1370px) {
  .modal-navigation {
    width: 70%;
  }
}

@media (max-width: 1245px) {
  h1 {
    font-size: 3rem;
  }
  .carousel-button.right {
    right: 4%;
  }
  .carousel-button.left {
    left: 4%;
  }
}

@media (max-width: 1045px) {
  header > section,
  .wider-screen-nav,
  .villa-story,
  .villa-offering-article,
  .small-book-stay {
    width: 85%;
  }

  .villa-offering-article img {
    width: 350px;
  }

  .carousel-button.right {
    display: none;
  }
  .carousel-button.left {
    display: none;
  }

  h1 {
    font-size: 2.35rem;
  }

  .wider-screen-nav {
    display: none;
  }

  nav {
    position: relative;
    z-index: 2;
  }

  .smaller-screen-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
  }

  .logo-menu-icons {
    display: flex;
    width: 95%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    margin-top: -15px;
    margin-right: -80px;
    width: 45%;
    padding: 30px 0px;
    background-color: rgb(0 25 54);
    border-bottom-left-radius: 100px;
    transition: transoform 0.3s ease;
    display: none;
  }

  .nav-links a {
    font-size: 2rem;
    margin: 20px;
    color: var(--paragraphs-color-light);
    text-transform: lowercase;
  }

  .nav-links a::first-letter {
    text-transform: capitalize;
  }

  .nav-links a:hover,
  .close-icon-menu:hover {
    transform: scale(1.2);
  }

  .close-icon-menu {
    width: 50px;
    align-self: flex-end;
    margin-right: 50px;
    margin-top: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  header {
    position: relative;
    z-index: 0;
  }

  header > section {
    position: relative;
    z-index: 0;
  }
}

@media (max-width: 890px) {
  #view-offerings,
  #playgrond-offerings,
  #pool-offerings,
  #accomoditation-offerings {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .villa-offering-article {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 25px;
  }
  .villa-offering-article img {
    width: 50%;
  }

  #view-offerings {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
  }

  #view-img {
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 15px;
    box-shadow: 12px 12px 0px 0px #64b5f6;
    margin: 5px;
  }

  #playground-img {
    border-top-left-radius: 100px;
    border-top-right-radius: 15px;
    box-shadow: -12px -12px 0px 0px #64b5f6;
    margin: 5px;
  }

  #accomoditation-offerings {
    display: flex;
    flex-direction: row-reverse;
  }

  #accomoditation-img {
    border-bottom-right-radius: 100px;
    box-shadow: 12px 12px 0px 0px #64b5f6;
    margin: 5px;
  }

  #pool-img {
    border-top-left-radius: 100px;
    box-shadow: -12px -12px 0px 0px #64b5f6;
    margin: 5px;
  }

  #first-block div h3,
  #second-block div h3 {
    margin-top: 10px;
    font-size: 2rem;
  }

  #pool-offerings div,
  #view-offerings div {
    text-align: left;
  }

  #pool-offerings div,
  #view-offerings div,
  #accomoditation-offerings div,
  #playgrond-offerings div {
    margin: 10px;
  }

  #first-block {
    margin-bottom: 10px;
  }
  #second-block {
    margin-top: 10px;
  }

  #offerings-title {
    font-size: 2.5rem;
  }

  .info-wrapper {
    width: 95%;
  }
  .info-wrapper div {
    margin: 10px;
  }
  .footer-title {
    font-size: 1.2rem;
  }

  footer p {
    font-weight: 300;
  }

  .copyright {
    font-weight: 200;
  }
}

@media (max-width: 800px) {
  .journey-wrapper h2 {
    font-size: 1.7rem;
    margin-left: 5px;
    margin-right: 5px;
  }

  header > section {
    width: 95%;
  }

  .nav-links {
    margin-top: -15px;
    margin-right: -80px;
    width: 75%;
    padding: 50px 0px;
  }

  .close-icon-menu {
    margin-top: 0px;
    margin-right: 60px;
  }
}

@media (max-width: 730px) {
  .villa-story {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 20px 10px;
  }

  .villa-story img {
    width: 95%;
    border-radius: 15px;
    box-shadow: 10px 10px 0px 0px #c6e6ff;
    margin: 10px;
  }

  .story-villa-article {
    margin: 10px;
  }

  .small-book-stay h3 {
    font-size: 1.5rem;
  }

  #menu-icon {
    width: 60px;
  }
}

@media (max-width: 695px) {
  #pool-offerings,
  #view-offerings,
  #playgrond-offerings,
  #accomoditation-offerings {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .offerings img {
    width: 90%;
  }

  .offerings h3 {
    font-size: 1.5rem;
  }

  #first-block div h3,
  #second-block div h3 {
    font-size: 1.5rem;
  }

  #view-img {
    border-top-right-radius: 100px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 12px -12px 0px 0px #64b5f6;
    margin: 5px;
  }

  #accomoditation-img {
    border-bottom-right-radius: 15px;
    border-top-right-radius: 100px;
    box-shadow: 12px -12px 0px 0px #64b5f6;
    margin: 5px;
  }

  .small-book-stay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .carousel-wrapper {
    height: 350px;
  }

  .carousel-track {
    width: 65%;
  }
}

@media (max-width: 542px) {
  #start-journey-title {
    font-size: 1.35rem;
  }

  .journey-wrapper p,
  .journey-wrapper p:nth-of-type(2) {
    font-size: 1.15rem;
    font-weight: 400;
  }

  .journey-wrapper a {
    max-width: 40%;
    max-height: 3%;
    font-size: 14px;
  }

  .gallery-wrapper h3 {
    font-size: 2rem;
  }

  .info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .info-wrapper div {
    margin: 5px;
  }

  .info-wrapper p {
    margin-bottom: 5px;
    margin-top: 5px;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 3.65rem;
  }

  #first-block,
  #second-block {
    margin-left: 0px;
    margin-right: 0px;
  }

  .gallery-wrapper h3 {
    font-size: 2.5rem;
  }

  #start-journey-title {
    font-size: 1.6rem;
  }

  .carousel-track {
    width: 80%;
  }

  .nav-links {
    margin-top: -15px;
    margin-right: -80px;
    width: 95%;
    padding: 50px 0px;
    padding-right: 25px;
  }

  .close-icon-menu {
    margin-top: 0px;
    margin-right: 70px;
  }
}

.slide-in-left {
  -webkit-animation: slide-in-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-12-3 16:56:56
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-left
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  -webkit-animation: slide-in-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-12-3 16:57:27
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-right
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
