/* JOUW BESTAANDE STIJL */
#pagina {
    float: left;
    height: auto;
    width: 950px;
    margin-left: 3%;
    color: antiquewhite;
}

.socialmediatekst a:link {
    color: rgb(255, 153, 51);
    font-weight: 700;
    text-decoration: none;
}

.socialmediatekst a:visited {
    color: rgb(255, 160, 51);
}

.socialmediatekst a:hover {
    color: rgb(255, 204, 0);
}

.socialmediatekst a:active {
    color: rgb(0, 135, 135);
}

/* Wrapper voor het hele blok */
.animatie-blok {
    overflow: visible;
    /* voorkomt dat floats eruit steken */
    margin-bottom: 40px;
    /* ruimte onder het blok */
}

/* Algemene styling voor alle animatie-afbeeldingen */
.animatie-img {
    width: 160px;
    border: 3px solid rgb(255, 153, 51);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover-effect */
.animatie-img:hover {
    transform: scale(1.12);
    border-color: rgb(204, 0, 120);
}

/* Links en rechts positionering */
img.links {
    float: left;
    margin: 15px 15px 15px 0;
}

img.rechts {
    float: right;
    margin: 15px 0 15px 15px;
}

/* Extra ruimte tussen alinea's met afbeeldingen */
p.zakken {
    clear: both;
    margin-top: 40px;
}




/* RESPONSIVE */

@media only screen and (max-width: 1200px) {
    #pagina {
        width: 74%;
    }

    .animatie-img,
    img.links,
    img.rechts {
        width: 20%;
        /* schaalt mee met de container */
        max-width: 200px;
        height: auto;
    }
}

@media only screen and (max-width: 768px) {

    /* Container wordt kolom */
    .animatie-blok {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* optioneel: centreren */
        text-align: center;
        /* optioneel: tekst centreren */
    }

    /* Afbeeldingen stoppen met floaten */
    .animatie-img,
    img.links,
    img.rechts {
        width: 100%;
        float: none;
        margin: 15px auto;
    }



    /* Tekst netjes onder de afbeelding */
    .socialmediatekst {
        clear: both;
        margin-top: 20px;
    }
}