@font-face {
    font-family: 'Bitblox';
    src: url('fonts/Bitblox-Monospaced.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #ffffff;
    background: rgb(1, 7, 88);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrapper {
    max-width: 650px;
    margin: 0 auto;
    padding: 60px 30px;
}

.header {
    margin-bottom: 80px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-family: 'Bitblox', monospace;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.3px;
    display: inline-block;
    white-space: nowrap;
}

.nav-links,
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer {
    margin-top: 60px;
    display: flex;
    justify-content: flex-end;
}

.nav-links a,
.social-links a {
    font-family: 'Bitblox', monospace;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    white-space: nowrap;
    box-sizing: border-box;
    opacity: 0.8;
}

.nav-links a:hover,
.social-links a:hover {
    opacity: 1;
}

.nav-links a.active-nav {
    color: rgb(1, 7, 88);
    opacity: 1;
    position: relative;
    z-index: 1;
}

.nav-links a.active-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    right: -6px;
    height: 23px;
    background-color: #ffffff;
    transform: translateY(-50%);
    z-index: -1;
}

.main {
    line-height: 1.8;
}

.main h1 {
    font-family: 'Bitblox', monospace;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: inline-block;
    cursor: pointer;
}

.main h2 {
    font-family: 'Bitblox', monospace;
    font-size: 19px;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #ffffff;
    display: inline-block;
    cursor: pointer;
}

.main p {
    margin-bottom: 20px;
    color: #ffffff;
}

.main ul {
    list-style: none;
    padding-left: 0;
}

.main ul li {
    margin-bottom: 12px;
    color: #ffffff;
    padding-left: 0;
}

.main ul li::before {
    content: '•';
    color: #ffffff;
    margin-right: 8px;
    opacity: 0.8;
}

.main ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 0.9;
}

.main ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.main strong {
    font-weight: 400;
    color: #ffffff;
}

.main a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 0.9;
}

.main a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .wrapper {
        padding: 40px 20px;
    }

    .header {
        margin-bottom: 50px;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .main h1 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .main h2 {
        font-size: 18px;
        margin-top: 30px;
    }

    body {
        font-size: 16px;
    }
}