:root {
  --background-color: #b5f5d1;
  /* overflow: hidden; */
  /* --border-color: black; */
}

/* @font-face {
  font-family: 'AsapCondensed';
  src: url('./fonts/AsapCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} */

@font-face {
  font-family: 'Noar Sans';
  src: url('./fonts/NoarSans-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  font-family: 'Noar Sans', 'AsapCondensed', sans-serif;
  height: 100vh;
  letter-spacing: .5px;
  /* overflow: hidden; */
}

.wrapper {
  display: flex;
  height: auto;
  width: 100%;
}

.copy-text {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  overflow: visible;
}

.copy-text h2{
  font-size: 1.5rem;
  font-weight: bold;
}

.secondary-page {
  max-width: 50vw;
  overflow: auto;
}

/* Columns */
.column {
  /* border: 2px solid var(--border-color); */
  overflow-y: auto;
  overflow-x: auto;
}

.left-column {
  width: 50%;
  /* max-width: 100vw; */
  height: 100vh;
  /* position: sticky; */
  /* top: 0; */
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 2rem;
  /* margin-top: 0px; */
  box-sizing: border-box;
}

.left-title-block {
  padding-top: 25rem;
}

.credit-link {
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.credit-link:hover {
  background-color: yellow;
}

.right-column {
  width:50%;
  height: 100vh;
  background-color: black;
  padding: 1rem;
  box-sizing: border-box;
}

.left-content h1 {
  font-size: 2.5rem;
  padding-top: 1rem;
  margin-bottom: 0.5rem;
  line-height: 90%;
}

.left-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.left-content h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.left-paragraph-block {
  max-width: 75%;
  justify-content: flex-start;
  align-items: flex-start;
  /* padding-top: 1rem; */
  /* column-count: 3; */
}

.left-content p {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: yellow;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
  outline-color: yellow;
  outline-style: dotted;
  text-decoration: none;
  border-radius: 100px;
  font-weight: regular;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: yellow;
}


/* Images */
.scrollable-images img {
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
 
}

.left-image {
  /* width: 75%; */
  max-width: 60%;
  margin-bottom: 1rem;
  /* display: block; */
  /* align-items: flex-start; */
  margin-left: auto;
  margin-right: auto;
  /* position: sticky; */
}

/* Navbar styles */
.navbar {
  background-color: transparent;
  max-width: auto;
  /* padding: 0.5rem 1rem; */
  position: sticky;
  top: 0;
  display: inline-block;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000;
  padding-top: -10rem;
}

/* Form container inside navbar */
.form-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start; /* Or center */
}


/* Main button style */
.btn {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border: 1px solid transparent;
  /* border-radius: 0.25rem; */
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.2s, border-color 0.2s;
}

.index-button {
  color: #6c757d;
  font-style: normal;
  outline: none;
  text-align: left;
  background-color: transparent;
}

/* Outline success variant */
.exhibition-button {
  /* color: #28a745;
  border-color: #28a745; */
}
.exhibition-button:hover {
  /* background-color: #28a745;
  color: white; */
}

/* Outline secondary variant */
.book-button {
  /* color: #6c757d;
  border-color: #6c757d; */
}
.book-button:hover {
  /* background-color: #6c757d;
  color: white; */
}

/* Small button variant */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.animated-x {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  animation: x 26s linear infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-x .btn {
  animation: y 14s linear infinite alternate;
  font-size: 2rem;
  padding: 1.5rem;
  min-width: 180px;
  min-height: 80px;
  font-weight: bold;
}

@keyframes x {
  100% {
    transform: translateX(calc(100vw - 100px));
  }
}

@keyframes y {
  100% {
    transform: translateY(calc(100vh - 100px));
  }
}

/* Responsive */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    width: 100vw;
    height: 50vh;
  }

  /* Left column horizontal scroll */
  .left-column {
    overflow-x: auto;
    overflow-y: auto; /* disable vertical scrolling on left column */
    white-space: nowrap;
    padding-bottom: 2rem;
  }

  .navbar {
    background-color: transparent;
    max-width: auto;
    padding-top: .75rem;
    padding-right: .75rem;
    position: sticky;
    top: 0;
    display: inline-block;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
  }

  .form-inline {
    display: flex;
    flex-wrap: wrap;              /* 🔁 ALLOWS WRAPPING */
    justify-content: center;      /* 🎯 CENTER HORIZONTALLY */
    gap: 0.5rem;                  /* 🧱 SPACE BETWEEN BUTTONS */
    width: 100%;                 
    padding: 0.5rem;
    padding-right: .5rem;
    box-sizing: border-box;
  }

  .left-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-width: 100vw;
    gap: 1rem;
    height: 100%;
  }

  .left-content h1 {
   font-size: 2.5rem;
  padding-top: 0rem;
  margin-bottom: 0.5rem;
  line-height: 90%;
}

.left-content h2 {
  /* align-items: flex-end; */
  font-size: 1.5rem;
  line-height: 95%;
}

  /* Title block styles */
  .left-title-block {
    max-width: 100vw;
    max-height: 100vh;
    flex-shrink: 0;
    color: #000;
    padding: 0rem 1.5rem 1rem 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: flex-start; */
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow-y: visible;
  }

  .secondary-page {
  max-width: 100vw;
}

.secondary-page h1 {
  line-height: 90%;
}

.secondary-page h2 {
  line-height: 95%;
}


  /* Image styles */
  .left-image {
    min-width: 100vw;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    display: block;

    .left-image {
  width: 75%;
  max-width: 60%;
  margin-bottom: 1rem;
  /* margin-top: 1rem; */
  display: block;
  /* padding-top: 2rem; */
  margin-left: auto;
  margin-right: auto;
}
  }

  /* Paragraph block styles */
  .left-paragraph-block {
    min-width: 350px;
    width: fit-content;
    color: #000;
    padding: 1rem 3rem 1rem 0rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;  /* disable vertical scroll on container */
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    flex-shrink: 0;
    height: 50vh;
  }

  /* Make paragraph content scroll vertically */
  .left-paragraph-block p.description {
    height: 100%;
    margin: 0;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow-y: auto;
    box-shadow: inset 0 0 10px black;
     /* box-shadow: inset 0 -15px 6px -6px rgba(20, 20, 16, 0.4); */
  }

  /* Right column horizontal scroll */
  .right-column {
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
    background-color: #000;
  }

  /* Scrollable images inside right column */
  .scrollable-images {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 100%;
  }

  .scrollable-images img {
    width: auto;
    height: 100%;
    max-width: 100vw;
    display: inline-block;
    object-fit: contain;
  }

  .credits {
    padding-bottom: 2rem;
  }

  .form-inline {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.btn:hover {
  background-color: yellow;
}
  .animated-x .btn {
  animation: y 14s linear infinite alternate;
  font-size: 1.5rem;
  padding: 1.5rem;
}
}

@media (max-width: 400px) {

  .navbar {
    background-color: transparent;
    max-width: auto;
    padding-top: .75rem;
    position: sticky;
    top: 0;
    display: inline-block;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
  }
    .form-inline {
      display: flex;
      flex-wrap: wrap;              /* 🔁 ALLOWS WRAPPING */
      justify-content: center;      /* 🎯 CENTER HORIZONTALLY */
      gap: 0.5rem;                  /* 🧱 SPACE BETWEEN BUTTONS */
      width: 100%;                 
      padding: 0.5rem;
      padding-right: .5rem;
      box-sizing: border-box;
    }
}