
/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333333;
    padding: 20px;
}

.container {
    max-width: 1500px;
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #454545;
}

.container.custom-container {
    max-width: 1500px;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #454545;
}

.signup-error {
    color: rgb(230, 157, 157);
    margin-top: 10px;
}

#signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#signup-form input {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

.button-group.custom-button-group {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button-group.custom-button-group button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group.custom-button-group button:hover {
    background-color: #0062cc;
}

.site-header, .site-footer {
    background-color: transparent;
    border-radius: 10px;
}

.button-group {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button-group button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group button:hover {
    background-color: #0062cc;
}

.site-header, .site-footer {
    background-color: transparent;
    border-radius: 10px;
}

.site-footer {
    margin-top: 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #172121;
    border-radius: 10px 10px 0 0;
    padding: 20px;
}

.logo img {
    height: 50px;
}

a {
    position: relative;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #3395ff !important;
}

a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #E5D0CC;
    font-weight: bold;
}

nav ul li a.active {
    font-size: 1.2em;
    color: #FFD700;
    border-bottom: 2px solid #FFD700;
}

.search-bar input {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 252px;
}

.user-icon img {
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form input {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 200px;
}

.button-group button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group button:hover {
    background-color: #0062cc;
}

.banner {
    height: 300px;
    flex: 2;
}

.banner-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-content {
    display: flex;
    flex-wrap: wrap;
}

.sidebar {
    flex: 1;
    padding: 10px;
    background-color: #D6CDBE;
    border-right: 1px solid #ddd;
    max-width: 252px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}

.dropdown-toggle::after {
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-toggle {
    background-color: #172121 !important; 
    color: #E5D0CC !important; 
    border: none !important; 
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: #121a1a !important; 
    color: #E5D0CC !important;
}

.dropdown-menu {
    background-color: #172121 !important; 
    border: none !important; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-item {
    color: #E5D0CC !important; 
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #121a1a !important; 
    color: #E5D0CC !important; 
}

.user-icon img {
    width: 130px;
    height: 130px; 
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px; 
    object-fit: cover; 
}

.user-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-area .dropdown {
    width: 90%; 
    text-align: center; 
}

.user-area .dropdown-toggle {
    width: 90%; 
    border-radius: 4px; 
}

.user-area .dropdown-menu {
    width: 90%; 
    text-align: left; 
}

.content {
    flex: 3;
    padding: 20px;
    background-color: #D6CDBE;
    color: #333333;
    min-width: 300px;
}

.login-error {
    display: none;
    color: #793a3a;
    background-color: rgba(216, 159, 159, 0.8);
    margin-top: 2px;
    text-align: center;
    font-weight: bold;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

footer ul li {
    margin: 0 15px;
    margin-bottom: 20px;
}

footer ul li a {
    text-decoration: none;
    color: #a19c92;
    font-weight: bold;
}

.social-media a {
    margin: 0 10px;
}

.social-media img {
    height: 20px;
}

.form-horizontal .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-horizontal .control-label {
    flex: 0 0 150px;
    max-width: 150px;
    margin-bottom: 0;
    padding-top: 7px;
    text-align: right;
}

.form-horizontal .col-sm-10 {
    flex: 1;
}

.form-horizontal .col-sm-offset-2 {
    margin-left: 150px;
}

#settings-form .btn-primary {
    margin-top: 15px;
}

#settings-form .btn-danger {
    margin-top: 15px;
}

#avatar-preview {
    margin-top: 10px;
}

.profile-header {
    position: relative;
    width: 100%;
    height: 100px; /* Adjust the height as needed */
    <!-- overflow: hidden; -->
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-cover-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.5;
}

.profile-details {
    position: relative;
    text-align: center;
    margin-top: 75px; /* Adjust this value based on the height of the cover photo and profile picture */
}

.user-picture {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
}

.user-picture img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.username {
    top: 50px !important;
    margin-top: 50px !important;
    font-size: 2.5em;
    font-weight: bold;
}

.edit-profile-btn {
    position: absolute;
    top: 0px;
    right: 0px;
}

.profile-content {
    margin-top: 50px;
}

.profile-content {
    margin-top: 20px;
}

.form-horizontal .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-horizontal .control-label {
    flex: 0 0 150px;
    max-width: 150px;
    margin-bottom: 0;
    padding-top: 7px;
    text-align: right;
}

.form-horizontal .col-sm-10 {
    flex: 1;
}

.form-horizontal .col-sm-offset-2 {
    margin-left: 150px;
}

#cover-photo-form .btn-primary {
    margin-top: 15px;
}

.new-post-disabled,
.comment-disabled {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: #888;
    margin-bottom: 20px;
}

.new-post-disabled p,
.comment-disabled p {
    margin: 0;
    font-size: 1em;
}

.comment {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.comment-profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-username {
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}



.speech-bubble {
    background-color: #D6CDBE;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ql-toolbar {
    background-color: #BDBDBD;
    font-family: Arial, sans-serif;
}

.new-post-disabled,
.comment-disabled {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.new-post {
    margin-bottom: 20px;
}

.new-post textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.new-post input[type="file"],
.new-post select {
    margin-bottom: 10px;
}

.new-post button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.new-post button:hover {
    background-color: #0062cc;
}

.feed {
    margin-top: 20px;
}

.post {
    background-color: #454545;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post img,
.post video {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

.post small {
    display: block;
    margin-top: 10px;
    color: #888;
}

.post-interactions {
    margin-top: 10px;
    color: #555;
}

.post-interactions span {
    margin-right: 15px;
}

.comments {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.comment {
    margin-bottom: 10px;
}

.comment small {
    display: block;
    color: #888;
}

.comment form {
    display: flex;
    flex-direction: column;
}

.comment textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.comment button {
    align-self: flex-end;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comment button:hover {
    background-color: #0062cc;
}

.comment small {
    display: block;
    color: #888;
}

.comment form {
    display: flex;
    flex-direction: column;
}

.comment textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.comment button {
    align-self: flex-end;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comment button:hover {
    background-color: #0062cc;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-area {
        max-width: 100%;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .search-bar input {
        width: 100%;
    }

    .user-icon img {
        height: 60px;
    }

    .login-signup button {
        padding: 8px 16px;
    }

    .banner {
        height: 200px;
    }

    .sidebar ul li {
        margin: 5px 0;
    }

    .content {
        padding: 10px;
    }

    footer ul {
        flex-direction: column;
    }

    footer ul li {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 5px;
    }

    .user-icon img {
        height: 40px;
    }

    .login-signup button {
        padding: 6px 12px;
        margin: 3px;
    }

    .banner {
        height: 150px;
    }

    .main-content {
        padding: 10px 5px;
    }

    .content {
        padding: 5px;
    }
}
