/*	MessageBoard.css
	Andrew Zamor
	CSS page mainly for styling of posts */

/* Reset some default styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #7FFFD4;
    margin: 0;
    padding: 20px;
}

/* Container for all posts */
.posts-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Individual post styling */
.post {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.post:hover {
    transform: scale(1.01);
}

/* Username and timestamp */
.post strong {
    font-size: 16px;
    color: #333;
}

.post small {
    color: #888;
    display: block;
    margin-bottom: 10px;
}

/* Message body */
.post-message {
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Replies section */
.reply {
    margin-left: 30px;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-left: 3px solid #4CAF50;
    border-radius: 6px;
    margin-top: 10px;
}

/* Reply form */
.reply-form {
    margin-top: 10px;
    margin-left: 30px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
