:root .white-theme {
  --blur-bg: rgba(243, 243, 243, 0.945);
  --back: #ffffffff;
  --font: #323338;
  --font2:#5f606bd2;
  --h: #4c98ee;
  --border: rgba(0, 0, 0, 0.1);
}

:root {
  --blur-bg: #1e1e1f;
  --back:  rgb(0, 0, 0);
  --font: #dfe0ebd2;
  --font2: #88899bd2;
  --h: #79b1f1;
  --border: rgba(145, 142, 142, 0.4);
}

html, body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--back);
  color: var(--font);
}

.container {
  flex: 1 0 auto;
}

.theme-toggle {
  cursor: pointer;
  padding: 0.5rem;
}
  .theme-toggle i {
    font-size: 1.2rem;
    color: var(--font);
  }

.tabcontent, .card {
  background-color: var(--back);
  color: var(--font);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--card-shadow);
}

.navbar {
    background-color: var(--blur-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    top: 0;
    width: 100%;
    z-index: 1000;
}
    .nav-link {
      color: var(--font);
      font-weight: 500;
    }
    .nav-link:hover {
      color: var(--h);
      text-decoration: underline;
      cursor: pointer;
    }

  .tablinks {
    color: var(--font);
    padding: 8px 16px;
    border: var(--border) 2px solid;
  }
    .tablinks:hover {
      color: var(--font);
      text-decoration: underline;
      transition: background-color 0.3s ease;
      border: var(--border) 2px solid;
    }
    .tablinks.active {
      text-decoration: underline;
    }

.nav-tabs {
  background-color: var(--border);
}
  .nav-tabs-:hover{
    color: var(--h);
    text-decoration: underline;
  }

/* h1, h2, h3, h4, h5, h6 {
  color: var(--h);
} */

footer {
  flex-shrink: 0;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  color: var(--font);
  background-color: var(--blur-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.photo {
  max-width: 100%;
  height: auto;
}

.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.photo-gallery a {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.photo-gallery a:hover,
.photo-gallery a.active-thumb {
  border-color: var(--h);
  box-shadow: 0 0 0 2px rgba(121, 177, 241, 0.35);
  transform: translateY(-1px);
}

.photo-gallery .photo {
  width: 96px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.photodisplay {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  min-height: calc(100vh - 220px);
  margin-top: 15px;
  padding: 0.5rem;
  overflow: hidden;
}

#rightFrame {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-stage {
  flex: 1;
  margin: 0;
  text-align: center;
}

.carousel-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--blur-bg);
  color: var(--font);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.carousel-nav:hover {
  color: var(--h);
  border-color: var(--h);
}

#carouselCaption {
  margin-top: 0.75rem;
}

#rightFrame img {
  max-width: 100%;
  max-height: calc(100vh - 260px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* .rowphotos {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
.colphotos {
    box-sizing: border-box;
    padding: 8px; 
  }
  .col-5 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    overflow-y: auto;
  }
  .col-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
  }
  #rightFrame {
    width: 100%;
    height: 100%;
    display: flex; 
    align-items: center;
    justify-content: center;
    min-height: 400px; 
  }
  #rightFrame img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
    .col-5 a {
      display: inline-block;
      margin: 6px;
      border-radius: 4px;
      overflow: hidden;
      border: 1px solid #dee2e6;
      transition: box-shadow 0.2s;
    }
    .col-5 a:hover {
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
      border-color: #0d6efd;
    }
    .col-5 img {
      display: block;
      width: 100px;
      height: 75px;
      object-fit: cover;
    } */

    @media (max-width: 900px) {
      .col-5, .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
      }
      .col-5 {
        order: 2;
        min-height: auto;
      }
      .col-8 {
        order: 1;
        min-height: 250px;
      }
      .photodisplay,
      #rightFrame {
        min-height: 45vh;
      }
      #rightFrame img {
        max-height: 60vh;
      }
    }

    @media (max-width: 600px) {
      .photo-gallery .photo {
        width: 70px;
        height: 52px;
      }

      .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
      }

      #rightFrame img {
        max-height: 50vh;
      }
    }

      .credits {
        color : var(--font2);
      }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
    background-color: rgb(245, 15, 15);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    visibility: visible;
}
      /* .col-5 {
        padding: 4px;
      } */
/* ------------------------------------------------------------
Text below is old CSS that was used before adopting Bootstrap
-------------------------------------------------------------*/
/* Hover effect styling for interactivity
    */
/* .card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  transition: all 0.3s ease;
} */

/* .sidenav{
  position: sticky;
  padding: 10px;
  top: 0px;
  background-color: var(--banner);
}

.sidenav a{
  color: var(--invertfont);
  text-decoration: none;
  transition: 0.3s;
  padding: 0px 10px;
}

.sidenav a:hover{
  color: var(--invertfont);
  background-color: var(--a);
}

.tablinks{
  position: sticky;
  padding: 10px;
  top: 0px;
  color: var(--a);
  text-decoration: none;
}

.tab a {
  color: var(--a);
  text-decoration: none;
  transition: 0.3s;
  padding: 0px 10px;
}

.tab a:hover{
  background-color: var(--a);
  color: var(--invertfont);
  transition: 0.3s;
  padding: 0px 10px;
}

/* Contact ------------------------
#map {
  width:100%;
  height: auto;
  margin-right: 2%;
}

  /* Style inputs
  input[type=text], select, textarea {
    width: 100%;
    padding: 7px;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
  }

  input[type=submit] {
    background-color: var(--font);
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
  }

  input[type=submit]:hover {
    background-color: var(--a);
  }

  /* Style the bottom navigation bar
#bottomnav {
  overflow: hidden;
  background-color: var(--back);
  color: var(--a);
}

/* Style the nav links
.bottomnav a {
  float: left;
  display: block;
  color:var(--a);
  text-decoration: none;
  padding: 10px;
}

.bottomnav a:hover {
  color: var(--invertfont);
  background-color: var(--a)
}

.bottomnav img {
  width: 20px;
  height: 20px;
  float:left;
}

footer {
  bottom: 0;
  position: fixed;
}
*/