#home {
    background: linear-gradient(to bottom, #CDC1FF, #FFCCEA); 
    position: relative;
    overflow: hidden;
    --section-color: #CDC1FF; 
    padding-bottom: 60px;
}

#home .container {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.star-large {
    position: absolute;
    width: 7px;
    height: 7px;
}

.star-large::before,
.star-large::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
}

.star-large::before {
    width: 7px;
    height: 3px;
    top: 2px;
    left: 0;
}

.star-large::after {
    width: 3px;
    height: 7px;
    top: 0;
    left: 2px;
}

.star-1 { top: 80px; left: 100px; }
.star-2 { top: 120px; right: 150px; }
.star-3 { top: 200px; left: 80px; }
.star-4 { bottom: 150px; right: 100px; }
.star-5 { bottom: 200px; left: 200px; }
.star-6 { top: 70px; right: 200px; }
.star-7 { top: 180px; right: 250px; }
.star-8 { bottom: 100px; left: 150px; }
.star-9 { top: 130px; left: 250px; }
.star-10 { bottom: 180px; right: 180px; }

.star-large-1 { top: 100px; left: 200px; }
.star-large-2 { bottom: 120px; right: 220px; }
.star-large-3 { top: 150px; right: 100px; }
.star-large-4 { bottom: 200px; left: 100px; }

.pixel-decoration {
    position: absolute;
    background-color: var(--color-primary);
    width: 15px;
    height: 15px;
}

.pixel-1 {
    top: 80px;
    right: 200px;
}

.pixel-2 {
    bottom: 150px;
    left: 300px;
}

.pixel-3 {
    top: 200px;
    right: 100px;
}

.plus-decoration {
    position: absolute;
    color: var(--color-primary);
    font-size: 30px;
    font-weight: bold;
    font-family: monospace;
    animation: blink 2s ease-in-out infinite;
}

.plus-1 {
    top: 120px;
    right: 300px;
}

.plus-2 {
    bottom: 180px;
    left: 150px;
}

.name-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--color-primary);
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

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

.home-text {
    flex: 1;
    position: relative;
}

.welcome-container {
    position: relative;
    padding: 25px;
    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(3px);
    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;
    }
}

.home-text-divider {
    height: 4px;
    background-color: var(--color-primary);
    width: 100%;
    max-width: 350px;
    margin: 20px 0;
    position: relative;
}

.home-content {
    display: flex;
    align-items: flex-end;
    gap: 100px;
    width: 100%;
    position: relative;
}

.home-image {
    width: 300px;
    height: 300px;
    position: relative;
    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);
}

.home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    border: none;
}

.home-text p {
    color: var(--color-primary);
    max-width: 80%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .name-title {
        font-size: 2rem;
    }
    
    .welcome-text {
        font-size: 0.8rem;
    }
    
    .home-text-divider {
        margin: 15px auto;
    }

    .home-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .home-image {
        margin-bottom: 30px;
        max-width: 250px;
    }
    
    .welcome-container {
        max-width: 100%;
        text-align: center;
    }
    
    .home-text p {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .divider-text {
        font-size: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .name-title {
        font-size: 1.5rem;
    }
    
    .welcome-text {
        font-size: 0.7rem;
    }
    
    .home-image {
        max-width: 200px;
    }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.star-1, .star-5, .star-8 {
    animation: twinkle 2s infinite ease-in-out;
}

.star-3, .star-6, .star-9 {
    animation: twinkle 3s infinite ease-in-out;
}

.star-2, .star-7, .star-10 {
    animation: twinkle 4s infinite ease-in-out;
}

.star-large-1 {
    animation: twinkle 3.5s infinite ease-in-out;
}

.star-large-3 {
    animation: twinkle 4.5s infinite ease-in-out;
}

/* Animation voor knipperende plus-decoraties */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

/* Een aantal pixel blokken plaatsen */
.home-content::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-blue-light);
    top: -20px;
    left: 10%;
    transform: rotate(45deg);
    opacity: 0.7;
    animation: float-block 4s ease-in-out infinite;
}

.home-content::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    bottom: -20px;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.7;
    animation: float-block 4s ease-in-out infinite;
    animation-delay: 1s;
}