﻿/* ── INTRO OVERLAY ── */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* start visible; JS adds .hide to fade out */
}
#intro-overlay.hide {
    animation: overlayFadeOut 0.6s ease forwards;
}
@keyframes overlayFadeOut {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

/* Logo wrapper */
.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: logoIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.logo-wrap.pulse {
    animation: logoPulse 1.2s ease-in-out forwards;
}

@keyframes logoPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }

    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

.logo-icon {
    width: 50%;
    /*background-color: white;*/
}

@media (max-width: 412px) and (max-height: 915px) {
    .logo-icon {
        width: 50%;
    }

    .logo-name {
        font-size: 1rem;
        width: 80%;
        text-align: center;
    }

    .nav-links {
        /*gap: 0.5rem !important;*/
        height: 47px;
        width: 167px;
        flex-wrap: wrap;
    }
}

@media (max-width: 915px) and (max-height: 412px) {
    .logo-icon {
        width: 35%;
    }

    .logo-name {
        font-size: 0.8rem;
        width: 80%;
        text-align: center;
    }
}

.vrijwilligers {
    color: #f0f0f0;
    animation: vrijwilligers 3s ease;
}

@keyframes vrijwilligers {
    0%, 33% {
        color: blue;
        transform: scale(1.2);
    }

    34%, 100% {
        color: #f0f0f0;
        transform: scale(1);
    }
}

.tappen {
    color: #f0f0f0;
    animation: tappen 3s ease;
}

@keyframes tappen {
    0%, 33% {
        color: #f0f0f0;
        transform: scale(1);
    }

    34%, 66% {
        color: yellow;
        transform: scale(1.2);
    }

    67%, 100% {
        color: #f0f0f0;
        transform: scale(1);
    }
}

.goededoel {
    color: #f0f0f0;
    animation: goededoel 3s ease;
}

@keyframes goededoel {
    0%, 66% {
        color: #f0f0f0;
        transform: scale(1);
    }

    67%, 100% {
        color: red;
        transform: scale(1.2);
    }
}



.menu-logo {
    width: 85px;
    /*height: 100px;
            background-color: white;*/
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    /*text-transform: uppercase;*/
    color: #ffffff;
}

/* loading dots */
.dots {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

    .dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #555;
        animation: dotPop 1.2s ease infinite;
    }

        .dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes dotPop {
    0%, 80%, 100% {
        background: #444;
        transform: scale(1);
    }

    40% {
        background: #aaa;
        transform: scale(1.4);
    }
}

/* ── NAV ── */
nav {
    background: #2a2a2a;
    /*background: linear-gradient(to right, #ffffff, #222222);*/
    border-bottom: 1px solid #3a3a3a;
    padding: 0 2rem 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

    .nav-links a {
        color: #aaa;
        text-decoration: none;
        font-size: 0.9rem;
        letter-spacing: 0.05em;
        transition: color 0.2s;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #fff;
        }

.nav-username {
    font-size: 0.85rem;
    color: #aaa;
    padding: 0 0.5rem;
}
.nav-username:hover {
    color: white;
    cursor:pointer;
}

.aanmelden {
    border-radius: 5px;
    padding: 5px;
    margin: 5px 10px;
    width: 90%;
}

input.aanmelden {
    padding: 20px 10px;
}

.aanmeldentext {
    margin: 5px 10px;
    color: #1a1a1a;
    font-size: 23px;
    font-weight: bold;
}

.aanmeldenbutton {
    padding: 5px;
    margin: 25px 10px 5px 15px;
    border-radius: 5px;
    width: 60%;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(26,26,26);
    outline: none;
}

.aanmeldencheckbox {
    padding: 5px;
    margin: 1px 10px 5px;
}

.placehldr label {
    display: none;
}

.placehldr input:focus ~ label {
    display: block;
}

.divLogin label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
    color: black;
}



    

    
    /* ── TABLET (max 768px) ── */
    @media (max-width: 565px) {
        .nav-toggle {
            display: flex;
        }

        nav {
            position: relative;
        }

        .nav-links {
            display: none;
            flex-direction: column;
            gap: 0;
            position: absolute;
            top: 69px;
            right: 0;
            width: 135px;
            background: #1a1a1a;
            border: 1px solid #2a2a2a;
            border-radius: 0 0 8px 8px;
            padding: 0.5rem 0;
            z-index: 99;
            box-shadow: 0 8px 24px rgba(0,0,0,0.4);
            height: 235px;
        }

            .nav-links.open {
                display: flex;
                flex-wrap: nowrap;
                align-items: flex-end;
            }

            .nav-links li a {
                display: block;
                padding: 12px 2rem;
            }

        .nav-username {
            display: block;
            padding: 10px 1.5rem 4px;
        }

        .nav-login {
            color: #fff;
            /*background: #2a2a2a;*/
            /*border: 1px solid #3a3a3a;*/
            padding: 6px 16px;
            /*border-radius: 6px;*/
            transition: background 0.2s, color 0.2s;
        }

            .nav-login:hover {
                background: #333;
            }

        .nav-links a.nav-login {
            /*margin: 8px 1.5rem;*/
            text-align: center;
        }

   /*     h1 {
            font-size: 20px;
        }

        p {
            font-size: 10px;
        }*/

        .divLoginsub {
            flex-direction: column;
        }

        .divLogin {
            width: 340px;
            margin-top: -282px !important;
        }

        .divLoginLogin {
            width: 340px;
            height: 292px;
            margin-left: -1px;
            border-radius: 0 0px 10px 10px;
        }

        #divcloseLogin {
            position: absolute;
            margin-left: 295px;
            margin-top: 3px;
            margin-left: 335px;
        }
        /* ── MOBIEL (max 480px) ── */
        @media (max-width: 480px) {
            nav {
                padding: 0 1rem;
            }

/*
            h1 {
                font-size: 1.5rem;
            }*/
        }
        /* ── LOGIN DIV ── */
        /*#divLogin {
        display: none;
        max-width: 360px;
        margin: 4rem auto;
        padding: 0 2rem;
    }

        #divLogin.visible {
            display: block;
        }

    .login-card {
        background: #1a1a1a;
        border: 1px solid #2a2a2a;
        border-radius: 12px;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .login-card-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .login-card-icon {
        font-size: 2rem;
        line-height: 1;
    }

    .login-card-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: #fff;
    }

    .login-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        .login-field label {
            font-size: 0.8rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #666;
            font-weight: 600;
        }

        .login-field input {
            background: #0f0f0f;
            border: 1px solid #2a2a2a;
            color: #f0f0f0;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.2s;
        }

            .login-field input:focus {
                border-color: #555;
            }

    .btn-login {
        width: 100%;
        padding: 11px;
        background: #fff;
        color: #0f0f0f;
        border: none;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        margin-top: 0.25rem;
        transition: background 0.2s;
        letter-spacing: 0.04em;
    }

        .btn-login:hover {
            background: #ddd;
        }

    #errormsg {
        font-size: 0.85rem;
        color: #e05555;
        text-align: center;
        display: none;
    }

    .login-back {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.8rem;
        color: #444;
        cursor: pointer;
        transition: color 0.2s;
        border-top: 1px solid #2a2a2a;
        padding-top: 1rem;
        margin-top: 0.25rem;
        text-decoration: none;
    }

        .login-back:hover {
            color: #aaa;
        }*/
    }
