#gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 3;
    overflow: hidden;
    background-color: #000;
}

.gallery-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item {
    min-width: 100%;
    height: 100%;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.imageprod {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.nav-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.nav-button:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.8);
}

.nav-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.index-message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    text-align: center;
}

.index-message-image {
    width: 50px;
    height: 50px;
}

.index-message-text {
    width: 85%;
}

.sliding-messages {
    min-height: 2.5em;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-message {
    font-weight: bold;
    color: white;
    position: absolute;
    width: 100%;
    text-align: center;
    margin: 0;
}