/* dx.neocities.org - Aero 404 */

* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
    padding: 40px 20px;

    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: #172c3d;

    /* Replace with your site's normal Aero background image if you have one */
    background:
        linear-gradient(
            to bottom,
            #75c9f1 0%,
            #b8edff 42%,
            #8ed66c 43%,
            #46a94e 100%
        );

    background-attachment: fixed;
}

/* Glass window */
main {
    position: relative;
    overflow: hidden;

    width: min(700px, 100%);
    margin: 100px auto;
    padding: 38px 42px;

    background: rgba(235, 250, 255, 0.58);

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;

    box-shadow:
        0 0 0 1px rgba(20, 70, 100, 0.25),
        0 10px 28px rgba(0, 40, 80, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(80, 150, 190, 0.25);

    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
}

/* Extremely important and extremely 2009:
   THE SHINY STRIPE */
main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.08)
    );

    pointer-events: none;
}

/* Keep text above the shine */
main > * {
    position: relative;
    z-index: 1;
}

h1 {
    margin: 0 0 18px;

    font-size: clamp(2.6rem, 8vw, 4.4rem);
    font-weight: 600;
    letter-spacing: -2px;

    color: #173b55;

    text-shadow:
        0 1px 0 white,
        0 2px 4px rgba(0, 60, 100, 0.25);
}

p {
    margin: 0;

    font-size: 1.3rem;
    line-height: 1.6;

    color: #263f50;

    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

a {
    color: #0066b3;
    text-decoration: none;
}

a:hover {
    color: #009cff;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    body {
        padding: 20px 14px;
    }

    main {
        margin: 55px auto;
        padding: 28px 25px;
        border-radius: 10px;
    }

    p {
        font-size: 1.1rem;
    }
}