
.footer {


text-align: center;


padding: 20px 0;


margin-top: 40px;


cursor: pointer;


}








.footer .glitch-text {


position: relative;


font-size: 24px;


font-weight: bold;


color: #6b6969;


transition: all 0.3s ease;


}





.footer .glitch-text:hover {


animation: glitch 0.3s infinite;


}








.glitch-subtitle {


position: relative;


font-size: 18px;


font-weight: bold;


color: #666;


animation: subtitleGlitch 2s infinite;


letter-spacing: 1px;


margin-bottom: 15px;


margin-top: 0;


}





.glitch-subtitle::before,


.glitch-subtitle::after {


content: "De officiële website van BKD Studio's - Ontdek al mijn projecten";


position: absolute;


top: 0;


left: 0;


width: 100%;


height: 100%;


}





.glitch-subtitle::before {


color: #ff00ee;


z-index: -1;


}





.glitch-subtitle::after {


color: #00ffff;


z-index: -2;


}





@keyframes subtitleGlitch {


0% {


    transform: translate(0);


}


20% {


    transform: translate(-2px, 1px);


}


40% {


    transform: translate(-1px, -1px);


}


60% {


    transform: translate(1px, 1px);


}


80% {


    transform: translate(1px, -1px);


}


100% {


    transform: translate(0);


}


}





@keyframes glitch {


0% {


    transform: translate(0);


    text-shadow: 0 0 0 #ff00ee, 0 0 0 #00ffff;


}


20% {


    transform: translate(-2px, 2px);


    text-shadow: 1px 0 0 #ff00ee, -1px 0 0 #00ffff;


}


40% {


    transform: translate(-2px, -2px);


    text-shadow: 1px 0 0 #ff00ee, -1px 0 0 #00ffff;


}


60% {


    transform: translate(2px, 2px);


    text-shadow: -1px 0 0 #ff00ee, 1px 0 0 #00ffff;


}


80% {


    transform: translate(2px, -2px);


    text-shadow: -1px 0 0 #ff00ee, 1px 0 0 #00ffff;


}


100% {


    transform: translate(0);


    text-shadow: 0 0 0 #ff00ee, 0 0 0 #00ffff;


}

}


:root {
    --primary-color: #65C9A3;
    --background-color: #0a0a0a;
}

body {
    background-color: var(--background-color);
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
    transition: background-color 1s, color 1s;
}

.glitch {
    position: relative;
    color: var(--primary-color);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    animation: glitch 1s infinite;
    transition: color 1s;
}

@keyframes glitch {
    2%, 64% { transform: translate(2px, 0) skew(0deg); }
    4%, 60% { transform: translate(-2px, 0) skew(0deg); }
    62% { transform: translate(0, 0) skew(5deg); }
}

.glitch:before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: -2px 0 red;
    top: 0;
    color: var(--primary-color);
    background: var(--background-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
    transition: color 1s, background 1s;
}

.glitch:after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -2px 0 blue;
    top: 0;
    color: var(--primary-color);
    background: var(--background-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
    transition: color 1s, background 1s;
}

@keyframes glitch-anim {
    0% { clip: rect(57px, 9999px, 20px, 0); }
    25% { clip: rect(73px, 9999px, 12px, 0); }
    50% { clip: rect(26px, 9999px, 86px, 0); }
    75% { clip: rect(44px, 9999px, 6px, 0); }
    100% { clip: rect(5px, 9999px, 54px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(29px, 9999px, 15px, 0); }
    25% { clip: rect(84px, 9999px, 33px, 0); }
    50% { clip: rect(67px, 9999px, 55px, 0); }
    75% { clip: rect(12px, 9999px, 44px, 0); }
    100% { clip: rect(39px, 9999px, 98px, 0); }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

.project-card {
    background-color: #1a1a1a;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 1s;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    transition: color 1s;
}

.qr-website-container {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.qr-code {
    max-width: 200px;
    max-height: 200px;
    transition: opacity 0.3s ease;
}

.website-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    object-fit: cover;
}

.qr-website-container:hover .qr-code {
    opacity: 0;
}

.qr-website-container:hover .website-preview {
    opacity: 1;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    word-break: break-all;
    display: block;
    margin-top: 15px;
    transition: color 1s;
}

.project-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.description {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 1s;
}

.intro {
    max-width: 800px;
    text-align: center;
    margin: 30px 0;
    line-height: 1.6;
    transition: color 1s;
}

  /* Basis stijling voor footer */
  .footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    cursor: pointer;
}

/* Glitch effect voor footer */
.footer .glitch-text {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
}

.footer .glitch-text:hover {
    animation: glitch 0.3s infinite;
}

/* Nieuwe glitch subtitel als h3 boven intro paragraaf */
.glitch-subtitle {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    animation: subtitleGlitch 2s infinite;
    letter-spacing: 1px;
    margin-bottom: 15px;
    margin-top: 0;
}

.glitch-subtitle::before,
.glitch-subtitle::after {
    content: "De officiële website van BKD Studio's - Ontdek al mijn projecten";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-subtitle::before {
    color: #ff00ee;
    z-index: -1;
}

.glitch-subtitle::after {
    color: #00ffff;
    z-index: -2;
}

@keyframes subtitleGlitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 1px);
    }
    40% {
        transform: translate(-1px, -1px);
    }
    60% {
        transform: translate(1px, 1px);
    }
    80% {
        transform: translate(1px, -1px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: 0 0 0 #ff00ee, 0 0 0 #00ffff;
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: 1px 0 0 #ff00ee, -1px 0 0 #00ffff;
    }
    40% {
        transform: translate(-2px, -2px);
        text-shadow: 1px 0 0 #ff00ee, -1px 0 0 #00ffff;
    }
    60% {
        transform: translate(2px, 2px);
        text-shadow: -1px 0 0 #ff00ee, 1px 0 0 #00ffff;
    }
    80% {
        transform: translate(2px, -2px);
        text-shadow: -1px 0 0 #ff00ee, 1px 0 0 #00ffff;
    }
    100% {
        transform: translate(0);
        text-shadow: 0 0 0 #ff00ee, 0 0 0 #00ffff;
    }
}