body {
    background-color: #e1eaf1;
}
.container {
    font-family: Arial, sans-serif;
    margin: 60px auto;
    padding: 20px;
    max-width: 600px;
}
header {
    background-color: #0365c6;
    color: white; 
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}
a{
    color: #0365c6;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.ideas {
    font-size: 12px;
    font-style: italic;
    color: #555;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}
form {
    display: flex;
    flex-direction: inline;
    gap: 15px;
}
.form-content {
    font-family: Arial, sans-serif;
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
}
label {
    font-weight: bold;
}
input, select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-button {
    padding: 10px;
    width: 140px;
    font-size: 16px;
    background-color: #1a4672;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}
.button:hover {
    background-color: #005582;
}
#post-result {
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-left: 4px solid #2e4ec4;
    line-height: 1.5;
}
.hidden {
    display: none;
}
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 10px;
    padding: 20px;
}   

.loading-text {
    color: #555;
    font-style: italic;
    font-display: swap;
}
/* the loading text is a bit of fun, not really necessary, but it adds a nice touch to the user experience */
.loading-gradient {
	place-self: center;
	background: linear-gradient(90deg, rgb(58, 58, 215), rgb(143, 42, 165), rgb(58, 58, 215)) -100%/ 200%;
	/* being excessively careful with compat, 
	 * though this has been supported unprefixed and 
	 * in the shorthand across major browsers for a while;
	 * but it catches the latest browser versions supported 
	 * on Wndows XP, 7 and 8; yeah, they exist in 2025 */
	-webkit-background-clip: text;
	        background-clip: text;
	/* use color, don't use -webkit-text-fill-color anymore, 
	 * was meant to solve a problem we haven't had in years */
	color: transparent;
    font-weight: bold;
	animation: shimmer 2s linear infinite
}

@keyframes shimmer { to { background-position: 100% } }

/* avoid problems in high contrast mode */
@media (forced-colors: active) {
  p {
    background: #212121;
    color: aquamarine
  }
}