/* Base Styles */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #777777;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
}

/* Utility Classes */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: white;
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}

.btn:hover {
    opacity: 0.9;
}
:root {
    --primary-color: #030303;
    --secondary-color: #757575;
    --accent-color: #1a8917;
    --max-width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--primary-color);
}

.navbar2 {
    border-bottom: 1px solid #e6e6e6;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 20px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-item-highlight {
    font-size: 0.9rem;
    transition: color 0.3s ease;
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item-highlight:hover {
    color: var(--primary-color);
}


.main-content {
    margin-top: 6rem;
}

.hero-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
}

.sub-headline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 100%;
    margin: 0 auto;
    font-weight: 400;
}

.account-btns{
    margin-top: 40px;
    place-self: center;
}

.sign-in-btn{
    width: 140px;
    font-size: 1.4rem;
    padding: 10px;
    padding-top: 7px;
    border-radius: 30px;
    background-color: transparent;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.5s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sign-in-btn:hover{
    background-color: black;
    color: white;
    transition: 0.5s;
}

.sign-up-btn{
    width: 140px;
    font-size: 1.4rem;
    padding: 10px;
    padding-top: 7px;
    border-radius: 30px;
    background-color: transparent;
    border: 2px solid black;
    cursor: pointer;
    margin-left: 20px;
    transition: 0.5s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sign-up-btn:hover{
    background-color: black;
    color: white;
    transition: 0.5s;
}

.search-bar {
    display: flex;
    flex-grow: 1;
    margin: 0 4px;
    width: 60%;
    place-self: center;
    margin-bottom: 5px;
    margin-top: 50px;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid black;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255,0.9);
    border: none;
    color: rgb(0, 0, 0);
    border: 2px solid black;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

}

.search-input::placeholder{
    color: rgba(0, 0, 0, 0.85);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.search-btn {
    width: 65px;
    height: 65px;
    margin-left: 20px;
    border-radius: 50px;
    background-color: transparent;
    transition: 0.5s;
    cursor: pointer;
}
.search-btn:hover{
    background-color: black;
    color: white;
    transition: 0.5s;
}

.login-page-back{
    width: 100px;
    border:2px solid black;
    border-radius: 25px;
    margin-left: 40px;
    color: black;
    background-color: transparent;
    padding: 10px;
    padding-top: 8px;
    margin-top: 10px;
    cursor: pointer;
}
.login-page-back:hover{
    background-color: #000;
    color: white;
    transition: 0.5s;
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -80px;
}

.login-container {
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
    width: 40%;
    max-width: 915px;
    text-align: center;
    place-self: center;
    margin: -40px auto;
    margin-bottom: 20px;
}

.login-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.login-title {
    color: rgb(0, 0, 0);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.login-subtitle {
    color: white;
    margin-bottom: 15px;
}

.login-input {
    width: 65%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    border-radius: 9px;
    font-size: 16px;
    margin-left: 10px;
    margin-right: 10px;
    background: transparent
}
.login-input::placeholder{
    color: rgb(0, 0, 0);
}

.login-input:focus {
    outline: none;
    border-color:rgb(0, 0, 0);
}

.btn-register {
    margin-top: 20px;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    border: 2px solid black;
    border-radius: 30px;
    margin-right: 10px;
    padding: 12px;
    padding-left: 25px;
    padding-right: 25px;
}

.btn-register:hover{
    color:rgb(0, 0, 0);
    background-color: #ffffff;
    transition: 0.5s;
}

.btn-login {
    margin-bottom: 20px;
    border-radius: 30px;
    padding: 12px;
    padding-left: 30px;
    padding-right: 30px;
    transition: 0.5s;
}

.btn-login:hover{
    color:white;
    background-color: #000;
    transition: 0.5s;
}

.login-terms {
    color: rgb(0, 0, 0);
    font-size: 14px;
}

.search-container{
    height:82px
}
/* Navbar */
.navbar {
    display: flex;
    /* display: none; */
    align-items: center;
    padding: 15px 0%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    gap: 20px;
}
.app-page.active .navbar {
    display: flex;
    align-items: center;
    padding: 15px 0%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    gap: 20px;
}
.navbar-top{
    display: flex;
}
.navbar-top2{
    display: flex;
}
.upload-back-btn{
    margin-top: 70px;
    margin-left: 45px;
}
.profile-section{
    display: flex;
    margin-left: 80px;
}
.profile-click-target {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-logo {
    color: var(--black);
    font-size: 1.4rem;
    font-weight: 700;
    width: 70px;
    margin-left: 50px;
    height: 20px;
}

.main-page-bg {
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.search-input {
    width: 85%;
    padding: 10px 15px;
    border: 2px solid black;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255,0.9);
    border: none;
    color: rgb(0, 0, 0);
    border: 2px solid black;
}
.search-input::placeholder{
    color: rgba(0, 0, 0, 0.85);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 300%;
    margin-right: 0px;
}

.nav-link {
    margin: 0 15px;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
}
.mobile-nav {
    display: block;
}
.btn-user {
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.5rem;
    padding: 0;
}

/* Main Container */
.main-container {
    margin-top: 40px;
    padding: 0px 0%;
}
.main-container2 {
    margin-top: 50px;
    padding: 0px 0%;
}
.main-container3 {
    margin-top: 50px;
    padding: 0px 0%;
}
.main-container4 {
    margin-top: 50px;
    padding: 0px 0%;
}
.welcome-box{
    background-color: rgba(0, 0, 0, 0.78);
    box-shadow: #ccc;
    border: 1.7px solid #000000;
    border-radius: 10px;
    margin-top: 2%;
    padding: 20px;
    padding-top: 15px;
    width: 60%;
    place-self: center;
    margin-bottom: 40px;
    color: white;
    border: none;
}
.welcome-box2{
    background-color: rgb(255, 255, 255);
    box-shadow: #ccc;
    border: 1.7px solid #000000;
    border-radius: 10px;
    margin-top: 2%;
    padding: 20px;
    padding-top: 15px;
    width: 60%;
    place-self: center;
    margin-bottom: 40px;
}

.main-container h2, p{
    width: 100%;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-container p{
    margin-top: 10px;
}

.main-container2 h2, p{
    width: 100%;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-container2 p{
    margin-top: 10px;
}
.main-container3 h2, p{
    width: 100%;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-container3 p{
    margin-top: 10px;
}

.main-container4 h2, p{
    width: 100%;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-container4 p{
    margin-top: 10px;
}

#logoutBtn{
    margin-left: 10px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    border: 1.7px solid black;
    padding: 10px;
}

/* Image Overlay */
/* Image Overlay */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow: auto; /* This enables scrolling for the entire overlay */
}

/* Update overlay styles */
.overlay-content {
    display: flex;
    width: 88%;
    max-width: 1200px;
    min-height: 90vh; /* Minimum height */
    margin: 40px auto;
    background-color: var(--white);
    border-radius: 8px;
    place-self: center;
    overflow: hidden; /* Keep this to contain child elements */
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgb(255, 255, 255);
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    margin-right: 15px;
}

.overlay-image-container {
    flex: 2;
    padding: 20px;
    padding-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    position: sticky;
    top: 0;
    height: 90vh; /* Match the overlay height */
    overflow: hidden; /* Prevent scrolling in image container */
}
/* Add to styles.css */
.overlay-image-container video {
    cursor: pointer;
    object-fit: contain;
}

/* Hide default controls */
.overlay-image::-webkit-media-controls {
    display: none !important;
}
.overlay-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    margin-top: 15px;
}

.overlay-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* overflow-y: auto; */
    max-height: 67.7vh; /* Match overlay height */
    margin-top: 5px;
}
.overlay-info::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-medium);
    flex-direction: column;
    gap: 8px;
}
.overlay-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    word-wrap: break-word; /* Allows long words to break */
    overflow-wrap: break-word; /* Alternative property for better support */
    white-space: normal; /* Ensures text wraps (overrides any nowrap) */
    width: 100%; /* Ensures it respects container width */
    white-space: pre-line;
  word-break: break-word;
}

.user-info {
    display: flex;
    align-items: right;
    gap: 0px;
}
.user-info-3{
    max-height: 11vh;
    overflow: hidden; 
}

.overlay-username {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.overlay-date {
    color: var(--gray-dark);
    font-size: 0.6rem;
    margin-left: 80%;
}
.overlay-userinfo2{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.overlay-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-like {
    background: none;
    border: 1px solid var(--gray-medium);
}

.btn-like.liked {
    color: #ff0000;
    border-color: #ff0000;
}

/* Update comments section */
.comments-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 31vh; /* Take full height of parent */
}

.comments-container {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
    height: 65vh;
}
.comments-container p {
    font-size: 0.8rem;
    text-align: left;
}
/* Custom scrollbar */
.comments-container::-webkit-scrollbar {
    width: 6px;
}

.comments-container::-webkit-scrollbar-track {
    background: var(--gray-light);
}

.comments-container::-webkit-scrollbar-thumb {
    background: var(--gray-dark);
    border-radius: 3px;
}
.comments-container::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}


.comment {
    padding: 10px 0;
    border: 1.5px solid black;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    word-wrap: break-word; /* Ensure long words break */
    overflow-wrap: break-word; /* Modern alternative */
    word-break: break-word; /* Handle non-English characters */
}

.comment-header {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    align-items: center; /* Better alignment of profile pic and username */
}

.comment-text {
    margin-left: 10px;
    white-space: pre-wrap; /* Preserve line breaks but wrap text */
    max-width: 100%; /* Ensure it doesn't overflow container */
    overflow: hidden; /* Hide any potential overflow (just in case) */
}

.comment-time {
    color: var(--gray-dark);
    font-size: 8px;
    margin-top: 5px;
    margin-left: auto; /* Push time to the right */
}

.comment-user {
    font-weight: 600;
    margin-right: 8px;
}

.comment-input {
    display: flex;
    gap: 10px;
    margin-top: 4%;
}

.comment-field {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    resize: vertical; /* Allow vertical resizing */
    min-height: 50px; /* Minimum height */
    max-height: 150px; /* Maximum height before scrolling */
    overflow-y: auto; /* Scroll if content exceeds max height */
}

.btn-comment {
    padding: 10px 15px;
    border: 2px solid black
}
.btn-comment:hover{
    background-color: black;
    color: white;
    transition: 0.5s;
}

.delete-comment-btn {
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0 5px;
}

.btn-delete {
    background-color: #000000;
    color: white;
}

/* Profile Picture Styles */
.profile-picture-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--black);
}

.btn-profile {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    padding: 0;
}
#currentProfilePic{
    cursor: pointer;
}
/* Ensure both grids have proper z-index */
#posts,
#profilePostsGrid {
    position: relative;
    z-index: 1;
}
#profilePictureInput {
    display: none;
}
.profile-pic-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}
.comment-profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}
.comment-profile-default {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #666;
}

/* Upload Page */
.upload-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: -40px;
}

.upload-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.upload-subtitle {
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.upload-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.upload-box {
    border: 2px dashed var(--gray-medium);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.upload-box.drag-active {
    border-color: var(--black);
    background-color: rgba(0,0,0,0.05);
}

.upload-box:hover {
    border-color: var(--black);
}

.upload-icon {
    font-size: 3rem;
    color: var(--gray-medium);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.upload-box:hover .upload-icon,
.upload-box.drag-active .upload-icon {
    color: var(--black);
}

.upload-text {
    color: var(--gray-dark);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.upload-box:hover .upload-text,
.upload-box.drag-active .upload-text {
    color: var(--black);
}

.upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.upload-title-input {
    padding: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 16px;
}

.btn-upload {
    padding: 15px;
    font-size: 16px;
    width: 100%;
}

/* Upload Section Styles */
.upload-section {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.file-upload {
    margin: 15px 0;
    position: relative;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-label:hover {
    border-color: #999;
}

.upload-label i {
    font-size: 48px;
    color: #666;
    margin-bottom: 10px;
}

#imageUpload {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-preview {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.nav-link.active {
    font-weight: 600;
}

/* Add these new styles to your existing CSS */

/* Logo Link */
.logo-link {
    text-decoration: none;
    color: inherit;
}

/* Photo Grid Updates */
/* Ensure photo grid shows 4 columns */
.photo-grid {
    column-count: 5;
    column-gap: 20px;
    padding: 20px;
    margin: 10px;
}

.photo-card {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}
.upload-by-image{
    width: 100%;
    text-align: center;
    margin-top: -35px;
}
.photo-img {
    width: 100%;
    height: auto; /* Maintain original aspect ratio */
    display: block;
    border-radius: 12px;
    transition: all 0.3s;
}

.photo-card:hover .photo-img {
    transform: scale(1.03);
}


.photo-overlay {
    position: absolute;
    bottom: 0; /* Anchor to the bottom */
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); /* Dark at bottom, transparent above */
    padding: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.5s;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    /* Optional: Add a fixed height if needed */
    height: 50%; /* Adjust based on your design */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to the bottom of the overlay */
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-title {
    font-weight: 600;
    /* margin-bottom: 35px; */
    text-align: center;
    display: -webkit-box; /* Required for line clamping */
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical; /* Vertical text flow */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis */
    white-space: normal; /* Override "nowrap" to allow wrapping */
}


.photo-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Make sure buttons are visible */
.photo-actions button {
    z-index: 2;
    position: relative;
}

.download-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.download-btn:hover {
    background: rgba(255,255,255,0.3);
}
/* Add this to hide download buttons */
.download-btn, .btn-download {
    display: none !important;
}
/* Upload Page Preview */
.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.preview-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding-top: 2%;
    margin-top: 80px;
    padding-bottom: 40px;
}

.footer-container {
    max-width: 100%;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    place-content: center;
    margin-bottom: 20px;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    border-bottom: 1.7px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px ;
}

.footer-section p {
    padding-top: 5px;
    font-size: 0.8rem;
}

.footer-links a {
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.8rem;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 5px;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1.7px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-bottom p {
    color: white;
    margin: 5px 0;
}
/* Follow button styles */
.btn-follow {
    background-color: #000000;
    color: white;
    padding: 7px 25px;
    margin-left: 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.btn-follow.following {
    background-color: #666;
}

.follower-count {
    color: #666;
    font-size: 0.65rem;
    margin-bottom: 25px;
}


/* Nav bar follower count */
.profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-followers {
    display: none;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    text-align: center;
}

/* Profile Page Styles */
.profile-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    overflow-y: auto;
}

.profile-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    margin-left: 100px;
}

.profile-pic-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-meta {
    flex-grow: 1;
}

.profile-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.stat-item {
    font-size: 1.2em;
    color: #666;
}

.disclaimer{
    font-size: 1rem;
    opacity: 70%;
    color: rgb(41, 44, 44);
    margin-bottom: 20px;
}
/* Add to styles.css */
video.photo-img {
    background: black; /* Fallback for video aspect ratio */
    /* Force video to fill container */
    min-width: 100%;
    min-height: 100%;
}
/* Saved Page Styles */
.saved-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1001; /* Higher than navbar's z-index */
    overflow-y: auto;
}

.saved-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: -90px;
}

.btn-save {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.btn-save.saved {
    color: #ff4757;
}

.btn-save:hover {
    transform: scale(1.1);
}

/* Preview Grid Styles */
.prev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.prev-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    aspect-ratio: 1/1.5; /* Taller images */
    background: #f5f5f5;
}

.prev-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
    border-radius: 12px;
}

.prev-card:hover .prev-media {
    transform: scale(1.03);
}

.prev-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.prev-card:hover .prev-overlay {
    opacity: 1;
}

.prev-title {
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.prev-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prev-user {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* View More Button */
.prev-view-more {
    display: block;
    margin: 30px auto;
    padding: 12px 35px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.prev-view-more:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Add to styles.css */
.btn-google {
    background: #db4437;
    color: white;
    margin: 10px 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-google:hover {
    background: #c23325;
}

.fa-google {
    margin-right: 8px;
}
/* Add these new styles */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag-item {
    background: #e0e0e0;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.5rem;
    font-weight: 500;
    margin: 2px;
}
.overlay-actions + .tags-container {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 0 20px;
}
#visitSiteBtn{
    margin-bottom: 20px;
    text-align: center;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
#savedBackBtn{
    border: 2px solid black;
    box-shadow: #ccc;
    border-radius: 30px;
    font-size: 1rem;
    width: 120px;
    background-color: transparent;
    padding: 10px;
    padding-top: 6px;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 20px;
}
#savedBackBtn:hover{
    background-color: black;
    color: white;
    transition: 0.5s;
}
.upload-back-btn{
    border: 2px solid black;
    box-shadow: #ccc;
    border-radius: 30px;
    font-size: 1rem;
    width: 120px;
    background-color: transparent;
    padding: 10px;
    padding-top: 7px;
    cursor: pointer;
}
.btn-visit-site2 {
    position: absolute;
    bottom: 10px;
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-decoration: none;
    z-index: 2;
}

.btn-visit-site2:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #333;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}
.modal-content2 {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #333;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}
.modal-content2 h3{
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.modal-content h3{
    margin-top: -43px;
    font-size: 1.5rem;
}
.form-group label{
    margin-top: 20px;
    text-align: left;
    margin-left: 20px;
    color: #1e1e1e;
}
#newPostTitleInput{
    width: 90%;
    height: 50px;
    border: 2px solid black;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
}
#newPostTitleInput::placeholder{
    padding-left: 15px;
    padding-right: 15px;
}
.char-counter{
    margin-right: 20px;
}

#newPostTagsInput{
    width: 90%;
    height: 50px;
    border: 2px solid black;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
}
#newPostTagsInput::placeholder{
    padding-left: 15px;
    padding-right: 15px;
}
.char-counter{
    margin-right: 20px;
}

#newUsernameInput{
    width: 90%;
    height: 50px;
    border: 2px solid black;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
}
#newUsernameInput::placeholder{
    padding-left: 5px;
    padding-right: 5px;
}
.username-requirements{
    color: gray;
    font-size: 0.8rem;
    margin-top: 10px;
    margin-bottom: 20px;
}
.edit-username-section{
    display: flex;
    flex-direction: row;
}
#profileUsername{
    text-align: left;
}
.close-post-modal{
    font-size: 2rem;
    margin-top: 0px;
    margin-right: -340px;
    width: 10px;
    cursor: pointer;
}
#editUsernameBtn{
    margin-top: 1px;
    font-size: 1rem;
}
.close-modal {
    color: #000000;
    float: right;
    font-size: 28px;
    cursor: pointer;
    margin-top: -2.8px;
}

.btn-edit {
    background: none;
    border: none;
    color: #4fc3f7;
    padding: 5px;
    margin-left: 10px;
    font-size: 0.8em;
}
.edit-post-btn {
    position: relative;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 2;
    width: 117px;
    height: 37px;
    margin-bottom: 20px;
}

.char-limit {
    color: #666;
    font-size: 0.8rem;
    margin: 5px 0;
}#postEditModal .modal-content {
    position: relative;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    color: white;
}
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.char-counter {
    color: #666;
    font-size: 0.8rem;
    text-align: right;
    margin-top: 0.25rem;
}
.overlay-header .btn-edit {
    position: absolute;
    right: 15px;
    top: 15px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #000000;
    padding: 8px 15px;
    font-size: 0.8rem;
    color: #000;
    width: 100px;
    padding: 5px;
}

.overlay-header .btn-edit:hover {
    background: rgba(0,0,0,0.9);
}

.overlay-header .btn-edit i {
    margin-right: 5px;
}
.upload-method-selector {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.upload-method-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
#imageUrlInput{
    width: 100%;
}
.url-upload-section {
    border: 2px dashed var(--gray-medium);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

#websiteUrl {
    margin-top: 15px;
}
.btn-visit-site {
    background-color: #4CAF50;
    color: white;
}
.file-toggle{
    border: 2px solid black
}
.url-preview {
    margin-top: 15px;
}

#urlPreviewImage {
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.url-preview .preview-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

/* Add to styles.css */
.upload-method-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    align-self: center;
}
.upload-method-selector h4{
    margin-top: 12px;
}

.upload-method-selector label {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: #000000;
    gap: 8px;
}

.upload-method-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

/* Hover state */
.upload-method-selector label:hover {
    border-color: #000000;
    transform: translateY(-2px);
    color: #000000;
}

/* Checked state */
.upload-method-selector input:checked + label {
    border-color: black;
    background: #f0f0f0; /* Changed to light gray */
    color: #000000; /* Changed to black */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Focus state */
.upload-method-selector input:focus-visible + label {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Radio button indicator */
.upload-method-selector label::before {
    display: none;
}

#imageUrlInput{
    width: 100%;
}
.url-upload-section {
    border: 2px dashed var(--gray-medium);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
@media (max-width: 768px) {
    .navbar-logo {
        color: var(--black);
        font-size: 1.4rem;
        font-weight: 700;
        width: 90px;
        margin-left: 0;
        height: 20px;
    }
    .login-page-back{
        margin-top: 30px;
        margin-bottom: 10px;
        margin-left: 0;
    }
    .login-container{
        width: 100%;
        margin: 0;
    }
    .upload-method-selector {
        flex-direction: column;
        gap: 10px;
        flex-direction: row;
    }
    
    .upload-method-selector label {
        padding: 12px 20px;
        justify-content: center;
        width: 140px;
        font-size: 0.8rem;
    }
    
    .upload-method-selector label::before {
        display: none; /* Hide radio circles on mobile */
    }
    .close-post-modal{
        font-size: 2rem;
        margin-right: -234px;
    }
    .edit-post-btn{
        margin-right: 105px;
        margin-top: -10px;
        background-color:#666;
        color: white;
    }
    .prev-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .prev-card {
        border-radius: 8px;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .photo-title{
        font-size: 0.6rem;
    }
    .upload-back-btn{
        margin-top: 0px;
        margin-left: 20px;
        font-size: 0.8rem;
        width: 90px;
    }
    .btn-edit{
        margin-left: -15px;
    }
    .tag-item{
        font-size: 0.4rem;
    }
    .profile-click-target{
        gap: 0;
    }
    .profile-pic-small{
        margin-left: 0px;
    }
    .overlay-info {
        max-height: 107.7vh;

    }
    .close-overlay {
        color: rgb(0, 0, 0);
    }
    .login-header h1{
        font-size: 1.5rem;
    }
    .login-header p{
        font-size: 0.7rem;
    }
    .login-input{
        margin-left: 0;
        width: 100%;
    }
    .welcome-box2, .prev-grid, .prev-view-more{
        display: none;
    }
    #loginPage{
        height: 110vh;
    }
    .login-footer p {
        font-size: 0.7rem;
    }
    .site-footer{
        margin-top: 0;
    }
    #savedPostsGrid{
        margin-top: -120px;
    }
    .saved-header{
        margin-top: 20px;
        margin-left: 0px;
    }
    .saved-header h2{
        margin-top: 0px;
        margin-left: 0px; /* Remove negative margin */
    }
    #savedBackBtn{
        background-color: white;
        border: 2px solid black;
        box-shadow: #ccc;
        border-radius: 20px;
        font-size: 0.7rem;
        width: 80px;
        min-height: 40px;
        padding: 10px;
        margin-left: 20px;
        padding-top: 9px;
    }
    .saved-photo-grid-gap{
        height: 20px;    
    }
    .upload-container{
        margin-top: 20px;
    }
    .upload-text{
        font-size: 0.8rem;
    }
    .upload-title-input::placeholder{
        font-size: 0.7rem;
    }
    #postBtn{
        font-size: 0.8rem;
    }
    .profile-info{
        margin-left: 0px;
    }
    .profile-stats{
        margin-left: -115px;
        flex-direction: column;
        gap: 0;
        margin-top: -5px;
        
    }
    #profileBackBtn{
        border: 1.5px solid black;
        box-shadow: #ccc;
        border-radius: 10px;
        font-size: 0.9rem;
    }
    #profileFollowerCount{
        margin-top: 5px;
        font-size: 0.8rem;
        width: 100px;
    }
    #profileTotalLikes{
        width: 100px;
        margin-bottom: 10px;
    }
    #profileFollowBtn{
        border-radius: 7px;
        width: 70px;
        font-size: 0.5rem;
        margin-left: -32px;
    }
    #profilePostsGrid{
        margin-top: -120px;
    }
    #profilePageImage{
        width: 50px;
        height: 50px;
        margin-top: -50px;
        margin-left:25px;
    }
    .profile-meta h2{
        font-size: 1rem;
    }
    .stat-item{
        font-size: 0.8rem;
    }
    .site-footer{
        margin-top: 80px;
    }
    .mobile-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 15px;
    }
    
    .navbar {
        display: flex;
        flex-direction: column;
        padding: 15px 5%;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        gap: 5px;

    }
    .navbar-top {
        display: flex;
        align-items: center; /* Vertically centers both items */
        margin-bottom: 10px;
    }
    .navbar-top2 {
        display: flex;
        align-items: center; /* Vertically centers both items */
        margin-bottom: 10px;
        margin-left: 12%;
    }
    .logo{
        font-size: 1rem;
    }
    .navbar-logo {
        color: var(--black);
        margin: 0;
        margin-top: -20px;
        margin-left: 20px;
    }
    #logoutBtn{
        font-size: 0.6rem;
        width: 60px;
        margin-left: 0;
        margin-right: 10px;
    }
    
    .profile-section {
        display: flex;
        gap: 10px;
    }

    .navbar-middle {
        display: flex;
        justify-content: right;
        width: 100%;
        margin-bottom: 15px;
        margin-left: 100px;

    }
    .navbar-middle2 {
        display: flex;
        justify-content: right;
        width: 100%;
        margin-bottom: 15px;
        margin-left: -35px;

    }
    .upload-title{
        font-size: 1.4rem;
    }
    .upload-subtitle{
        font-size: 0.8rem;
    }
    .disclaimer{
        font-size: 0.7rem;
    }
    #savedSearchInput{
        margin-left: 20px;
        background-color: white;
        border: 2px solid black;
        color: black;
        font: 0.8rem;
        height: 50px;
    }
    #savedSearchInput::placeholder{
        color: black;
        font-size: 0.8rem;
    }
    #savedSearchBtn{
        height: 50px;
        width: 51px;
        padding: 20px;
        padding-left: 18px;
        padding-top: 18px;
    }
    #savedSearchBtn{
        padding: 0;
    }
    .search-bar {
        width: 90%;
        max-width: 800px;
    }
    .saved-search{
        margin-top: 0;
    }
    #savedSearchBtn i {
        padding-left: 2px;
    }
    .search-input{
        height: 50px;
        border-radius: 10px;
        width: 75%;
    }
    .search-btn{
        height: 50px;
        width: 50px;
        padding-left: 3.1px;
    }
    .search-btn i {
        margin-left: -2px;
    }
    .search-input::placeholder{
        font-size: 0.7rem;
    }
    #searchInput{
        padding-top: 15px;
    }
    .welcome-box{
        margin-top: 45px;
        width: 100%;
        font-size: 0.7rem;
        margin-bottom: 20px;
        border: none;
    }
    .photo-grid {
        column-count: 2;
        column-gap: 10px;
        padding: 7px;
        margin-top: 20px;
    }
    .photo-card {
        display: inline-block;
        width: 100%;
        margin-bottom: 10px;
        border-radius: 0px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s;
    }
    .photo-img {
        width: 100%;
        height: auto; /* Maintain original aspect ratio */
        display: block;
        border-radius: 10px;
        transition: all 0.3s;
    }
    .navbar-brand {
        width: 100%;
    }
    .nav-followers{
        width: 50px;
        text-align: center;
        border-radius: 5px;
        font-size: 0.5rem;
    }
    .search-container{
        height: 50px;
    }
    .navbar-actions {
        display: flex;
        gap: 70px;
        margin-bottom: -5px;
    }
    .navbar-actions a{
        font-size: 0.8rem;
        margin-left: 5px;
        margin-right: 5px;
    }
    .navbar-middle{
        margin: 0px;
        margin-right: 80px;
        margin-bottom: 12px;
    }
    .footer-container{
        margin-top: 20px;
        width: 80%;
        gap: 40px;
    }
    .footer-links{
        margin-left: -15px;
        width: 110%;
    }
    .footer-links a{
        font-size: 0.6rem;
        margin-left: 5px;
        margin-right: 5px;
    }
    .footer-bottom{
        padding: 20px;
    }
    .footer-bottom p {
        font-size: 0.7rem;
    }
    
    .user-info {
        display: flex;
        flex-direction:column;
        align-items: center;
        gap: 5px;
        margin-left: 35px;
    }
    
    .overlay-content {
        flex-direction: column;
        margin: 20px;
    }
    
    .overlay-image-container {
        padding: 10px;
        margin-top: 35px;
    }
    .comments-container{
        max-height: 40vh;
    }
    .user-into-2{
        margin-left: 0px;
    }
    .overlay-image {
        max-height: 70vh;
    }
    .overlay-username{
        font-size: 0.8rem;
        width: 25px;
    }
    .follower-count{
        font-size: 0.6rem;
        margin-bottom: 25px;
        margin-left: -78.54px;
    }
    #followBtn{
        font-size: 0.7rem;
        margin-bottom: 0px;
        margin-left: 18px;
    }
    .overlay-userinfo2{
        margin-left: -80px;
        display: flex;
        flex-direction: row;
        gap: 65px;
    }
    .overlay-header{
        gap: 0px;
        border-width: 1.7px;
    }
    .overlay-actions{
        display: flex;
        flex-direction: row;
        gap:20px;
        place-content: center;
    }
    #like-btn{
        border: 1.7px solid;
        width: 70px;
    }
    .comments-section {
        height: 220px
    }
    #commentsContainer p{
        font-size: 0.8rem;
        text-align: center;
    }
    #saveBtn{
        border: 1.7px solid black;
        width: 70px;
    }
    .btn btn-delete{
        width: 70px;
    }
    .overlay-date{
        margin-left: 37.9%;
        margin-bottom: -30px;
         font-size: 0.6rem;
    }
    .overlay-title{
        font-size: 1rem;
    }
    .main-container{
        display: block;
        margin-top: 0;
    }
    .main-container2{
        margin-top: 120px;
    }
    .main-container3{
        margin-top: 120px;
    }
    .main-container4{
        margin-top: 140px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .upload-method-selector label{
        width: 120px;
        font-size: 0.65rem;
    }
}


@media (max-width: 768px) {
    .headline {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .sub-headline {
        font-size:0.8rem;
    }
    
    .nav-container {
        padding: 0 0.2rem;
    }
    .account-btns{
        width: 90%;
        text-align: center;
    }
    .sign-in-btn{
        font-size: 0.8rem;
        width: 30%;
    }
    .sign-up-btn{
        font-size: 0.8rem;
        width: 30%;
    }
}