body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('/assets/images/converted_background_image.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

header {
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    padding: 1rem;
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

header nav ul li a:hover {
    background-color: #444;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 70%;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.hero {
    background: rgba(51, 51, 51, 0.7);
    color: #fff;
    padding: 2rem;
    text-align: center;
    width: 80%;
    border-radius: 8px;
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

.latest-news {
    text-align: left;
    width: 80%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
}

main {
    width: 90%;
    max-width: 900px;
}

form {
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: bold;
    margin-top: 1rem;
    display: block;
}

form input[type="text"],
form textarea,
form input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #444;
}

form input[type="file"] {
    padding: 0.3rem;
}

form textarea {
    height: 150px;
    resize: vertical;
}

ul.post-list {
    list-style-type: none;
    padding: 0;
    width: 100%;
}

ul.post-list li {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

ul.post-list li:hover {
    background-color: rgba(240, 240, 240, 0.9);
}

ul.post-list li h3 {
    font-size: 1.5rem;
    margin: 0;
    padding-bottom: 0.5rem;
}

ul.post-list li a,
ul.post-list li input[type="submit"] {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.3rem 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

ul.post-list li a {
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
}

ul.post-list li a:hover {
    background-color: #0056b3;
}

ul.post-list li form {
    display: inline;
}

ul.post-list li input[type="submit"] {
    background-color: #d9534f;
    color: #fff;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
}

ul.post-list li input[type="submit"]:hover {
    background-color: #c9302c;
}
