html {
    font-size: 40px;
}
@media (max-width: 2560px) {
    html {
        font-size: 32px;
    }
}
@media (max-width: 1920px) {
    html {
        font-size: 20px;
    }
}
@media (max-width: 1200px) {
    html {
        font-size: 12px;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro' , sans-serif;
}

#main {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#video-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#video-title {
    position: absolute;
    top: 9vh;
    left: 20vw;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

#video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#city-transition-overlay {
    background-color: #00AA13;
    height: 100vh;
    width: 100vw;
    transform: skew(28deg);
    position: absolute;
    top: 0;
    left: 150vw;
    z-index: 5000;
}

#area-transition-overlay {
    background-color: #000;
    opacity: 0;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5000;
    display: none;
}

#flag-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.flag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    visibility: hidden; /* Hidden until drawn and positioned by JS */
}

#scene-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#scene-contanier .scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.scene-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.area-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.area-flag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-flag img {
    width: 2rem; /* 80px */
    height: 2rem;
    object-fit: contain;
}

.hidden-by-default {
    display: none;
}

#infobox {
    position: absolute;
    top: 15vh;
    width: 25vw;
    height: auto;
    background-color: rgba(0, 0, 0, 0.50); /* 50% black */
	backdrop-filter: blur(10px); /* Adjust the blur radius as needed */
	border-radius: 8px; /* Slightly round corners */
    color: #FFF;
    z-index: 120;
    padding: 5px 10px 20px 10px; 
}

#infobox.left {
    left: 5vw;
    right: unset;
}

#infobox.right {
    left: unset;
    right: 5vw;
}

#infobox-header {
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(16px, 5vw, 32px);
    font-weight: bold;
    padding: 10px; /* 100px 0px */
}

#infobox-description {
    font-size: clamp(18px, 5vw, 40px);
}

#infobox-description ul {
    margin: 0;
    padding-inline-start: 1rem;
}

#infobox-description ul li {
    font-size: clamp(12px, 5vw, 24px);
    padding-left: 1rem;
}

#infobox-description ul li:first-child {
    margin-top: 0;

}

#top-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFF;
    z-index: 115;
}

#top-nav #top-nav-container {
    display: flex;
    justify-content: space-between;
    width: 100vw;
}

#top-nav-left {
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
    font-size: 1.5rem; /* 24px */
    line-height: 1.5rem;
    min-width: 20%;
    padding: 0.25rem 0 0.25rem 1.5rem;
}

#top-nav-right {
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
    font-size: 1rem; /* 16px */
    line-height: 1.5rem;
    text-align: right;
    min-width: 20%;
    padding: 0.25rem 1.5rem 0.25rem 0;
}

#debug-canvas {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    z-index: -999;
    pointer-events: none;
}

.carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.carousel-item {
    display: none;
    width: 100%;
}

.carousel-item.active {
    display: block;
}

#infobox h3 {
    font-family: 'Titillium Web', sans-serif;
    font-size: clamp(16px, 5vw, 32px);
    font-weight: bold;
    padding: 10px; /* 100px 0px */
}

#infobox ul {
    list-style-type: disc; /* Ensures bullets are displayed */
    margin: 0;
    padding-inline-start: 1rem;
}

#infobox ul li {
    font-size: clamp(12px, 5vw, 24px);
    padding-left: 1rem;
    color: #FFF;
    margin-bottom: 5px;
}

/* Styles for the infobox indicator */
#infobox-indicator {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

#infobox-indicator .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #3B3B3B;
  border-radius: 50%;
  display: inline-block;
}

#infobox-indicator .dot.active {
  background-color: #717171;
}
/* Update the active dot style */
#infobox-indicator .dot.active {
  background-color: #00AA13;
}

/* If using an arrow, adjust the active state */
#infobox-indicator.active::after {
  color: #00AA13;
}

