/* General Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Header Styles */
header {
    background-color: #2d2d2d;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #1e90ff;
}

/* Main Content Styles */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Threads Section */
#threads .thread {
    background: #f9f9f9;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#threads .thread h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    transition: color 0.3s ease;
}

#threads .thread h3 a {
    text-decoration: none;
    color: inherit;
}

#threads .thread h3 a:hover {
    color: #1e90ff;
}

#threads .thread p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #666;
}

#threads .thread:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Create Thread Section */
#create-thread {
    margin-top: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#create-thread form input,
#create-thread form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#create-thread form textarea {
    resize: vertical;
    min-height: 120px;
}

#create-thread form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#create-thread form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Replies Section */
.reply {
    background: #f9f9f9;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.reply p {
    margin: 0.5rem 0;
}

.reply .timestamp {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
}