

/* put all styling colors here */
:root {
    --dark: #564154;
    --light: #ffe4fc;
    --navbar: #2b202a;
    --shadow: #0000004b;
}

body {
    overflow-y:auto;
    margin: 0;
    height: 100vh;
    background: fixed linear-gradient(173deg, var(--dark) 30%, #b385ad 30.1%, var(--light) 31%);
}

.container {
    max-width: 1024px;
    min-height: 100vh;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#main {
    min-height: 50vh;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow) 2px 2px 2px;
    position: relative;
    padding: 1rem;
    box-sizing: border-box;
}

.article-header {
    font-size: 3rem;
    position: absolute;
    top: -3.5rem;
    font-variant-caps: small-caps;
    color: var(--light);
    text-shadow: var(--shadow) 2px 2px 2px;
    gap: 1rem;
    box-sizing: border-box;
}

.line {
    background-color: var(--light);
    height: 2px;
    flex-grow: 1;
}

#footer {
    height: 5vh;
    width: 100%;
    background: blue;
}

/* navbar */

#header {
    background: var(--navbar);
    height: 2rem;    color: var(--dark);
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 1rem;
    box-sizing: content-box;
    box-shadow: var(--shadow) 2px 2px 2px;
    border-radius: 0 0 1rem 1rem;

    a {
        color: var(--light);
    }

    a:hover {
        color: hotpink;
    }

}

a.last {
    float: right;
}

a.last::after {
        content: " ↝";
    }

/* mobile adjust */
@media(max-width: 1024px) {
    #main {
        border-radius: 0;
    }

    #header {
        border-radius: 0;
    }
}