/* Base Styles */
body {
    font-family: 'Arial', sans-serif; /* Clean, simple font */
    line-height: 1.6;
    margin-left: 10px;
    padding: 0;
    background-color: #f9f9f9; /* Light background */
    color: #333; /* Dark text for contrast */

    /* Background image settings */
    background-image: url('/image/at_the_sambergs.jpg'); 
    background-size: cover; /* Ensure it covers the entire page */
    background-position: center top; /* Center and align to top */
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh; /* Ensures full height and eliminates repetition */
    position: relative;
}

/* Background overlay for transparency */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* Set transparent overlay */
    z-index: -1;
}

h1, h2 {
    color: #4a4a4a; /* Darker shade for headings */
    margin-left: 10px; /* Space from the left */
}

/* Styling for 'Come dive deeper in with us...' */
.nav-message {
    position: relative;
    color: #007bff;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

.login-signup {
    max-width: 500px; /* Limit form width */
    margin: 40px auto 20px; /* Center forms and add spacing */
    text-align: center;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.see-all-posts {
    margin-left: 20px;
}

/* Adjust the new post form size */
#new-post-form {
    width: 75%; 
    padding: 10px;
    max-width: 500px;
}

/* Input styles */
input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button Styles */
button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Entry Styles */
ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Delete Button Styles */
.delete-post-button {
    background-color: rgba(255, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 0.8em;
    cursor: pointer;
    float: right;
    transition: background-color 0.3s;
}

.delete-post-button:hover {
    background-color: rgba(255, 0, 0, 0.9);
}

/* Account Management Styles */
section.account-management {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 12px;
    max-width: 200px;
}

/* Responsive Styles */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    button, .delete-post-button {
        width: auto;
    }
}

footer {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 30px;
    right: 20px;
}

