/* Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;   
    box-sizing: border-box;
}

header {
    background: #6C0345;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.post {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.post h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.post p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post h1, .post h2, .post h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.post ul {
    list-style-type: disc;
    margin-left: 20px;
}

.post li {
    margin-bottom: 10px;
}

header .logo {
    display: flex;
    align-items: center;
    margin-left: 85px;
}

header .logo img {
    width: 85px;
    height: 60px;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

nav {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 250px;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 15px;
    background: #008DDA;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav a:hover {
    background: #555;
}

main {
    margin-top: 70px;
    padding-top: 80px;
    padding-left: 200px;
    padding-right: 200px;
    padding-bottom: 70px;
    margin-bottom: 80px;
}

.post img {
    max-width: 90%;
    height: auto;
}

form {
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    height: 300px;
}

form input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

form input[type="text"] {
    width: 95%;
    padding: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

form button {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #555;
}

input[type="text"],
input[type="password"] {
    width: 180px;
    height: 20px;
    margin-bottom: 1em;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.comment {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    body {
        padding-left: 50px;
        padding-right: 50px;
        
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    header .logo {
        margin: 0 0 10px 0;
    }

    header h1 {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
        background: #008DDA;
        color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        margin: 10px 0;
    }

    .menu-toggle:hover {
        background: #555;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
    }

    nav.active {
        display: flex;
    }

    body {
        padding-left: 20px;
        padding-right: 20px;
    }

    main {
        padding: 10px;
    }

    form textarea {
        height: 200px;
    }
}
