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

body {
    background: linear-gradient(135deg, #030303 0%, #0f0e23 50%, #1a1a3e 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 18px;
    color: #aaa;
    letter-spacing: 0.0052em;
    animation: fadeIn 1s ease;
}

a {
    color: #a1a8f6;
    text-decoration: wavy underline 0.4px;
}

/* Navigation bar */
nav {
    background-color: rgba(70, 33, 117, 0.3);
    backdrop-filter: blur(25px);
    padding: 1rem 2rem;
    align-items: center;
    display: flex;
    margin: 0.5rem 1rem 0 1rem;
    border-radius: 12px;
    justify-content: space-between;
    position: sticky;
    top: 3%;
    color: white;
}

nav img {
    image-rendering: pixelated;
    width: 190px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li {
    border: 2px solid;

    border-color: rgba(169, 119, 234, 0.3);
    background-color: rgba(157, 86, 249, 0.1);
    border-radius: 0.2rem;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

nav li:hover {
    cursor: pointer;
    border-color: rgba(251, 255, 0, 0.6);
    background-color: rgba(196, 170, 230, 0.1);
}

nav ul a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.7rem 1rem;
}

/* Hero */
.hero {
    padding: 2rem 2rem;
    color: white;
    text-align: center;
    font-size: 24px;
    color: #fff;
}

.hero p {
    font-size: 1.25rem;
    color: #e0dede;
}

/* Cards */
.grid-setup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1.2rem;
    align-items: stretch;

}

.card {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    max-width: 75%;
    margin: auto;
    border-radius: 8px;
    border: 1px solid #333;
}

.card p {
    line-height: 1.6;
}

.mult-card {
    display: flex;
    background: #1a1a1a;
    gap: 1rem;
    padding: 2.2rem;
    margin: 0.5rem auto;
    border-radius: 8px;
    border: 1px solid #333;
    justify-content: space-between;
    align-items: flex-start;
}

.mult-card a:hover {
    cursor: pointer;
    border-color: rgba(251, 255, 0, 0.6);
    background-color: rgba(196, 170, 230, 0.1);
}

.mult-card h3 {
    line-height: 2rem;
}

.mult-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 2px solid;
    padding: 0.7rem 1rem;
    border-color: rgba(169, 119, 234, 0.3);
    background-color: rgba(157, 86, 249, 0.1);
    border-radius: 0.2rem;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* Viewport setup */
@media (max-width: 768px) {

    .card {
        max-width: 90%;
    }

    nav img {
        display: none;
    }

    nav ul {
        list-style: none;
        display: flex;
        gap: 1rem;

    }

    nav {
        position: static;
        justify-content: center;
    }

    .grid-setup {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .mult-card {
        margin: 1rem;
    }
}

/* Highlight colors! */

.hl_gold {
    color: gold;
    text-decoration: none;
}

.hl_white {
    color: #ffffff;
    text-decoration: none;
}

.hl_aqua {
    color: #4de1ff;
    text-decoration: none;
}

.hl_lightgreen {
    color: #55ff55;
    text-decoration: none;
}

.hl_yellow {
    color: #ffff55;
    text-decoration: none;
}

.hl_warning {
    color: #ff5555;
    text-decoration: underline;
}

.hl_purple {
    color: rgb(127, 53, 225);
    text-decoration: double;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}