@import url('https://fonts.googleapis.com/css?family=Merienda+One|Open+Sans&display=swap');

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 800;
  margin: 0;
  background: rgb(45, 221, 216);
  background: linear-gradient(
    90deg,
    rgba(45, 221, 216, 1) 25%,
    rgba(48, 131, 185, 1) 62%,
    rgba(45, 89, 168, 1) 100%
  );
}

/* Ensure no overflow during zoom */
#your-selection,
#first-row {
  overflow: hidden;
  /* Prevent content spilling out */
}

/* Prevent the entire page from horizontal scrolling */
body {
  overflow-x: hidden;
  /* Disable horizontal scrolling for the whole page */
}

h1,
h2,
h3 {
  font-family: "Merienda One", "Dancing Script", cursive;
}

/* Header */

header {
  background-color: black;
  height: 60%;
  color: #ff9494;
  text-shadow: black 2px 2px 2px;
  height: 20rem;
  text-align: center;
  margin: 0 auto;
}

#header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 18rem;
  max-width: 100vw;
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
  margin-top: -2%;
}

#hero-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: blur(1px) brightness(0.6);
  z-index: -1;
  margin: 0 auto;
  margin-left: 0;
}

/* Logo / Brand */

#brand {
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 1000;
  color: #f88686;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 3px 3px beige;
  letter-spacing: 0.4rem;
  margin: 0;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Tagline */

#tagline {
  font-family: "Merienda One", "Dancing Script", cursive;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: whitesmoke;
  letter-spacing: 0.3rem;
  word-spacing: 0.2rem;
  padding: 0.35rem 1rem;
  border-top: 2px solid beige;
  border-bottom: 2px solid beige;
  border-radius: 45%;
  background: radial-gradient(
    circle,
    rgba(242, 130, 105, 1) 20%,
    rgba(245, 104, 137, 1) 80%,
    rgba(255, 148, 148, 1) 100%
  );
  text-align: center;
  margin: 0 auto;
  margin-bottom: 4%;
  max-width: 95%;
}

header h1 {
  font-size: 6rem;
  color: rgba(255, 148, 148, 1);
  font-weight: 1000;
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff,
    -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 3px 3px beige;
  letter-spacing: 1rem;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

h2 {
  font-size: xx-large;
  color: whitesmoke;
}

header > p {
  color: white;
  max-height: fit-content;
}

/* Header End */

/* Nav Bar */

nav {
  padding: 0.65rem 1rem;
  background: radial-gradient(
    circle,
    rgba(249, 68, 62, 1) 33%,
    rgba(249, 136, 61, 1) 66%,
    rgba(249, 196, 61, 1) 100%
  );
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  margin-bottom: 2.5%;
  background: black;
}

nav > a {
  text-decoration: none;
  color: rgb(248, 174, 128);
  font-size: 1.5em;
  font-weight: 875;
  text-shadow: 1px 1px rgb(98, 97, 97);
  letter-spacing: 0.25rem;
  margin: 1rem 3rem 1rem 3rem;
}

nav > a:hover {
  color: rgba(255, 148, 148, 1);
}

/* Nav Bar End */

/* World Map */

#world_map {
  align-items: center;
}

svg path {
  cursor: pointer;
}

svg path:hover {
  fill: #f69855;
}

.hidden {
  display: none;
  /* Hide the element */
}

/* Name Modal */

#name {
  position: fixed;
  float: left;
  background-color: rgba(12, 11, 12, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 12rem;
  border-radius: 75%;
  border: 3px solid rgb(248, 174, 128);
  padding: 2%;
  font-size: 2rem;
  font-weight: bolder;
  text-align: center;
  color: rgb(248, 174, 128);
  float: left;
  overflow-x: visible;
  overflow-y: auto;
  text-shadow: 1px 1px 1px black;
}

/* World Map End */

/* Country Name Box */

#location-box {
  display: inline-block;

  font-size: xx-large;
  font-weight: bold;
  position: relative;

  top: -7.5px;
  color: whitesmoke;
}

/* Name Box */

#nameq {
  color: rgb(103, 91, 91);
  background-color: beige;
  text-shadow: 2px 2px 2px rgb(213, 194, 194);
  width: fit-content;
  border: 2px;
  border-radius: 5px;
  padding: 2.5% 7.5%;
  font-size: 3.5rem;
  font-weight: bolder;
  margin-left: auto;
  margin-right: auto;
}

/* Time Box */

#timeCont {
  position: fixed;
  float: left;
  background-color: brown;
  width: 10rem;
  border: 3px solid beige;
  padding: 1%;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: beige;
}

#time-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  text-align: center;
  left: 70px;
  top: -15px;
  color: whitesmoke;
  z-index: 1;
  float: left;
}

#time {
  background-color: beige;
  color: rgb(103, 91, 91);
  text-shadow: 2px 2px 2px rgb(213, 194, 194);
  width: fit-content;
  border-radius: 5px;
  padding: 2.5% 7.5%;
  font-size: 2.8rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  float: left;
}

/* Currency Box */

#currency {
  background-color: beige;
  color: rgb(103, 91, 91);
  text-shadow: 2px 2px 2px rgb(213, 194, 194);
  width: fit-content;
  border-radius: 5px;
  padding: 2.5% 7.5%;
  font-size: 2.8rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-transform: capitalize;
  float: right;
}

/* Weather Box */

#weather {
  background: white;
  color: black;
  width: fit-content;
  border-radius: 5px;
  border: 3px solid black;
  padding: 5px 10px;
  font-size: 2rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* Wise Exchange Rate Widget */

iframe {
  margin-bottom: -15%;
  padding-bottom: 1%;
}

#information {
  background: white;
  color: black;
  width: fit-content;
  border-radius: 5px;
  border: 3px solid black;
  padding: 5px 10px;
  font-size: 2rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-align: center;
}

#page-break {
  margin-bottom: 10%;
  margin-top: -7.5%;
  border: 2px solid white;
  opacity: 0;
}

/* Clicked Country Information Containers */

/* Initially, no animation is applied */
#your-selection {
  background: rgb(242, 130, 105);
  background: radial-gradient(
    circle,
    rgba(242, 130, 105, 1) 20%,
    rgba(245, 104, 137, 1) 80%,
    rgba(255, 148, 148, 1) 100%
  );
  border-top: 0.25em solid beige;
  border-bottom: 0.25em solid beige;
  margin-bottom: 2%;
  margin-top: 2%;
  contain: content;
  transform: scale(1);
  /* Ensure the initial state is unscaled */
}

/* Searched Address City Containers */

#your-next-selection {
  margin-bottom: 2%;
  margin: 0 auto;
}

.text-white {
  color: #ffffff;
}

.black-background {
  background-color: black;
}

.page-header {
  height: 40vh;
  background: center 75% / cover no-repeat;
  overflow-x: hidden;
  /* Prevents horizontal scroll */
  max-width: 100%;
  /* Or fit-content, depending on your need */
  max-height: 100vh;
  /* Or a fixed max-height like 40vh */
}

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

.text-right {
  text-align: right;
}

strong {
  font-size: 1.3rem;
}

.text-uppercase {
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
}

li {
  list-style-type: none;
}

.bold {
  font-weight: bold;
}

small {
  font-style: italic;
}

img {
  border-radius: 8px;
  width: 96%;
  margin: 2%;
}

/* Country Information Container */

#info-container {
  display: inline-block;
  color: black;
  border: 1px solid beige;
  background-color: rgb(248, 174, 128);
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  align-items: center;
  position: relative;
  text-underline-position: under;
  border-radius: 5px;
  font-size: 2.75rem;
  font-weight: bold;
  justify-content: center;
  min-height: fit-content;
}

#info-container h2 {
  color: silver;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 1%;
  margin-top: 7.5%;
}

#info-container h5 {
  color: rgb(94, 91, 91);
  font-weight: 700;
  font-style: normal;
  font-family: "Merienda One";
  margin-top: 13%;
  font-size: xx-large;
}

.placeIcon {
  height: 2em;
  width: 2em;
}

/* Injected Public Holidays */

#holidays-section {
  display: inline-block;
  flex-wrap: nowrap;
  background: rgba(21, 21, 21, 0.9);
  width: 35vw;
  max-height: 25rem;
  margin: 0 auto;

  /* Ensure content doesn't overflow */
  position: relative;
  /* Establish a containing block for absolutely positioned elements */
}

#holidays-section h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: black;
  background-color: #ff465a;
  text-underline-position: under;
  width: 96%;
  margin: 0 auto;
}

#holidays-list {
  margin-top: 7.5%;
  margin-bottom: 7.5%;
  color: white;
  font-size: 1.25rem;
  max-height: calc(23.5rem - 5rem);
  overflow-y: auto;
  scrollbar-width: none;
  max-width: 23.5em;
}

#holidays-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(21, 21, 21, 0.9);
  width: 37.5vw;
  max-width: 100%;
  max-height: 24rem;
  margin: 0 auto;
  position: relative;
}

#holidays-section h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: black;
  background-color: #ff465a;
  text-underline-position: under;
  width: 96%;
  margin: 0 auto;
  text-align: center;
}

#holidays-list {
  display: flex;
  /* Enable flexbox */
  flex-direction: column;
  /* Stack items vertically */
  align-items: center;
  /* Align items to the left */
  justify-content: flex-start;
  /* Start list from the top */
  margin-top: 4%;
  margin-bottom: 4%;
  color: white;
  font-size: 1.25rem;
  max-height: calc(24rem - 5rem);
  /* Adjust height */
  overflow-y: auto;
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
}

#holidays-list::-webkit-scrollbar {
  display: none;
  /* For Chrome, Safari, and Opera */
}

/* Navigation Buttons */

.navigation-buttons-holidays {
  display: flex;
  justify-content: center;
}

.navigation-buttons-holidays button {
  padding: 1.75%;
  font-size: 1rem;
  margin-bottom: 3.5%;
  margin-top: 4%;
  cursor: pointer;
  background-color: rgb(21, 21, 21, 0.9);
  color: white;
  border-radius: 5px;
  transition: 0.3s ease;
  min-width: 4rem;
  min-height: 2.5rem;
}

.navigation-buttons-holidays button:hover {
  background-color: white;
  color: black;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 4%;
  padding-bottom: 1.5%;
  margin-bottom: 1.5%;
}

.navigation-buttons button {
  padding: 20px 20px;
  font-size: 16px;
  font-weight: bold;
  margin: 5px;
  margin-top: 2.5%;
  cursor: pointer;
  background-color: white;
  color: black;
  border-radius: 5px;
  transition: 0.3s ease;
  min-width: 4rem;
  min-height: 2.5rem;
}

.navigation-buttons button:hover {
  color: white;
  background-color: black;
}

.navigation-buttons-black {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  /* ensure above scrollable content */
  margin-top: 1rem;
}

.navigation-buttons-holidays {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.navigation-buttons-black button {
  padding: 2%;
  font-size: 1rem;
  margin-bottom: 2%;
  cursor: pointer;
  background-color: rgb(21, 21, 21, 0.9);
  color: white;
  border-radius: 5px;
  transition: 0.3s ease;
  min-width: 4rem;
}

.navigation-buttons-black button:hover {
  color: black;
  background-color: white;
}

/* Clicked Country Headlines Container */

#headlines-container {
  display: inline-block;
  position: relative;
  float: left;
  background: rgb(226, 135, 101);
  color: black;
  width: auto;
  width: 27.5%;
  max-width: 90%;
  min-height: fit-content;
  height: 100%;
  max-height: 200rem;
  margin-left: 1%;
  margin-right: 1.5%;
  padding: 1.75%;
  padding-bottom: 2.5%;
  border-radius: 5px;
  border: 1px solid beige;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  overflow: hidden;
  /* Prevent visible scrollbar */
}

#headlines-container h2 {
  margin-bottom: 7%;
  margin-top: 5%;
  color: rgb(103, 91, 91);
  font-weight: 700;
  font-style: normal;
}

.modal-content {
  width: 100%;
  max-width: 100%;
}

#headlines {
  max-height: 109rem;
  min-height: 60rem;
  background-color: whitesmoke;
  margin-top: 2%;
  margin-bottom: 4%;
  border-radius: 15px;
  border: 1px solid rgb(128, 118, 118);
  padding: 0.5em;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
}

#headlines h3 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: x-large;
  text-decoration-line: underline;
  font-size: 2em;
}

#headlines h4 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: x-large;
  font-size: 1.75em;
  text-transform: capitalize;
  text-decoration-line: underline;
  text-underline-position: under;
  text-decoration-color: rgb(103, 91, 91);
  text-decoration-style: double;
}

#headlines p {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.35em;
  font-size: 1.4em;
}

#headlines::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar in Chrome, Safari, and Edge */
}


#attribution {
  background: #000;
  color: silver;
  text-align: center;
  font-size: 0.85em;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  font-family: Arial, sans-serif;
}

/* Weather Box */

#weather-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  right: 70px;
  top: -15px;
  color: whitesmoke;
}

/* Currency Box */

#currency-box {
  display: inline-block;
  font-size: xx-large;
  font-weight: bold;
  position: relative;
  right: 70px;
  top: -15px;
  color: whitesmoke;
  float: right;
}

/* Updated #hotel-container and #results to align with working example */
#hotel-container {
  display: block;
  position: relative;
  float: left;
  background: rgb(41, 143, 195);
  color: black;
  width: 33%;
  max-width: 23.5vw;
  margin-left: 2.5%;
  padding: 2%;
  border-radius: 5px;
  border: 2px solid beige;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  font-weight: 600;
  overflow: hidden;
  margin-top: 3%;
  font-family: "Roboto", sans-serif;
  height: 118rem;
  text-underline-position: under;
}

#hotel-container h2 {
  color: beige;
  font-weight: 450;
  margin-top: 11%;
}

/* Navigation Buttons of Second Selection */

.navigation-buttons {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 1em;
}

.navigation-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  background-color: white;
  color: black;
  border: 2px solid black;
  border-radius: 5px;
  transition: 0.3s ease;
}

.navigation-buttons button:hover {
  color: white;
  background-color: black;
}

/* Country Information Results */

#results {
  max-height: 36rem;
  max-width: 25.5vw;
  background: whitesmoke;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#results::-webkit-scrollbar {
  display: none;
  /* WebKit browsers: Hide scrollbar */
}

/* Hotel Results */

#hotels {
  max-height: 107.5rem;
  width: 24vw;
  overflow-y: auto;
  -ms-overflow-style: none;
  /* IE/Edge scrollbar hidden */
  scrollbar-width: none;
  /* Firefox scrollbar hidden */
  margin-bottom: 4%;
  padding: 1vh;
  background-color: white;
  border-radius: 5px;
  border-bottom: 2.5px solid black;
}

#hotels::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari scrollbar hidden */
}

#hotel-modal {
  max-width: 33vw;
  font-size: 1em;
}

/* Places Results Container */

#place-container {
  position: relative;
  display: inline-block;
  background-color: rgb(48, 117, 157);
  color: black;
  margin-bottom: 1%;
  margin-top: 3%;
  text-align: center;
  align-items: center;
  position: relative;
  padding: 1%;
  border-radius: 5px;
  max-height: max-content;
  height: 120rem;
  padding-bottom: 1.5%;
  border: 2px solid black;
  font-family: "Roboto", sans-serif;
}

/* Places Results */

#places-modal {
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#place-container h2 {
  color: black;
  margin-top: 11%;
}

#places {
  max-height: 66rem;
  /* Restrict height of scrollable area */
  overflow-y: auto;
  /* Enable scrolling */
  -ms-overflow-style: none;
  /* IE/Edge scrollbar hidden */
  scrollbar-width: none;
  /* Firefox scrollbar hidden */
  overflow-x: hidden;
  border-top: 2.5px solid black;
  border-bottom: 2.5px solid black;
  margin-top: 8%;
  margin-bottom: 0;
  /* Remove big margin */
}

#places::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari scrollbar hidden */
}

#places-results {
  height: 76rem;
  min-height: 50rem;
  max-height: max-content;
  background-color: white;
  border-radius: 5px;
  width: 100%;
  table-layout: fixed;
  word-break: break-word;
}

/* Target icons in the places container */
#places-results td img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.leaflet-marker-icon.emoji-pin-marker {
  z-index: 600;
}

/* Hidden State */
#second-selection {
  opacity: 0;
  transform: translateY(20px);
  /* Slight slide-up effect */
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: none;
  /* Initially hidden */
}

/* Visible State */
#second-selection.visible {
  opacity: 1;
  transform: translateY(0);
  display: flex;
  /* Align containers side by side */
  justify-content: space-around;
  gap: 1.5vh;
}

/* Additional styling for smooth animations within snapshot boxes */
.snapshot-box {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.snapshot-box.show {
  opacity: 1;
  transform: scale(1);
}

/* Container Fade In Animation */

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Snapshot boxes default style */
.snapshot-box {
  width: 33%;
  display: inline-block;
  margin-top: 1%;
  color: black;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
}

.snapshot-box.show {
  opacity: 1;
  transform: scale(1);
}

/* Window controls styling */
/* Centered window controls */
.window-controls {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  margin-top: 2.5%;
}

/* Maximize animation (full screen) */
/* Pop-out style for maximized box */
/* Ensure the container takes full control when maximized */
.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  height: 90vh;
  max-width: 93%;
  background: rgba(0, 0, 0, 0.5);
  /* Dark transparent background */
  color: white;
  font-weight: 700;
  z-index: 999;
  overflow: hidden;
  display: flex;
  transform: translate(-50%, -50%);
  /* Ensures perfect centering */
  border-radius: 10px;
  padding: 20px;
}

/* Styling for the cloned snapshot box when maximized */
.snapshot-box.maximized {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* Floating effect */
  overflow: hidden;
  padding: 20px;
  position: relative;
}

/* Hiding scrollbars visually but allowing scrolling */
.snapshot-box.maximized::-webkit-scrollbar {
  display: none;
  /* Hides scrollbar for WebKit browsers */
}

.snapshot-box.maximized {
  -ms-overflow-style: none;
  /* Hides scrollbar for IE and Edge */
  scrollbar-width: none;
  /* Hides scrollbar for Firefox */
}

/* Scaled effect for first-row when a box is maximized */
#first-row.scaled {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

/* Hidden Containers */
.snapshot-box.hidden {
  display: none !important;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  /* Space below content */
  gap: 0.5rem;
  /* Space between buttons */
  position: relative;
  bottom: 0;
}

/* Weather Results Container */

#weather-container {
  display: block;
  background: rgb(41, 143, 195);
  height: 120rem;
  max-height: max-content;
  max-width: 24.5vw;
  padding: 1%;
  border-radius: 5px;
  border: 1px solid beige;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid beige;
  text-align: center;
  float: right;
  position: relative;
  margin-right: 2.5%;
  margin-top: 3%;
  text-underline-position: under;
}

#weather-container h2 {
  margin-top: 14.5%;
  margin-bottom: 12.5%;
  color: beige;
  font-weight: 450;
}

#forecast-break {
  margin-top: 3%;
  margin-bottom: 4%;
  color: white;
}

#forecast-break-2 {
  margin-top: 6%;
  margin-bottom: 4%;
  color: white;
}

#temp-div p {
  font-size: 60px;
}

#weather-info {
  font-size: 1.75em;
  text-transform: capitalize;
  color: beige;
}

#weather-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 10px;
  margin-bottom: 0;
  display: none;
  color: beige;
}

#hourly-forecast {
  margin-top: 50px;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  color: #fff;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  font-size: 1.1em;
}

#hourly-scroll-left {
  margin-bottom: 3%;
}

#hourly-forecast {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-behavior: smooth;
}

#hourly-forecast-container button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.hourly-item {
  flex: 0 0 auto;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px;
  color: white;
  padding-bottom: 5%;
}

.hourly-item img {
  width: 4em;
  height: 4em;
  margin-bottom: 5%;
  margin-top: 10%;
}

#hourly-heading {
  color: #fff;
  margin-top: 10px;
}

input {
  width: 12.75rem;
  height: 2.5rem;
  box-sizing: border-box;
  border: 1px solid white;
  margin-left: 0.25em;
  font-size: 2.5rem;
}

#five-day-forecast {
  display: flex;
  flex-wrap: nowrap;
  /* Single row, no wrapping */
  overflow-x: auto;
  /* Enable horizontal scrolling */
  margin-top: 20px;
  padding: 10px;
  gap: 10px;
  /* Add some spacing between items */
}

#five-day-forecast::-webkit-scrollbar {
  height: 8px;
  /* Horizontal scrollbar height */
}

#five-day-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  /* Scrollbar thumb color */
  border-radius: 4px;
}

#five-day-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

#forecast-container {
  font-size: 1em;
  text-transform: capitalize;
}

.forecast-card img {
  width: 4em;
  /* Uniform width */
  height: 4em;
  /* Uniform height */
  object-fit: contain;
  /* Maintain aspect ratio */
  margin-bottom: 2.5%;
}

#forecast-cards {
  display: flex;
  gap: 15px;
  /* Space between cards */
  overflow: hidden;
  /* Hide scroll bar */
  scroll-behavior: smooth;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
}

#forecast-container button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #fff;
  margin: 0 5px;
}

#forecast-container button:hover {
  color: #ffa500;
  /* Highlight on hover */
}

.forecast-item {
  width: 4em;
  height: 4em;
  margin-bottom: 5%;
  margin-top: 10%;
  text-align: center;
  color: #fff;
  font-size: smaller;
}

.forecast-item img {
  max-width: 75%;
  max-height: 75%;
  margin-bottom: 2%;
  /* Add spacing below the icon */
  margin-top: 2%;
}

.forecast-card-bold {
  font-size: 1.25em;
}

#long-term-forecast {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 20px;
  padding: 10px;
  gap: 15px;
  color: #fff;
  font: 0.9em;
  flex: 0 0 120px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 120px;
}

#long-term-forecast::-webkit-scrollbar {
  height: 8px;
}

#long-term-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#long-term-scroll-left {
  margin-bottom: 3%;
}

.forecast-card {
  flex: 0 0 auto;
  width: 80px;
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
}

/* 5 DAY FORECAST & 16 DAY FORECAST */

#forecast-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#forecast-cards {
  max-width: 100%;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: center;
  padding: 10px;
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#forecast-cards::-webkit-scrollbar {
  height: 6px;
  /* Subtle scrollbar */
}

#forecast-cards::-webkit-scrollbar-track {
  background: transparent;
}

#forecast-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

.forecast-card {
  max-width: 100%;
  overflow-x: auto;
  flex: 0 0 120px;
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
  font-size: 0.9em;
  /* Decreased font size */
  transition: transform 0.2s ease-in-out;
  text-transform: capitalize;
  gap: 15px;
}

.forecast-card:hover {
  transform: scale(1.05);
}

.forecast-card img {
  width: 4em;
  height: 4em;
  object-fit: contain;
  margin-bottom: 5px;
}

#hourly-forecast {
  display: flex;
  overflow-x: auto;
  /* Enable horizontal scrolling */
  gap: 10px;
  scroll-behavior: smooth;
  white-space: nowrap;
  /* Prevent wrapping */
  padding-bottom: 10px;
  /* Space for scrollbar */
}

#hourly-forecast::-webkit-scrollbar {
  height: 8px;
  /* Make scrollbar visible */
}

#hourly-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  /* Style the scrollbar */
  border-radius: 4px;
}

#hourly-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Day & Date Styling (Above Icon) */
.forecast-date {
  font-size: 0.9em;
  /* Matching the weather & temp font */
  font-weight: bold;
  margin-bottom: 5px;
}

#forecast-container {
  min-height: 15rem;
  /* Ensure it takes up space */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Safety Container */

#safety-container {
  background: rgba(255, 255, 255, 0.3);
  width: 60%;
  padding-right: 1%;
  padding-bottom: 2%;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  margin-top: 3%;
  margin-bottom: 10%;
  text-underline-position: under;
  margin-left: 20%;
  margin-right: 26%;
  overflow: hidden;
}

#safety-container h2 {
  margin-bottom: 5%;
  margin-top: 7.5%;
  color: beige;
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-style: normal;
}

/* Safety Map */

#safety-map {
  max-height: 100rem;
  min-height: 775px;
  width: 95%;
  background-color: whitesmoke;
  margin-top: 2%;
  margin-bottom: 1%;
  border-radius: 15px;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  margin: 0 auto;
  margin-left: 2%;
  zoom: 112.5%;
}

/* Weather Map */

#weather-map {
  max-height: 100rem;
  min-height: 90rem;
  width: 95%;
  background-color: whitesmoke;
  margin-top: 2%;
  margin-bottom: 1%;
  border-radius: 15px;
  overflow-y: auto;
  /* Enable vertical scrolling */
  -ms-overflow-style: none;
  /* Hide scrollbar in IE and Edge */
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  margin: 0 auto;
  margin-left: 2%;
}

input {
  width: calc(100% - 10px);
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid white;
  padding-left: 1%;
  margin-left: 1%;
}

button {
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100px;
  font-size: 15px;
}

button:hover {
  background: black;
  color: whitesmoke;
}

button {
  color: black;
  border: 2px solid black;
  cursor: pointer;
  width: 5rem;
  font-size: large;
  margin: 0 1em;
}

.vertical-center {
  position: relative;
  top: 20%;
  bottom: 20%;
  width: 100%;
  text-align: center;
}

.one-third-width-column {
  width: 33.33%;
  display: inline-block;
}

.two-thirds-width-column {
  width: 66.66%;
  display: inline-block;
}

.snapshot-box {
  width: 33%;
  display: inline-block;
  margin-top: 1%;
  color: black;
}

#currency-container {
  display: block;
  background: rgb(226, 135, 101);
  width: 27.5%;
  max-width: 95%;
  border-radius: 5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: solid rgba(255, 255, 255, 0.1);
  text-align: center;
  float: right;
  position: relative;
  margin-right: 1%;
  margin-left: 1%;
  text-underline-position: under;
  contain: content;
  height: 125rem;
  max-height: fit-content;
  padding: 0.35em;
  border: 1px solid beige;
  overflow: hidden;
}

#currency-container h2 {
  margin-top: 10%;
  margin-bottom: 5%;
  color: rgb(103, 91, 91);
  font-weight: 700;
  font-style: normal;
}

#country-inp {
  width: 17.5rem;
}

.data-wrapper h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: black;
  background-color: #ff465a;
  text-underline-position: under;
  margin-top: 7.5%;
}

.data-wrapper span {
  font-size: 1.75rem;
}

#result {
  display: inline-block;
  padding-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  background: rgb(21, 21, 21, 0.9);
  color: white;
  margin-top: -2.5%;
}

.flag-img {
  width: 36rem;
  /* Let width adjust based on aspect ratio */
  height: auto;
  /* Fixed height */
  max-width: 100%;
  /* Prevent oversized images */
  display: block;
  /* Ensure images behave predictably */
  margin: 0 auto;
  /* Center the flag */
  margin-bottom: 5%;
  margin-top: 2.5%;
}

#container h2 {
  font-weight: 600;
  color: #222a43;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.8em;
}

.data-wrapper {
  letter-spacing: 0.3px;
  text-transform: capitalize;
  margin-bottom: 2.5%;
}

#container h4 {
  display: inline;
  font-weight: 500;
  color: #222a43;
}

#container span {
  color: #5d6274;
}

#container h3 {
  text-align: center;
  font-size: 1.2em;
  font-weight: 400;
  color: #ff465a;
}

#time-container h2 {
  margin-bottom: 5%;
  margin-top: 1%;
}

thead {
  padding: 10% 0;
}

/* Contact Section */

/* padding to allow for fixed footer */
#contact {
  margin-top: 7.5%;
  margin-bottom: 30%;
  font-weight: 900;
  font-family: "Open Sans", Arial, sans-serif;
}

#contact a {
  color: black;
  text-decoration: none;
  cursor: pointer;
  z-index: 100000000;
  position: relative;
}

#contact a:hover {
  color: beige;
  text-shadow: 1px 1px rgb(162, 152, 152);
}

.contact-link {
  font-size: 1em;
  text-decoration-line: underline;
  text-underline-offset: 1rem;
  color: beige;
  cursor: pointer;
}

.contact-boxes-container {
  width: 96%;
  margin: 0 auto;
}

.contact-box-left {
  width: 30%;
  margin-top: -20px;
  float: left;
  font-size: 1.1em;
  font-weight: 500;
  color: beige;
}

.contact-box-right {
  width: 30%;
  margin-top: -20px;
  float: right;
  font-size: 1.1em;
  font-weight: 500;
  color: beige;
  position: relative;
}

.spacer {
  clear: both;
}

.contact-box-center {
  width: 30%;
  height: 250px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
}

#contact h2 {
  color: black;
}

#contact h3 {
  color: beige;
}

#contact span {
  color: black;
  font-size: 0.9em;
}

th,
td {
  border-bottom: 1px solid black;
}

ul {
  padding: 0;
}

#reasons li {
  margin-top: 5%;
}

a:hover {
  text-decoration: none;
  color: rgba(255, 148, 148, 1);
}

/* Footer */

footer {
  background-color: black;
  padding-top: 1.5%;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10000000000;
  border-top: 2px solid beige;
  height: 5rem;
  padding-bottom: 1.5%;
}

footer > span {
  color: silver;
  margin-right: 1%;
  font-size: 1.25rem;
  margin-bottom: 5%;
}

footer > a {
  color: rgb(248, 174, 128);
  text-decoration: none;
  padding: 1.5% 1.5%;
  font-size: 1.35rem;
}

footer > p {
  color: silver;
  margin-left: 1%;
  font-size: 1em;
  margin-bottom: 10%;
  display: none;
}

i {
  padding: 1.25%;
}

#info-wrapper {
  width: 33%;
  height: 35rem;
  margin-top: 1.5%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Ensure #first-row is initially unscaled */
#first-row {
  transform: scale(1);
  /* Initial state */
}

/* Maximize effect on snapshot-box */
.snapshot-box.maximized {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transform: scale(1);
  z-index: 1000;
  opacity: 1;
  padding: 20px;
  box-sizing: border-box;
}

/* Minimized state (hidden) */
.snapshot-box.minimized {
  display: none;
}

/* Window controls */
.window-controls {
  position: absolute;
  top: 5px;
  right: 10px;

  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.window-controls button {
  border: none;
  background-color: transparent;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.window-controls button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/* Hidden state */
#first-row {
  opacity: 0;
  transform: translateY(20px);
  /* Slight slide-up effect */
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: none;
  /* Initially hidden */
}

/* Visible state */
#first-row.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* Scaled state for #first-row when a box is maximized */
#first-row.scaled {
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

/* Open Streets Map */

#map-container {
  display: inline-block;
  width: 100%;
  height: 35rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  margin-top: 1%;
  text-align: center;
  position: relative;
  z-index: 1;
}

#map-wrapper {
  display: inline-block;
  width: 100%;
  height: 35rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  margin-top: 1%;
  text-align: center;
  position: relative;
  z-index: 1;
}

#map {
  display: inline-block;
  height: 100%;
  width: 100%;
  border-top: 5px solid beige;
  border-bottom: 5px solid beige;
}

#description {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
}

#infowindow-content .title {
  font-weight: bold;
}

#infowindow-content {
  display: none;
}

#map #infowindow-content {
  display: inline;
}

.pac-card {
  background-color: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
  margin: 10px;
  padding: 0 0.5em;
  font: 400 18px Roboto, Arial, sans-serif;
  overflow: hidden;
  font-family: Roboto;
  padding: 0;
}

#pac-container {
  padding-bottom: 12px;
  margin-right: 12px;
}

.pac-controls {
  display: inline-block;
  padding: 5px 11px;
}

.pac-controls label {
  font-family: "Roboto";
  font-size: 13px;
  font-weight: 300;
}

#pac-input {
  background-color: #fff;
  font-family: "Roboto";
  font-size: 15px;
  font-weight: 300;
  margin-left: 12px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 400px;
}

#pac-input:focus {
  border-color: #4d90fe;
}

#title {
  color: #fff;
  background-color: #4d90fe;
  font-size: 25px;
  font-weight: 500;
  padding: 6px 12px;
}

#target {
  width: 345px;
}

.pac-target-input {
  width: 7rem;
  height: 5rem;
  margin-bottom: 5%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  width: 100%;
  padding: 1%;
  font-size: 2.75rem;
  text-transform: capitalize;
  text-align: center;
  border: 2.5px solid black;
}

/* Smooth transition for elements */
.snapshot-box {
  display: none;
  /* Default hidden state */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  /* Smooth fade */
}

/* 404 Page */

#page-404 {
  font-size: 1.75em;
  line-height: 120%;
  margin: 0 auto;
  margin-bottom: 12.5%;
}

#lost {
  display: block;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  width: 55%;
  border: 2px solid beige;
  filter: brightness(80%);
  filter: contrast(100%);
}

#warning {
  margin-bottom: 10%;
}

.warning-text-center {
  text-align: center;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  color: #000;
  background-color: white;
  border-radius: 50%;
  max-width: 30rem;
  height: 3rem;
  margin: 0 auto;
  padding-top: 1%;
}

.back-button {
  display: block;
  height: 8vh;
  width: 15vw;
  align-content: center;
  font-size: 1.5em;
  background-color: #000;
  color: white;
  margin: 0 auto;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
  border: 4px solid black;
}

.back-button:hover {
  background-color: white;
  color: black;
}

/* Postcode Modal */

#postcode-link {
  font-weight: 500;
  cursor: pointer;
}

/* Contact Postcode Modal Overlay */

/* Modal styling */
.mapmodal {
  display: none;
  position: fixed;
  z-index: 999999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.mapmodal-content {
  margin: 10% auto;
  padding-left: 1%;
  padding-right: 1%;
  padding-bottom: 2.5%;
  border-radius: 8px;
  width: fit-content;
  max-width: 50%;
  height: 45%;
  /* Matches your original intention */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  /* Centers the iframe */
  justify-content: center;
  align-items: center;
}

.mapmodal-content iframe {
  width: 100%;
  /* Full width of the modal-content */
  height: 100%;
  /* Full height of the modal-content */
  border: none;
  /* Removes border */
}

#close-map-modal {
  position: absolute;
  top: 11%;
  right: 8.5%;
  font-size: 2.5em;
  font-weight: bold;
  color: #696565;
  background-color: white;
  cursor: pointer;
  padding: 2%;
  z-index: 10000000000;
}

#close-map-modal:hover {
  color: #262525;
  background-color: white;
}

#map-modal.active {
  display: flex !important;
}

/* CARROUSEL COUNTRY IMAGE SLIDESHOW*/

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 2%;
}

.wgh-slider {
  position: relative;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.wgh-slider__viewport {
  position: relative;
  height: 100%;
  width: 100%;
}

.wgh-slider__viewbox {
  display: block;
  position: relative;
  perspective: 100vw;
  margin: 0 auto;
  width: 33.3333333333%;
  max-width: 38vw;
  transform-style: preserve-3d;
  z-index: 0;
}

.wgh-slider__viewbox::before {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  content: "";
  height: 0;
  padding-bottom: 100%;
  width: 100%;
}

.wgh-slider__container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.3s;
  transform-style: preserve-3d;
}

.wgh-slider-target {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}

input.wgh-slider-target {
  display: none;
}

.wgh-slider-target:first-of-type:last-of-type
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__trigger {
  display: none;
}

.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(0%);
}

.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-50%);
}

.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-100%);
}

.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-150%);
}

.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-200%);
}

.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-250%);
}

.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-300%);
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider__container {
  transform: translateX(-350%);
}

.wgh-slider-item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(45deg);
  transition: transform 0.6s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
}

.wgh-slider-item:nth-child(1) {
  left: 0%;
}

.wgh-slider-item:nth-child(2) {
  left: 50%;
}

.wgh-slider-item:nth-child(3) {
  left: 100%;
}

.wgh-slider-item:nth-child(4) {
  left: 150%;
}

.wgh-slider-item:nth-child(5) {
  left: 200%;
}

.wgh-slider-item:nth-child(6) {
  left: 250%;
}

.wgh-slider-item:nth-child(7) {
  left: 300%;
}

.wgh-slider-item:nth-child(8) {
  left: 350%;
}

.wgh-slider-item__trigger {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  cursor: pointer;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__trigger,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__trigger {
  display: none;
}

.wgh-slider-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: scale(0.75);
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0s;
  z-index: 10;
}

.wgh-slider-item__inner::before,
.wgh-slider-item__inner::after {
  display: block;
  position: absolute;
  content: "";
}

.wgh-slider-item__inner::before {
  top: 24px;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
  transform: translate(-24px, 12px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.wgh-slider-item__inner::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    black 50%,
    rgba(0, 0, 0, 0) 100%
  );
  background-repeat: repeat-x;
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position 0.3s linear;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__inner,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__inner {
  transform: scale(1);
  transition-delay: 0.6s;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__inner::before {
  transform: translate(0, 24px);
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  .wgh-slider-item__inner::after {
  background-position: -50% 0%;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::before {
  transform: translate(24px, 12px);
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  ~ .wgh-slider-item
  .wgh-slider-item__inner::after {
  background-position: -100% 0%;
}

.wgh-slider-item-figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wgh-slider-item-figure__image {
  position: absolute;
  display: block;
  max-width: 100%;
  max-height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 1;
  object-fit: cover;
}

.wgh-slider-item-figure__caption {
  position: absolute;
  display: block;
  overflow: hidden;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 24px;
  background-image: linear-gradient(0deg, #000 0%, transparent 100%);
  z-index: 2;
}

.wgh-slider-item-figure__caption a {
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  color: #fff;
}

.wgh-slider-item-figure__caption span {
  display: block;
  font-size: 14px;
  line-height: 16px;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8),
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7),
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6),
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5),
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4),
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3),
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2),
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1) {
  transform: translate3d(0, 0, 0) rotateY(0deg);
  z-index: 9999;
}

.wgh-slider-target:nth-of-type(8):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(8)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(7):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(7)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(6):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(6)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(5):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(5)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(4):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(4)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(3):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(3)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(2):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(2)
  ~ .wgh-slider-item,
.wgh-slider-target:nth-of-type(1):checked
  ~ .wgh-slider__viewport
  .wgh-slider-item:nth-child(1)
  ~ .wgh-slider-item {
  transform: translate3d(0, 0, 0) rotateY(-45deg) !important;
}

.wgh-slider-item img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  /* Ensures the entire image is visible without cropping */
}

/* Carousel Container */

.carousel-container {
  position: relative;
  width: 100%;
  height: 38rem;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 3.5em;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 0px;
}

.next {
  right: 25px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.wgh-slider-item-figure {
  width: 100%;
  height: 100%;
  /* Ensures no weird extra spacing */
}

.wgh-slider-item-figure__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Ensures images fill the container without distortion */
  display: block;
  object-fit: cover;
}

.wgh-slider-item__inner {
  object-fit: cover;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 38rem;
  overflow: hidden;
  border-radius: 10px;
}

.wgh-slider__container {
  display: flex;
  /* Ensure slides are in a row */
  transition: transform 0.5s ease-in-out;
  transform: translateX(-100%);
  /* Offset first cloned slide left */
}

.wgh-slider-item {
  flex: 0 0 100%;
  /* Each slide takes up full container width */
}

/* REPLACEMENT GOOGLE PLACES MAP */

#map {
  height: 65vh;
  /* Set the size of the map */
  width: 100%;
}

/* Map Search Bar */

#search-container {
  width: 40rem;
  margin: 20px auto;
  font-size: 2.5rem;
  margin-bottom: 5%;
}

#city-search {
  border: 2.5px solid black;
  border-radius: 5px;
  outline: none;
  width: 30vw;
  height: 4rem;
  padding: 10px;
  font-size: 3rem;
  text-transform: capitalize;
  text-align: center;
  font-weight: 400;
}

.container {
  display: none;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Amenity / Places Buttons */

.amenity-buttons {
  display: flex;
  flex-wrap: wrap;
  /* Allow buttons to wrap into multiple lines */
  gap: 10px;
  /* Space between buttons */
  overflow: hidden;
}

.amenity-btn {
  flex: 1 1 30%;
  /* Allow buttons to take up 30% of the row space */
  min-width: 120px;
  /* Prevent buttons from being too small */
  margin-bottom: 10px;
  /* Space below each button */
  padding: 10px 20px;
  background-color: black;
  /* Green */
  color: silver;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.amenity-btn:hover {
  background-color: silver;
  color: black;
}

/* Amenity Buttons Styling */
.amenity-button {
  width: 10em;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  /* Gradient background */
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 10px 10px;
  padding-left: 1%;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Space between icon and text */
  text-align: center;
}

/* Hover Effect */
.amenity-button:hover {
  background: linear-gradient(135deg, #ff9a76, #ffc988);
  transform: scale(1.05);
}

/* Button Active/Clicked Effect */
.amenity-button:active {
  transform: scale(0.95);
}

/* Button Container */
#amenity-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* OpenMaps Autocomplete */

#autocomplete-results {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

#autocomplete-results li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

#autocomplete-results li:hover {
  background: #f0f0f0;
}

/* SCROLL BAR STYLING FOR WEATHER FORECAST*/

/* Forecast card centering */
.forecast-card {
  min-width: 180px;
  flex-shrink: 0;
  margin-bottom: 4.5%;
}

/* Ensure H2 stays visible */
#forecast-container h2 {
  text-align: center;
  margin-bottom: 15%;
}

/* Scroll buttons - orange hover */
.scroll-controls button {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease-in-out;
}

.scroll-controls button:hover {
  color: orange;
}

/* ─────────────── HOURLY FORECAST ─────────────── */
#hourly-forecast {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#hourly-forecast::-webkit-scrollbar {
  height: 6px;
}

#hourly-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#hourly-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ─────────────── 5-DAY FORECAST ─────────────── */
#forecast-cards {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#forecast-cards::-webkit-scrollbar {
  height: 6px;
}

#forecast-cards::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#forecast-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ─────────────── 16-DAY FORECAST ─────────────── */
#long-term-forecast {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#long-term-forecast::-webkit-scrollbar {
  height: 6px;
}

#long-term-forecast::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

#long-term-forecast::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

#forecast-cards {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.forecast-card {
  width: 45%;
  min-width: 180px;
  flex-shrink: 0;
  margin-bottom: 4.5%;
}

.mini-hourly-strip::-webkit-scrollbar {
  height: 6px;
}

.mini-hourly-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.mini-hourly-strip::-webkit-scrollbar-track {
  background: transparent;
}

/* === Slim Scrollbar Style for ALL weather scrolls === */
.scroll-container,
#hourly-forecast,
#forecast-cards,
#long-term-forecast,
.mini-hourly-strip {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.scroll-container::-webkit-scrollbar,
#hourly-forecast::-webkit-scrollbar,
#forecast-cards::-webkit-scrollbar,
#long-term-forecast::-webkit-scrollbar,
.mini-hourly-strip::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-thumb,
#hourly-forecast::-webkit-scrollbar-thumb,
#forecast-cards::-webkit-scrollbar-thumb,
#long-term-forecast::-webkit-scrollbar-thumb,
.mini-hourly-strip::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-track,
#hourly-forecast::-webkit-scrollbar-track,
#forecast-cards::-webkit-scrollbar-track,
#long-term-forecast::-webkit-scrollbar-track,
.mini-hourly-strip::-webkit-scrollbar-track {
  background: transparent;
}

/* Styling mini scroll buttons to match the others */
.mini-scroll-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  /* Adjust space between arrows */
  margin-top: 8px;
}

.mini-scroll-controls button {
  font-size: 16px;
  padding: 8px 12px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mini-scroll-controls button:hover {
  background-color: orange;
  color: white;
}

.mini-scroll-controls button:focus {
  outline: none;
}

.inner-scroll {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  scrollbar-width: thin;
  width: 100%;
  /* <-- make sure it's constrained to the card */
  max-width: 100%;
  padding: 5px 0;
}

.mini-scroll-controls {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.mini-scroll-controls button {
  background: #333;
  color: white;
  border: none;
  padding: 4px 10px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.mini-scroll-controls button:hover {
  background: orange;
}

/* Force WebKit to show native scrollbar buttons (arrows) */
.mini-hourly-strip::-webkit-scrollbar-button {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  /* subtle visible background */
  height: 6px;
  width: 6px;
}

.mini-scroll-controls {
  display: flex;
  justify-content: center;
  margin-top: 6px;
  gap: 10px;
}

.mini-scroll-controls button {
  background: #333;
  color: white;
  border: none;
  padding: 4px 10px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.mini-scroll-controls button:hover {
  background: orange;
}

.emoji-pin-marker {
  background: none !important;
  border: none !important;
}

@keyframes bounce-marker {
  0% {
    transform: translateY(0);
  }

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

  50% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.bounce {
  animation: bounce-marker 0.6s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.leaflet-marker-icon.bounce {
  animation: bounce 0.6s ease;
}

/* Responsive Testing */

/* No less than 3000px, no greater than 4000px */
@media (min-width: 3000px) and (max-width: 4000px) {
  #header {
    height: 26rem;
  }

  #tagline {
    margin-bottom: 3%;
    font-size: 2.4rem;
  }

  #header h1 {
    font-size: 8rem;
  }

  nav {
    padding: 2rem 1rem;
  }

  nav a {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 4rem;
  }

  #nameq {
    font-size: 7rem;
  }

  #time {
    font-size: 5rem;
  }

  #currency {
    font-size: 5rem;
  }

  #headlines-container {
    height: 130rem;
  }

  #headlines h4 {
    font-size: 3.3em;
  }

  #headlines p {
    font-size: 2.8em;
  }

  h2 {
    font-size: 4.5rem;
  }

  #holidays-section h4 {
    font-size: 1em;
  }

  #name {
    width: 30rem;
    font-size: 5rem;
  }

  #currency-container {
    height: 224rem;
  }

  iframe {
    zoom: 180%;
  }

  #info-container h5 {
    margin-top: 11%;
    font-size: 4rem;
  }

  #currency-container h2 {
    font-size: 4rem;
  }

  #headlines-container h2 {
    font-size: 4rem;
  }

  #headlines {
    max-height: 190rem;
  }

  .flag-img {
    width: 90rem;
  }

  .data-wrapper h4 {
    font-size: 1em;
  }

  .data-wrapper span {
    font-size: 1.25em;
  }

  #holidays-list {
    font-size: 2rem;
  }

  .navigation-buttons button {
    min-width: 8rem;
    min-height: 4.5rem;
    margin-bottom: 3.5vh;
    font-size: 1.75rem;
  }

  .navigation-buttons-holidays button {
    min-width: 8rem;
    min-height: 4.5rem;
    font-size: 1.75rem;
  }

  .navigation-buttons-black button {
    min-width: 8rem;
    min-height: 4.5rem;
    margin-bottom: 3.5vh;
    font-size: 1.75rem;
  }

  .navigation-buttons-black {
    margin-top: 2.5em;
    margin-bottom: -6%;
  }

  .carousel-container {
    height: 90rem;
  }

  #city-search {
    width: 30vw;
    height: 7rem;
    padding: 10px;
    font-size: 5.5rem;
    transform: translateX(-23%);
  }

  #map {
    height: 70rem;
    width: 100%;
  }

  strong {
    font-size: 2.2rem;
  }

  .amenity-button {
    font-size: 1.3rem;
    padding: 0.8vh;
  }

  #hotel-container {
    height: 167rem;
  }

  #place-container {
    height: 170rem;
  }

  #hotels {
    max-height: 146rem;
    font-size: 1.3em;
    padding: 0;
  }

  #places {
    height: 73rem;
    font-size: 2em;
  }

  .weather-text {
    font-size: 1.9em;
    text-align: center;
  }

  #contact {
    margin-bottom: 40%;
  }

  .contact-box-center {
    font-size: 3em;
  }

  .contact-box-right {
    font-size: 3em;
  }

  .contact-box-left {
    font-size: 3em;
  }

  footer {
    height: 4rem;
    padding-top: 1%;
  }

  footer a {
    font-size: 2.5rem;
  }

  footer > p {
    font-size: 1.75em;
  }
}

/* No less than 2600px, no greater than 3000px */
@media (min-width: 2600px) and (max-width: 3000px) {
  #header {
    height: 28rem;
  }

  #tagline {
    margin-bottom: 3%;
  }

  #name {
    width: 18rem;
    font-size: 3.5rem;
  }

  .flag-img {
    width: 62rem;
  }

  .carousel-container {
    height: 80rem;
  }

  iframe {
    zoom: 175%;
  }

  #tagline {
    margin-bottom: 4%;
    font-size: 2.4rem;
  }

  #header {
    height: 24rem;
  }

  #header h1 {
    font-size: 8rem;
  }

  nav a {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 3.5rem;
  }

  #nameq {
    font-size: 7rem;
  }

  #time {
    font-size: 5rem;
  }

  #currency {
    font-size: 5rem;
  }

  #headlines h4 {
    font-size: 3.3em;
  }

  #headlines p {
    font-size: 2.8em;
  }

  .data-wrapper span {
    font-size: 2.5rem;
  }

  .data-wrapper h4 {
    font-size: 1.8rem;
  }

  #holidays-list {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  #info-container h5 {
    font-size: 3rem;
  }

  #map {
    height: 70rem;
    width: 100%;
  }

  strong {
    font-size: 2.2rem;
  }

  .amenity-button {
    font-size: 1.25rem;
    padding: 0.9vh;
  }

  #hotel-container {
    height: 167rem;
  }

  #place-container {
    max-height: 190rem;
    height: auto;
  }

  #hotels {
    max-height: 148rem;
    font-size: 1.3em;
  }

  #places {
    max-height: 84rem;
    height: auto;
    font-size: 2em;
  }

  #contact {
    margin-bottom: 40%;
  }

  #contact h2 {
    color: black;
    font-size: 4rem;
  }

  .contact-box-center {
    font-size: 3em;
  }

  .contact-box-right {
    font-size: 3em;
  }

  .contact-box-left {
    font-size: 3em;
  }

  .mapmodal-content {
    padding-bottom: 3%;
  }

  footer {
		height: 4rem;
	}

  footer a {
    font-size: 2.2rem;
  }

  footer > p {
    font-size: 1.75em;
    display: none;
  }

  #headlines h4 {
    font-size: 2.5em;
  }

  #headlines p {
    font-size: 2em;
  }

  #city-search {
    height: 5.5rem;
    font-size: 3.5rem;
    transform: translateX(-10%);
  }

  #holidays-section h4 {
    font-size: 1.8rem;
  }

  #headlines {
    max-height: 195rem;
  }

  #headlines {
    max-height: 198rem;
  }

  #currency-container {
    height: 224rem;
  }

  .navigation-buttons button {
    min-width: 8rem;
    min-height: 4.5rem;
    font-size: 1.75rem;
  }

  .navigation-buttons-black button {
    min-width: 9rem;
    min-height: 5rem;
    font-size: 1.5rem;
  }

  .navigation-buttons-holidays button {
    min-width: 9rem;
    min-height: 5rem;
    font-size: 1.5rem;
  }

  .navigation-buttons-black {
    margin-top: 3em;
  }
}

/* No less than 1650px, no greater than 2600px */
@media (min-width: 1650px) and (max-width: 2600px) {
  #header {
    height: 19rem;
  }

  #tagline {
    font-size: 1.75em;
    margin-bottom: 3.5%;
  }

  nav > a {
    font-size: 1.7em;
  }

  h2 {
    font-size: 2.1rem;
    color: whitesmoke;
    margin-top: -1%;
  }

  #name {
    width: 16rem;
    font-size: 3rem;
  }

  #info-container h5 {
    margin-top: 12%;
    margin-bottom: 9%;
  }

  .flag-img {
    width: 60rem;
  }

  #headlines {
    max-height: 160rem;
  }

  #currency-container {
    height: 180rem;
  }

  iframe {
    zoom: 145%;
  }

  .navigation-buttons-holidays button {
    min-width: 6rem;
    min-height: 3.5rem;
  }

  .navigation-buttons button {
    min-width: 6rem;
    min-height: 3.5rem;
  }

  .navigation-buttons-black button {
    min-width: 6rem;
    min-height: 3.5rem;
    margin-bottom: inherit;
  }

  .navigation-buttons-black {
    margin-top: 3em;
  }

  .carousel-container {
    height: 80rem;
  }

  .image-container {
    margin-top: -5%;
  }

  .carousel-btn {
    margin-top: -5%;
  }

  #your-next-selection {
    margin-top: -10%;
  }

  #city-search {
    height: 5rem;
    font-size: 3.5rem;
    width: 35rem;
  }

  #hotels {
    height: 105rem;
  }

  #contact {
    margin-bottom: 40%;
  }

  #contact h2 {
    color: black;
    font-size: 2.6em;
  }

  .contact-box-center {
    font-size: 1.8em;
  }

  .contact-box-right {
    font-size: 1.8em;
  }

  .contact-box-left {
    font-size: 1.8em;
  }

  .mapmodal-content {
    padding-bottom: 3.5%;
    padding-top: 1%;
  }

  footer {
    height: 3rem;
  }

  footer a {
    font-size: 1.75em;
  }

  footer > p {
    font-size: 1.5em;
  }
}

/* For largish screens sizes from 1850px wide and down */

@media screen and (max-width: 1850px) {
  #header {
    height: 18rem;
  }

  #tagline {
    font-size: 1.75em;
    margin-bottom: 5%;
  }

  #headlines {
    max-height: 105rem;
  }

  #currency-container {
    height: 125rem;
  }

  #city-search {
    height: 4.5rem;
    font-size: 3rem;
    transform: translateX(0%);
  }

  iframe {
    zoom: 100%;
  }

  #name {
    width: 11rem;
    font-size: 2rem;
  }

  .navigation-buttons button {
    margin-top: 3%;
  }

  .amenity-button {
    width: 8.5em;
  }

  footer {
    height: 3rem;
  }

  footer > p {
    font-size: 1.1em;
    display: none;
  }
}

/* For largish screens sizes from 1650px wide and down */

@media screen and (max-width: 1650px) {
  #header {
    height: 17rem;
  }

  #tagline {
    font-size: 1.45rem;
  }

  nav > a {
    font-size: 1.5em;
  }

  footer a {
    font-size: 1.4em;
  }

  footer {
    height: 2.5rem;
  }

  #hotels {
    width: 100%;
    table-layout: auto;
  }

  #places {
    max-height: 65rem;
  }

  #contact {
    margin-bottom: 44%;
  }

  #contact h2 {
    font-size: 2.4em;
  }

  .contact-box-center {
    font-size: 1.7em;
  }

  .contact-box-right {
    font-size: 1.7em;
  }

  .contact-box-left {
    font-size: 1.7em;
  }

  #footer p {
    display: none;
  }
}

@media screen and (max-width: 1550px) {
  nav > a {
    font-size: 1.4em;
  }

  .amenity-button {
    width: 8.5em;
    font-size: 9px;
    text-align: center;
    padding: 1em;
  }

  #places-results table,
  #places-results thead,
  #places-results tbody,
  #places-results tr,
  #places-results th,
  #places-results td {
    max-width: max-content;
    box-sizing: border-box;
    text-align: center;
    margin: 1%;
    font-size: 1em;
    padding: 1%;
    font-weight: 700;
  }

  #contact h2 {
    color: black;
    font-size: 2.25em;
  }

  .contact-box-center {
    font-size: 1.5em;
  }

  .contact-box-right {
    font-size: 1.5em;
  }

  .contact-box-left {
    font-size: 1.5em;
  }
}

/* For largish screens sizes from 1450px wide and down */

@media screen and (max-width: 1450px) {
  #header {
    height: 13rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.75px 0 #fff, -1.75px 0 #fff, 0 1.75px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff,
      2.75px 2.75px beige;
  }

  h3 {
    font-size: xx-large;
  }

  #tagline {
    font-size: 1.25rem;
  }

  nav > a {
    font-size: 1.3em;
  }

  h2 {
    font-size: x-large;
  }

  h3 {
    font-size: x-large;
  }

  #nameq {
    font-size: 2.2rem;
  }

  #time {
    font-size: 1.9rem;
  }

  #currency {
    font-size: 1.9rem;
  }

  #info-container h5 {
    font-size: x-large;
  }

  #holidays-section h4 {
    font-size: 1.25rem;
  }

  .data-wrapper h4 {
    font-size: 1.25rem;
  }

  .data-wrapper span {
    font-size: 1.3rem;
  }

  #headlines h4 {
    font-size: 1.5rem;
  }

  #headlines p {
    font-size: 1.25rem;
  }

  #hotels {
    max-height: 107rem;
    font-size: 0.9em;
  }

  #place-container,
  #places-modal,
  #places {
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
    padding-bottom: 35%;
  }

  #places {
    max-height: 64rem;
    /* ensures the table NEVER grows past this */
    overflow-y: auto;
    padding-bottom: 1rem;
    /* just enough for comfort */
    box-sizing: border-box;
  }

  .image-container {
    width: 105%;
  }

  .amenity-button {
    font-size: 11px;
  }

  #contact {
    margin-bottom: 50%;
    margin-top: 20%;
  }

  .mapmodal-content {
    padding-bottom: 3.6%;
  }

  footer {
		padding-bottom: 0;
		height: 3rem;
  }

  footer > a {
    font-size: 1.3em;
  }

  footer > p {
    display: none;
  }
}

/* For medium screens sizes from 1355px wide and down */

@media screen and (max-width: 1355px) {
  .amenity-button {
    font-size: 10px;
  }

  #places {
    max-height: 67rem;
  }

  footer > a {
    font-size: 1.1em;
  }
}

/* For medium screens sizes from 1250px wide and down */

@media screen and (max-width: 1250px) {
  /* Global Reset */
  body,
  html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
  }

  #header {
    height: 12rem;
  }

  .image-conatiner {
    width: 110%;
  }

  /* Make sections responsive */
  #map {
    width: 100%;

    /* Adjust height for smaller screens */
  }

  #search-container {
    max-width: 90%;
    margin: 1rem auto;
    font-size: 1.2rem;
  }

  #autocomplete {
    width: 50%;
    padding: 0.8rem;
    font-size: 1.5rem;
    border-radius: 5px;
  }

  /* Header Styling */
  header {
    text-align: center;
    height: 4rem;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  #tagline {
    font-size: 1.1rem;
  }

  /* Navigation Bar */
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background-color: black;
  }

  nav a {
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1em;
  }

  /* Responsive Sections */
  .snapshot-box {
    margin: 1rem auto;
    width: 90%;
    max-width: 350px;
    border-radius: 10px;
    max-height: 200rem;
  }

  #nameq {
    font-size: 2.75vh;
  }

  #time {
    font-size: 2.5vh;
  }

  #currency {
    font-size: 2.5vh;
  }

  #info-container {
    transform: translateX(6%);
    padding: 0 1.5vw;
  }

  #headlines-container {
    padding: 1%;
  }

  .float-left,
  .float-right,
  .float-center {
    margin: 0 auto;
    text-align: center;
  }

  #first-row,
  #second-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
  }

  /* Stretch the inner modals and scrollable content fully */
  #holidays-section {
    font-size: 1.1rem;
  }

  #hotel-modal {
    max-width: max-content;
    font-size: 1em;
  }

  #second-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  #hotel-container,
  #place-container,
  #weather-container {
    flex: 1 1 30%;
    min-width: 280px;
    /* Protect on very small devices */
    max-width: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
  }

  /* Make sure hotel table and weather content stretches */
  #hotel-results,
  #weather-container > div,
  #hotel-container > div {
    width: 100%;
    box-sizing: border-box;
  }

  /* Also stretch iframe inside weather-container properly */
  #weather-container iframe {
    width: 100% !important;
    height: auto;
    min-height: 800px;
    /* You can tweak height later */
    border: none;
  }

  #hotel-container,
  #place-container,
  #weather-container {
    max-width: 100%;
  }

  #hotels {
    max-height: 104rem;
    font-size: 11px;
  }

  #places {
    max-height: 71rem;
    font-size: 13.5px;
    height: 71rem;
  }

  /* Modals */
  .modal {
    width: 90%;
    max-width: 500px;
    margin: 1rem auto;
    padding: 1rem;
  }

  .modal {
    width: 100%;
    max-width: 50vw;
    padding: 0;
  }

  /* Headlines */
  #hourly-forecast,
  #forecast-cards {
    overflow-x: scroll;
    display: flex;
    gap: 1rem;
  }

  .amenity-button {
    font-size: 9px;
  }

  .navigation-buttons button {
    padding: 2%;
    font-size: 1rem;
    align-items: flex-start;
  }

  /* Contact */

  #contact {
    font-size: 0.7em;
    margin-bottom: 30%;
  }

  #currency-container h2 {
    font-size: x-large;
  }

  #headlines-container h2 {
    font-size: x-large;
  }

  #info-container h5 {
    font-size: x-large;
    margin-top: 14%;
    margin-bottom: 9%;
  }
}

/* 📱 Tablet Breakpoint: 1150px and below */
@media (max-width: 1150px) {
  h2 {
    font-size: x-large;
  }

  h3 {
    font-size: x-large;
  }

  #nameq {
    font-size: 2.2rem;
  }

  #time {
    font-size: 1.8rem;
  }

  #currency {
    font-size: 1.8rem;
  }

  #info-container {
    transform: translateX(6%);
    padding: 0;
  }

  #currency-container {
    height: 100rem;
  }

  #currency-container h2 {
    font-size: 1.3em;
  }

  #headlines-container h2 {
    font-size: 1.3em;
    margin-top: 8%;
  }

  #headlines h4 {
    font-size: 1.15rem;
  }

  #headlines p {
    font-size: 1rem;
  }

  #holidays-list {
    font-size: 0.85rem;
  }

  #info-container h5 {
    font-size: 1.3rem;
    margin-top: 14%;
    margin-bottom: 9%;
  }

  #info-container h2 {
    font-size: 1.25rem;
  }

  .data-wrapper span {
    font-size: 1.2rem;
  }

  #headlines h4 {
    font-size: 1.2rem;
  }

  #headlines p {
    font-size: 1.1rem;
  }

  iframe {
    zoom: 80%;
  }

  .image-container {
    width: 110%;
  }

  #places {
    max-height: 75rem;
    font-size: 12px;
    height: 75rem;
  }

  .navigation-buttons-black button {
    padding: 2%;
    min-width: 4rem;
    max-width: 5rem;
    min-height: 2.5rem;
  }

  .amenity-button {
    font-size: 8px;
    padding: 1em;
  }

  .mapmodal-content {
    padding-bottom: 4%;
  }

  /* Footer */
  footer {
    text-align: center;
    background-color: #000;
  }

  footer a {
    margin: 0 1rem;
    text-align: center;
    align-items: center;
    margin: 0 auto;
  }

  .footer-text {
    display: none;
  }

  footer a {
    font-size: 1.4em;
  }
}

/* 📱 Tablet Breakpoint: 1050px and below */
@media (max-width: 1050px) {
  #header {
    height: 11rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 2px 2px beige;
  }

  #tagline {
    font-size: 1rem;
    margin-bottom: 5%;
    padding: 2px;
  }

  nav {
    padding: 0.3rem;
  }

  nav a {
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1em;
    padding: 0;
  }

  #name {
    width: 11rem;
    border: 2px solid rgb(248, 174, 128);
    padding: 2%;
    font-size: 1.6rem;
  }

  #first-row,
  #second-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 1.5rem;
  }

  #your-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    background: radial-gradient(
      circle,
      rgba(242, 130, 105, 1) 20%,
      rgba(245, 104, 137, 1) 80%,
      rgba(255, 148, 148, 1) 100%
    );
    border-top: 0.25em solid beige;
    border-bottom: 0.25em solid beige;
    margin: 2% auto;
    text-align: center;
    contain: content;
    transform: scale(1);
    overflow-x: auto;
  }

  #your-selection {
    border-top: 0.25em solid beige;
    border-bottom: 0.25em solid beige;
  }

  /* Universal Box Sizing Fix */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  h2 {
    font-size: x-large;
  }

  #info-container {
    transform: translateX(2%);
  }

  #info-container h5 {
    font-size: x-large;
  }

  #headlines-container {
    padding: 1%;
  }

  #info-container {
    padding: 1%;
  }

  #currency-container {
    padding: 5%;
  }

  #nameq {
    font-size: xx-large;
  }

  #time {
    font-size: xx-large;
  }

  #currency {
    font-size: xx-large;
  }

  h3 {
    font-size: x-large;
  }

  #map-wrapper {
    margin-bottom: -5%;
  }

  #headlines-container h2 {
    font-size: x-large;
    margin-top: 5%;
  }

  #currency-container h2 {
    font-size: x-large;
  }

  #info-container h5 {
    font-size: 1.4rem;
    margin-top: 15%;
  }

  #headlines-container h2 {
    font-size: 1.4em;
    margin-top: 12%;
  }

  #currency-container h2 {
    font-size: 1.4em;
    margin-top: -6%;
    margin-bottom: 9%;
  }

  #info-container {
    padding: 0 1vw;
    max-width: 33vw;
    margin-left: 2%;
  }

  #city-search {
    width: 30vw;
    height: 3.5rem;
    font-size: 1.6em;
  }

  .amenity-button {
    font-size: 7px;
    padding: 1em;
  }

  #places {
    max-height: 78rem;
    height: 78rem;
  }

  #hotels {
    max-height: 106rem;
  }

  footer {
    height: 3.5rem;
    padding-top: 1rem;
    padding-bottom: 1.5em;
  }

  footer a {
    font-size: 1.25em;
  }
}

/* 📱📱 Mobile Breakpoint: 950px and below */
@media (max-width: 950px) {
  #header {
    height: 10rem;
  }

  #header h1 {
    font-size: 2.75rem;
  }

  #tagline {
    font-size: 0.95em;
    margin-bottom: 4%;
  }

  nav > a {
    font-size: 0.9rem;
  }

  #first-row {
    gap: 0;
    margin: 0;
  }

  #headlines-container {
    padding: 0;
  }

  #headlines h4 {
    font-size: 1.6rem;
  }

  #headlines p {
    font-size: 1.2rem;
  }

  #info-container {
    padding: 0;
    max-width: 36vw;
    margin-left: 0;
    transform: translateX(5%);
  }

  #holidays-list {
    font-size: 0.75rem;
  }

  #currency-container {
    padding: 0;
    max-width: 30vw;
    margin-left: 0;
    height: 90rem;
  }

  iframe {
    zoom: 70%;
  }

  .image-container {
    width: 110%;
  }

  #contact {
    font-size: 0.6em;
  }

  #nameq {
    font-size: 1.1em;
  }

  #time {
    font-size: 0.9em;
  }

  #currency {
    font-size: 0.9em;
  }

  h3 {
    font-size: 1.25rem;
  }

  #currency-container h2 {
    font-size: 1.25rem;
    margin-top: 12%;
    margin-bottom: 5%;
  }

  #info-container h5 {
    font-size: 1.25rem;
    margin-top: 18%;
  }

  .data-wrapper span {
    font-size: 1.15rem;
  }

  #headlines-container h2 {
    font-size: 1.25rem;
  }

  .amenity-button {
    font-size: 8px;
    padding: 1em;
  }

  #places {
    height: 76rem;
  }

  #city-search {
    width: 30vw;
    height: 5vh;
    font-size: 1.8em;
  }

  footer a {
    font-size: 1.4em;
  }
}

/* For Tablet & Mobile Screens 930px and below */

@media (max-width: 930px) {
  #places {
    height: 60rem;
    max-height: 75rem;
  }
}

/* For Tablet & Mobile Screens 904px and below */

@media (max-width: 904px) {
  #places {
    height: 60rem;
  }
}

/* For Tablet & Mobile Screens 890px and below */

@media (max-width: 890px) {
  #header {
    height: 10rem;
  }

  #tagline {
    margin-bottom: 5%;
  }

  #first-row {
    flex-direction: column;
    align-items: center;
  }

  #first-row .snapshot-box {
    width: 97.5%;
    /* full width on smaller screens */
    max-width: 97.5%;
  }

  #info-container {
    transform: translateX(1%);
  }

  #headlines-container h2 {
    font-size: 1.75rem;
    margin-top: 8%;
    margin-bottom: 4%;
  }

  #info-container h5 {
    font-size: 1.75rem;
    margin-top: 12%;
    margin-bottom: 7%;
  }

  #currency-container h2 {
    font-size: 1.75rem;
  }

  #headlines {
    width: 85vw;
    max-width: max-content;
    margin: 0 auto;
    transform: translateX(-20%);
  }

  .flag-img {
    width: 60rem;
  }

  #holidays-section {
    width: 600rem;
    max-height: 24rem;
    padding: 2em 17.5em;
  }

  #holidays-list {
    font-size: 1.2rem;
    width: 35rem;
  }

  #currency-container {
    height: 190rem;
  }

  .navigation-buttons-black button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 2%;
    margin-top: 5%;
    min-width: 4rem;
    min-height: 3rem;
  }

  .navigation-buttons-holidays button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 3.5%;
    margin-top: 4%;
    max-width: 5rem;
  }

  iframe {
    zoom: 150%;
  }

  .amenity-button {
    font-size: 10px;
    padding: 6px 6px;
    gap: 0;
  }

  #places {
    height: 60rem;
    font-size: 11px;
  }

  .data-wrapper span {
    font-size: 1.8rem;
  }

  #time {
    font-size: 1.1em;
  }

  #currency {
    font-size: 1.1em;
  }

  #info-container h2 {
    font-size: 2rem;
  }

  .mapmodal-content {
    padding-bottom: 5%;
  }
}

/* Mobile Breakpoint: 862px and below */
@media (max-width: 862px) {
  #places {
    height: 87rem;
    font-size: 11px;
  }

  #time {
    font-size: 1em;
  }

  #currency {
    font-size: 1em;
  }

  .navigation-buttons-black button {
    padding: 1%;
    font-size: 1rem;
    margin-bottom: 1%;
    margin-top: 3%;
    min-width: 4rem;
    min-height: 3rem;
  }

  .amenity-button {
    font-size: 8px;
  }
}

/* Mobile Breakpoint: 835px and below */
@media (max-width: 835px) {
  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 2px 2px beige;
  }

  #time {
    font-size: 0.9em;
  }

  #currency {
    font-size: 0.9em;
    text-transform: uppercase;
  }

  #holidays-section {
    width: 625rem;
    max-height: 24rem;
    padding: 2em 11em;
  }

  button {
    margin: 0 2vw;
  }

  #places {
    max-height: 76rem;
    font-size: 11px;
  }
}

/* For Tablet & Mobile Screens 768px and below */

@media (max-width: 768px) {
  #header {
    height: 8rem;
  }

  #header h1 {
    font-size: 2.4rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 2px 2px beige;
  }

  #tagline {
    font-size: 0.8rem;
    padding: 2.5px;
  }

  #info-container h2 {
    font-size: x-large;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #city-search {
    width: 38vw;
    height: 4.5vh;
    font-size: 1.9em;
  }

  h2 {
    font-size: large;
  }

  #name {
    width: 9rem;
    border: 2px solid rgb(248, 174, 128);
    padding: 2%;
    font-size: 1.3rem;
  }

  .wgh-slider__viewbox {
    width: 50%;
    max-width: 42vw;
  }

  iframe {
    zoom: 150%;
  }

  .carousel-btn {
    font-size: 2em;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav a {
    font-size: 0.8rem;
  }

  #headlines h4 {
    font-size: 1.5rem;
  }

  #headlines p {
    font-size: 1.3em;
  }

  #holidays-section {
    width: 650rem;
    max-height: 24rem;
    padding: 2em 11em;
  }

  #holidays-section h4 {
    font-size: 1rem;
  }

  .data-wrapper span {
    font-size: 1.6rem;
  }

  .data-wrapper h4 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 0.9rem;
  }

  #hotels {
    max-height: 107rem;
    font-size: 11.5px;
  }

  .amenity-button {
    font-size: 0.5rem;
  }

  #places {
    height: 63rem;
    max-height: 63rem;
    font-size: 12px;
  }

  #contact {
    font-size: 0.45em;
  }

  .contact-link {
    text-underline-offset: 1vh;
  }

  #search-container {
    font-size: 1rem;
  }

  #autocomplete {
    font-size: 1.2rem;
  }

  .snapshot-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  iframe {
    width: 100% !important;
    height: 600px;
    /* Adjust this depending on content inside Wise widget */
  }

  #your-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  #your-selection > div {
    width: 90%;
    max-width: 100%;
  }

  #nameq {
    font-size: 1.8rem;
  }

  #time {
    font-size: 1.65rem;
    margin-left: 0.3rem;
  }

  #currency {
    font-size: 1.65rem;
    margin-right: 0.3rem;
  }

  #weather-container h3 {
    font-size: 3rem;
  }

  #weather-container h2 {
    font-size: x-large;
  }

  #hotels {
    max-height: 107rem;
    font-size: 11.5px;
  }

  .amenity-button {
    font-size: 10px;
    padding: 5px 5px;
    gap: 0;
  }

  #places {
    max-height: 67rem;
    font-size: 12px;
  }

  .navigation-buttons-black button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 2%;
    margin-top: 5%;
    min-width: 4rem;
    min-height: 3rem;
  }

  #map-wrapper {
    margin-bottom: -10%;
  }

  #contact h2 {
    color: black;
    font-size: 2.75em;
  }

  .contact-box-left {
    font-size: 1.8em;
  }

  .contact-box-right {
    font-size: 1.8em;
  }

  .contact-box-center {
    font-size: 1.8em;
  }

  #hotel-container {
    height: 119rem;
  }

  footer a {
    font-size: 1.3em;
    padding-bottom: 1vh;
  }
}

/* Mobile Breakpoint: 750px and below */
@media (max-width: 750px) {
  #hotels {
    max-height: 107rem;
    font-size: 11.5px;
  }

  .amenity-button {
    font-size: 10px;
    padding: 5px 5px;
    gap: 0;
  }

  #places {
    max-height: 67rem;
    font-size: 12px;
  }
}

/* Phone Screens 600px and below */
@media (max-width: 600px) {
  #header h1 {
    font-size: 2rem;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff,
      -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 1.25px 1.25px beige;
  }

  #tagline {
    margin-bottom: 1em;
    margin-bottom: 7.5%;
  }

  h3 {
    font-size: 0.9rem;
  }

  #nameq {
    font-size: 1.8rem;
  }

  #time {
    font-size: 1.3rem;
    margin-left: 0.3rem;
  }

  #currency {
    font-size: 1.3rem;
    margin-right: 0.3rem;
  }

  #info-container h5 {
    font-size: 1.4rem;
  }

  #headlines-container h2 {
    font-size: 1.4rem;
    margin-top: 8%;
    margin-bottom: 7%;
  }

  #headlines h4 {
    font-size: 1.3rem;
  }

  #headlines p {
    font-size: 1.2rem;
  }

  #currency-container {
    height: 122rem;
  }

  #currency-container h2 {
    font-size: 1.4rem;
  }

  nav a {
    font-size: 0.7em;
  }

  .data-wrapper span {
    font-size: 1.25rem;
  }

  #holidays-section {
    width: auto;
    max-height: 24rem;
    padding: 2em 16vw;
  }

  #holidays-list {
    font-size: 1rem;
  }

  .carousel-container {
    height: 80rem;
  }

  #hotel-container h2 {
    margin-top: 5%;
  }

  #contact {
    font-size: 0.375em;
  }

  #city-search {
    width: 17rem;
    font-size: x-large;
  }

  .carousel-btn {
    display: none;
  }

  #country-images {
    zoom: 150%;
  }

  .image-container {
    margin-top: -85%;
    width: 105%;
  }

  .wgh-slider {
    transform: translateX(11.25vw);
  }

  .amenity-button {
    font-size: 9px;
    padding: 0.5rem;
  }

  #hotels {
    max-height: 105rem;
  }

  #places {
    max-height: 53rem;
    padding-bottom: 1rem;
  }

  #hotel-container,
  #place-container {
    max-height: 114rem;
  }

  .navigation-buttons-black button {
    padding: 1.5%;
    font-size: 1rem;
    margin-bottom: 2%;
    margin-top: 5%;
    min-width: 5rem;
    min-height: 2.5rem;
  }

  iframe {
    zoom: 95%;
  }
}

/* Mobile Breakpoint: 585px and below */
@media (max-width: 585px) {
  /* Amenity buttons (assuming you generate them in JS) */
  .amenity-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
  }

  .amenity-buttons button {
    font-size: 0.9rem !important;
    padding: 0.5em 1em !important;
    flex: 1 1 auto;
    max-width: 30%;
    min-width: 75px;
    box-sizing: border-box;
  }

  /* Fix horizontal overflow on smaller screens */
  #place-container,
  #places-modal,
  #places {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
    padding-bottom: 20%;
  }

  #places {
    max-height: 53rem;
    /* ensures the table NEVER grows past this */
    overflow-y: auto;
    padding-bottom: 1rem;
    /* just enough for comfort */
    box-sizing: border-box;
  }

  #places-results {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
  }

  #places-results td,
  #places-results th {
    white-space: normal;
    text-align: center;
    padding: 0.5em;
  }

  #hotels {
    max-height: 103rem;
  }

  .navigation-buttons-black {
    padding: 2em;
    height: 2.5rem;
  }
}

/* 📱📱 Mobile Breakpoint: 580px and below */
@media (max-width: 580px) {
  #places {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    width: 100%;
    table-layout: auto;
  }

  #places-modal {
    max-width: max-content;
    font-size: 1em;
  }
}

/* 📱📱 Mobile Breakpoint: 570px and below */
@media (max-width: 570px) {
  #places {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    width: 100%;
    max-height: 76rem;
    height: 76rem;
    table-layout: auto;
  }
}

/* Mobile Phones & Tablets 550px and below */
@media (max-width: 550px) {
  #header {
    height: 7rem;
  }

  #header h1 {
    font-size: 1.8rem;
  }

  #tagline {
    font-size: 0.7em;
    margin-bottom: 6%;
    text-shadow: black 1px 1px 1px;
    letter-spacing: 2px;
  }

  #nameq {
    font-size: 1.5rem;
  }

  #time {
    font-size: 1.15rem;
  }

  #currency {
    font-size: 1.15rem;
  }

  #holidays-list {
    font-size: 1rem;
    width: max-content;
  }

  #currency-container {
    height: 114rem;
  }

  iframe {
    width: 100% !important;
    height: 600px;
    zoom: 90%;
  }

  .carousel-container {
    height: 80rem;
    margin-bottom: -265%;
  }

  .image-container {
    margin-top: -155%;
    width: 105%;
  }

  #map-wrapper {
    margin-bottom: -15%;
  }

  .amenity-button {
    font-size: 9px;
    padding: 6px 9px;
  }

  #places {
    height: 73rem;
    font-size: 12px;
  }

  .mapmodal-content {
    padding-bottom: 7%;
  }

  #contact {
    z-index: 10000000000;
    margin-top: 15rem;
  }
  
}

/* Phone Screens 450px and below */
@media (max-width: 450px) {
  #header {
    height: 6rem;
  }

  #header h1 {
    font-size: 1.7em;
  }

  #brand {
    font-weight: 1000;
    color: #f88686;
    text-shadow: 1.25px 0 #fff, -1.25px 0 #fff, 0 1.25px #fff, 0 -1px #fff,
      1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff, 1px 1px beige;
  }

  #tagline {
    font-size: 0.65em;
    margin-bottom: 7%;
    letter-spacing: 3px;
  }

  nav a {
    font-size: 0.6em;
  }

  h2 {
    font-size: medium;
  }

  #time-box {
    font-size: small;
  }

  #location-box {
    font-size: small;
  }

  #currency-box {
    font-size: small;
  }

  #info-container h2 {
    font-size: large;
  }

  #info-container h5 {
    font-size: 1.3rem;
  }

  .data-wrapper h4 {
    font-size: 1rem;
  }

  #headlines-container h2 {
    font-size: 1.3rem;
  }

  #currency-container h2 {
    font-size: 1.3rem;
  }

  #headlines h4 {
    font-size: 1.1rem;
  }

  #headlines p {
    font-size: 1rem;
  }

  .data-wrapper span {
    font-size: 1rem;
  }

  #holidays-list {
    font-size: 13px;
  }

  #holidays-section {
    padding: 2em 20vw;
  }

  .carousel-container {
    height: 80rem;
  }

  .image-container {
    margin-top: -215%;
    width: 115%;
    height: 115%;
  }

  .wgh-slider__viewbox {
    width: 50%;
    max-width: 45vw;
    height: 9rem;
  }

  #map-wrapper {
    margin-top: -80%;
    margin-bottom: -25%;
  }

  #hotels {
    max-height: 104rem;
    font-size: 10.5px;
  }

  #places {
    max-height: 73rem;
    font-size: 12px;
    height: 75rem;
  }

  .amenity-button {
    font-size: 8px;
    padding: 0.5rem;
  }

  #contact {
    font-size: 0.3em;
    margin-top: 15rem;
  }

  #nameq {
    font-size: 1.2rem;
  }

  #time {
    font-size: 1.15rem;
  }

  #currency {
    font-size: 1.15rem;
  }

  h3 {
    font-size: 0.7rem;
  }
}

/* Phone Screens 400px and below */

@media (max-width: 400px) {
  #header h1 {
    font-size: 1.45em;
  }

  #tagline {
    font-size: 1vh;
    letter-spacing: 2px;
  }

  #info-container h5 {
    font-size: 1.1rem;
    margin-top: 15%;
  }

  .data-wrapper h4 {
    font-size: 1rem;
  }

  #headlines-container h2 {
    font-size: 1.1rem;
    margin-top: 10%;
  }

  #currency-container h2 {
    font-size: 1.1rem;
    margin-top: 10%;
  }

  #city-search {
    width: 12rem;
    font-size: x-large;
    height: 2.5rem;
  }

  #places {
    max-height: 68rem;
    font-size: 12px;
    height: 71rem;
  }

  .image-container {
    margin-top: -215%;
    width: 110%;
  }

  #contact h3 {
    font-size: 1.2em;
  }

  #contact {
    font-size: 0.26em;
    margin-top: 10rem;
  }

  footer > a {
    position: sticky;
    font-size: 1.2em;
  }
}

/* Phone Screens 350px and below */

@media (max-width: 350px) {
  #header h1 {
    font-size: 1.25em;
  }

  #tagline {
    font-size: 1.1vh;
    letter-spacing: 2px;
  }

  .carousel-container {
    height: 80rem;
    margin-top: -70%;
  }

  #map-wrapper {
    margin-top: -80%;
    margin-bottom: -25%;
  }

  #places {
    max-height: 70rem;
    font-size: 12px;
  }

  #contact h3 {
    font-size: 1.1em;
  }

  #contact {
    font-size: 0.2em;
  }
}

#your-selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  /* No wrapping allowed */
  gap: 1rem;
  background: radial-gradient(
    circle,
    rgba(242, 130, 105, 1) 20%,
    rgba(245, 104, 137, 1) 80%,
    rgba(255, 148, 148, 1) 100%
  );
  border-top: 0.25em solid beige;
  border-bottom: 0.25em solid beige;
  margin: 2% auto;
  text-align: center;
  contain: content;
  transform: scale(1);
  overflow-x: auto;
  /* Prevent breakage on very small screens */
}

/*Flex item magic for each box */
#time-box,
#location-box,
#currency-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  position: static;
  /* Kill float/offset behaviors */
}

#weather-container {
  height: 100%;
  max-height: max-content;
}

#your-next-selection,
#second-selection {
  display: block;
}

/* Location Modals Fade In & Out */

@keyframes fadeOutModal {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes fadeOutName {
  from {
    opacity: 0.95;
  }

  to {
    opacity: 0;
  }
}

#country-info-modal.fade-out {
  animation: fadeOutModal 0.6s ease forwards;
}

#name.fade-out {
  animation: fadeOutName 0.9s ease forwards;
}

footer {
    position:fixed;
    width:100%;
    bottom:0px;
}
