/* Basic Styling */
body, html {
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    color: #fff;
    font-family: "Courier New", Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

/* Back to the Root button */
.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: grey;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 10;
}

/* Main Content */
.content {
    max-width: 1000px;
    width: 90%;
    text-align: center;
    margin-top: 50px;
}

/* Two-column Layout */
.two-column {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Left Column: Info Section */
.info-section {
    flex: 1;
    text-align: left;
}

.info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-section p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Right Column: Images with Overlay */
.image-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dark grey overlay with caption text */
.image-container::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background-color: rgba(50, 50, 50, 0.8); /* Dark grey with slight transparency */
    color: white;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
        align-items: center;
    }

    .info-section, .image-section {
        width: 100%;
        text-align: center;
    }

    .info-section h2 {
        font-size: 1.3rem;
    }

    .info-section p {
        font-size: 0.9rem;
    }
}
