body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1,
h2 {
    color: #333;
}

input,
textarea,
select {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input[type="file"] {
    padding: 0;
}

button {
    padding: 10px 15px;
    background-color: mediumblue;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: darkblue;
}

.posts {
    margin: 20px 0;
}

.post {
    border-bottom: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
}

.post img {
    max-width: 100px;
    margin-right: 15px;
    border-radius: 4px;
}

.post-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.post-description {
    font-size: 14px;
    color: #666;
}

#allPostsContainer .post button {
    margin-left: auto;
    padding: 5px 10px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#allPostsContainer .post button:hover {
    background-color: darkred;
}

/* Styling for the edit button */
#allPostsContainer .post button:nth-child(3) {
    background-color: orange;
    /* Change background color for the edit button */
}

#allPostsContainer .post button:nth-child(3):hover {
    background-color: darkorange;
    /* Change background color on hover */
}

/* Flexbox for aligning post elements */
.post {
    display: flex;
    align-items: center;
}

/* Optional: Center the container and add some padding */
.container {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the navigation buttons */
button {
    margin-top: 10px;
}

/* Additional styling for form elements */
input,
select,
textarea {
    margin-bottom: 15px;
}