/* Set the background image for the page */
body {
    /* background-image: url('2023-01-GEwerk-Teams-Hintergrund-Beton sw.png'); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Makes footer stick to the bottom */
}

.header {
    position: relative;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.3); /* Transparent header */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000; /* Ensure header is above other elements */
}

.header img {
    height: 40px;
}

.header button {
    display: flex;
    justify-content: center;
    gap: 10px;
    text-align: center;
    position: relative;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Container for centering content */
.content-container {
    display: flex;
    flex: 1;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
	padding-top: 210px; /* Adjust this value for the desired offset */
}

 /* Style for the embedded image */
.embedded-image {
    max-width: 70%; /* Ensure it fits within the viewport */
    max-height: 90vh; /* Ensure it fits within the viewport */
    z-index: 10; /* Higher value than background */
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 60px; /* Push content down to avoid header overlap */
}

.image-container {
    width: 100%;
    flex-grow: 1;
    height: calc(100vw * (9 / 16));
    max-height: calc(100vh - 110px);
    position: relative;
    overflow: hidden;
    border-left: 4px solid #0082C3;
    border-right: 4px solid #0082C3;
    background: linear-gradient(to bottom, #e2e2e2 0%, #bdbdbd 60%, #7a7a7a 100%);
    /* Optional mit Textur: */
    /* background: 
        linear-gradient(to bottom, #e2e2e2 0%, #bdbdbd 60%, #7a7a7a 100%),
        url('grafik.png');
       background-size: cover, cover;
       background-blend-mode: multiply; */
}

/* Button styling */
button {
	/* position: absolute; Position it on the page */
    background-color: #0082C3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    margin: 10px;
}

/* Button hover effect */
button:hover {
    background-color: #0082C3;
}

/* Footer styling */
footer {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    padding: 1px;
    text-align: center;
    position: relative;
    z-index: 10;
    color: white;
}

/* Footer buttons styling */
.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* .zoomable-image {
    width: 100%;
    height: auto;
    transition: transform 0.25s ease;
} */

.zoomable-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* <-- Anpassung */
    transition: transform 0.25s ease;
    cursor: pointer;
    transform-origin: center center; /* Ensure zooming occurs from the center */
}
        
.zoomable-image.zoomed {
    cursor: grab;
}
        
.zoomable-image.zoomed:active {
    cursor: grabbing;
}         

/* .image-container:hover .zoomable-image {
    transform: scale(2); Adjust the zoom level 
    cursor: zoom-in;
} */


@media (max-width: 768px) {
    .zoomable-image.zoomed {
        cursor: grab;
    }

    .header {
        height: 50px;
    }

    .header img {
        height: 30px;
    }

    .footer button {
        font-size: 14px;
    }
}
        
@media (max-width: 480px) {
    .header {
        height: 40px;
    }

    .header img {
        height: 25px;
    }

    .footer {
        height: 40px;
    }

    .footer button {
        padding: 8px 16px;
        font-size: 14px;
    }

    #timestamps {
        font-size: 12px;
    }
}