* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #3A3A70;
    --color-purple-light: #CDC1FF;
    --color-pink-light: #FFCCEA;
    --color-blue-light: #BFECFF;
    --color-cream: #FFF6E3;
    --color-gray: #767676;
    --color-white: #FFFFFF;
    --color-white-transparent: rgba(255, 255, 255, 0.1);
    --color-primary-transparent: rgba(58, 58, 112, 0.05);
    --color-primary-shadow: rgba(58, 58, 112, 0.3);
    --color-primary-nav: rgba(58, 58, 112, 0.7);
    --color-highlight-shadow: rgba(255, 206, 234, 0.5);
    --color-blue-highlight-shadow: rgba(191, 236, 255, 0.5);
    --color-dark-gray: #333;
    --color-beige: #EADBC8;
    --color-pink-gradient-1: #FFE1F4;
    --color-pink-gradient-2: #FFD4EC;
    --color-purple-gradient-1: #D8CFFF;
    --color-purple-gradient-2: #E2DBFF;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: var(--color-dark-gray);
    font-weight: 500;
}

h1, h2, h3, .loading-text {
    font-family: 'Press Start 2P', cursive;
    line-height: 1.4;
}

.container {
    width: 85%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--color-primary-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    transform: translateY(0);
    transition: all 0.3s ease;
    will-change: transform, opacity;
    opacity: 1;
    pointer-events: all;
}

nav.visible {
    opacity: 1;
    pointer-events: all;
}

nav.scrolled {
    transform: translateY(-100%);
}

.logo {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    padding: 10px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.pixel-border-top,
.pixel-border-right,
.pixel-border-bottom,
.pixel-border-left {
    position: absolute;
    background-color: white;
    transition: transform 0.3s ease;
    opacity: 0;
}

.pixel-border-top,
.pixel-border-bottom {
    height: 2px;
    width: 100%;
    transform: scaleX(0);
}

.pixel-border-right,
.pixel-border-left {
    height: 100%;
    width: 2px;
    transform: scaleY(0);
}

.pixel-border-top {
    top: 0;
    left: 0;
    transform-origin: right;
}

.pixel-border-right {
    top: 0;
    right: 0;
    transform-origin: bottom;
}

.pixel-border-bottom {
    bottom: 0;
    left: 0;
    transform-origin: left;
}

.pixel-border-left {
    top: 0;
    left: 0;
    transform-origin: top;
}

.nav-links a:hover {
    color: var(--color-blue-light);
}

.nav-links a:hover .pixel-border-top,
.nav-links a:hover .pixel-border-bottom {
    transform: scaleX(1);
    opacity: 1;
}

.nav-links a:hover .pixel-border-right,
.nav-links a:hover .pixel-border-left {
    transform: scaleY(1);
    opacity: 1;
}

.nav-links a:hover .pixel-border-top {
    transition-delay: 0s;
}

.nav-links a:hover .pixel-border-right {
    transition-delay: 0.1s;
}

.nav-links a:hover .pixel-border-bottom {
    transition-delay: 0.2s;
}

.nav-links a:hover .pixel-border-left {
    transition-delay: 0.3s;
}

.divider-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    z-index: 5;
}

.pixel-divider {
    display: flex;
    width: 100%;
    height: 20px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
}

.pixel-divider-item {
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    box-shadow: 
        inset -1px -1px 0 rgba(0, 0, 0, 0.2),
        inset 1px 1px 0 rgba(255, 255, 255, 0.2);
    image-rendering: pixelated;
}

.pixel-divider-item:nth-child(even) {
    background-color: transparent;
    box-shadow: none;
}

.section {
    padding: 80px 0 50px;
    min-height: 100vh;
    position: relative;
}

footer {
    background-color: var(--color-gray);
    color: var(--color-cream);
    padding: 30px 0;
    text-align: center;
    position: relative;
    animation: scanlines 2s linear infinite;
}

@keyframes scanlines {
    0% {
        background-image: linear-gradient(to bottom, 
            transparent 50%, 
            var(--color-primary-transparent) 50%);
        background-size: 100% 4px;
    }
    100% {
        background-image: linear-gradient(to bottom, 
            transparent 50%, 
            var(--color-primary-transparent) 50%);
        background-size: 100% 4px;
        background-position: 0 4px;
    }
}

footer::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-blue-light);
    top: -6px;
    left: 20%;
    transform: rotate(45deg);
    opacity: 0.7;
}

footer::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    top: -6px;
    right: 20%;
    transform: rotate(45deg);
    opacity: 0.7;
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--color-white);
        width: 100%;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 10px;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-active {
        transform: translateX(0);
    }
    
    .section {
        padding: 50px 0;
        min-height: auto;
    }
}



/* Learning Outcomes styling */
#learning-outcomes {
    background: linear-gradient(135deg, var(--color-pink-gradient-2), var(--color-purple-gradient-2));
    margin-top: -20px;
    padding-top: 100px;
    position: relative;
    margin-top: -20px;
}

#learning-outcomes h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: left;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.outcome-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 25px;
    border: 2px solid var(--color-primary);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 0 0 2px var(--color-primary), 0 0 0 4px var(--color-blue-highlight-shadow);
}

.outcome-icon {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
}

.outcome-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin: 15px 0;
    min-height: 2.8em;
    display: flex;
    align-items: center;
}

.outcome-card p {
    text-align: justify;
    text-justify: inter-word;
    word-spacing: normal;
    color: var(--color-primary);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 500;
    max-width: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.outcome-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 15px;
    min-height: 25px;
}

/* Project tags styling - Used in both learning outcomes and projects sections */
.project-tag {
    background: rgba(255, 255, 255, 0.35);
    color: var(--color-primary);
    padding: 4px 8px;
    font-size: 0.7rem;
    font-family: 'Press Start 2P', cursive;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.project-tag:hover {
    transform: rotate(-2deg);
}





/* Responsive aanpassingen voor learning outcomes */
@media screen and (max-width: 768px) {
    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .outcome-card {
        padding: 20px;
        min-height: 280px;
    }

    .outcome-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        padding: 12px;
    }

    .outcome-card h3 {
        font-size: 0.8rem;
    }

    #learning-outcomes h2 {
        font-size: 1.2rem;
    }
}

/* Gradient achtergronden voor secties met soepele overgangen */
section#home {
    background: linear-gradient(
        135deg,
        var(--color-pink-light) 0%,
        #FFE1F4 25%,
        var(--color-pink-light) 50%,
        #FFD4EC 75%,
        var(--color-pink-light) 85%,
        var(--color-purple-light) 100%
    );
}

section#about {
    background: linear-gradient(
        135deg,
        var(--color-purple-light) 0%,
        #D8CFFF 25%,
        var(--color-purple-light) 50%,
        #E2DBFF 75%,
        var(--color-purple-light) 85%,
        var(--color-pink-light) 100%
    );
    margin-top: -20px;
    padding-top: 100px;
    position: relative;
    padding-bottom: 40px;
}

section#about .divider-container {
    bottom: 0;
}

section#about .pixel-divider {
    bottom: 0;
}

section#learning-outcomes {
    margin-top: -20px;
    padding-top: 100px;
    position: relative;
}

section#projects {
    background: linear-gradient(135deg, var(--color-purple-gradient-2), var(--color-pink-gradient-1));
    margin-top: -20px;
    padding-top: 100px;
}



.projects-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-cream);
    position: relative;
    z-index: 1;
}



/* Scroll Arrows Styling */
.scroll-arrows-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}

.scroll-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.pixel-arrow {
    width: 30px;
    height: 15px;
    position: relative;
    margin-bottom: 6px;
    animation: bounce 2s infinite ease-in-out;
}

.pixel-arrow:nth-child(2) {
    animation-delay: 0.2s;
}

.pixel-arrow:nth-child(3) {
    animation-delay: 0.4s;
}

.pixel-arrow::before,
.pixel-arrow::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 3px;
    background-color: var(--color-primary);
}

.pixel-arrow::before {
    right: 50%;
    transform: rotate(45deg);
    transform-origin: right;
}

.pixel-arrow::after {
    left: 50%;
    transform: rotate(-45deg);
    transform-origin: left;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* Responsive styling voor scroll arrows */
@media screen and (max-width: 768px) {
    .scroll-text {
        font-size: 0.7rem;
        margin-bottom: 15px;
    }
    
    .pixel-arrow {
        width: 25px;
        height: 12px;
        margin-bottom: 5px;
    }
    
    .pixel-arrow::before,
    .pixel-arrow::after {
        width: 12px;
        height: 2px;
    }
}

/* Algemene float block animatie */
@keyframes float-block {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-15px); }
}

.project-details-preview {
    width: 100%;
    margin: 20px 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary), 0 0 0 4px var(--color-blue-highlight-shadow);
    background-color: var(--color-white-transparent);
    backdrop-filter: blur(5px);
    border-radius: 4px;
}

.project-preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--color-white);
    padding: 10px;
    transition: transform 0.3s ease;
}

.preview-image-container:hover .project-preview-image {
    transform: scale(1.02);
}

@media screen and (max-width: 768px) {
    .project-details-preview {
        padding: 0 10px;
    }
    
    .preview-image-container {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }
}

.evidence-item {
    background: rgba(255, 255, 255, 0.35);
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid var(--color-primary);
}

.evidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.evidence-project {
    color: var(--color-primary);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
}

.evidence-date {
    color: var(--color-primary);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
}

.evidence-status {
    color: var(--color-primary);
    font-style: italic;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
}

/* Voorkom alle woordafbrekingen */
*, 
*::before, 
*::after {
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    white-space: normal !important;
}

/* Specifieke styling voor justified tekst */
[style*="text-align: justify"],
.justify-text,
p,
.info-content,
.process-content,
.project-card p,
.evidence-content p {
    text-align: justify;
} 