/* Universal reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html, .site-wrapper, .img-wrapper {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar, 
html::-webkit-scrollbar,
.site-wrapper::-webkit-scrollbar {
    width: 0;
    background: transparent; /* make scrollbar transparent */
}



/* Basic Layout */
body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
}

.site-wrapper {
    position: relative;
    overflow: auto;
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 1080px;
    margin: auto;
    justify-content: center;
}

.container {
    min-width: 1920px;
}

.container > img,
.container > video {
    display: block;
}


.img-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-block;
}


/* Navigation */
.nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    max-width: 350px;
    min-width: 250px;
    height: 100%;
    padding: 20px 10px 10px 15px;
    background-color: white;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

.nav-title {
    font-size: 24px;
    font-weight: 500;
}

.nav-body {
    font-size: 18px;
}

.nav-button {
    font-size: 18px;
    font-weight: 500;
    display: block;
    width: 100%;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background-color 0.2s;
	text-decoration: none !important;
	 color: inherit !important;
    -webkit-text-fill-color: currentcolor !important; /* Overrides Safari's default link color */
    -webkit-tap-highlight-color: transparent !important;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-logo img {
    width: auto;
    height: 50px;
    margin-bottom: 10px;
}


.nav-bar a:hover,
.nav-bar a:focus {
    text-decoration: none !important;
}




/* Content */
.title {
    font-size: 30px;
    font-weight: 500;
}

.body {
    font-size: 18px;
}

.text-box.visible {
    display: block;
}

.text-box {
	width: 275px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    position:fixed; /* This keeps it locked to the screen */
    top: 25%; /* Positions at the center of the screen vertically */
	transform: translateY(-50%); /* This ensures true vertical centering */
    z-index: 20;
}

.text-box.left {
    left: calc(350px + 10vw); /* Distance from left, considering nav bar max width + 10% viewport width */
}

.text-box.right {
    right: 10vw; /* 10% of the viewport's width from the right */
}


.text-box .title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.text-box .body {
    font-size: 14px;
    font-weight: 400;
}

.text-box ul {
    list-style-type: disc;
    margin-left: 1em;
    padding-left: 1em;
}

.text-box ul ul {
    list-style-type: circle;
    margin-left: 1em;
    padding-left: 1em;
}

/* Miscellaneous */
a {
    color: blue;
    text-decoration: none;
}

hr {
    border: none;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    width: 100%;
}

button {
    margin: 10px 0;
}

#videoPlayer, #whiteOverlay {
    display: none;
}

#backgroundImg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

#backgroundVideo {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    background-size: cover;
    transition: 1s opacity;
    object-fit: cover;
}
