body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.nav-button {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 24px;
    flex-shrink: 0;
}

.nav-button:hover:not(:disabled) {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-container {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.images-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90dvh;
    width: 100%;
}

.images-wrapper img {
    max-height: 100%;
    max-width: 48dvw;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

#imageModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    /*justify-content: center;*/
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

#imageModal img {
    width: 70dvw;
    height: auto;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.button-modal {
    position: fixed;
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.button-modal:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}