body {
    background-color: black;
    margin: 0;
    padding: 0;
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #132601;
    color: rgb(97, 47, 143);
    width: 102%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: #23005c 4px ridge;
    display: grid;
    grid-template-columns: 1fr 80px;
    align-items: center;
}

header h1{
    margin: 10px;
    font-family: 'Arial Black', sans-serif;
    font-size: 10vw;
    grid-column: 1 / 2;
}

header nav{
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.nav {
    background-color: #23005c;
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    border:black 2px solid;
    border-radius: 25px;
    font: bold 5vw Arial, sans-serif;
}
.nav.active {
    background-color: #4b0082;
}
main {
    padding: 20px;
    box-sizing: border-box;
    font-size: 4vw;
    flex: 1;
}
.hidden {
    display: none;
}
.hiddenNav { 
    display: none;
 }
.toonclick {
    cursor: pointer;   
}

.menu {
    font-size: 5em;
    color: rgb(97, 47, 143);
    cursor: pointer;
}
footer {
    background-color: #132601;
    color: #23005c;
    text-align: center;
    padding: 10px;
    border-top: #23005c 4px ridge;
    bottom: 0;
    width: 100%;
    font-size: 1.5em;
    display: grid;
    grid-template-columns: 100%;
    
}

.riddles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.riddle {
    border: #23005c 2px solid;
    border-radius: 15px;
    text-align: left;
    padding: 10px;
}

.riddle picture {
    width: 75vw;
    padding-bottom: 10px;   
}

.riddle.inhoud {
    display: grid;
}
.knop {
    background-color: #23005c;
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    border:black 2px solid;
    border-radius: 15px;
    font: bold Arial, sans-serif;
    margin: 5px 10px;
    max-width:fit-content;
    cursor: pointer;
    height:fit-content;
}
.contactformulier {
    max-width: 75%;
    margin: 50px auto;
    padding: 30px;
    background-color: #000500; 
    border: 1px solid #23005c; 
    box-shadow: 0 0 20px rgba(80, 0, 104, 0.5); 
    border-radius: 25px;
    font-family: 'Courier New', Courier, monospace; 
    color: #ffffff;
}

.contactformulier h2 {
    
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #410061; 
    text-shadow: 0 0 5px #23005c;
}

.gloei {
    color: #410061; 
    text-shadow: 0 0 5px #23005c;
}

.form-groep {
    margin-bottom: 15px;
}

.form-groep label {
    display: block;
    margin-bottom: 5px;
    color: #aaa;
}

.form-groep input,
.form-groep textarea {
    width: 100%;
    padding: 10px;
    background-color: #1a1a2e; 
    border: 1px solid #23005c;
    color: #fff;
    border-radius: 3px;
    box-sizing: border-box; 
    font-size: 1.5rem;
    resize: none;
}

.Verstuur-knop {
    width: 100%;
    padding: 12px;
    background-color: #23005c;
    border: none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 1.5rem;
}
@media screen and (min-width: 1081px) {
    header {
        width: 100%;
    }
    footer {
        grid-template-columns: 45% 45%;  
    }
    .hiddenNav {
        display: flex;
    }
    main {
        font-size: 2em
    }
    .nav {
        font-size: 3em;
    }
    .groot {
        display: none;
    }
    header {
        grid-template-columns: 1fr;
    }
    header h1{
        font-size: 5em;
    }
    .riddles {
        grid-template-columns: 1fr 1fr;
    }

    .riddle picture {
        width: 45vw;   
    }
}
    
