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

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: #000000;
}

body {
    font-family: "Times New Roman", Times, serif;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background: #000000;
    color: white;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 5%;
    background: #000000;
}

header h2 {
    color: #22c55e;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: 90vh;
    min-height: 90dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 16px;
    background: #000000;
    overflow: hidden;
}

.hero h1 {
    font-family: "Times New Roman", Times, serif;
    color: #22c55e;
    user-select: none;
    -webkit-user-select: none;
    font-weight: 700;
    font-size: clamp(1.5rem, 7vw, 4rem);
    line-height: 1.1;
    white-space: nowrap;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================================
   WORD LINKS
   ========================================================= */
.word-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.word-link:link,
.word-link:visited,
.word-link:hover,
.word-link:active {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   LETTERS
   ========================================================= */
.hero h1 .letter {
    display: inline-block;
    font-size: inherit;
    cursor: pointer;
    transition:
        color 0.12s ease,
        transform 0.12s ease,
        text-shadow 0.12s ease;
}

.space {
    display: inline-block;
    width: 0.25em;
}

.hero h1 .letter.active {
    color: #baffba;
    transform: scale(1.18);
    position: relative;
    z-index: 2;
    text-shadow:
        0 0 4px #baffba,
        0 0 8px #baffba,
        0 0 16px #baffba,
        0 0 32px #22c55e,
        0 0 50px #22c55e;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.features {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 20px;
    width: 100%;
    padding: 80px 10%;
    background: #000000;
}

.card {
    width: 100%;
    background: #000000;
    padding: 25px;
    border: 1px solid #166534;
    border-radius: 0;
    color: white;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    border-color: #22c55e;
    box-shadow:
        0 0 5px #22c55e,
        0 0 15px rgba(34, 197, 94, 0.25);
}

/* =========================================================
   HOME LINK
   ========================================================= */
.home-link {
    color: #22c55e;
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.5rem;
    font-weight: 700;
    transition:
        color 0.15s ease,
        text-shadow 0.15s ease,
        transform 0.15s ease;
}

.home-link:visited {
    color: #22c55e;
}

.home-link:hover {
    color: #baffba;
    text-shadow:
        0 0 4px #baffba,
        0 0 8px #baffba,
        0 0 16px #baffba,
        0 0 32px #22c55e,
        0 0 50px #22c55e;
    transform: scale(1.08);
}

.subpage-main {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.subpage-main h1 {
    color: #22c55e;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background: #000000;
    .footer-link {
    color: #22c55e;
    text-decoration: none;
    font-size: inherit;
}

.footer-link:visited {
    color: #22c55e;
}

.footer-link:hover {
    color: #baffba;
    text-shadow:
        0 0 4px #baffba,
        0 0 8px #baffba,
        0 0 16px #baffba,
        0 0 32px #22c55e;
}

}