body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    background: #f0f0f0;
    margin: 0;
    font-family: sans-serif;
}
.container {
    text-align: center;
    padding-inline: 1rem;
}
.face {
    position: relative;
    margin: 0 auto 20px;
    width: 200px;
    height: 200px;
    background: #ffcc00;
    border-radius: 50%;
    border: 5px solid #333;
}
.eye {
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 60px;
}
.eye.left {
    left: 50px;
}
.eye.right {
    right: 50px;
}
.mouth {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Serious mouth: a straight line */
.mouth.serious {
    top: 130px;
    width: 50px;
    height: 4px;
    background: #333;
}

/* Talking mouth: a circle */
.mouth.talking {
    top: 115px;
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
}

/* Laughing mouth: half circle (inverted) */
.mouth.laughing {
    top: 120px;
    width: 60px;
    height: 30px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    background: #333;
    transform: rotate(180deg);
}
