body {
    font-family: Arial, sans-serif;
    background-color: #f0f7fc;
    margin: 0;
    padding: 20px;
    color: #333;
	line-height: 2em;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  margin-top: 10px;

}

.container {
    max-width: 800px;
    margin: auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.container p {
    font-size: 1.15em; /* Increase the font size */
    line-height: 2em; /* Improve line height for better readability */
    margin-bottom: 5px; /* Add space between paragraphs */
    font-weight: 400; /* Use a slightly heavier font weight */
}

.menu {
    max-width: 900px;
    padding: 2px;
    border-radius: 1px;
  margin-left: auto;
	margin-right: auto;
	text-align: center;
}

h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.question {
    margin-bottom: 65px;
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #34495e;
}

.choices {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.choice-button {
    flex: 1;
    padding: 12px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fcfcfc;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-align: center;
    font-size: 1em;
}

.choice-button.selected {
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.choice-button[data-value="1"].selected {
    background-color: #ff4d4d; /* Red for 'Sterk oneens' */
}

.choice-button[data-value="2"].selected {
    background-color: #ff9999; /* Slightly red for 'Oneens' */
}

.choice-button[data-value="3"].selected {
    background-color: #d9d9d9; /* More distinct neutral color */
    border-color: #b0b0b0; /* Neutral border */
    color: #555;
}

.choice-button[data-value="4"].selected {
    background-color: #8fc49b; /* Slightly green for 'Eens' */
}

.choice-button[data-value="5"].selected {
    background-color: #44aa44; /* Green for 'Sterk eens' */
}

button {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#results {
    margin-top: 30px;
}

#scatterplot {
    position: relative;
    margin-top: 20px;
}

#densityplot {
    position: absolute;
    width: 100%;
    height: auto;
    max-height: 400px;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    }

    .choices {
        flex-direction: column;
    }

    .choice-button {
        margin: 5px 0;
    }

    h1 {
        font-size: 1.5em;
    }

    button {
        font-size: 16px;
        padding: 10px;
    }
}


/* Container to hold both video and legend */
.video-legend-container {
	display: flex;
	justify-content: center; /* Center the content horizontally */
	align-items: center; /* Align items vertically centered */
	flex-wrap: wrap; /* Allows items to wrap to the next line if they don't fit */
}

.video-container {
	flex: 1; /* Allows the video to take up available space */
	max-width: 66%; /* Limits the maximum width of the video */
}

.legend-container {
	margin-left: 10px; /* Adds space between the video and the legend */
}