body {
  margin: 5px;
  padding: 0;
}

#banner {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%;
  border-style: solid;
  border-color: #2b3e74;
  border-radius: 5px;
  margin-left: 250px;
}


/* unvisited link */
a:link {
  color: white;
  background-color: rgba(0, 0, 0, 0.0);
  text-decoration: none;
}

/* visited link */
a:visited {
  color: white;
  background-color: rgba(0, 0, 0, 0.0);
  text-decoration: none;
}

/* mouse over link */
a:hover {
  color: white;
  background-color: rgba(0, 0, 0, 0.0);
  text-decoration: none;
}

/* selected link */
a:active {
  color: white;
  background-color: rgba(0, 0, 0, 0.0);
  text-decoration: none;
}

.title {
  text-align: center;
  color: #354d8e;
  font-size: 350%;
  font-family: "Brush Script MT", cursive;
  margin: 15px;
  background-repeat: no-repeat;
  background-size: contain;
}

.header {
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 25px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  margin: auto;
  font-size: large;
  position: relative;
}

.header-photo {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  margin: auto;
  font-size: large;
  position: relative;
}

.scroll-down-container {
  display: flex;
  justify-content: flex-end;
  margin-top: -80px;
  position: relative;
}

.camping-info>li {
  margin: 0.5rem 0;
}

.camping-info .sublist {
  margin: 0.4rem 0 0.6rem 1.25rem;
}

.camping-info .sublist>li {
  margin: 0.25rem 0;
}


.scroll-down-btn {
  display: inline-block;
  margin: 20px 0;
  text-align: center;
  box-shadow: #ADCFFF 0 -12px 6px inset;
  box-sizing: border-box;
  background-color: #fff !important;
  color: #000 !important;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 40em;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  width: fit-content;
  font-family: -apple-system, sans-serif;
  font-weight: 700;
  animation: bounce 1s 3;
  white-space: nowrap;
}

.scroll-down-btn:hover {
  background-color: #FFC229 !important;
  box-shadow: #FF6314 0 -6px 8px inset;
  transform: scale(1.125);
  animation: none;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

#logo {
  background-color: white;
}

.logo {
  height: 100px;
  margin-left: 30px;
  margin-top: 5.5px;
}

#navbar {
  background: linear-gradient(180deg, #2b3e74, #1e2b4f);
  width: 250px;
  height: 100%;
  position: fixed;
  left: 0;
  z-index: 10;
}

#navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#navbar li {
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 20px;
  margin-right: 10px;
  transition: background 0.3s;
}

#navbar li:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

#navbar li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  transition: color 0.3s, font-weight 0.3s;
  margin-left: 0px;
}

#navbar li a.active {
  font-weight: bold;
  color: #FFC229;
}

#navbar li a.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFC229;
}

#navbar li a.row-contactive {
  color: #317bb7;
  font-weight: bold;
}

#navbar li a:hover {
  color: #FFC229;
}

#content {
  margin-top: 5px;
  margin-left: 250px;
  padding: 20px;
  background-image: linear-gradient(#354d8e, black);
  background-repeat: no-repeat;
  height: auto;
  color: white;
}

.wrap {
  margin: 0 auto;
  max-width: 1200px;
}

.row-container {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.slideshow-container {
  flex: 1;
  margin-right: 20px;
  overflow: hidden;
  padding: 5px;
  position: relative;
}

.slideshow img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border: 8px solid #fff;
  box-sizing: border-box;
}

.album img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border: 8px solid #fff;
  box-sizing: border-box;
}

.album {
  display: none;
}

.slideshow {
  display: none;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
  cursor: pointer;
}

.prev {
  left: 5px;
}

.next {
  right: 5px;
}

.intro {
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 25px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  margin: auto;
  font-size: large;
}

.notice {
  font-weight: bold;
}

.reserve {
  position: absolute;
  top: 140px;
  right: 50px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #bfac41;
  color: #fff;
  border: 1px solid;
  border-radius: 5px;
  cursor: pointer;
}

.reserve a {
  text-decoration: none;
  color: white;
  font-weight: bolder;
}

.reserve:hover {
  background-color: gold;
}

.center {
  text-align: center;
}

.email {
  border: 5px double white;
  border-radius: 10px;
}

.right {
  display: flex;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

#footer {
  margin-left: 250px;
}

.footer-content {
  text-align: center;
  font-size: small;
}

.footer-content a.footer-link {
  color: #2b3e74 !important;
  text-decoration: underline;
  font-weight: bold;
}

.footer-content a.footer-link:hover {
  color: #FFC229 !important;
}


.column {
  float: left;
  width: 50%;
  position: relative;
}

.button-container {
  display: flex;
  flex-direction: column;
  margin-top: 8%;
}

.button-reserve {
  padding: 5px;
}

.button-r {
  appearance: none;
  background-color: #FFFFFF;
  border-radius: 40em;
  border-style: none;
  box-shadow: #ADCFFF 0 -12px 6px inset;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.24px;
  margin: 0;
  outline: none;
  padding: 1rem 1.3rem;
  quotes: auto;
  text-align: center;
  text-decoration: none;
  transition: all .15s;
  user-select: none;
  width: 275px;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-r:hover {
  background-color: #FFC229;
  box-shadow: #FF6314 0 -6px 8px inset;
  transform: scale(1.125);
}

.button-r:active {
  transform: scale(1.025);
}

.contact {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
}

.phone {
  font-size: small;
}

#language-buttons {
  position: absolute;
  top: 70px;
  right: 10px;
}

.language-button {
  background-color: #f1f1f1;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
  margin: 5px;
}

.language-button:hover {
  background-color: #ccc;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 5px 0;
}

.close-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-right: 0;
}

.desktop-hide {
  display: none;
}

/* CSS Animation for moving text */
@keyframes moveText {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
    /* End at the right side of the screen */
  }
}

.important-banner p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  animation: moveText 20s linear infinite;
  /* Adjust the duration and animation timing as needed */
}

#content {
  margin-top: 5px;
  margin-left: 250px;
  padding: 20px;
  background-image: linear-gradient(#354d8e, black);
  background-repeat: no-repeat;
  height: auto;
  color: white;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.photo-item img {
  width: 100%;
  /* max-height: 100%; */
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.photo-item:hover {
  transform: scale(1.05);
}

.photo-item {
  display: block;
}

.photo-item.hide {
  display: none;
}

#content>div:last-child {
  margin-top: 20px;
}

#content>div:last-child>div {
  margin-top: 10px;
}

#content>div:last-child>div a {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#content>div:last-child>div a:hover {
  background-color: #2b3e74;
}

.enlarged-image-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.enlarged-image {
  max-width: 90%;
  max-height: 90%;
  border: 5px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

/* Hover effect for normal images */
.photo-grid img:hover {
  transform: scale(1.05);
}

/* Remove hover effect for enlarged images */
.no-hover {
  transform: none !important;
}

@media screen and (max-width: 1190px) {
  .scroll-down-btn {
    position: relative;
    top: 90px;
  }
}


@media screen and (max-width: 1024px) {

  .photo-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .logo {
    margin: 10px auto;
    display: block;
  }

  #navbar ul.show:before {
    content: "Motel - Camping Fort Ramsay";
    font-size: 18px;
    font-weight: bold;
    padding: 20px 0 0 20px;
    display: flex;
    align-items: center;
    color: #2b3e74;
    transform: scaleY(1.5);
  }

  #navbar ul.show .close-btn {
    margin-left: auto;
  }

  .menu-icon {
    display: block;
    position: relative;
    top: 50px;
    left: 10px;
    width: fit-content;
    z-index: 3;
    cursor: pointer;
  }

  .menu-items {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }

  #language-buttons {
    top: 20px;
  }

  .close-btn {
    font-size: 48px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: none;
  }

  .mainpage.menu-open .menu-icon {
    display: none;
  }

  body {
    margin-top: -40px;
  }

  #navbar {
    width: 100%;
    height: auto;
    position: static;
  }

  #navbar ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 1;
    overflow-x: hidden;
    transition: left 0.3s ease;
  }

  #navbar li {
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    border-bottom: 1px solid lightgray;
    margin-left: 20px;
    margin-right: 10px;
  }


  #navbar ul.show {
    left: 0;
  }

  #navbar li {
    display: flex;
    align-items: center;
    margin: 5px;
    border-bottom: none;
  }

  #navbar li a {
    text-decoration: none;
    color: rgb(71, 71, 71);
    margin-left: 20px;
    font-size: 20px;
  }

  @font-face {
    font-family: 'FontAwesome';
    src: url('/path/to/font-awesome.woff2') format('woff2');
    /* Update the path to your Font Awesome font file */
    font-weight: normal;
    font-style: normal;
  }

  /* Define backup font */
  @font-face {
    font-family: 'BackupFont';
    src: local('Arial'), local('sans-serif');
  }

  #navbar li a::after {
    content: "\f054";
    /* Font Awesome icon */
    font-family: 'FontAwesome', 'BackupFont', sans-serif;
    /* Use Font Awesome, then fallback to BackupFont, then generic sans-serif */
    position: absolute;
    right: 20px;
  }

  /* Fallback content if Font Awesome fails to load */
  #navbar li a::after {
    content: ">";
    /* Fallback to ">" character if Font Awesome fails to load */
  }

  #navbar li a.row-contactive {
    color: #317bb7;
    font-weight: bold;
  }

  #navbar li a:hover {
    color: #317bb7;
  }

  #navbar li .close-btn {
    display: block;
    color: #333;
  }

  #content {
    margin-left: 0;
    padding: 20px;
    position: relative;
    z-index: 0;
  }

  .intro {
    padding: 25px;
  }

  .column {
    width: 100%;
  }

  .row:after {
    display: block;
    content: "";
    clear: both;
  }

  .mainpage::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
  }

  body.menu-open {
    overflow: hidden;
  }

  #navbar.menu-open {
    overflow-y: scroll;
    position: fixed;
    height: 100%;
  }

  .mainpage.menu-open::before {
    background-color: rgba(0, 0, 0, 0.7);
  }

  .mainpage:not(.menu-open)::before {
    display: none;
  }

  #banner {
    display: none;
  }

  .header {
    text-align: center;
    bottom: 30px;
  }

  .header-photo {
    text-align: center;
  }

  .row-container {
    display: block;
  }

  .slideshow-container {
    top: 45px;
    width: 97%;
  }

  .slideshow img {
    min-height: 300px;
    height: auto;
  }

  .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .button-reserve {
    margin-top: 20px;
  }

  .scroll-down-btn {
    display: none;
  }

  .hide {
    display: none;
  }

  #footer {
    margin-left: 0;
    text-align: center;
    position: relative;
  }

  .footer-content {
    font-size: small;
  }

  .map {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 375px) {
  #navbar ul.show:before {
    content: "Motel - Camping Fort Ramsay";
    font-size: 16px;
    font-weight: bold;
    padding: 20px 0 0 20px;
    display: flex;
    align-items: center;
    color: #2b3e74;
    transform: scaleY(1.5);
  }
}

/* @media screen and (max-width: 480px) {

  .title {
    font-size: 250%;
  }

  .logo {
    height: 80px;
  }

  .prev,
  .next {
    font-size: 12px;
  }

  .intro {
    font-size: 14px;
  }

  #banner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
} */