.gallery-item {
    margin: 5px;
    overflow: hidden;
    display: inline-block;  /* Änderung von inline-flex zu inline-block */
    position: relative;     /* Hinzugefügt */
}

.thumbnail-container {
    position: relative;
    display: block;         /* Änderung von inline-block zu block */
    width: 100%;
    height: 100%;
}

.thumbnail-container img {
    display: block;        /* Hinzugefügt */
    width: auto;          /* Hinzugefügt */
    height: 200px;        /* Feste Höhe entsprechend thumbnailHeight */
}

.pano-overlay {
    position: absolute;
    width: 56px;;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;   /* Hinzugefügt damit Klicks durchgehen */
}

.pano-overlay i {
    font-size: 1.5em;
}

.thumbnail-container:hover .pano-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.video-overlay {
    position: absolute;
    width: 68px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-overlay i {
    font-size: 2em;
}

.thumbnail-container:hover .video-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.readme-content pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 16px;
    overflow: auto;
    margin-bottom: 16px;
}

.readme-content code {
    font-family: monospace;
    background-color: #f6f8fa;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 85%;
}

.readme-content pre code {
    padding: 0;
    background-color: transparent;
}

.readme-content ul, 
.readme-content ol {
    margin-bottom: 16px;
    padding-left: 2em;
}

.readme-content li {
    margin: 4px 0;
}

.readme-content li.indent-1 {
    margin-left: 20px;
}

.readme-content li.indent-2 {
    margin-left: 40px;
}

.readme-content ul ul,
.readme-content ul ol,
.readme-content ol ul,
.readme-content ol ol {
    margin-top: 4px;
    margin-bottom: 4px;
}