/********************************************************
    GLOBAL STYLE + THEME
********************************************************/
:root {
    --light: #F6F3A8;
    --blue: #364BA0;

    --title-font: 'Caprasimo', cursive;
    --body-font: 'Lato', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--dark-slate);
    margin: 0;
    padding: 0;
}

/********************************************************
    HEADER + NAV BAR
********************************************************/
header {
    background: url(../images/checkered.webp);
    background-color: var(--blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    position: sticky;
    top: 0;
    z-index: 999;
}

header .site-title {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

header h1 {
    margin: 0;
    font-family: var(--title-font);
    font-size: 28px;
    color: var(--light);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--light);
    font-weight: bold;
    transition: opacity 0.3s;
}

#mobile-nav a {
    text-decoration: none;
    color: var(--light);
    font-weight: bold;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

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

.hamburger div {
    width: 25px;
    height: 3px;
    background: var(--light);
}

@media (max-width: 768px) {
    nav {
    display: none;
    }
    .hamburger {
    display: flex;
    }
}