@font-face {
    font-family: "RobotoCondensed";
    src: url(/static/fonts/RobotoCondensed-VariableFont_wght.woff2) format("woff2");
}

*,*::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
}

body {
    background-color: var(--wit);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

:root {
    font-family:"RobotoCondensed" , sans-serif;
    --wit: oklch(1 0 46);
    --text: oklch(0 0 119);
    --underline-tekst: oklch(1 0 46);
    --accent: oklch(0 0 119);
    --muted-border: oklch(0 0 119);
    --zwart: oklch(0 0 119);
}

.container--nav {
    margin: 0;
    margin-block-start: 1rem;
    padding: 0;
    margin-inline: auto;
    margin-inline-start: 2rem;
    padding-inline: 1rem;
    display: flex;

    @media screen and (max-width: 790px) {
        flex-direction: column;
    }
}

.container--form {
    max-width: 40rem;
    margin: 2rem auto;
    padding: 1rem;
    background-color: var(--wit);
    border-radius: 0.5rem;
    border: 1px solid var(--muted-border);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.container--narrow {
    margin: 0;
    padding: 0;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
    width: 100%;

    p {
        max-width: 40rem;
    }
}

header {
    margin-bottom: 1.5rem;

    nav a img {
        width: 12rem;
    }

    nav ul {
        padding: 1.2rem;
        margin: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        margin-inline-start: auto;
        gap: 1rem;
        font-size: 1.3rem;

        @media screen and (max-width: 790px) {
            margin-inline-end: auto;
        }
        @media screen and (max-width: 590px) {
            flex-direction: column;
        }
    }

    nav ul a {
        text-decoration: none;
        color: var(--zwart);
        padding: 1rem 2rem;
        font-weight: bold;

        &:hover {
            background-color: var(--zwart);
            color: var(--wit);
        }
    }
}

.main-introduction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    h1 {
        display: inline-block;
        font-size: 4rem;
        margin-bottom: 0;
    }

    p {
        display: inline-block;
        margin-top: -1rem;
        color: #555;
    }

    h2 {
        font-size: 28px;
    }
    img {
        width: 100%;
    }
    .intro-text {
        margin: 1rem;
        @media screen and (max-width: 60rem) {
            h1 {
                font-size: 3rem;
            }
        }
    }
}

.profielen {
    display: flex;
    padding: 0;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;

    li {
        flex-direction: column;
        flex-basis: 18rem;
        list-style: none;
        display: flex;
        border: 1px solid oklch(0 0 0);
        border-radius: 20px;
        overflow: hidden;
        position: relative;

        img {
            order: -1;
            width: 100%;
            border: 1rem;
        }

        &:hover {
            cursor: pointer;
            border: 3px solid oklch(0 0 0);
            transition: transform .15s ease;
        }
    }

    .content-profielen {
        padding: 1rem;
    }

    .overlay-link {
        position: absolute;
        inset: 0;

        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }

    li a:not(.overlay-link) {
        z-index: 1;
        color: oklch(0 0 0);
    }
}

.knop {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--wit);
    cursor: pointer;
    border-radius: 0.25rem;
    border: 1px solid var(--text);
    font-size: 1rem;
    transition: background-color 0.3s;

    &:hover {
        background-color: var(--wit);
        color: var(--text);
    }
}

footer {
    margin-block-start: 3rem;
    padding: 1rem 1rem 0.5rem 1rem;
    background-color: var(--accent);
    border-top: 2px solid var(--accent);
    text-align: center;
    color: var(--wit);
}

.footer-nav {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-nav a {
    text-decoration: none;
    color: var(--wit);
    transition: color 0.3s ease, transform 0.2s ease;
}
.footer-nav a:hover {
    text-decoration: underline;
    font-weight: bold;
    transform: translateY(-2px);
}

.form-register {
    max-width: 40rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

@media (max-width: 37.5em) {
    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 54em) {
    .form-row {
        flex-direction: column;
    }
}

h1 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    color: var(--text);
}

form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text);
}
form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--muted-border);
    background-color: var(--wit);
    color: var(--text);
    border-radius: 0.25rem;
}

form input:focus,
form textarea:focus {
    border-color: var(--accent);
    outline: none;
}

form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--wit);
    cursor: pointer;
    border-radius: 0.25rem;
    font-size: 1rem;
    border: 1px solid var(--text);
    transition: background-color 0.2s, transform 0.1s;
}

form button:hover {
    background-color: var(--wit);
    color: var(--text);
    transform: translateY(-0.125rem);
}
main {
    flex-grow: 1;
}
#map {
    max-height: 25rem;
    max-width: 25rem;
    width: 100%;
    margin-inline-start: auto;
    @media (max-width: 900px) {
        height: 100%;
        min-height: 15rem;
    }
}

gmp-place-autocomplete {
    margin-block-end: 1rem;
}

.routeSection {
    position: relative;
    border: 0.1rem solid black;
    padding: 1rem;
    margin-block: 1rem;
    border-radius: 1rem;
}

.routeSectionOrder {
    position: absolute;
    top: -0.8rem;
    background: white;
    padding: 0 0.5rem;
    font-size: 1.3rem
}

.select-wrapper {
    position: relative;
    display: inline-block;

    &::after {
        content: '▼';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #000;
        font-size: 12px;
    }
}

.method {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    color: #000;
    border: 0.0625rem solid #000;
    border-radius: 0.5rem;
    padding: 0.625rem 2.5rem 0.625rem 0.9375rem;
    font-size: 1rem;
    font-family: sans-serif;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

/* Remove arrow in Firefox */
select::-ms-expand {
    display: none;
}

.container-form {
    max-width: 40rem;
    margin: 2rem auto;
    padding: 1rem;
    background-color: var(--wit);
    border-radius: 0.5rem;
    border: 1px solid var(--muted-border);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.15);
}
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
}
/* Popup overlay */
.popup {
    position: fixed;
    inset: 0;
    background-color: oklch(0 0 0 / 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup container */
.popup-box {
    background-color: var(--wit);
    color: var(--text);
    max-width: 30rem;
    width: 90%;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--muted-border);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
    text-align: center;
}

/* Title */
.popup-box h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

/* Text */
.popup-box p {
    margin-bottom: 2rem;
    color: var(--text);
}

/* Buttons */
.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.knop--outline {
    background-color: var(--wit);
    color: var(--text);
    border: 1px solid var(--text);
}

.knop--outline:hover {
    background-color: var(--text);
    color: var(--wit);
}

.hidden {
    display: none;
}

.auth-form {
    max-width: 30rem;
}

.nextRoute {
    display: flex;
    flex-direction: row;
}

.nextRoute {
    display: flex;
    flex-direction: row;

    @media (max-width: 900px) {
        flex-direction: column;
    }
}
.logout {
    background-color: red;
    border-color: red;

    &:hover {
        color: red;
    }

}