body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Georgia', serif;
    background: #f9f9f9;
    color: #121212;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    background: #121212;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    gap: 20px;
    opacity: 1;
    color: #f9f9f9;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #f9f9f9 !important;
    text-decoration: none;
    font-weight: 600;
    font-family: Arial, sans-serif;
    transition: color 0.3s;
    padding-left: 20px;
}

nav ul li a:hover,
nav ul li a[aria-current="page"] {
    color: #f2b600 !important;
}

.intro-logo {
    position: fixed;
    transform: translate(-22%, 6%) scale(0.4);
    display: flex;
    align-items: center;
    gap: 40px;
    opacity: 1;
    z-index: 2000;
    user-select: none;
    cursor: default;
    color: #f9f9f9;
    pointer-events: auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.flame {
    position: relative;
    width: 40px;
    height: 60px;
    background: linear-gradient(180deg, #b14e00 0%, #602a00 100%);
    border-radius: 20px 20px 10px 10px;
    box-shadow: inset 0 5px 10px rgba(255, 200, 150, 0.7);
    filter: drop-shadow(0 0 6px #d67c00);
    animation: flicker 1.5s infinite alternate;
    flex-shrink: 0;
}

.flame::before {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: radial-gradient(ellipse at center, #603000 0%, #301700 80%);
    border-radius: 50% / 100%;
    filter: drop-shadow(0 0 3px #301700);
}

.flame::after {
    content: "";
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 48px;
    background: radial-gradient(circle at 50% 40%, #fff1a8, #f1c232 60%, #f28500 80%, transparent 100%);
    clip-path: polygon(50% 0%, 65% 25%, 75% 55%, 60% 80%, 50% 100%, 40% 80%, 25% 55%, 35% 25%);
    filter: drop-shadow(0 0 12px #ffbf33);
    animation: flicker 1.5s infinite alternate;
}

.logo-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    opacity: 1;
    user-select: none;
    cursor: pointer;
    color: white;
    margin-top: -20px;
}

.logo-main {
    font-size: 4em;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 6px #fff;
    white-space: nowrap;
    user-select: none;
    color: white !important;
}

.logo-sub {
    font-size: 2rem;
    font-style: italic;
    opacity: 0.85;
    margin: 0;
    white-space: nowrap;
    color: white !important;
}

main {
    margin-top: 90px;
    padding: 20px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    background: transparent;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1600;
    padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0px;
    width: 26px;
    height: 3px;
    background-color: #f9f9f9;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translateY(0);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translateY(0);
    top: 0;
}

footer {
    display: block;
    width: 100%;
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1.5em 0em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    margin-top: 2rem;
    opacity: 1;
    border-top: 3px solid #d09c3c;
    letter-spacing: 0.03em;
    user-select: none;
}

footer p {
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

footer a {
    color: #d09c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: #f2b600;
    text-decoration: underline;
}

.link-style {
    color: #d09c3c; 
    font-weight: bold; 
    text-decoration: underline;
}

@media (max-width: 768px) {
    .intro-logo {
        transform: scale(0.28) translate(-110%, 15%);
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 40px;
        font-weight: bold;
        font-family: 'Georgia', serif;
    }
}


@media (max-width: 1200px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 90px;
        right: 0;
        background: #121212;
        width: 250px;
        padding: 20px 0;
        gap: 15px;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.6);
        z-index: 1500;
        border-radius: 0 0 0 10px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li a {
        font-size: 20px;   
    }
}