/* =========================
   GLOBAL PAGE STYLING
========================= */

body {
    margin: 0;
    padding: 0;
    font-family: Georgia, "Times New Roman", serif;
    background-image: url("pagetexture.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2f1f0f;
}

/* =========================
   LAYOUT / COMPONENTS
========================= */

.portal { }
h1 { }
.subtitle { }
.nav a { }
.nav a:hover { }
.footer { }

/* =========================
   CURSOR SYSTEM (PUT THIS LAST)
========================= */

body {
    cursor: url("quillcursor.png") 4 28, auto;
}

a, button {
    cursor: url("quillcursor.png") 4 28, pointer;
}

a:hover, button:hover {
    cursor: url("quillhover.png") 4 28, pointer;
}

a:active, button:active {
    cursor: url("quillclick.png") 4 28, pointer;
}

.portal {
    text-align: center;
    padding: 40px 60px;
    background: rgba(255, 248, 220, 0.65);
    border: 3px solid #6b4b2a;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    max-width: 600px;
}

h1 {
    font-size: 3em;
    margin-top: 0;
    letter-spacing: 2px;
}

.subtitle {
    font-style: italic;
    margin-bottom: 30px;
}

.nav a {
    display: block;
    margin: 12px 0;
    padding: 10px;
    text-decoration: none;
    color: #3b2614;
    border: 2px solid #6b4b2a;
    background: rgba(255,255,255,0.5);
    transition: 0.3s;
    font-weight: bold;
}

.nav a:hover {
    background: #e6d3a3;
    transform: scale(1.05);
}

.footer {
    margin-top: 25px;
    font-size: 0.9em;
    opacity: 0.8;
}
/* =========================
   MOBILE PHONES
========================= */

@media (max-width: 600px) {

    body {
        padding: 20px;
        height: auto;
        align-items: flex-start;
    }

    .portal {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
    }

    h1 {
        font-size: 2em;
    }
    /* Logo animation image */
#logoAnim {
    max-width: 90%;      /* shrink on small screens */
    height: auto;        /* maintain aspect ratio */
    display: block;
    margin: 0 auto;      /* center horizontally */
}

    .subtitle {
        font-size: 0.95em;
    }

    .nav a {
        padding: 14px;
        font-size: 1.1em;
    }
}