* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Courier New', monospace;
    background: #111;
    color: #fff;
}

/* =========================
   HOMEPAGE
   ========================= */

.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home {
    flex: 1;
    position: relative;
    min-height: 0;
}

/* Website name */

.site-name {
    position: absolute;

    top: 28%;
    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;

    width: 100%;

    text-align: center;

    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.15em;
}

/* Navigation */

.home-nav {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 2.5rem;

    width: 100%;
}

.home-nav a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 220px;
    height: 90px;

    border: 1px solid #555;

    background: #111;

    color: #fff;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.12em;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.home-nav a:hover {
    background: #222;
    border-color: #fff;
}

/* Footer */

footer {
    flex-shrink: 0;

    padding: 1.5rem 2rem;

    text-align: center;

    color: #666;

    font-size: 0.8rem;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .site-name {
        top: 25%;
    }

    .home-nav {
        top: 60%;

        flex-direction: column;

        width: 100%;

        gap: 1rem;
    }

    .home-nav a {
        width: min(320px, 80vw);
        height: 75px;
    }
}