* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial;
    background-color: #f2f2f2;
    color: #000;
    line-height: 1.5;
}

header {
    margin: 30px;
    background-color: #f2f2f2;
    text-align: center;
    padding: 35px;
}

header h1 {
    margin: 0;
    font-size: 42px;
    letter-spacing: 1px;
}

nav {
    background-color: #010101;
    text-align: center;
    padding: 5px;
    position: fixed;
    top: 10px;
    width: 80%;
    left: 10%;
    border-radius: 18px;
    z-index: 10;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    display: inline-block;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    transform: translateY(-2px);
    opacity: 0.7;
}

main {
    width: 90%;
    max-width: 1000px;
    margin: 35px auto;
}

section {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    scroll-margin-top: 70px;
    transition: 0.2s;
}

section:hover {
    transform: translateY(-2px);
}

h2 {
    font-size: 26px;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

h3 {
    margin-top: 0;
}

p {
    color: #333;
    font-size: 16px;
}

.teamleden {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

article {
    background: white;
    padding: 15px;
    border-radius: 8px;
}

article a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 14px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

article a:hover {
    opacity: 0.7;
}

.verdachten {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
}

.verdachte-kaart {
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.verdachte-kaart.verschijn {
    opacity: 1;
    transform: translateY(0);
}

.verdachte-kaart img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.verdachte-kaart h4 {
    margin-top: 10px;
}

.kruis {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 170px;
    font-weight: bold;
    color: red;
}

.hoofdverdachte {
    animation: zoom 1s forwards;
}

.hoofdverdachte img {
    border: 4px solid black;
}

.afgewezen {
    animation: shake 1s forwards;
}

.afgewezen img {
    filter: grayscale(100%);
}

.aanwijzing {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.factuur-bewijs {
    display: flex;
    gap: 25px;
    align-items: center;
}

.factuur-tekst {
    width: 55%;
}

.bewijs-afbeelding {
    width: 45%;
}

.bewijs-afbeelding img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.case {
    background: #eeeeee;
    padding: 15px;
    border-radius: 8px;
}

@keyframes zoom {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.05);
    }

}

@keyframes shake {

    0% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(-10px);
    }

    60% {
        transform: translateX(10px);
    }

    100% {
        opacity: 0.5;
    }

}

@media(max-width:700px) {

    .teamleden {
        grid-template-columns: 1fr;
    }

    .verdachten {
        flex-direction: column;
    }

    .factuur-bewijs {
        flex-direction: column;
    }

    .factuur-tekst,
    .bewijs-afbeelding {
        width: 100%;
    }

    nav a {
        display: block;
		font-weight: bold;
    }

}