@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

#dots {
    display: inline-block;
    margin-left: 5px;
}

@keyframes dot-blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#dots span {
    animation: dot-blink 1s infinite;
}

#dots span:nth-child(2) {
    animation-delay: 0.2s;
}

#dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Center the buttons */
#fetchCommentButton {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #0088cc;
    
}

#fetchCommentButton, #loadingButton {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #999999;
}

/* Style the loading button to be gray and unclickable */
#loadingButton {
    background-color: gray;
    color: white;
    cursor: not-allowed;
}

/* Style for the result comment using Google Pacifico font */
#dreamCommentContainer {
    font-family: 'Pacifico', cursive;
    font-size: 32px;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border-top: 5px solid #0088cc;
    border-bottom: 5px solid #0088cc;
    background: #fffbd3;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Retro poster styling */
#dreamCommentContainer:before,
#dreamCommentContainer:after {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(to right, #0088cc, #ffeb3b, #0088cc);
    margin: 0 auto;
    width: 100%;
}
