@media (max-width: 915px) {

    .nav-links {
        display: none !important;
    }

}

@media (max-width: 775px) {
    .nav-links {
        display: none;
    }

    .defaultAuth, .topName {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 48px !important;
    }

    .hero-description {
        font-size: 18px !important;
    }

    .hero-buttons {
        width: 100%;
        max-width: 300px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .section h2 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {

    .logo span {
        display: none !important;
    }

    nav {
        padding: 0px 16px 0px 16px !important;
    }

}

html {
  scroll-behavior: smooth;
}

.page-container {
    max-width: 1200px;
    margin: 10% auto auto auto;
    padding: 2rem;
    min-height: calc(100vh - 400px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 0px !important;
    margin: 0px !important;
}

header {
    color: rgb(255, 255, 255);
    padding: 1rem 0;
    position: fixed;
    width: 100%; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #2c3e50;
    box-sizing: border-box;
    overflow-x: hidden;
}

nav {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

#leftNav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: auto;
    flex: 1;
    max-width: 600px;
}

.topLogo {
    height: 35px;
    width: 35px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    gap: 12px;
    min-width: 200px !important;
    color: rgb(255, 255, 255);
}

.logo-icon {
    background: #4285f4;
    color: black;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: auto auto auto 48px;
}

.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.defaultAuth {
    display: flex;
    gap: 1rem;
}

.btn-login, .btn-signup {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition-duration: 0.2s;
}

.btn-login {
    background: transparent;
    color: rgb(255, 255, 255);
    border: 1px solid white;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.6);
    color: rgb(255, 255, 255);
}

.btn-signup {
    background: #274690;
    color: white;
}

.btn-signup:hover {
    background: #1e3a7c;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.topName {
    margin: auto auto 0px auto;
    position: relative;
    font-size: 18px;
    bottom: 3px;
    font-weight: 500;
    color: white;
}

header {
    color: rgb(255, 255, 255);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent;
}

header.header-dark {
    color: rgb(255, 255, 255);
}

header.header-dark .logo,
header.header-dark .nav-links a,
header.header-dark .btn-login,
header.header-dark .mobile-menu-toggle
header.header-dark .topName {
    color: rgb(255, 255, 255);
}

header.header-dark .btn-login {
    border-color: white;
}

header.header-dark .btn-login:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgb(255, 255, 255);
}

header.header-light {
    background-color: rgba(255, 255, 255, 0.95);
    color: rgb(51, 51, 51);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.header-light .logo,
header.header-light .nav-links a,
header.header-light .mobile-menu-toggle
header.header-light .topName {
    color: rgb(51, 51, 51);
}

header.header-light .btn-login {
    color: rgb(51, 51, 51);
    border-color: rgb(51, 51, 51);
}

header.header-light .btn-login:hover {
    background: rgba(51, 51, 51, 0.1);
    color: rgb(51, 51, 51);
}

header.header-light .btn-signup {
    background: #274690;
    color: white;
}

header.header-light .btn-signup:hover {
    background: #1e3a7c;
    color: white;
}

@supports (backdrop-filter: blur(10px)) {
    
    header.header-light {
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.8);
    }

}

.realLink {
    margin-top: 0px;
    text-decoration: underline !important;
}

.topProfileLink {
    display: none;
    height: 35px;
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    text-decoration: none;
    color: black;
}

.userImageInsert {
    height: 35px;
    margin: auto;
}