@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

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

html, body { overflow-x: hidden; }

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #a8e6cf;
    background-color: #0a192f;
    line-height: 1.6;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(16px, 4vw, 40px) clamp(12px, 4vw, 20px);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

h1 {
    border-bottom: 2px solid #64ffda;
    color: #64ffda;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.3;
}

h2 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: clamp(1.15rem, 3.5vw, 1.5rem);
}

section {
    margin-bottom: 30px;
    padding: clamp(15px, 4vw, 25px);
    background-color: #112240;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
    margin: 0 0 20px 0;
    padding: 12px 15px;
    background-color: #112240;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

nav a:link,
nav a:visited {
    text-decoration: none;
    color: #64ffda;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    white-space: nowrap;
}

nav a:hover,
nav a:focus,
nav a:active {
    text-decoration: underline;
    background-color: rgba(100, 255, 218, 0.08);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #64ffda;
    color: #8892b0;
    background-color: #020c1b;
    font-size: 0.9em;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

ul {
    padding-left: 1.25rem;
}

@media (max-width: 480px) {
    nav {
        gap: 4px 8px;
        padding: 10px;
    }

    header {
        margin-bottom: 20px;
    }

    section {
        margin-bottom: 20px;
    }
}
