/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #C6D2CA !important;
    font-family: Arial, sans-serif;
    color: black;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body takes full height */
}
ul {
    list-style-type: circle; /* Standard bullet points */
    margin: 15px 0;
    padding-left: 30px; /* Adjust indentation */
}
ul li {
    font-size: 18px;
    line-height: 1.5;
}

/* HEADER */
.header {
    text-align: left;
    padding-left: 50px;
    margin-top: 20px;
}

.titel {
    max-width: auto;
    height: 4.3em;
}
.titel2 {
    max-width: auto;
    height: 4em;
}

/* Responsive resizing of .titel based on screen width */
@media (max-width: 1000px) {
    .titel, .titel2 {
        height: 3.5em;
    }
}

@media (max-width: 850px) {
    .titel, .titel2 {
        height: 3em;
    }
}

@media (max-width: 650px) {
    .titel, .titel2 {
        height: 2.5em;
    }
}


/* MAIN CONTENT: MENU + IMAGE */
.main-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px; /* Space between menu and images */
    align-items: start;
    padding: 40px 10% 0px 50px;
    flex-grow: 1; /* Pushes content to fill available space */
}

/* MENU */
.menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content; /* Shrinks to fit content */
    max-width: 500px; /* Prevents lines from getting too long */
    word-wrap: break-word;
}

.menu a {
    position: relative;
    display: block;
    font-size: 22px;
    padding: 8px 0 8px 30px; /* Add left padding for the square */
    color: black;
    text-decoration: none;
    text-align: left;
    border-bottom: thin black solid;
    width: 100%; /* Stretches underlines to match the longest line */
    white-space: normal; /* Allows natural breaking */
}

/* SQUARE */
.menu a::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 13px; /* Adjust vertically if needed */
    width: 16px;
    height: 16px;
    background-color: transparent;
    border-radius: 2px; /* Optional: softer square corners */
    transition: background-color 0.3s ease;
}

/* HOVER EFFECT */
.menu a:hover {
    color: #820000;
    border-bottom: thin #820000 solid;
}

.menu a:hover::before {
    background-color: #820000;
}


/* IMAGE CONTAINER: Ensures images are on the right */
.image-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
}

/* IMAGE GRID: Keeps images proportionate */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr)); /* Two flexible columns */
    grid-auto-rows: auto; /* Let rows size naturally */
    gap: 10px; /* Consistent spacing */
    max-width: 350px;
}

/* INDIVIDUAL IMAGES */
.rechtes-bild {
    width: 100%;
    height: auto;
    object-fit: contain; /* Ensures images don't get stretched */
}

/* SINGLE IMAGE CONTAINER: Ensures it stays to the right */
.single-image-container {
    display: flex;
    justify-content: flex-end; /* Pushes image to the right */
    align-items: center;
    width: 60%;
    max-width: 75%;
	margin-left: 100px;
	margin-top: -20px;
}
.single-image-container img {
    max-width: 90%; /* Prevents it from overflowing */
    height: auto;
    object-fit: contain;
}
/* BACK BUTTON */
.back {
    display: block;
    font-size: 19px;
    color: black;
    text-decoration: none;
    background: white;
    padding: 10px 10px;
    border-radius: 5px;
    border: 2px solid white;
    width: fit-content;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    margin: auto; /* Centers the button */
    position: absolute; /* Ensures it doesn't get pushed under */
    top: 40px; 
    right: 50px; 
    z-index: 2; 
}

.back:hover {
    color: #820000 !important;
}
.back:visited {
    color: black;
}
.back:active {
    color: black;
}

/* BACK VIDEO BUTTON */
.back_video {
    position: absolute;
    top: 30px; /* Abstand vom unteren Rand */
    left: 130px; /* Zentriert horizontal */
    transform: translateX(-50%); /* Korrektur für zentrierte Position */
    font-size: 20px;
    color: black;
    text-decoration: none;
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    border: 2px solid white;
    width: fit-content;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000; /* Damit er über dem Video bleibt */
}


.back_video:hover {
    color: #820000 !important;
}

/* BOTTOM MENU */
.bottom-menu {
    position: relative; /* Changed from fixed to relative */
    width: 100%;
    background: #94B3A5 !important;
    padding: 10px;
    text-align: center;
    margin-top: auto; /* Pushes it to the bottom of the page */
}

.bottom-menu a {
    margin: 0 15px;
    font-size: 20px;
    color: white !important;
    text-decoration: none;
    font-weight: normal;
}

.bottom-menu a:hover {
    color: #820000 !important;
}

/* Ensuring vertical bars "|" in bottom menu are white */
.bottom-menu a::before {
    content: "|";
    color: white;
    margin-right: 10px;
	margin-left: -22px;
}

.bottom-menu a:first-child::before {
    content: "";
}

/* VIDEO PLAYER */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* HIDDEN CLASS - Ensures elements disappear when not needed */
.hidden {
    display: none !important;
}

.video-caption {
    color: white;
    text-align: center;
    margin-top: 10px;
}

sup {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 0;
}
 
.n0t {
  display: none;
}
