@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&display=swap');
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-display: auto;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/raleway:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.settings-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem 1rem 2.5rem;
  background: #FAFAFA;
  color: #fff;
  font-family: Arial, sans-serif;
  border-bottom: 0.3125rem solid #ffeb3b;
  position: relative;
  z-index: 10;
}

.header-title {
  display: flex;
  align-items: center;
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  font-weight: bold;
  letter-spacing: 0.03em;
}

.header-image {
  height: 3.125rem;
  width: auto;
  display: block;
  border-radius: 0.5rem;
  background: #FAFAFA;
  margin-right: 1rem;
}

.header-text {
  color: #024083;
  font-family: "Alan Sans", sans-serif;
  font-weight: 900;
  transition: color 0.7s cubic-bezier(.4,0,.2,1);
}

.header-home-link:hover .header-text,
.header-home-link:focus .header-text {
  color: #005ec2;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.header-link.acknowledgement {
  display: inline-block;
}

.header-home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-home-link:focus,
.header-home-link:hover {
  outline: none;
  opacity: 0.85;
}

.header-link {
  color: #333;
  font-family: "Raleway", sans-serif;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: 700;
  transition: color 0.2s;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.header-link:hover,
.header-link:focus {
  color: #024083;
  background: transparent;
  outline: 2px solid #024083;
  outline-offset: 2px;
  transition: color 0.2s;
}

.slideshow-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  gap: clamp(2rem, 8vw, 10rem);
  box-sizing: border-box;
  background: linear-gradient(135deg, #001f4d 0%, #003366 60%, #2055a8 100%);
}

.slideshow-container {
  position: relative;
  width: min(30rem, 100%);
  aspect-ratio: 4 / 3;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: 0;
}

.slide-card {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.7s cubic-bezier(.4,0,.2,1),
    opacity 0.5s cubic-bezier(.4,0,.2,1),
    z-index 0s;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.slide-card.active {
  z-index: 3;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.slide-card.prev {
  z-index: 2;
  opacity: 1;
  transform: translateY(0) scale(0.96);
}

.slide-card.animating-up {
  z-index: 4;
  opacity: 1;
  transform: translateY(-120%) scale(1.05) rotate(-3deg);
  pointer-events: none;
}

.slide-image {
  width: 100%;
  height: 100%;
  border-radius: 1.125rem;
  box-shadow: 0 0.5rem 2rem #0004, 0 0.125rem 0.75rem #ffe60033;
  background: #fff;
  display: block;
  object-fit: cover;
}

.slideshow-dots {
  position: static;
  margin-top: 20rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 20;
}

.slideshow-dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #fff5;
  border: 0.125rem solid #ffe600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.slideshow-dot.active {
  background: #ffe600;
  border-color: #2055a8;
}

.slideshow-arrow {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffe600;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  user-select: none;
  padding: 0 0.75rem;
  transition: color 0.2s;
}

.slideshow-arrow.left {
  left: -6rem;
}

.slideshow-arrow.right {
  right: -6rem;
}

.slideshow-arrow:hover {
  color: #2055a8;
  background: none;
}

.slideshow-caption-box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem;
  min-width: 17.5rem;
  max-width: 32.5rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 0.25rem 1rem #0001;
}

.slideshow-title {
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: bold;
  color: #2055a8;
  margin-bottom: 1.125rem;
  text-shadow: 1px 1px 0 #ffe600;
}

.slideshow-description {
  font-family: "Comic Relief", system-ui;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #222;
  background: #eeeeee;
  border-radius: 0.625rem;
  padding: 1.125rem 1.375rem;
  box-shadow: 0 0.125rem 0.5rem #0001;
}

.info-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  background: #f0eacf;
  border-top: 0.5rem solid #ffeb3b;
  box-sizing: border-box;
}

.info-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-text {
  background: linear-gradient(to top, #0250a3 0%, #024083 100%);
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1.5rem #0001, 0 0.09375rem 0.5rem #ffe60022;
  padding: 2rem 2rem;
  margin-bottom: 0rem;
  display: block;
  text-align: center;
}

.dotted-line-curvy {
  width: 100%;
  height: 40px;
  margin: 1.5rem 0;
  overflow: visible;
}

.dotted-line-curvy svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dotted-line-curvy path {
  stroke: #d84b4b;
  stroke-width: 8;
  fill: transparent;
  stroke-dasharray: 6, 12;
}

.info-text-1 {
  font-family: "Raleway";
  font-size: clamp(2rem, 6vw, 5rem);
  color: #f3db00;
  font-weight: 800;
  margin-left: 0;
}

.info-text-2 {
  font-family: "Raleway";
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: #ffffff;
  font-weight: 500;
  margin-top: 2rem;
  margin-left: 0;
}

.info-right {
  flex: 1 1 18rem;
  max-width: 30rem;
  min-width: 18rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.5rem;
}

.map-embed {
  width: 100%;
  min-width: 18rem;
  max-width: 30rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.75rem #0002;
  background: #eee;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sidebar-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  margin-right: 0.5rem;
  margin-top: 3.5rem;
}

.sidebar-social-img {
  width: 3.4375rem;
  height: 3.4375rem;
  border-radius: 1.25rem;
  background: transparent;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  object-fit: cover;
}

.sidebar-social-img:hover {
  transform: scale(1.12);
  box-shadow: 0 0.25rem 1rem #2055a855;
}

.sidebar-social-img.instagram-gradient {
  background: linear-gradient(135deg, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 100%);
  padding: 0.25rem;
  border-radius: 0.75rem;
}

@media (min-width: 1101px) and (max-width: 1440px) {
  .settings-header {
    padding: 1.25rem 2rem 1rem 2rem;
  }
  .header-nav {
    gap: 1.5rem;
  }
  .slideshow-row {
    gap: clamp(2rem, 6vw, 8rem);
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
  }
  .slideshow-container {
    width: min(28rem, 100%);
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
  .slideshow-dots {
    margin-top: 18rem;
  }
  .slideshow-arrow.left {
    left: -5.5rem;
  }
  .slideshow-arrow.right {
    right: -5.5rem;
  }
  .slideshow-caption-box {
    max-width: 30rem;
    padding: 1.75rem 1.75rem;
  }
  .info-section {
    padding: clamp(1.25rem, 4vw, 2rem);
    gap: clamp(1.25rem, 3vw, 2rem);
  }
  .info-right {
    gap: 1.25rem;
  }
  .map-embed {
    max-width: 28rem;
  }
  .sidebar-social-img {
    width: 3.125rem;
    height: 3.125rem;
  }
}

/* Responsive Design: Tablet and Below */
@media (max-width: 1100px) {
  .settings-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem 1rem 1.5rem;
  }
  .header-title {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .header-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    align-items: stretch;
    margin-top: 0.5rem;
  }
  .header-nav-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
  }
  .header-link {
    flex: 1 1 0;
    text-align: center;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
  }
  .header-link.acknowledgement {
    margin: 0.5rem auto 0 auto;
    display: block;
    width: fit-content;
    text-align: center;
  }
  .info-section {
    min-height: 0;
  }
  .slideshow-row,
  .info-section {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    align-items: stretch;
  }
  .slideshow-container {
    width: min(90vw, 28rem);
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-width: 100%;
    margin: 2rem auto 0 auto;
  }
  .slideshow-title {
    text-align: center;
  }
  .slideshow-caption-box {
    min-width: 0;
    max-width: 100vw;
    padding: 1.5rem 0;
    background: transparent;
  }
  .slideshow-dots {
    margin-top: 17rem;
  }
  .slideshow-title {
  color: #ffffff;
  text-shadow: 1px 1px 0 transparent;
  }
  .slideshow-arrow.left {
    left: 0;
    right: auto;
    font-size: 2.5rem;
  }
  .slideshow-arrow.right {
    right: 0;
    left: auto;
    font-size: 2.5rem;
  }

  .info-text {
    margin-top: 1.5rem;
  }
  .info-text-1,
  .info-text-2 {
    font-size: 1.5rem;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .info-right {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: 100vw;
    min-width: 0;
  }
  .map-embed {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 13rem;
    margin-bottom: 1rem;
  }
  .sidebar-social {
    flex-direction: row;
    gap: 0.75rem;
    margin: 0 0 0.5rem 0;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

/* Responsive Design: Mobile */
@media (max-width: 700px) {
  .settings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }
  .header-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    align-items: stretch;
    margin-top: 0.5rem;
  }
  .header-nav-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
  }
  .header-link {
    flex: 1 1 0;
    text-align: center;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
  }
  .header-link.acknowledgement {
    margin: 0.5rem auto 0 auto;
    display: block;
    width: fit-content;
    text-align: center;
  }
  .info-section {
    min-height: 0;
  }
  .slideshow-row,
  .info-section {
    padding: 0 0.5rem;
    gap: 1rem;
  }
  .slideshow-container {
    width: 90vw;
    height: 50vw;
    min-height: 8rem;
    max-height: 16rem;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  .slide-image {
    width: 20rem;
    height: 12.5rem;
    margin-top: 2rem;
  }
  .slideshow-dots {
    margin-top: 12rem;
  }
  .slideshow-title {
    text-align: center;
    margin-top: 1rem;
  }
  .slideshow-arrow.left {
    left: 0;
    right: auto;
    font-size: 2rem;
    margin-top: 1.25rem;
  }
  .slideshow-arrow.right {
    right: 0;
    left: auto;
    font-size: 2rem;
    margin-top: 1.25rem;
  }
  .slideshow-caption-box {
    padding: 1rem 0;
    background: transparent;
  }
  .info-text {
    margin-top: 1.5rem;
  }
  .info-text-1,
  .info-text-2 {
    font-size: 1.2rem;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .info-right {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100vw;
    min-width: 0;
  }
  .map-embed {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
  }
  .sidebar-social {
    flex-direction: row;
    gap: 0.75rem;
    margin: 0 0 0.5rem 0;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}