:root {
    --text-color: #EEEEEE;
    --dimmed-text-color: #999999;
    --accent-color: #4AA8E8;
    --background-color: #2A2A2A;
    --secondary-background-color: #3D3D3D;
    --border-radius: 10px;
}

a {
    color: var(--text-color);
}

body {
    margin: 0;
    font-family: Inter, system-ui;
    background: var(--background-color);
    color: var(--text-color);

    display: block;
    align-items: center;
    justify-content: center;
}

main {
    margin: 1rem 15%;
    text-align: center;
}

/* Header / logo */
.logo {
    width: clamp(120px, 30vw, 150px);
    height: auto;
    display: block;
    margin: 0 auto 0.6rem;
}

.tagline {
    margin-top: 0.35rem;
    font-weight: 600;
}

/* Main link block */
.main-links {
    margin: 1rem 0 1.25rem;
}

.main-links a {
    display: inline-block;
    text-decoration: none;
    background: var(--accent-color);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.main-links a:hover {
    transform: translateY(-2px);
}

/* Members and projects layout */
.members, .projects {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.card {
    background: var(--secondary-background-color);
    padding: 0.5rem 0.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-weight: 600;
}

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

/* Member specific */
.member img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.project img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

footer {
    margin: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

footer a {
    color: var(--dimmed-text-color);
}

@media (max-width: 768px) {
    main {
        margin: 1rem 5%;
    }

    .member img {
        width: 48px;
        height: 48px;
    }

    .card {
        justify-content: flex-start;
    }
}
