* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.8;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: rgb(31, 31, 46);
    color: white;
    padding: 2rem;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

.pdf-link {
    display: inline-block;
    margin-top: 1rem;
    background: #357abd;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: white;
    text-decoration: none;
}

.pdf-link:hover {
    background: #245a8a;
}

.slideshow {
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
    padding: 2rem 0;
}

.slides {
    display: flex;
    gap: 2rem;
    animation: scroll 35s linear infinite;
}

.slides:hover {
    animation-play-state: paused;
}

.slide {
    width: 350px;
    height: 250px;
    border-radius: 12px;
    flex-shrink: 0;
    text-decoration: none;
    color: rgb(147, 147, 147);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

.slide:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4em;
    color: #ffffff;
    font-weight: bold;
}

.content p {
    font-size: 1em;
    line-height: 1.4;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.229);
    z-index: 1;
}

.slide1 { background: url('ImgAchter/Samen.jpg') center/cover no-repeat; }
.slide2 { background: url('ImgAchter/Beeld.jpg') center/cover no-repeat; }
.slide3 { background: url('ImgAchter/Poc.jpg') center/cover no-repeat; }
.slide4 { background: url('ImgAchter/Prototype.jpg') center/cover no-repeat; }
.slide5 { background: url('ImgAchter/Presentatie.jpg') center/cover no-repeat; }
.slide6 { background: url('ImgAchter/Pva.jpg') center/cover no-repeat; }

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.opdrachten {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.opdracht {
    display: block;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgb(31, 31, 46);
}

.opdracht:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.opdracht .title {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.opdracht .detail {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    font-size: 1em;
    line-height: 1.4;
    transition: max-height 0.6s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.opdracht:hover .detail {
    max-height: 1000px;
    opacity: 1;
    margin-top: 0.5rem;
}

