:root { /* This is where I will define global variables, eg background, text colour etc. */
    --colour-header-bg: #667eea;
    --colour-content-bg: #eeeeee;
    --colour-tile-bg: #ffffff;

    --colour-text: #000;
    --colour-secondary-text: #888;

    --colour-link: #113;
    --colour-secondary-link: #778;
}

html {
    background-color: var(--colour-content-bg);
    font-family: sans-serif;
}

body {
    padding: 0;
    margin: 0;
}

.header {
    width: calc(100% - 60px);
    padding: 0 30px;
    margin: 0;
    background: linear-gradient(135deg, rgba(102,126,234,1) 0%, rgba(118,75,162,1) 100%);

    text-align: center;
    display: grid;

    grid-auto-flow: column;
    align-items: center;

    font-size: 1.3em;

    position: sticky;
    top: 0;
}

.headerlogo {
    max-width: 30vw;
    max-height: 150px;
}

.logolink {
    padding: 0;
    margin: 0;
}

.header h1 {
    vertical-align: middle;
    text-align: left;
}

.title {
    font-size: 4em;
    margin-bottom: 0;
    margin-top: 10px;
}

.subtitle {
    margin-top: 0;
}

.tau {
    font-size: 120px;
    margin: 0 50px 0 0;
    text-align: right !important;
}

.tauchar {
    height: 1em;
}

.container {
    padding: 0;
    display: grid;
}

.content {
    padding: 10px;
}

.tile {
    display: grid;
    grid-template: "header header-right" "subheader subheader-right" "gallery gallery" "footer footer";
    align-items: baseline;

    margin: 20px;
    padding: 10px;
    border-radius: 10px;
    background: var(--colour-tile-bg);
    width: calc(100vw - 60px);
    box-shadow: 0 0 10px #333;
}

.tile-header {
    grid-area: header;
    font-size: 2.2em;
}
.tile-header-right {
    grid-area: header-right;
    text-align: right;
}
.tile-subheader {grid-area: subheader;}
.tile-subheader-right {
    grid-area: subheader-right;
    text-align: right;
}
.tile-gallery {
    grid-area: gallery;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}
.tile-footer {
    grid-area: footer;
    padding: 20px 20px 10px 20px;
}

.tile-gallery-container {
    height: 300px;
    width: max-content;
    position: relative;
}

.tile-gallery-container img:first-child {margin-left: 0 !important;}
.tile-gallery-container img:last-child {margin-right: 0 !important;}

.tile-gallery-container img {
    height: 300px;
    display: inline-block;
    float: left;
    position: relative;
    margin: 0 10px;
}

.learn-more {
    background-color: rgba(102,126,234,1);
    border-radius: 5px;
    color: #ffffff;
    padding: 5px 15px;
}

.banner {
    background-color: white;
    box-shadow: 0 0 10px #333;
    padding: 1px 10px 10px 10px;
    margin: 20px 5px;
    border-radius: 10px;
    grid-gap: 10px;

    display: grid;
    grid-template-areas: "header header" "image mainarea" "footer footer";
    grid-auto-flow: column;
    grid-template-columns: min-content auto;
}

.banner-title {grid-area: header;}
.banner-right {grid-area: rightheader;}
.banner-image {
    grid-area: "image";
    max-width: 30vw;
}
.banner-content {
    grid-area: mainarea;
    display: block;
}
.banner-content-list {
    grid-area: mainarea;
    width: 100%;

    display: grid;
    grid-auto-flow: column;

    grid-gap: 10px;
}
.banner-footer {grid-area: footer;}

.banner-image-extended * {
    width: max-content;
    max-width: 30vw;
}

.banner-column img {
    max-width: 30vw;
}

.banner-gallery {
    display: flex;

    margin: 0;
    padding: 0;
    width: 100%;
}

.banner-gallery img {
    border-radius: 10px;
    box-shadow: 0 0 10px #333;
    margin: 5px;

    min-width: 100px;

    min-height: 200px;
    width: auto;

    flex-grow: 1;
    object-fit: cover;
}

@media only screen and (max-width: 800px) {
    .banner-gallery {
        flex-wrap: wrap;
    }
}

.secondlist {
    list-style-type: square;
    margin-left: -1em;
}
