/* General Reset */
html, body {
    height: 100%;
    font-family: "Eau Douce", "Noto Sans", Arial, sans-serif;
}

body.light {
    background-color:rgb(250, 250, 255);
}

/* Ensure all elements fit within the viewport width */
body, html {
    overflow-x: hidden; /* Prevent horizontal overflow */
    max-width: 100vw; /* Prevent content from exceeding the viewport width */
}

/* For images or other elements that may cause overflow */
img, iframe {
    max-width: 100%;
    height: auto;
}

/* Fonts */
@font-face {
    font-family: "Eau Douce";
    src: url('fonts/EauDouce/EauDouce-SansRegular.woff2') format('woff2'),
        url('fonts/EauDouce/EauDouce-SansRegular.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Prevent header tags from being bold */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* Regular weight, not bold */
}

/* Navigation Bar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px; /* Decreased height */
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally if needed */
    z-index: 1000;
    transition: top 0.3s;
}

/* Initially hide the navbar */
#navbar.hide {
    top: -50px; /* Adjust according to the height of your navbar */
}

#navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures vertical centering */
    padding: 0;
    margin: 0; /* Removes default margin */
}

#navbar ul li {
    margin: 0 2vw;
}

#navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 5px 0px;
    transition: background-color 0.3s ease;
}

#navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
}

#mission {
    background-image: url('assets/bg/bg_laptop_blur_v001.jpg');
}

#interactive-tour {
    background-image: url('assets/bg/bg_little_planet_erfurt_v001.jpg');
}

#about {
    background-image: url('assets/bg/bg_map_v001.jpg');
}

#contact {
    background-image: url('assets/bg/bg_stradun_blur_v001.jpg');
}

#destinations-home-bg {
    background-image: url('assets/bg/bg_katschhof_motion_blur_v001.jpg');
}


/* Fixed Background Section */
.fixed-background-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    background-image: url('assets/bg/bg_little_planet_erfurt_v001.jpg');
    background-size: cover;
    background-position: center;
    color: white; /* Adjust text color as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fixed-background-section .content {
    position: relative;
    z-index: 2; /* Ensure content is above the background */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: add a semi-transparent background to the content */
    border-radius: 10px; /* Optional: round the corners of the content box */
}

/* Content Containers */
.content {
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

.flexible-text-box, .flexible-text-box-2 {
    position: absolute;
    top: 30vh;
    bottom: 15vh;
    padding: 20px;
    overflow: none;
    color: #fff;
    line-height: 1.2; /* Adjust the line height if needed */
}

.flexible-text-box {
    left: 10vw;
    right: 50vw;
}

.flexible-text-box-2 {
    left: 50vw;
    right: 15vh;
}

.flexible-text-box-about {
    position: absolute;
    top: 40vh;
    bottom: 15vh;
    left: 10vw;
    right: 40vw;
    padding: 20px;
    overflow: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    line-height: 1.2; /* Adjust the line height if needed */
}

.content-trailer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-56%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensures it takes the full height of the viewport */
    width: 100%;
    text-align: center;
}

.content-interactive {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensures it takes the full height of the viewport */
    width: 100%;
    text-align: center;
}

.content-contact {
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

.contact-footer {
    position: absolute;
    top: 65vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 100%;
    font-size: 2em;
}

/* Specific Element Styles */
#clickable-image {
    max-width: 60%; /* Ensure it doesn't overflow */
    max-height: 60%; /* Ensure it doesn't overflow vertically */
    transition: transform 0.3s ease;
    cursor: pointer;
}

#clickable-image:hover {
    transform: scale(1.05);
}

/* Ensure the YouTube player is above the background images */

/* Maintain a 16:9 aspect ratio */


/* Buttons */

.btn {
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Video Background Section */
.video-background-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: white;
    text-align: center;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Tour Section */
#video-tour {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* To allow vertical stacking of elements */
    text-align: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#bg-image-1 {
    background-image: url('assets/bg/bg_gent_dawn_v001.jpg');
    animation: fadeInOut 12s infinite;
    z-index: 1;
}

#bg-image-2 {
    background-image: url('assets/bg/bg_gent_night_v001.jpg');
    animation: fadeInOut 12s infinite;
    z-index: 2;
    animation-delay: 6s;
}

/* Keyframes */
@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Explore Button */
.explore-btn {
    position: absolute;
    bottom: 7vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; /* Ensure the button is above the background */
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1.5em;
}

.explore-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Header and Footer Text */
.header {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 100;
    color: #fff;
    top: 2vh;
    font-size: 6vh;
}

.footer {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: #fff;
    bottom: 4vh;
    font-size: 3vh;
}

.footer h2 {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: #fff;
    bottom: 2vh;
    font-size: 2vw;
}

.content-contact h1 {
    font-size: 4em;
}

.content-contact h2 {
    font-size: 2.5em;
}

.content-footer {
    font-size: 2.5em;
}

.explore-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Interactive Tour */
#interactive-tour .centered-image {
    max-width: 70%; /* Ensure it doesn't overflow */
    max-height: 70%; /* Ensure it doesn't overflow vertically */
}

/* Milestones container */
.milestones-container {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hide all milestones by default */
.milestone {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.milestone h3 {
    font-size: 2.2em;
}

.milestone p {
    font-size: 1.5em;
}

/* Show only the active milestone */
.milestone.active {
    display: block;
    opacity: 1;
}

/* Dots container */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Styling each dot */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Active dot style */
.dot.active {
    background-color: #717171;
}

/* Powered By Section */
.powered-by {
    position: absolute;
    bottom: 10vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically */
    color: #fff;
    z-index: 2;
    text-align: center;
}

.powered-by span {
    font-size: 1em;
    margin-right: 1vw; /* Add space between text and images */
}

.powered-by-logo {
    height: 5vh;
    margin-left: 1vw; /* Space between the images */
}

/* Imprint */
.imprint {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: #fff;
    bottom: 3vh;
    font-size: 2vh;
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: absolute;
    bottom: 10vh;
    gap: 2vw;
}

#business-links .social-media-icons {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between the icons */
    margin-top: 20px; /* Space between buttons and icons */
    margin: 0% auto;
    width: 100%;
    position: static; /* Remove absolute positioning */
}

#business-links .social-media-icons a {
    display: inline-block;
}

#business-links .social-media-icons img {
    width: 56px;
    height: 56px;
    opacity: .5;
}

#business-links .social-media-icons img:hover {
    opacity: .3;
}

#contact .social-media-icons {
    position: relative;
    bottom: 0vh;
}
.social-media-icons a {
    display: inline-block;
}

.social-media-icons img {
    width: 48px; /* Adjust size as needed */
    height: 48px;
}

/* Buttons (adjustment for new positioning) */
.buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px; /* Space between buttons */
}

/* Flexible Text Box for Video Background Slide */
.flexible-text-box-video {
    position: absolute;
    top: 10vh;
    left: 15vw;
    color: white;
    z-index: 5; /* Ensure the text box is above the video background */
    text-align: left; /* Align text to the left */
}

#video-background-slide_BTS .flexible-text-box-video {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    left: 0;
}

.flexible-text-box-video h1 {
    font-size: 6vh;
    overflow: auto;
    width: 70vw;
    margin: 0 auto;
}

.flexible-text-box-video h2 {
    font-size: 4vh;
    line-height: 1.4; /* Adjust the line height if needed */
    margin-top: 1vh;
}   

.flexible-text-box-video h3 {
    font-size: 1.2em;
    line-height: 1.4; /* Adjust the line height if needed */
    margin-top: 1vh;
}  

/* Alternate Slide Styling */
.alternate-slide {
    margin: 10vw auto;
    color: #333; /* Dark text for contrast */
    text-align: center; /* Center align text */
    margin: 4% auto; /* Center the slide content */
}

#business-links {
    margin: 2% auto;
}

#slide-milestones {
    margin: 3.5% auto;
}

#business-links .content-frame {
    display: flex;
    flex-direction: column; /* Stack the button and social media icons vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(250, 250, 255, 1); /* Optional: Add background to the frame */
    border-radius: 15px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01); /* Optional: Add shadow for visual depth */
    width: 70vh;
    height: 100%;
    margin: 0 auto;
}

/* Content Frame for Centering */
.content-frame {
    display: flex;
    flex-direction: column; /* Stack the button and social media icons vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(68, 68, 68, 0.5); /* Optional: Add background to the frame */
    border-radius: 15px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for visual depth */
    width: 100%;
    margin: 0 auto;
}

/* Large Header Styling */
.large-header {
    font-size: 2.5em; /* Large font size for the header */
    font-weight: 400; /* Regular weight, not bold */
    margin-bottom: 30px; /* Space below the header */
    color: #000000; /* Darker color for the header */
    width: 70vw;
    margin: 0 auto;
}

/* Media Container for Image or Video */
.media-container {
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Styling */
.media-container img {
    max-width: 100%;
    height: auto; /* Responsive image */
    border-radius: 10px; /* Optional: Rounded corners for the image */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

/* Video Styling */
.media-container video {
    max-width: 80%;
    height: auto; /* Responsive video */
    border-radius: 10px; /* Optional: Rounded corners for the video */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    margin: 2% auto;
}

/* Caption Styling */
.caption {
    font-size: 1.2em; /* Smaller font size for the caption */
    line-height: 1.4;
    color: #000000; /* Lighter color for the caption */
    margin-top: 20px;
}

/* Parallax background container */
.three-boxes-parallax {
    position: relative;
    overflow: hidden; /* Hide any content that goes outside the section */
    width: 100vw; /* Full viewport width */
    height: 70vh; /* Full viewport height */
    overflow: hidden; /* Hide anything that extends outside the container */
    padding: 0; /* Remove any default padding */
    margin: 0; /* Remove any default margin */
}

/* Parallax background image */
.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Ensure full width */
    height: 100vh; /* Ensure full height */
    background-image: url('assets/bg/bg_laptop_blur_v001.jpg'); /* Replace with your image */
    background-size: cover; /* Cover entire background */
    background-position: center; /* Center the background image */
    background-attachment: fixed; /* Parallax scrolling */
    z-index: 1; /* Ensure background stays behind the content */
}

#about .parallax-background {
    background-image: url('assets/bg/bg_map_v001.jpg'); /* Replace with your image */
}

#appeal .parallax-background {
    background-image: url('assets/bg/bg_rathaus_v001.jpeg'); /* Replace with your image */
}

#tourism .parallax-background {
    background-image: url('assets/bg/bg_map_v002.jpg'); /* Replace with your image */
}

#economic .parallax-background {
    background-image: url('assets/bg/bg_marco_polo_v001.jpg'); /* Replace with your image */
}

#education .parallax-background {
    background-image: url('assets/bg/bg_pile_gate_v001.jpg'); /* Replace with your image */
}

/* Content container that holds the boxes */
.content-container {
    position: relative;
    z-index: 2; /* Ensure the content is above the background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Box container layout */
.box-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Stretch all items to the same height */
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    width: 90vw;
}

/* Individual box styling */
.box {
    flex: 1 1 15%; /* Make each box take up 30% of the container width */
    background-color: rgba(255, 255, 255, 0.8); /* Slight transparency for box background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Initially hide the box */
    transform: translateY(50px); /* Slightly offset for scroll animation */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#about .box {
    padding: 10px;
}

/* Icon inside each box */
.box-icon {
    width: 4vw;
    height: 4vw;
    margin-bottom: 0%;
}

.box-avatar {
    width: 15vh;
    height: 15vh;
    margin-bottom: 0%;
    border-radius: 50%; /* Make the image circular */
    object-fit: cover; /* Ensures the image covers the frame without distortion */
    border: 3px solid #3498db; /* Optional: Add a border for the frame */

}

/* Header inside each box */
.box-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 10px;
    color: #2c3e50;
}

/* Body text inside each box */
.box-body {
    font-size: 1em;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
    margin-left: 20;
    margin-right: 20;
}

#about .box-body {
    margin-bottom: 10px;
}

/* Scroll Animation: Fade in when in view */
.box.visible {
    opacity: 1;
    transform: translateY(0); /* Reset the transform */
}

/* Video tour slide styling */
.video-tour-slide {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Optional: Set a background color for the slide */
}

/* Ensure the video player is on top of other elements */
.video-js {
    position: relative; /* Ensure it can use z-index */
    z-index: 1000; /* Set a high z-index so it's on top of other elements */
    width: 100%;
    max-width: 1920px;
    display: block;
}

/* Ensure the player maintains a 16:9 aspect ratio */
#player-container {
    position: relative;
    width: var(--player-width, 640px); /* Control the width with a CSS variable or override */
    max-width: 100%; /* Make it responsive */
    aspect-ratio: 16 / 9; /* Ensure 16:9 aspect ratio */
    background-color: rgba(0, 0, 0, 0.8); /* Optional background */
    margin: 50px auto;
    z-index: 1000; /* Keep the player on top of other elements */
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* Hide the player initially */
}

/* Video element should fill the container and maintain its aspect ratio */
.video-js {
    width: 100%;
    height: 100%;
}

/* Hide the big play button */
.vjs-big-play-button {
    display: none !important; /* Ensure the big play button is not shown */
}

/* Optional control over the height via a CSS variable */
#player-container[data-height] {
    height: var(--player-height, auto);
}

/* Style the clickable image */
.clickable-image {
    cursor: pointer;
    width: 200px;
    margin: 50px auto;
    display: block;
    z-index: 2000;
}

/* Container for the buttons */
.button-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px auto;
}

/* Style for the buttons */
.small-button {
    padding: 6px 20px;
    font-size: 14px;
    background-color: rgba(66, 151, 208, 0.4);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Add hover effect to buttons */
.small-button:hover {
    background-color: #2980b9;
}

/* Remove default link styling */
.button-container a {
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-aspect-ratio: 5/6) {
    
    #navbar ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 2vw;
        padding: 5px .4vw;
        transition: background-color 0.3s ease;
    }

    .flexible-text-box {
        left: 3vw;
        right: 30vw;
        top: 25vh;
    }

    .flexible-text-box-about {
        top: 25vh;
        bottom: 15vh;
        left: 10vw;
        right: 10vw;
        padding: 20px;
        overflow: noe;
        color: #fff;
        line-height: 1.2; /* Adjust the line height if needed */
    }
    
    .header {
        top: 4vh;
        font-size: 4vh;
    }
    
    .flexible-text-box-video h1{
        top:4%;
        font-size: 4vh;
    }

    .flexible-text-box-video h3 {
        font-size: 16px;
        line-height: 1.4; /* Adjust the line height if needed */
        margin-top: 1vh;
    }

    .footer-text {
        font-size: 3vw;
    }

    .content {
        top: 15vh;
        height: 85vh;
    }

    .content h1 {
        font-size: 1.5em;
    }

    .content p {
        font-size: 1em;
    }

    #clickable-image {
        max-width: 90%; /* Ensure it doesn't overflow */
        max-height: 70%; /* Ensure it doesn't overflow vertically */
    }

    #interactive-tour .centered-image {
        max-width: unset; /* Ensure it doesn't overflow */
        max-height: 70%; /* Ensure it doesn't overflow vertically */
        height: auto;
      }

    .flexible-text-box-video {
        font-size: 8vw; /* Adjust for smaller screens */
        top: 10vh;
        left: 5vh;
    }

    .powered-by span {
        font-size: 2vh;
    }

    .social-media-icons img {
        width: 40px;
        height: 40px;
    }

    .milestone-container {
        width: 90%;
    }

    .milestone-date {
        font-size: 1.6em;
    }
    
    .milestone-description {
        font-size: 1em;
    }

    .milestones-container {
        margin: 20px auto;
    }

    .milestone h3 {
        font-size: 1.25em;
    }

    .content-container {
        width: 60%;
        margin: 0 auto;
    }

    .content-contact {
        top: 10vh;
    }

    #about .content-container {
        width: 60%;
        margin-left: 0 auto;
    }

    .content-contact h1 {
        font-size: 2.5em;
    }
    
    .content-contact h2 {
        font-size: 1.25em;
    }
    
    .content-footer {
        font-size: 1.25em;
    }

    .contact-footer {
        font-size: 1.25em;
    }

    .box {
        flex: 1 1 100%; /* Stack the boxes on top of each other */
        width: 60vw;
        padding: 0px;
    }

    .box-icon {
        width: 6vh;
        height: 6vh;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .box-body {
        margin-bottom: 20px;
        margin-left: 20px;
        margin-right: 20px;
        font-size: .8em;
    }

    .box-avatar {
        width: 12vh;
        height: 12vh;
    }

    .box-header{
        font-size: 1em;
    }
    
    .three-boxes-parallax {
        height: 100vh; /* Full viewport height */
    }

    .large-header {
        font-size: 1.25em; /* Large font size for the header */
    }
    .caption {
        font-size: 1em; /* Smaller font size for the caption */
        line-height: 1.2;
    }

    #business-links .content-frame {
        width: 70vw;
    }

    #business-links .social-media-icons {
        gap: 10px;
    }

    .social-media-icons{
        gap: 10px;
    }

    .btn{
        font-size: 1em;
    }

    .clickable-image {
        width: 150px;
    }

    .explore-btn{
        font-size: 1em;
    }

    #business-links .social-media-icons img {
        max-width: none; /* Disable the global max-width */
        width: 40px; /* Set a fixed width */
        height: 40px; /* Set a fixed height to maintain aspect ratio */
        display: inline-block; /* Ensure they stay inline */
        margin: 0 10px; /* Add some spacing between icons */
    }

    .milestone p {
        font-size: 1em;
    }

    .interactive-media-container video {
        max-width: 90%;
    }

    .interactive-header {
        font-size: 3em;
    }

    .interactive-large-header {
        font-size: 2em;
    }

}

/* Specific styles for Interactive Tour page */

/* Interactive Tour Section */
#interactive-slide_010 {
    background-image: url('assets/bg/bg_katschhof_motion_blur_v001.jpg'); /* Change to appropriate image */
}

#interactive_BG_010 {
    background-image: url('assets/bg/bg_luza_blur_v001.jpg'); /* Change to appropriate image */
}

#interactive_BG_020 {
    background-image: url('assets/bg/bg_marco_polo_blur_v001.jpg'); /* Change to appropriate image */
}

#interactive_BG_030 {
    background-image: url('assets/bg/bg_violinist_blur_v001.jpg'); /* Change to appropriate image */
}

#interactive_BG_040 {
    background-image: url('assets/bg/bg_laptop_wide_blur_v001.jpg'); /* Change to appropriate image */
}

#interactive-slide_020 {
    background-image: url('CaD_BG_040.jpg'); /* Change to appropriate image */
}

#interactive-slide_040 {
    background-image: url('Dubrovnik_Marco_Polo_Defocus_v001.jpg'); /* Change to appropriate image */
}

#interactive-slide_060 {
    background-image: url('Interactive_ BG_040_v002.jpg'); /* Change to appropriate image */
}

#interactive-slide_070 {
    background-image: url('Interactive_ BG_070.jpg'); /* Change to appropriate image */
}

#interactive-coming-soon {
    background-image: url('assets/bg/bg_little_planet_erfurt_v001.jpg'); /* Change to appropriate image */
}

/* Alternate Slide Styling */

body.interactive {
    background-color:rgb(250, 250, 255);
    color: #ffffff;
}

.interactive-alternate-slide {
    background-color:rgb(250, 250, 255);
    color: rgba(0, 0, 0, 1); /* Dark text for contrast */
    text-align: center; /* Center align text */
    margin: 3% auto; /* Center the slide content */
}

.interactive-footer {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: rgba(255, 255, 255, 1);
    bottom: 8vh;
    font-size: 4vh;
}

/* Caption Styling */
.interactive-caption {
    font-size: 1.4em; /* Smaller font size for the caption */
    line-height: 1.4;
    color: rgba(0, 0, 0, 1);
    margin-top: 20px;
}

#interactive-coming-soon .social-media-icons {
    position: relative;
    bottom: 0;
}

.interactive-navigation-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensures it takes the full height of the viewport */
    width: 100%;
    text-align: center;
}


.interactive-navigation-content .centered-image {
    max-width: 60%; /* Ensure it doesn't overflow */
    max-height: 60%; /* Ensure it doesn't overflow vertically */
}

.interactive-footer-020 {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: rgba(255, 255, 255, 1);
    bottom: 6vh;
    font-size: 2vh;
}

.interactive-experience-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensures it takes the full height of the viewport */
    width: 100%;
    text-align: center;
}

.interactive-experience-content .centered-image {
    max-width: 60%; /* Ensure it doesn't overflow */
    max-height: 60%; /* Ensure it doesn't overflow vertically */
}

.interactive-content-coming-soon {
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 0.8;
    width: 100%;
}

#interactive-coming-soon .clickable-image {
    cursor: pointer;    
    margin: 0 auto;
    display: block;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;         /* Ensures image is responsive */
    height: auto;            /* Keeps aspect ratio intact */
}

.interactive-content-coming-soon h1 {
    font-size: 3em;
}

.interactive-content-coming-soon h2 {
    font-size: 2em;
}

.interactive-contact-coming-soon-footer {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    bottom: 7vh;
    font-size: 2em;
}

/* Media Container for Image or Video */
.interactive-media-container {
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Styling */
.interactive-media-container img {
    max-width: 100%;
    height: auto; /* Responsive image */
    border-radius: 10px; /* Optional: Rounded corners for the image */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

/* Video Styling */
.interactive-media-container video {
    max-width: 60%;
    height: auto; /* Responsive video */
    border-radius: 10px; /* Optional: Rounded corners for the video */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    margin: 2% auto;
}

/* Large Header Styling */
.interactive-large-header {
    font-size: 2.5em; /* Large font size for the header */
    font-weight: 400; /* Regular weight, not bold */
    margin-bottom: 30px; /* Space below the header */
    color: rgba(0, 0, 0, 1); /* Darker color for the header */
    width: 70vw;
    margin: 0 auto;
}

.interactive-background {
    position: relative;
    height: 80vh;
    width: 100vw;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
}

.interactive-header {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 100;
    color: rgba(255, 255, 255, 1);
    top: 10vh;
    font-size: 6vh;
    line-height: 1.4;
}

/* Container for both the icons and their captions */
.icon-caption-container {
    display: flex;
    justify-content: center;
    gap: 3vw; /* Adjust spacing between the icons */
    margin: 20px auto; /* Center the container */
    padding: 0 10px;
    max-width: 1200px; /* Optional max width */
}

/* Style for each icon and caption pair */
.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 15vw; /* Set a fixed width for each icon and caption container */
    min-width: 4vw; /* Optional: set a minimum width */
    height: 170px; /* Set a consistent height for the icon + caption container */
}

.icon img {
    width: 96px;
    height: 96px;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Style for the active icon */
.icon.active img {
    opacity: 1;
}

/* Caption styling */
.icon-caption {
    display: none; /* Hidden by default */
    margin-top: 20px; /* Space between the icon and caption */
    font-size: 1.2em;
    color: #333;
    white-space: normal; /* Ensure the text wraps */
    word-wrap: break-word; /* Handle long text by breaking words if necessary */
}

/* Show the caption of the active icon */
.icon.active .icon-caption {
    display: block;
}


/* Destinations Styling */
.destinations-alternate-slide {
    background-color: rgb(250, 250, 255); /* White background */
    color: rgb(0, 0, 0); /* Dark text for contrast */
    text-align: center; /* Center align text */
    margin: 3% auto; /* Center the slide content */
}

.destinations-background {
    position: relative;
    height: 80vh;
    width: 100vw;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
}

/* Interactive Tour Section */
#destinations-appeal-bg {
    background-image: url('assets/bg/bg_rathaus_v001.jpeg'); /* Change to appropriate image */
}

#destinations-tourism-bg {
    background-image: url('assets/bg/bg_map_v002.jpg'); /* Change to appropriate image */
}

#destinations-economic-bg {
    background-image: url('assets/bg/bg_marco_polo_v001.jpg'); /* Change to appropriate image */
}

#destinations-education-bg {
    background-image: url('assets/bg/bg_pile_gate_v001.jpg'); /* Change to appropriate image */
}

#destinations-accessibility-bg {
    background-image: url('assets/bg/bg_laptop_wide_blur_v001.jpg'); /* Change to appropriate image */
}

.destinations-large-header {
    font-size: 3em;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgb(0, 0, 0);
    width: 70vw;
    margin: 4% auto;
  }

/* Container for the privacy and legal statement */
.privacy-container {
    width: 60%; /* Make the container take up 60% of the screen width */
    margin: 10% auto; /* Center the container horizontally */
    padding: 20px; /* Add some padding for better readability */
    background-color: #f9f9f9; /* Optional: Set a light background for contrast */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    font-size: 1rem; /* Adjust font size */
    line-height: 1.6; /* Improve readability */
    max-width: 800px; /* Limit the width to prevent it from being too wide on large screens */
}

/* Responsive Adjustments */
@media (max-aspect-ratio: 5/6) {

    .interactive-alternate-slide {
        margin: 6% auto;
    }

    .interactive-media-container video {
        max-width: 90%;
    }

    .interactive-header {
        top: 15vh;
        font-size: 4vh;
    }

    .interactive-large-header {
        font-size: 1.25em;
        width: 80%;
    }

    .interactive-caption {
        font-size: 1em;
    }

    .interactive-background {
        height: 50vh;
    }
    
    .icon img {
        width: 48px;
        height: 48px;
    }

    .icon {
        width: 20vw;
        min-width: 15vw;
        height: 100px;
    }

    .icon-caption {
        font-size: .7em;
    }

    .destinations-background {
        height: 50vh;
    }

    .interactive-content-coming-soon h1 {
        font-size: 1.5em;
    }

    .interactive-content-coming-soon h2 {
        font-size: 1em;
    }

    .interactive-contact-coming-soon-footer {
        font-size: 1em;
    }

    .interactive-navigation-content .centered-image {
        max-width: 80%;
        max-height: 100%;
    }

    .interactive-experience-content .centered-image {
        max-width: 80%;
        max-height: 100%;
    }

    .privacy-container {
        width: 90%; /* Reduce the width to 90% for smaller screens */
        font-size: 0.9rem; /* Slightly reduce the font size */
    }

    .interactive-contact-coming-soon-footer {
        font-size: 1em;
    }
}

/* Apply box-sizing to all elements */
* {
    box-sizing: border-box;
}