*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --color-base: #f8f1df;
    --color-1: #45afff;
    --color-2: #3d8fff;
    --color-3: #18d0e0;
    --color-4: #9168f5;
    --color-5: #2a0e4d;
    --color-dark: #443f53;
    --color-highlight-1: #aeff77;
    --color-highlight-2: #c977ff;
    --color-red: #c53333;

    --font-size-large: max(1.8vh, 1.5vw);
    --font-size-small: max(1.2vh, 1vw);
}

@font-face {
    font-family: "Fraunces";
    src: url("fonts/Fraunces-VariableFont_SOFT\,WONK\,opsz\,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.watercolor-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Paper Color */
.watercolor-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background-color: var(--color-base);
    opacity: 0.7;
}

/* Paper Texture */
.watercolor-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;

    background-image: url("assets/Texturelabs_Paper_336M__indexed.png");
    filter: blur(1px);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100svh;
    color: var(--color-dark);
    font-family: "Fraunces", Georgia, serif;
    overflow: hidden;
}

header {
    height: 64px;
    width: 100vw;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    padding: 8px 8px;
}

a {
    color: var(--color-dark);
    text-decoration: none;
}

a:link {
    color: var(--color-dark);
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: var(--color-dark);
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: var(--color-dark);
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: var(--color-dark);
    background-color: transparent;
    text-decoration: underline;
}

.header-title a:hover {
    text-decoration: underline;
}

.back-to-previous-page {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 8px;
}

.back-to-previous-page a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: var(--font-size-small);
    filter: drop-shadow(1px 1px 1px var(--color-2));
}

.back-to-previous-page a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100vw;
    min-height: 0;
    z-index: 1;

    padding: 0 8px;
}

footer {
    display: flex;
    align-items: center;
    height: 32px;
    width: 100vw;
    z-index: 1;

    padding: 0 8px;
    font-weight: 700;
    font-size: var(--font-size-small);

    position: relative;
}

footer a {
    color: inherit;
}

h1 {
    text-shadow: 1px 1px 2px var(--color-4);
    opacity: 0.9;
}

.arrow-footer {
    position: absolute;
    top: max(-8vw, -10vh);
    left: 1vw;
    transform: rotate(-201deg) scale(-1, -1);
}

.arrow-footer-img {
    width: 4vw;
    height: 4vw;
}

.arrow-footer-label {
    text-transform: lowercase;
    font-weight: 700;
    font-size: var(--font-size-small);
    transform: scale(1, 1) translateX(3vw);
    filter: drop-shadow(1px 1px 2px white);
}
