@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto+Slab:wght@700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    color: #DCE0E6;
    background-color: #1C1C1E;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stapel elementen verticaal */
    min-height: 100vh;
}


.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin: 0 auto; /* Centreer de container horizontaal */
    background-color: #2A2D34;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative; /* Maak het makkelijker om elementen erin te positioneren */
}

.header, #location-title, #question-text {
    background-color: #2E3440;
    color: #FFD700;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    color: #FFD700;
    margin: 10px 0;
    font-size: 1.8em;
}

a {
    color: #00C9A7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD700;
}

/* Voorkom zoom op invoervelden */
input[type="text"], button {
    font-size: 16px;
    line-height: 1.5;
}

/* Algemene styling voor invoerveld en antwoordknop */
#game .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    position: relative; /* Maak de container een referentie voor positionering */
}

#game #answer-input {
    flex: 4;
    padding: 10px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #00C9A7;
    border-radius: 8px;
    background-color: #3B4252;
    color: #DCE0E6;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#game #answer-input:focus {
    background-color: #2B303B;
    border-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    outline: none;
}

button {
    flex: 1;
    padding: 12px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    background-color: #00C9A7;
    color: #000000;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00A08A;
}

/* Hint-container voor correcte positionering */
.hint-container {
    margin-top: 10px; /* Ruimte boven de hint-knop */
    text-align: right; /* Hint-knop rechts uitlijnen */
}

/* Hint-knop styling */
.hint-button {
    padding: 12px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background-color: #2A2D34;
    color: #FFFFFF;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    display: inline-block; /* Zorg dat de knop geen volledige breedte inneemt */
}

.hint-button:hover {
    background-color: #1C1C1E;
}




#navigation-buttons {
    display: flex;
    justify-content: space-between; /* Plaats de knoppen links en rechts */
    align-items: center; /* Centreer de knoppen verticaal */
    width: 80%; /* Laat de knoppencontainer de volledige breedte innemen */
    max-width: 400px; /* Beperk de breedte tot dezelfde maat als de container */
    margin: 45px auto; /* Centreer de navigatieknoppen */
    padding: 0; /* Geen extra padding */
    box-sizing: border-box; /* Inclusief padding en borders */
    gap: 20px; /* Ruimte tussen de knoppen */
}

#back-button, #further-button {
    background-color: #FFD700;
    color: #000000;
    padding: 7px 9px;
    font-size: 0.8em;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#back-button:hover, #further-button:hover {
    background-color: #E5BE00;
}




#progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3B4252;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
}

#progress-bar {
    height: 12px;
    background-color: #FFD700;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

#status {
    background-color: #2E3440;
    padding: 10px;
    border-radius: 8px;
    font-size: 1em;
    color: #FFD700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
}


#status .status-item {
    color: #DCE0E6;
    border: 2px solid #00C9A7;
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
}

#hint-text {
    color: #00C9A7;
    font-style: italic;
    margin-top: 10px;
}

#question-image {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



#intro, #final-puzzle {
    font-family: 'Montserrat', sans-serif;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 0; /* Verwijdert interne padding */
    background-color: #2A2D34;
    color: #DCE0E6;
    border: none; /* Verwijdert randen */
    box-shadow: none; /* Verwijdert schaduwen */
}

#intro h1, #final-puzzle h2 {
    font-family: 'Roboto Slab', serif; /* Zorg voor consistentie met titels */
    color: #FFD700; /* Gouden tekstkleur */
    margin-bottom: 20px; /* Ruimte onder de titel */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); /* Voeg een lichte gloed toe */
}

#intro input, #final-puzzle input {
    font-family: 'Montserrat', sans-serif; /* Behoud consistent lettertype */
    width: calc(100% - 40px); /* Gebruik een consistente breedteberekening */
    max-width: 500px; /* Beperk invoerveldbreedte */
    padding: 10px; /* Ruimte binnen het veld */
    font-size: 1em; /* Consistente tekstgrootte */
    border: 1px solid #00C9A7; /* Randkleur */
    border-radius: 8px; /* Ronde randen */
    background-color: #3B4252; /* Donkere achtergrond */
    color: #DCE0E6; /* Tekstkleur */
    box-sizing: border-box; /* Houd rekening met padding bij breedteberekening */
    margin: 10px 0; /* Ruimte tussen invoervelden */
}

#intro input:focus, #final-puzzle input:focus {
    background-color: #2B303B;
    border-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    outline: none;
}

#intro button, #final-puzzle button {
    background-color: #00C9A7;
    color: #000000;
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

#intro button:hover, #final-puzzle button:hover {
    background-color: #E5BE00;
}
