*   { margin: 0;
    padding: 0; }

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f4f4f4;
    text-align: center;
}

.main-container {
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
    background-color: rgb(217, 217, 225);

}

.top-container { display:flex;
    
    flex-direction: row;
    justify-content: space-between;
    

img {width: 75px;
}

.navright {display: flex;
flex-direction: row;

margin-right: 20px;
align-items: center;
gap: 20px;
}
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    
}



.item img {
    width: 100%;
    
   
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.item img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Pfeil-Buttons */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.nav:hover {
    color: #ccc;
}

/* Zoom Cursor */
.lightbox img {
    cursor: grab;
    transition: transform 0.2s ease;
}