@font-face {
    font-family: "Lexend";
    src: url(fonts/Lexend/Lexend-VariableFont_wght.ttf);
}

@font-face {
    font-family: "Fustat";
    src: url(fonts/Fustat/Fustat-VariableFont_wght.ttf);
}

@font-face {
    font-family: "Space Mono";
    src: url(fonts/Space\ Mono/SpaceMono-Regular.ttf);
}

body {
    padding: 3%;
    background-image: url("img/card background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Lexend, sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Fustat, sans-serif;
}

h1 {
    text-align: center;
}

a {
    color: #89b4fa;
}

/* For the card image */
.card-front {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-front img {
    width: 40%;
    min-width: 20em;
}

.card {
    font-size: 1.15em;
    padding: 20px 30px;
    border-color: #cc41c7;
    border-width: 12px;
    border-style: solid;
    border-radius: 10px;
    background-color: #0c080c;
    color: #e9b4ee;
    margin: 10px 0%;
}

.card img {
    display: flex;
    margin: auto;
    max-width: 100%;
}

img.signature {
    width: 10%;
}

.deadline {
    font-family: "Space Mono", monospace;
}

/* "Subheading 1", for use with an h2 */
.sh1 {
    text-align: center;
}

/* Navigation buttons at the bottom of the page */
.nav {
    display: flex;
    justify-content: space-between;
}

.nav .card {
    border-width: 6px;
    text-decoration: none;
    text-align: center;
    max-width: 25%;
}

.nav .card:hover {
    background-color: #2a1227;
}

.start {
    justify-content: end;
}

.tangent {
    justify-content: center;
}

.end {
    justify-content: start;
}