:root
{
    --page-width: 1024px;
    --page-background-colour: rgb(255, 255, 255);
    --menu-bar-background-colour: rgb(243, 243, 243);

    --header-height: 40px;
    --header-font-size: 15px;
    --article-font-size: 30px;

    --page-section-background-colour-start: white;
    --page-section-background-colour-end: rgb(248, 248, 248);
    
    --link-colour: #289eff;
    --text-colour: rgb(45, 45, 45);
}

*
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0px;
    padding: 0px;
    background-color: var(--page-background-colour);
    color: var(--text-colour);
    font-family: 'Roboto', sans-serif;
}

#MainSection
{
    background-color: var(--page-background-colour);
}

#MainSection > .PageSection
{
    height: calc(100vh - var(--header-height));
    padding: 100px;
    padding-left: 20%;
    padding-right: 20%;
    font-size: var(--article-font-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: calc(2*var(--article-font-size));
    opacity: 0;
}

#MainSection > .PageSection p
{
    font-weight: 100;
}

#MainSection > .PageSection strong
{
    font-weight: normal;
}

#MainSection > .PageSection a
{
    color: var(--link-colour);
    text-decoration: none;
}

#MainSection > .PageSection a:hover
{
    text-decoration: underline;
}

#MainSection > .PageSection
{
    background: linear-gradient(135deg, var(--page-section-background-colour-start) 0%, var(--page-section-background-colour-end) 100%);
}

/* LATEX */
.latex sub, .latex sup
{
    text-transform: uppercase;
}

.latex sub
{
    vertical-align: -0.5ex;
    margin-left: -0.1667em;
    margin-right: -0.125em;
}

.latex, .latex sub
{
    font-size: 1em;
}

.latex sup
{
    font-size: 0.85em;
    vertical-align: 0.15em;
    margin-left: -0.36em;
    margin-right: -0.15em;
}