body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    color: #34495e;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.centered {
    border: 2px solid #34495e;
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.6);
    height: auto;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.centered h1, .centered h2, .centered p, .centered label, .centered #opdracht, .centered .meta-info, .centered .label {
    color: #000;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.slogan {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #000;
    font-weight: 600;
}

input[type=text] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    border: none;
    font-size: 16px;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.primary-button {
    background-color: #e91e63;
    color: white;
}

.primary-button:hover {
    background-color: #d81b60;
}

.secondary-button {
    background-color: #00bcd4;
    color: white;
}

.secondary-button:hover {
    background-color: #00acc1;
}

.icon-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.icon-button:hover {
    color: #34495e;
}

.meta-info {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.label {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-button {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #000;
}

#opdracht {
    font-size: 18px;
    text-align: center;
    margin: 20px 0;
    color: #000;
}

select {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.inline-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.heftigheid-button, .categorie-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease;
}

.heftigheid-button.active, .categorie-button.active {
    background-color: #32CD32; /* Groen voor 'aan' */
    color: white;
    border: 2px solid #228B22; /* Donkergroene outline voor 'aan' */
}

.heftigheid-button:not(.active), .categorie-button.not(.active) {
    background-color: #d3d3d3; /* Grijs voor 'uit' */
    color: #333;
    border: 2px solid transparent;
}

@media (max-width: 600px) {
    body {
        background-color: #ff9a9e;
    }

    .centered {
        border: none;
        box-shadow: none;
        background-color: transparent;
        padding: 20px;
    }

    input[type=text] {
        width: calc(100% - 30px);
        margin: 15px 0;
    }

    button {
        font-size: 14px;
        padding: 12px;
    }

    .slogan {
        font-size: 1em;
    }

    h1, h2 {
        font-size: 1.5em;
    }

    .icon-button {
        position: fixed;
        bottom: 10px;
        right: 10px;
    }
}
