/* 1. Algemene Structuur */
body {
    margin: 0; padding: 0;
    background: #000;
    font: 12px 'Ubuntu', sans-serif; 
    color: #ffffff;
    text-align: center;
    overflow-x: hidden;
}

#wrapper {
    margin: 0 auto;
    width: 100%; 
    max-width: 1450px; 
    padding: 15px; 
    box-sizing: border-box;
}

/* 2. Headers */
.header { color: #ffffff; padding: 20px 0; }
.header h1 { font-size: clamp(24px, 5vw, 35px); margin: 0; }
.header h2 { font-size: clamp(16px, 3vw, 20px); color: #8687FF; margin: 5px 0; }

/* 3. DE GALLERY GRID FIX (Gecentreerd & Breedbeeld focus) */
.content {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    clear: both;
}

.content > *, .content a {
    display: block !important;
    flex: 0 1 320px !important;
    margin: 3px !important; /* Iets meer ruimte voor de rondingen */
    max-width: 320px !important;
    text-decoration: none;
    text-align: center !important;
}

/* 4. De Afbeelding - Breedbeeld & Rounded Corners */
.content img {
    border: 1px solid #ffffff;
    width: 320px !important; 
    max-width: 100% !important; 
    height: 180px !important; /* Panorama verhouding */
    object-fit: cover;
    display: block !important;
    margin: 0 auto !important;
    
    /* AFGERONDE HOEKEN */
    border-radius: 15px; 
    
    transition: all 0.3s ease-in-out;
}

.content img:hover {
    border: 1px solid #8687FF;
    transform: scale(1.03); /* Subtiele zoom-in */
    box-shadow: 0 0 15px rgba(134, 135, 255, 0.4);
}

/* 5. De Tekst onder de foto */
.tex, .desc, .text, [class^="galls"] {
    display: block !important;
    width: 100% !important;
    padding: 12px 0;
    color: #cccccc;
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
    height: auto !important;
    min-height: 20px;
    clear: both;
}

/* 6. Toplists & Links */
a { color: #ffffff; text-decoration: none; }
a:hover { text-decoration: underline; }

#top1 div a {
    display: inline-block;
    border: 1px solid #000;
    padding: 5px 12px;
    color: #000;
    background: #ffffff;
    margin: 4px;
    font-weight: bold;
    border-radius: 5px;
}

/* 7. Footer */
footer, #footer {
    clear: both;
    padding: 50px 0;
    width: 100%;
    color: #ffffff;
    text-align: center;
}

.spacer { clear: both; height: 25px; }

/* Beveiliging via CSS */
body {
    /* Voorkomt tekstselectie over de hele site */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Voorkomt het context-menu op mobiel (lang indrukken) */
    -webkit-touch-callout: none;
}

/* Zorg dat bezoekers nog wel in tekstvelden kunnen typen */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Voorkomt dat afbeeldingen gesleept kunnen worden */
img {
    pointer-events: none;
    -webkit-user-drag: none;
}
