html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: #808080; /* Neutral grey background */
}

.image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#current-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio, fit within window */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.control-button {
    position: absolute;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.control-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

#prev-button {
    left: 10px;
}

#next-button {
    right: 10px;
}

#play-pause-button {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.fade {
    opacity: 0;
}