body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

@font-face{
    font-family: 'Sevillana';
    src: url('Sevillana-Regular.ttf') format('truetype');
}

h1{
    font-family: 'Sevillana',sans-serif;
}
.typ{
    font-family: 'Sevillana',sans-serif;
}

.custom-title {
    margin: 20px 0;
}

#filter {
    margin: 10px auto;
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {

    width: 100%;
    height: 100%;
    /*height: auto;*/
    object-fit: cover;
   }


.fullscreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1000;
}

.fullscreen img {
    max-width: 90%;
    max-height: 55%;
    margin-top: 1rem;
    object-fit: contain;
    transition: all 0.3s ease; /* Animácia pri zmene veľkosti */
}

.fullscreen .details {
    color: white;
    text-align: center;
    justify-content: center;
    font-size: 0.8rem;
    margin: 0.7rem;
    width: 80%; /* Dynamic width adjusted by JavaScript */
    max-width: 24rem;
}

.fullscreen .details .title{
    color: bisque;
    font-size: 1.5rem;
    width: auto; /* Dynamic width adjusted by JavaScript */
}

.fullscreen button {
    position: absolute;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.close-btn {
    top: 1.2%;
    right: 1%;

}

.prev-btn, .next-btn {
    top: 50%;
    transform: translateY(-50%);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.slideshow-btn {
    top: 1%;
    left: 1%;
}
.slideshow-btn i {
    font-size: 20px;
}

.prev-btn, .next-btn, .close-btn, .slideshow-btn {
    position: absolute;
}

.prev-btn, .next-btn {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
}
#map {
    width: 100%;
    height: 125px;
    margin: auto;

}


