.fa-regular {
    position: relative;
    top: 15%;
}

/* Desktop View */
.navbar {
    width: 22.5%;
    position: fixed;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    border-right: 0px solid var(--secondary-color);
    height: 100%;
    align-items: flex-end;
    user-select: none;
}

.title-container {
    display: flex;
    align-items: center;
}

.title-container img {
    height: 48px;
    width: 48px;
}

.navbar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
}

.navbar-user-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    cursor: pointer;
    background-color: var(--background-color);
    border-radius: 15px;
}

.navbar-user-container:hover {
    text-decoration: none;
    background-color: var(--secondary-color);
    transition: 0.25s ease;
}
.navbar-user-container:active {
    transition: 0s;
    filter: brightness(0.2);
}

.navbar-user-container .preview {
    margin-left: 20px;
    width: 36px;
    height: 36px;
    border-radius: 100%;
}

.navbar-user-container .name {
    margin-left: 10px;
}

.nav-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.nav-links a{
    display: flex;
    margin: 5px 20px 5px 0;
    height: 40px;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    background-color: var(--background-color);
    border-radius: 100px;
    transition: 0.25s ease;
} 

.nav-links a:active{
    transition: 0s;
    filter: brightness(0.2);
}

.nav-links p {
    margin: 0 20px 0 20px;
}
.nav-links i {
    margin-left: 20px;
}


.nav-links a:hover {
    text-decoration: none;
    background-color: var(--secondary-color);
}

.nav-links .fa-regular {
    top: 0 !important;
}






.user-popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    filter: opacity(0);
    transition: filter 0.25s ease;
    user-select: none;
}

.user-popup .content-container {
    position: absolute;
    transform-origin: top right;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 50%;
    max-width: 750px;
    height: 75%;
    background-color: var(--background-color);
    border-radius: 15px;
    z-index: 6;
    overflow-y: auto;
}

.user-popup .profile-picture-popup {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 10px solid var(--background-color);
    object-fit: cover;
    margin: -75px 20px 20px 20px;
    position: relative;
}

.user-popup .profile-container-popup {
    display: flex;
    flex-direction: column;
}

.user-popup .profile-header-popup {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.user-popup .banner-popup {
    background: var(--secondary-color);
    width: 100%;
    height: 200px;
    z-index: 0;
    border-radius: 8px 8px 0 0;
    background-size: cover;
    background-position: center;
}

.user-popup .option-container {
    display: flex;
    justify-content: space-evenly;
}

.user-popup .option {
    width: 30%;
    height: 125px;
    border-radius: 15px;
    border: 1px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-popup .option #status-dropdown {
    width: 75%;
    height: 50px;
    background-color: var(--background-color);
    border-radius: 5px;
    border: 0px;
    color: var(--text-color);
}

.user-popup .option #status-dropdown:focus {
    outline: none;
}

.user-popup .popup-link {
    display: flex;
    margin: 5px 20px 5px 0;
    height: 40px;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    background-color: var(--background-color);
    border-radius: 100px;
    transition: 0.25s ease;
}

.user-popup .not-logged-in {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.user-popup .nav-links {
    display: flex;
    align-items: center;
    flex-direction: column;
}









/* Mobile View */
.mobile-navbar {
    background-color: var(--primary-color);
    overflow: hidden;
    display: none;
    min-height: 50px;
}
.mobile-navbar a {
    float: left;
    display: block;
    color: var(--secondary-color);
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
}

.mobile-navbar a:hover {
    background-color: var(--secondary-color);
    color: black;
}

.mobile-navbar-right {
    display: flex;
    right: 0;
    position: absolute;
}

.login-register-btn-mobile {
    float: right !important;
    background-color: var(--primary-color);
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 10px;
}

.login-register-btn:hover {
    background-color: var(--secondary-color);
}


/* Style for dropdown button */
.dropdown-mobile {
    display:block;
}

.dropdown-mobile .dropbtn {
    min-width: 160px;
    max-width: 160px;
    font-size: 16px;
    border: none;
    outline: none;
    color: var(--secondary-color);
    padding: 14px 20px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-mobile:hover .dropbtn {
    background-color: var(--secondary-color);
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
    right: 0;
    text-align: left;
}

.dropdown-content a {
    min-width: 160px;
    max-width: 160px;
    color: var(--secondary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: black;
}

/* Show the dropdown content when hovering over the button */
.dropdown-mobile:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

.header-buttons {
    float: right;
    margin-right: 20px;
}

.header-buttons a {
    background-color: var(--primary-color);
    padding: 10px 20px
}
.header-buttons a:hover {
    background-color: var(--secondary-color);
}



/* Footer styles */
footer {
    background-color: var(--primary-color);
    padding: 20px;
    position: relative;
    bottom: 0px;
}

footer .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .navbar a {
    color: var(--secondary-color);
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
}

footer .navbar a:hover {
    background-color: var(--secondary-color);
    color: black;
}

footer .login-register-btn {
    background-color: var(--primary-color);
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 10px;
}

footer .login-register-btn:hover {
    background-color: var(--secondary-color);
}

.footer-buttons {
    float: right;
    margin-right: 20px;
}

.footer-buttons a {
    background-color: var(--primary-color);
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 10px;
}

.footer-buttons a:hover {
    background-color: var(--secondary-color);
}

.dropbtn {
    display: block;
}
.dropbtn-mobile {
    display: none;
    height: 50px;
    color: var(--secondary-color);
    font-size: 14pt;
}

.mobile-only {
    display: none !important;
}
@media only screen and (max-width: 768px) {
    .mobile-navbar {
        display: flex;
    }
    .navbar-link {
        display: none !important;
    }
    .dropbtn {
        display:none;
    }
    .dropbtn-mobile {
        display:block ;
    }
    .mobile-only {
        display: block !important;
    }
    .navbar {
        display: none !important;
    }
}