body {
    font-family: Arial, sans-serif;
	background-color:lightblue;
}

.gallerie {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.thumbnail img, .thumbnail video {
    width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail img:hover, .thumbnail video:hover {
    transform: scale(1.05);
}

.fullscreen-checkbox {
    display: none;
}

.fullscreen-checkbox:checked + .thumbnail img,
.fullscreen-checkbox:checked + .thumbnail video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto; /* Alternativ hier x% und max-width und max-height löschen, aber da ist das Bild zu groß und abgeschnitten und scrollbar funktioniert nicht*/
    height: auto;
	max-width: 90%;
	max-height: 90%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	overflow: auto;
}

.fullscreen-checkbox:checked + .thumbnail::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.box{
	background-color: rgba(128, 128, 128, 0.6);
	font-size: 20px;
	border: 2px, solid black;
	text-align: center;
	margin-bottom: 10px;
}

/*

#id{
	
	
}

*/