body {
    background-color: #f9f9ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    color: blueviolet;
    text-decoration: none;
}

h1 {
    font-size: 36px;
    color: black;
    line-height: 1.5;
    font-weight: 800;
    text-align: center;
}

.container {
    margin: 120px auto;
    max-width: 600px;
}

header {
    margin-bottom: 30px;
}

#form-container {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0px 20px 60px rgba(65, 50, 100, 0.08);
}

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

#hint {
    line-height: 1.5;
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.6;
}

.hidden {
    display: none;
}

#userInput {
    padding: 16px;
    border: 1px solid #ccc;
    width: 80%;
    font-size: 16px;
    border-radius: 50px;
    line-height: 20px;
    color: #333; 
    outline: none;
}

.btn {
    margin-left: 10px;
    background-color: blueviolet;
    border: none;
    color: white;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: blueviolet;
}

#poem {
    font-size: 16px;
    background-color: white;
    padding: 20px;
    line-height: 24px;
    border-left: 3px solid blueviolet;
    box-shadow: 8px 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 18px;
  
}
.generating {
    animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}
footer a {
    color: blueviolet;
}