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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "JetBrains Mono";
    min-height: 100vh;

    background:
        radial-gradient(circle at top left, rgba(0,0,0,0.05), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0,0,0,0.04), transparent 35%);

    background-attachment: fixed;
}

hr {
    width: 97%;
    border: none;
    border-top: 1px solid black;
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    position: relative;
    transition: 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

#active {
    font-weight: 700;
}

#active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: black;
}

.content {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    padding: 80px 40px;
}

.site-list {
    width: min(800px, 100%);
}

.site-list h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    opacity: 0.6;
    margin-bottom: 40px;
}

.sites {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px;

    background: black;
    color: white;

    text-decoration: none;

    border: 1px solid black;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.site-card h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.site-card p {
    opacity: 0.7;
}

.site-button {
    background: white;
    color: black;

    padding: 10px 18px;

    text-decoration: none;
    font-size: 15px;

    border: 1px solid white;

    transition: 0.2s ease;
}

.site-button:hover {
    background: black;
    color: white;
}

.site-card:hover {
    transform: translateY(-5px);
}

.credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
