body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
}

#survey, #thank-you, #exit-screen {
    text-align: center;
}

.thumbs-up {
    font-size: 100px; /* Make the thumbs-up bigger */
    color: white;
    animation: wiggle 1s infinite;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0px;
    color: #333;
    font-weight: 300;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.emoji-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji {
    display: inline-block;
    font-size: 100px;
    margin: 20px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.5s;
    position: relative;
    width: 100px; /* Ensure the emoji and circle have the same width */
    height: 100px; /* Ensure the emoji and circle have the same height */
    padding-right:5rem;
}

.emoji[data-emoji="1"] {
    color: #e74c3c;
}

.emoji[data-emoji="2"] {
    color: #f39c12;
}

.emoji[data-emoji="3"] {
    color: #2ecc71;
}

.emoji[data-emoji="4"] {
    color: #1abc9c;
}

.emoji.pressed {
    transform: scale(0.9);
}

.emoji.selected {
    filter: brightness(0.5); /* Darken the emoji */
}

.emoji.wiggle {
    animation: wiggle 3s infinite;
}

.tick {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #2ecc71;
    z-index: 1;
    display: none; /* Hide by default */
}

.emoji.selected .tick {
    display: block; /* Show when emoji is selected */
}

.hidden {
    display: none;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
     background-color: #DC143C;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s, display 0.5s;
    display: none;
}

.toast.visible {
    display: block;
    opacity: 1;
}


@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

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

.company-logo {
    width: 300px;
    padding-bottom: 30px;
}

#exit-form input {
    padding: 10px;
    font-size: 1em;
    width: 200px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#exit-form button {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #134270;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#exit-form button:hover {
    background-color: #333;
}

#exit-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    opacity: 0; /* Make it invisible */
}
