@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #074da3;
    --accent-blue: #1A4DA3;
    --black-text: #0c2339;
    --body-text: #4e5c79;
    --blue-text: #053864;
    --dark-green: #2E9868;
    --light-green-background: #E6F4F0;
    --grey-blue: #9DB0C3;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    align-items: center;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    padding: 10px 0px;
    width: 100vw;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}


@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background-color: rgb(239, 239, 239);
    color: #000;
    transform: translateY(0);
}

.logo img {
    height: 50px;
}

.navbar .menu-header {
    display: flex;
    justify-content: space-between;
    
}

@media (max-width: 768px) {
    .navbar .menu-header {
        width: 100%;
        max-width:100%;
    }
}

#menu-icon {
    font-size: 1.2rem;
    padding: 8px;
    margin-bottom: 4px;
    display: inline-block;
    outline: none;
    border-radius: 6px;
    display: none;
}

@media (max-width: 768px) {
    #menu-icon {
        display: flex;
    }
}




.close-menu {
    display: none;
}

@media (max-width: 768px) {
    .close-menu {
        display: block;
        font-size: 1.5rem;
        background: var(--primary-color);
        color: var(--accent-color);
        cursor: pointer;
        text-align: right;
        padding: 20px 40px;
    }
}


.menu-body{
    width:60%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 4px;
    overflow-y: auto;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .menu-body {
        display: none;
        justify-content: start;
        gap:10px;
        padding:20px 40px;
        height:100vh;
        max-height: 100vh;
        width:100%;
        flex-grow: unset;
        overflow: auto;
        border-top:1px solid var(--grey-blue);
        font-size:1rem;
    }
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
    }
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: var(--black-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}


.auth-links a {
    text-decoration: none;
    color: var(--black-text);
    font-weight: bold;
}

.header-space {
    height: 80px;
}