body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: rgb(190, 190, 190);
    margin: 0;
    padding: 0;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    width: 100%;
    font-size: 1.2em;
    padding: 5px;
}

input[type='text'],
input[type='range'],
select {
    background-color: #202020;
    border: 1px solid #333333;
    color: white;
    padding: 6px;
    border-radius: 4px;
}

button {
    background-color: #333333;
    color: rgb(190, 190, 190);
    border: none;
    padding: 10px 20px;
    /* Increased padding */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 100px;
}

button:hover {
    background-color: #555555;
}

/* Range input adjustments */
input[type='range'] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 4px;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f50057;
    cursor: pointer;
}

input[type='range']::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f50057;
    cursor: pointer;
}

#image-viewer {
    max-height: calc(100vh - 60px - var(--filmstrip-height));
    object-fit: contain;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

#album-description {
    margin-top: 10px;
    font-size: 1.25em;
    text-align: center;
    font-weight: bold;
    color: #5f83e6;
}

/* Filmstrip styles */
#filmstrip {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding: 10px 0;
    margin-top: 10px;
    width: 100%;
}

.filmstrip-img {
    max-width: 160px;
    max-height: 160px;
    width: 20vw;
    height: 15vh;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    object-fit: cover;
    border-radius: 5px;
}

.filmstrip-img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.filmstrip-img.selected {
    border: 2px solid #f50057;
    opacity: 1;
}

select {
    cursor: pointer;
}


/* Delay switch styling */
#delay-switch {
    display: flex;
    justify-content: space-between;
}

#delay-switch label {
    color: white;
    cursor: pointer;
}

input[type='radio'] {
    margin-right: 5px;
}

/* Ensuring Play/Pause buttons remain the same size /
    toggle-play {
    min-width: 120px; / Set a fixed minimum width
}*/

#next-album {
    min-width: 120px;
}
.contact-details {
    text-align: center;
    margin-top: 20px;
}

#details-link {
    color: #f50057;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
}

#counts-container {
    margin-top: 10px;
    font-size: 1em;
    color: rgb(190, 190, 190);
    text-align: center;
}

#album-count,
#image-count {
    font-weight: bold;
    color: #8aa1df;
    font-size: 1em;
}

#contact-info {
    color: #ffffff;
    background-color: #202020;
    padding: 15px;
    border-radius: 8px;
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
}

#contact-info p {
    margin: 10px 0;
}