body.img {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}


.navigation {
    
    background-color: #CCC;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	opacity: 0.7;
	
}

.back-link {
    text-decoration: none;
    color: #007bff;
    font-size: 18px;
	
}

.back-link:hover {
    text-decoration: underline;
}

.gallery-container {
    background-image:url(../image/[desing-2]/black_back.gif);
    background-attachment: scroll;
    background-color: #333333;
    background-repeat: repeat-x;    
    position: relative;
    width: 90%; /* Zmen�en� na 70% */
    max-width: 90vw; /* Maxim�lna ��rka na 90% ��rky okna */
    max-height: 90vh; /* Maxim�lna v��ka na 90% v��ky okna */
    /* background-color: #98cec0; */
    border: 1px solid #ccc;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
	opacity: 0.8;
    object-fit: contain;
}

.gallery-header {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

#image-title {
    font-size: 20px;
    font-weight: bold;
    padding-top: 10px; /* Add padding to separate it from above elements */
}

.gallery {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	
}

.gallery-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
	border: 1px solid #000;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.info {
    position: absolute;
    top: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
}

.close-link {
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none;
    color: #ff0000;
    font-size: 24px;
    font-weight: bold;
    z-index: 20;
}
