@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@200;300;400;500;700;900&display=swap');

:root {
    --font-body: 'Roboto', sans-serif;
    --colour-background: #1F3C57;
    --colour-primary: #305D87;
}

*:focus {
    outline: none !important;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    font-size: 1.15em;
}
body > div#page {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    background: var(--colour-background);
    color: white;
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
}
a:visited {
    color: inherit;
}
section a:not(.button) {
    text-decoration: underline;
}
a.button {
    display: inline-block;
    background: var(--colour-background);
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
}

p {
    margin: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0px max(0px, calc(50vw - 700px));
    height: 100px;
    z-index: 10;
    transition: all .2s ease;
}
header.condensed {
    height: 60px;
    background: var(--colour-background);
}
header #logo {
    font-weight: 700;
    font-size: 1.5em;
}
header nav {
    margin-left: auto;
}
header nav a:not(:last-child) {
    margin-right: 25px;
}

section {
    padding: 75px max(0px, calc(50vw - 700px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/section-background.svg');
}
section.invert {
    background-image: url('../img/section-background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
section.hero {
    min-height: 30vh;
    padding-top: 125px;
    position: relative;
}
section.hero #particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
section.hero img {
    max-height: 450px;
    position: relative;
    z-index: 50;
}
section .section-title {
    position: relative;
    font-weight: 300;
    margin-bottom: 50px;
    font-size: 2.5em;
    text-transform: uppercase;
}

.article-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.article-container > div {
    width: 50%;
    box-sizing: border-box;
    padding: 25px;
}

hr {
    width: 100%;
    height: 2px;
    border: none;
    background: rgba(0, 0, 0, .25);
    margin: 75px 0;
}

.invert {
    background-color: white !important;
    color: black !important;
}
.nobackground {
    background-image: none !important;
}

.vertical-center {
    display: flex;
    align-items: center;
}
.horizontal-right {
    display: flex;
    justify-content: flex-end;
}

.item-container {
    background: white;
    box-sizing: border-box;
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, .1);
    border-left: 1px solid rgba(0, 0, 0, .1);
    border-right: 1px solid rgba(0, 0, 0, .1);
    border-bottom: 4px solid var(--colour-primary);
    font-size: .95em;
}
ul.item-container {
    padding-left: 50px;
}

h4 {
    font-size: 24px;
}
h4.alt {
    display: inline-block;
    font-size: 22px;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
}
h5 {
    font-size: 22px;
}
h6 {
    font-size: 18px;
    margin-bottom: 5px;
}

.glide__slides {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.glide__slides .partner-institution {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 15px;
}
.glide__slides .partner-institution > img {
    height: 75px;
}

.contact-link {
    display: inline-block;
    font-size: 0px;
    width: 32px;
    height: 12px;
    background-image: url('../img/link.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 10px;
    margin-right: 10px;
}

label {
    display: block;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 16px;
    opacity: .75;
    font-weight: 300;
}
input[type=text], input[type=email], textarea {
    background: transparent;
    font-family: var(--font-body);
    border: 2px solid white;
    display: block;
    width: 100%;
    padding: 15px;
    color: white;
    font-size: 1em;
}
input[type=submit] {
    border: none;
    font-size: 1em;
    color: black;
    background: white;
    border-radius: 5px;
    padding: 8px 10px;
    margin-top: 12px;
}