.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("#canvasTexture"); /* Corrected URL */
    opacity: 0.5; 
    transform: translateZ(-1px) scale(2); 
    z-index: -1;
    background-size: 100px 100px;  /* Adjust size as needed */
}body, html {
    margin: 0;
	padding: 0;
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
    color: #0F091D;
}


h3 + p {
    margin-top: 0; 
}


p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    font-weight: 600;
    color: #3B3343; 
}

a:visited {
    color: #2F4A43;
}

h1 {
    font-family: "Times New Roman", Times, serif;
    font-size: 68px;
    color: #152C30;
    margin-bottom: 20px;
}

h3 {
    margin: 0.5em 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.parallax-container {
    perspective: 1px;
    scroll-behavior: smooth;
    position: relative;
}

.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #C8ACBF, #D7C4B4, #B0BED7, #A8CFC4, #B9A5BC);
    background-size: cover;
    animation: hueAnimation 30s linear infinite;
}

.parallax-overlay {
    position: absolute; /* Ensure it's positioned over the background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(#canvasTexture); /* Your SVG pattern */
    opacity: 0.5; /* Adjust transparency as needed */
    transform: translateZ(-1px) scale(2); /* Same parallax transform as background */
    z-index: -1; /* Keep it behind the content */
    background-size: 100px 100px; /* Example size - adjust as needed */
}


@keyframes hueAnimation {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%; /* Ensure the height is set */
    z-index: 1;
    pointer-events: none;
}


.content {
    position: relative;
    padding: 2%;
    margin: 0 8%;
    background-color: rgba(255, 255, 255, 0.3);
	transform: translateZ(0);
	overflow-x: hidden;
	overflow-y: hidden;
	z-index: 1; /* Content layer above all canvases */
}

.content h3, .section h3 {
    margin: 0.5em 0 0 0;
    padding: 0;
    line-height: 1.2;
}

.section {
    margin-bottom: 10vh;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.highlight {
    background-color: #F5F5F5;
    padding: 15px;
    border-left: 4px solid #E0E0E0;
}

.slideshow-container {
    max-width: 90%;
    position: relative;
    margin: 0 auto; 
    height: 70vh; 
    overflow: hidden;
}

.slideshow-container::before { 
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 30%;
    background: linear-gradient(to bottom, rgba(225,239,232,0.73), rgba(255,255,255,0.00)); 
    pointer-events: none;
    z-index: 1;
}

.slideshow-container::after { 
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(39,61,55,0.75), rgba(249,249,249,0.00)); 
    pointer-events: none;
}

.slideshow-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slideshow-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px; 
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.8);
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.slideshow-button:hover {
    background-color: rgba(0,0,0,0.9);
}

.slideshow-controls {
    text-align: center;
    margin-top: 10px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.lightbox-content {
  background-color: #dae6e2;
  margin: 10% auto;
  padding: 5px;
  border: 2px solid #888;
  width: 70%;
  max-width: 3200px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.scrollable-content {
  max-height: 60vh;
  overflow-y: auto;
}

.iframe-container {
  width: 100%;
  height: 600px; /* Or any appropriate height */
  overflow: hidden;
  position: relative;
}

#embedded-site {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

