/* General body styling */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Spline Sans Mono', monospace;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

/* Play button styling */
#play-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#playButton {
    font-size: 3rem;
    padding: 20px 40px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Courier New', Courier, monospace;
}

#playButton:hover {
    background-color: white;
    color: black;
}

/* Main container for the two images */
#main-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30vh;
    padding-bottom: 96px;
    box-sizing: border-box;
}

/* Individual box for each image and its text */
.image-box {
    display: flex;
    flex-direction: column;
    padding: 0 25px; 
    box-sizing: border-box;
}

/* Wrapper to hold the image. */
.image-wrapper {
    height: 36vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* This holds the image itself */
.image-box img {
    max-width: 100%;
    height: 36vh; 
    object-fit: contain;
}

#caption-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

#caption-container p {
    margin: 0;
    font-size: 0.58rem;
    font-family: 'Courier New', Courier, monospace;
    color: #ccc;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 18px;
}

#captionLine2 {
    margin-top: 0.15rem;
}

@media (min-width: 1280px) {
    #caption-container p {
        font-size: 0.52rem;
    }
}

/* Utility class to hide elements */
.hidden {
    display: none !important;
}
