body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 700px;
    background: #fff;
    padding: 20px;
    margin: auto;
    border-radius: 10px;
    border: 2px solid #8c5a5a; /* alles in één regel */
}

.question {
    margin-bottom: 20px;
}

.answers {
    display: flex;
    gap: 10px;
}

button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #c46a6a;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

    button.selected {
        background: #333;
    }

.hidden {
    display: none;
}

input[type="email"] {
    width: 80%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

    .overlay.active {
        display: flex;
    }

.overlay-content {
    background: #fff;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    color: #333;
    font-size: 22px;
    border: none;
    cursor: pointer;
}
.progress {
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    height: 14px;
    margin: 8px 0 12px;
}

.progress-bar {
    height: 100%;
    transition: width 0.5s;
}

.good {
    background: #4CAF50;
}

.medium {
    background: #FFC107;
}

.bad {
    background: #c46a6a;
}

h1 {
    font-size: 25px;
}