/* =========================
   GLOBALE VARIABELEN
========================= */

:root {
    --border-width: 6px;
    --border-style: groove;
    --border-radius: 30px;
    --border-color: rgb(124, 151, 45);
}


@font-face {
    font-family: fwont;
    src: url(../fonts/Sprintura\ Demo.otf);
}

/*achtergrond */
body {
    font-family: fwont;
    background: url("../img/Ubuntu-Mate-Cold-no-logo.PNG") no-repeat fixed center/cover;
    background-size: cover;
    margin: 0px;
}

a:hover {
    color: rgb(4, 70, 4);
}

/*navigatie balk*/
nav {
    font-family: fwont;
    backdrop-filter: blur(5px);
    width: 100%;
    padding: 10px 0px;
    color: rgb(0, 0, 0);
    border: 2px solid black;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
}

nav a {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 5px 10px;
    max-width: 900px;

    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

/*welkom div*/
.welko {
    display: flex;
    justify-content: center;
}

.welko h1 {
    color: rgb(255, 255, 255);
    font-family: fwont;
    padding: 3px 20px;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

/*hier kunt u alles lezen over mijn spel van mijn spel lezen! text*/
.lezen {
    display: flex;
    justify-content: center;
}

.lezen h2 {
    margin: 0px;
    font-size: 20px;
    color: rgb(255, 255, 255);
    padding: 10px;
    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}


/*foto van script*/
img {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 9/4;

    object-fit: cover;
    object-position: center;

    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

.doel img {
    display: block;
    margin: 0 auto;
    height: 35%;
    width: 80%;
    border-radius: 0;
    margin-top: 25%;

}

.plaatje {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.download {
    display: flex;
    flex-direction: column;
    justify-self: center;

    max-width: 900px;
    font-size: 40px;
    margin-bottom: 30px;
    padding: 5px 80px;

    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

.download a {
    color: white;
}

.download a:hover {
    color: rgb(4, 70, 4);
}



.uitleg {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    max-width: 900px;
    gap: 50px;
}

.uitleg1 {
    display: flex;
    width: 100%;
    gap: 10px;
}

/*doel is links nodig is rechts*/
.doel,
.spelregels {
    width: 50%;
    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

.doel h3,
.spelregels h3 {
    color: white;
    padding-left: 10px;

    border-bottom: var(--border-width) var(--border-style);
    border-color: var(--border-color);
}

.doel p,
.spelregels p {
    color: white;
    line-height: 1.3;
    padding: 2%;
}

/*2de helft staat onder*/
.afsluiting {
    color: white;
    min-height: 300px;
    width: 100%;
    border: var(--border-width) var(--border-style);
    border-color: var(--border-color);
    border-radius: var(--border-radius);
}

.afsluiting h3 {
    color: white;
    display: flex;
    justify-content: center;
    border-bottom: var(--border-width) var(--border-style);
    border-color: var(--border-color);
}

.afsluiting p {
    color: white;
    padding: 2%;
}

.afsluiting h1 {
    color: white;
    display: flex;
    justify-content: center;
}

/*footer*/
footer {
    max-width: 900px;
    width: 100%;
    margin: auto;
}

footer ul {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid;
    padding: 5px;
    color: white;
}

footer a {
    border: none;
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}