* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f0f0f0;
    background-image: url("https://www.hellskitchen.org/gdt/images/bg/bg1.gif");
    color: #333;
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
}

main > div {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

#gallery-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 2px;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

#gallery-image.fading {
    opacity: 0;
}

#playpause {
    background-color: #c85a24;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#playpause:hover {
    background-color: #b04e1f;
}

#playpause:active {
    transform: scale(0.98);
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #333;
    text-decoration: underline;
}