body {
    margin: 0;
    padding: 0;
    padding-top: 60px;
    background: #ffffff;
    color: #000000;
    font-family: 'Courier New', Courier, monospace;
    text-align: center; /* Center all content */
    cursor: crosshair;
    overflow-x: hidden;
    overflow-y: scroll;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full viewport width */
    background-color: #ffffff;
    border-bottom: 2px solid #cccccc;
    z-index: 9999;
}

header .inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto; /* Center the header with automatic left and right margins */
    padding: 0 10vw;
    max-width: 1200px; /* Limit the width */
    text-align: auto; /* Ensure the text inside is aligned correctly */
}

h1 {
    font-style:normal;
    font-size: large;
}

h2 {
    font-size: large;
    background-color: #f4f4f4;
    display: inline-block;
}

h3 {
    font-size: smaller;
    display: inline-block;
    background-color: #f4f4f4;
}

a {
    background-color: #f4f4f4;
    border-bottom: 2px solid #0000ff; /* Add a bottom border for separation */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit the color of the parent element (usually the same as normal text) */
    cursor: crosshair;
}

a:hover {
    color: #0000ff;
    border-bottom: 10px solid #0000ff; /* Add a bottom border for separation */
}

.spacer-15 {
    height: 15px;
    width: 100%; /* Optional, makes sure it takes up the full width of the container */
}

/* Parent Flexbox Container */
.parent-container {
    display: grid;
    grid-template-rows: 1fr auto;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10vw;
}

/* Top container aligned to the top */
.top-container {
    text-align: left; /* Align text to the left */
}

/* Bottom container aligned to the bottom */
.bottom-container {
    margin-bottom: 5vw; /* Add a 10vw margin at the bottom */
    text-align: left; /* Align text to the left */
}

.text-container {
    max-width: 80vw;
    margin: 0 auto; /* Center the text container */
    margin-top: 15px;
    margin-bottom: 15px;
}

.text-title {
    font-size: 1.5rem; /* Use rem for consistent scaling */
    text-align: center;
}

.text-subtitle {
    font-size: 1.25rem; /* Use rem for consistent scaling */
}

.text-paragraph {
    margin-top: 10px; /* Add some space between image and text */
    width: 80vw;
    max-width: 1200px; /* Set the maximum width to 1200px */
    margin: 0 auto; /* Center the text container */
    text-align: left; /* Align the text to the left within the container */
    font-size: 1rem; /* Use rem for consistent scaling */
}

.image-container {
    width: 80vw;
    max-width: 1200px; /* Set the maximum width to 1200px */
    margin: 0 auto; /* Center the image container */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: auto; /* Ensures the image maintains aspect ratio */
    display: block; /* Removes any extra space below the images */
}

.wide-image {
    grid-column: 1 / span 2; /* Spans across both columns */
    width: 100%;
    height: auto; /* Keeps aspect ratio */
}

.plain-image{
    width: 100%;
    height: auto;
}

img {
    width: 100%;
    max-width: 100%;
    box-shadow: 0px 0px 30px #525252;
}

video {
    width: 100%;
    max-width: 100%;
    box-shadow: 0px 0px 30px #525252;
}

.responsive-if-container {
    width: 80vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    margin: 0 auto; /* Center horizontally */
    position: relative;
    display: flex;
    box-shadow: 0px 0px 30px #525252;
}

.responsive-if-container iframe{
    position: absolute;
    width: 100%;
    height: 100%;
}

.responsive-if-container-wide {
    width: 80vw;
    max-width: 1200px;
    aspect-ratio: 3440 / 1440;
    margin: 0 auto; /* Center horizontally */
    position: relative;
    display: flex;
    box-shadow: 0px 0px 30px #525252;
}

.responsive-if-container-wide iframe{
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Homepage Image Hover */
.hover-title {
    display: inline;
    pointer-events: auto;
    cursor: pointer;
    text-align: left;
}

.hover-image {
    visibility: hidden;
}

body:not(.mobile) .hover-title:hover + .hover-image {
    visibility: visible;
    pointer-events: none;
}

.hover-image {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;

/* Change width and height to scale images */
    width: 60vw;
    height: 60vh;
}

.hover-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0;
}

/* Optional: Media query for mobile devices */
@media (max-width: 768px) {
    .text-title {
        font-size: 1.2rem; /* Adjust title size for mobile */
    }
    .text-subtitle {
        font-size: 1rem; /* Adjust subtitle size for mobile */
    }
    .text-below {
        font-size: 0.9rem; /* Adjust text-below size for mobile */
    }
}
