@font-face {
    font-family: 'Jockeyone';
    src: url(../fonts/JockeyOne-Regular.ttf);
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Jockeyone';
    background-color: #0077B6;
}

.language-selector {
    display: flex;
    gap: 15px;
    align-items: center;
}

.language-selector input[type="radio"] {
    appearance: none;
    width: 12px;
    height: 12px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.language-selector input[type="radio"]:checked {
    border-color: #007bff;
    background-color: #007bff;
}

.language-selector input[type="radio"]:checked::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.language-selector label {
    cursor: pointer;
    font-size: 25px;
    color: #333;
    margin-left: 5px;
    user-select: none;
}

.language-selector input[type="radio"]:hover {
    border-color: #007bff;
}

/* Basic nav styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: #4598C3;
    font-size: 25px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;

}

.nav-links img {
    width: 30px !important;
    height: 30px !important;
    margin-right: 10px !important;
    display: inline-block !important;
}

/* Extra specifieke selector voor zekerheid */
nav .nav-links li a img {
    width: 30px !important;
    height: 30px !important;
    margin-right: 10px !important;
}

.nav-links a {
    text-decoration: none;
    color: white;
}

.uitloggen {
    color: white;
}

/* Uitloggen link styling in menu */
.uitloggen-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uitloggen-link img {
    width: 30px;
    height: 30px;
}

/* Hide uitloggen link on desktop (show separate uitloggen div) */
@media screen and (min-width: 769px) {
    .uitloggen-link {
        display: none;
    }
}

.uitloggen {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hide desktop uitloggen on mobile (show in menu instead) */
@media screen and (max-width: 768px) {
    .uitloggen {
        display: none;
    }
}

.uitloggen img {
    width: 50px;
    height: 50px;
}

/* Custom hamburger logo styling */
.hamburger-logo {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-logo img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.hamburger-logo:hover {
    transform: scale(1.1);
}

/* Oude hamburger verbergen */
.hamburger {
    display: none !important;
}

/* Hamburger menu styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.lijstaanmaak {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 35px;
    color: white;
}

.plusje {
    font-size: 65px;
}

/* Spelcontainer - grid layout voor responsive kaarten */
.spelcontainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eenspel {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.eenspel:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.eenspel img {
    max-width: 236px;
    height: 236px;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.naam_spel {
    font-size: 1.2rem;
    text-align: center;
    color: white;
}

.buttons_database {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
}

.buttons_database img {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.buttons_database img:hover {
    transform: scale(1.1);
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    nav {
        position: relative;
        flex-wrap: wrap;
        padding: 1rem;

    }

    nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 2rem;
        background-color: #4598C3;
        font-size: 25px;
    }

    .hamburger {
        display: none !important;
    }

    .hamburger-logo {
        display: flex;
        order: 3;
    }

    .translate {
        order: 1;
    }

    .uitloggen {
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #4598C3;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        order: 4;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        align-items: flex-end;

    }

    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .nav-links a {
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-right: 30px;
    }

    .nav-links a:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Mobile responsive voor spelcontainer */


    .eenspel img {
        max-width: 200px;
    }
}