:root {
    --primary-color: #aaba38;
    --background-color: #0d0d0d;
    --text-color: #edf2ee;
    --secondary-text-color: #a0a0a0;
    --card-bg-color: #1a1a1a;
    --border-radius: 12px;
}

body {
    background-color: var(--background-color);
    margin: 0;
    color: var(--text-color);
    font-family: Geist, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    background-color: var(--background-color);
}

header a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

header ul {
    list-style-type: none;
}


header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 50px;
}

.logo img {
    max-width: 100%;
    border-radius: 12px;
}

/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
}

header nav ul {
    display: flex;
    gap: 30px;
}

header nav a:hover {
    color: var(--primary-color);
}

header nav ul li a.active {
    border-bottom-color: var(--primary-color);
}

header .user-actions .login-btn {
    margin-right: 15px;
}

header .user-actions .signup-btn {
    background-color: var(--primary-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.mobile-menu {
    display: none;
    overflow-y: auto;
    z-index: 1000;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

main {
    justify-content: center;
    display: flex;
    text-align: left;
}

.container {
    height: 100%;
    box-sizing: border-box;
    justify-content: center;

}

body h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    text-align: center;
    width: 100%;
}

.pf-avatar-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.pf-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2b6cb0;
}

.pf-actions {
    display: flex;
    gap: 10px;
}

.pf-btn {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.pf-btn-green {
    background: #28a745;
    background: #2b6cb0;
    color: #fff;
}

.pf-btn-green:hover {
    background: #218838;
    background: #218838;
}

.pf-btn-red {
    background: #d9534f;
    color: #fff;
}

.pf-btn-red:hover {
    background: #c9302c;
}

.container strong {
    color: var(--primary-color);
}

/* .container span{
    font-family: cursive;
} */
.container p {
    font-size: 1rem;
}

.container button {
    width: 100px;
    height: auto;
    padding: 10px 0;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.1s ease-in;
    /* background-color: var(--primary-color); */
}

.container button:hover {
    background-color: var(--primary-color);
}

.container a {
    text-decoration: none;
    color: var(--primary-color);
    margin-left: 30px;
    float: right;
    transition: 0.2s ease-in-out;
}

.container a:hover {
    color: #636c1e;
}


/* For Large Phones and Small Tablets (max-width: 768px) */
@media (max-width: 888px) {

    /* header {
        flex-direction: column;
        gap: 15px;
    } */
    header {
        justify-content: space-between;
        flex-direction: row;
        gap: 15px;
    }

    nav {
        display: none;
        /* Hide default nav */
    }

    .user-actions {
        position: absolute;
        right: 20px;
        top: 15px;
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Sidebar Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -1000px;
        /* Hidden by default */
        width: 250px;
        height: 100%;
        background: #222;
        padding: 60px 9px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu a {
        color: #fff;
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.2rem;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 3rem;
        color: #fff;
        cursor: pointer;
    }

    /* Overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 500;
    }

    .overlay.active {
        display: block;
    }
}


/* For Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    main {
        padding: 0 3%;
        justify-content: left;
        display: block;
        text-align: left;
    }

    .container p {
        font-size: 1rem;
    }

    header nav ul {
        gap: 20px;
        font-size: 0.9rem;
    }
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* when i reaload the page on a smaller screen, this aligns it and prevents it from zooming out or in */
html,
body {
    width: 100% !important;
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}