@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400&display=swap");

:root {
    font-size: 1vw;
    --header-height: 8rem;
    --colour-link: #00bbff;
    --inner-container-width: 30%;
    --body-container-width: 50%;
    --wide-body-container-width: 70%;
}

* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background: black;
    color: white;
    font-family: "Merriweather", serif;
}

p {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-family: sans-serif;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
}

footer {
    font-family: sans-serif;
    margin-top: 3rem;
}

video {
    width: 100%;
}

.dot-leader-table {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.dot-leader-table-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 0.5rem;
}

.dot-leader {
    height: 50%;
    border-bottom: dotted 2px grey;
}

.dot-leader-table-right {
    text-align: right;
}

.link {
    color: var(--colour-link);
}

.x-large-font {
    font-size: 2rem;
}

.large-font {
    font-size: 1.5rem;
}

.medium-font {
    font-size: 1.4rem;
}

.two-columns {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.two-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
}

.body-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2.5rem;
}

.clean-button {
    display: block;
    line-height: 3em;
    width: 10em;
    text-align: center;
    border: 1px solid white;
    border-radius: 0.5rem;
    font-size: 0.8em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    transition: border-radius 100ms;
}

.clean-button:hover {
    border-radius: 0;
}

.align-right {
    text-align: right;
}

.float-right {
    float: right;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(6, auto);
    font-weight: 700;
    line-height: 8rem;
    font-size: 0.8rem;
}

.footer-inner .logo {
    text-align: right;
    font-size: 1.6rem;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    line-height: 2rem;
}

.logo {
    font-size: 2rem;
    font-family: "Merriweather", serif;
}

.inner-container {
    display: block;
    width: var(--inner-container-width);
    margin: auto;
}

.body-container {
    display: block;
    width: var(--body-container-width);
    margin: auto;
}

.wide-body-container {
    display: block;
    width: var(--wide-body-container-width);
    margin: auto;
}

#body {
    margin-top: calc(var(--header-height) + 3rem);
}

.body-footer {
    text-align: center;
    border-left: 1px solid white;
    border-right: 1px solid white;
    padding: 2rem;
    margin-top: 3rem;
}

.body-header {
    text-align: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 2rem;
    margin-bottom: 3rem;
}

.body-sub-header {
    text-align: center;
    border-left: 1px solid white;
    border-right: 1px solid white;
    padding: 2rem;
    margin-bottom: 3rem;
}

.body-header h2 {
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 0;
}

.page-listing h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    text-align: center;
    background: black;
    z-index: 1;
}

#header-top .logo {
    line-height: calc(var(--header-height) * 0.6);
}

#header-bottom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

#header-bottom a {
    font-family: sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: calc(var(--header-height) * 0.4);
    outline: 0.2rem solid transparent;
    transition: outline 200ms;
}

#header-bottom a:hover {
    outline: 0.2rem solid white;
}

.image {
    display: block;
    width: 100%;
}

.vertical-margins {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.vertical-margins h3 {
    text-align: right;
}

.paragraph {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.star-row {
    display: block;
    margin: 4rem auto;
    width: fit-content;
}

.star {
    width: 1.6rem;
    margin: 0 2rem;
}

.double-margin-top {
    margin-top: 2em;
}

.margin-top {
    margin-top: 1em;
}

.homepage-image {
    width: 10vw;
}

.content-box {
    border: 1px solid white;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 720px) {
    :root {
        font-size: 2.5vw;
        --inner-container-width: 60%;
        --body-container-width: 90%;
        --wide-body-container-width: 80%;
    }
}
