/* General styles */
body {
    background-color: #2c3e50;
    color: #ecf0f1;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#mentalo-img {
    width: 200px;
    height: auto;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

#mentalo-img.in-progress {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#result-text {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c; /* Red color for the text */
    transition: opacity 0.5s ease-in-out;
    opacity: 0; /* Initially hidden */
}

#result-text.show {
    opacity: 1; /* Show the text when the class 'show' is added */
}

/* Responsive styles */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    #mentalo-img {
        width: 150px;
    }

    #result-text {
        font-size: 1.25rem;
    }
}