* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    background-color: #87CEEB; /* Sky Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#game-container {
    background-color: #FFF;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    max-width: 800px;
    width: 100%;
}

.screen {
    text-align: center;
}

.hidden {
    display: none;
}

h1, h2 {
    margin-bottom: 1rem;
    color: #FF6B6B; /* Coral */
}

button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 10px 5px;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.1s;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

#scene-image {
    width: 100%;
    height: 300px;
    background-color: #DDD;
    margin-bottom: 1rem;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

#dialogue-box {
    background-color: #F0F0F0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

#choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #FFF;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    font-size: 16px;
}

.trigger-container {
    margin-bottom: 10px;
}

.intensity-slider {
    width: 100px;
    margin-left: 10px;
}

.face-container {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

.face {
    width: 100%;
    height: 100%;
    background-image: url('images/face.png');
    background-size: cover;
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red;
    opacity: 0;
}

.intensity-value {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-left: 5px;
}

@media (max-width: 600px) {
    #game-container {
        padding: 1rem;
    }
}