/* This CSS page is for CSS that can be used on any part of the webbpage */
:root[data-theme="light"] {
    --text: #0a1517;
    --bg-1: #f7fbfc;
    --bg-2: #d1d6d9;
    --primary: #59a7b9;
    --secondary: #d59ab5;
    --accent: #c8977d;
}
:root[data-theme="dark"] {
    --text: #eaf4f6;
    --bg-1: #030607;
    --bg-2: #393a3a;
    --primary: #4594a5;
    --secondary: #652a44;
    --accent: #815136;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-1);
    color: var(--text);
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
    min-height: 100vh;
    height: fit-content;
    
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow-x: hidden;
    overflow-y: auto;

}

/* Header */
header {
    background-color: var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px; /*5*/
    z-index: 10;
}

/* Main */
main {
    background-color: var(--bg-2);
    width: 60rem;
    height: fit-content;
    margin: 3rem;
    padding: 4rem;
}
@media (width <= 80rem) {
    main {
        width: calc(100% - 14rem);
    }
}

/* Text styling */
h1 {
    font-size: 3rem;
}
p {
    font-size: 1.3rem;
}
span.highlight {
    filter: drop-shadow(1px 1px 1px var(--accent));
}