* {
    /* outline: 1px solid #000000; */
    font-family: Lato, Arial, sans-serif;
}
@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('./fonts/Lato-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #eef6ff;
    max-width: 100vw;
}
/* TODO: improve the semantic mess in the header. */
header, footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #094187;
    padding: 20px;
}
header *, footer * {
    color: #ffffff;
}
header > a, footer p {
    margin: 0px 20px;
    text-decoration: none;
}
header h1 {
    margin: 0;
}
h1, h2 {
    text-align: center;
}
p a {
    color: #195197;
    text-decoration: none;
}
p a:hover {
    text-decoration: underline;
}
p a:active {
    color: #975119;
}
nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0px 20px;
    gap: 0px 30px;
}
nav a {
    font-weight: bold;
    text-decoration: none;
    font-size: large;
    display: flex;
    align-items: center;
}
.splash-text {
    margin: 20px;
}
.splash-title {
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    margin: 5px;
}
.splash-subtitle {
    font-size: x-large;
    /* font-weight: bold; */
    text-align: center;
    color: #00000055;
    margin: 5px;
}
.portrait {
    display: block;
    margin: 20px auto;
    border-radius: 30px;
    box-shadow: 0 0 20px #00000040;
}
section {
    margin: 30px auto;
    padding: 20px;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 0 10px #00000020;
}
section h1, section h2 {
    color: #094187;
}
section > * {
    margin: 20px;
}
canvas {
    border: 1px solid #000000;
    background-color: #ffffff;
    padding: 0;
    margin: 30px auto;
    display: block;
}
.high-header h2 {
    margin: 30px auto -20px auto;
    color: #094187;
}
.content {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
}
.image-row {
    display: flex;
    justify-content: left;
    align-items: baseline;
}
.about-list {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 10px;
    margin: 20px;
    padding: 0px 10px;
}
.about-list-item {
    display: flex;
    align-items: center;
    height: 50px;
    gap: 20px;
}
.about-list-item .icon-container {
    margin: 0px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.project-row {
    display: flex;
    justify-content: left;
    align-items: top;
    gap: 25px;
    flex-wrap: wrap;
}
.project {
    flex: 1 0 auto;
    min-width: 200px;
    max-width: 400px;
    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 10px;
    box-shadow: 0 0 20px #00000040;
    background-image: url("images/map2.jpg");

    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
}
.project:hover {
    box-shadow: 0 0 20px #00000080;
}
.project > * {
    margin: 5px;
}
.joke {
    margin: 20px;
}
/* Jeremy */
.jeremy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.jeremy-function {
    text-align: center;
}
/* End of Jeremy */
