body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

main {
    max-width: 700px;
    margin: auto;
    padding: 20px;
}

article p {
    text-align: justify;
}

#main-photo-container img {
    max-width: 700px;
    width: 100%;
    height: auto;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 10px 0;
}

#photo-gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#photo-gallery::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    height: 100px;
    object-fit: cover;
    flex: 0 0 auto;
    margin: 0 5px;
    cursor: pointer;
}

#scroll-left, #scroll-right {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    z-index: 10;
}

#scroll-left {
    left: 0;
}

#scroll-right {
    right: 0;
}

#fullscreen-container {
    display: none; /* Vaikimisi peidetud */
    position: fixed; /* Katab kogu ekraani */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Pool-läbipaistev taust */
    z-index: 1000; /* Tagab, et konteiner kuvatakse teiste elementide peal */
    justify-content: center;
    align-items: center;
    display: flex;
}
#close-fullscreen, #fullscreen-scroll-left, #fullscreen-scroll-right {
    cursor: pointer;
    background-color: #FFF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}
