:root {
    --white: #FFF;
    --yellow: #ffd900;
    --funi-red-light: #AA0000;
    --funi-red-dark: #880000;
    --funi-grey-light: #666666;
    --funi-grey-dark: #222222;

    --font-size-s: 0.75rem;
    --font-size-m: 1rem;
    --font-size-l: 1.2rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
}

@font-face {
    font-family: "falcons";
    src: url('./FalconsFont.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

html {
    background-image: linear-gradient(to bottom, var(--funi-grey-light), var(--funi-grey-dark));
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    line-height: calc(var(--font-size-m)*1.2);
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;

    margin: 0;
}

h1 {
    margin: 0;
    margin-bottom: var(--font-size-xl);
    font-size: var(--font-size-xl);
    line-height: calc(var(--font-size-xl)*1.2);
}

h1 strong {
    font-size: var(--font-size-xxl);
    color: var(--funi-red-light);
}

h1 strong::before {
    content: "\a";
    white-space: pre;
}

h2 {
    font-size: var(--font-size-l);
    margin: 0;
    margin-bottom: var(--font-size-l);
}

h3 {
    font-size: var(--font-size-m);
    line-height: calc(var(--font-size-m)*1.3);
    margin: 0;
}

p {
    margin: 0;
    margin-bottom: var(--font-size-m);
}

header, footer {
    padding: 1em;
    text-align: center;
    background-color: var(--funi-red-light);
    color: var(--white);
}

header {
    border-bottom: solid 1px var(--funi-red-dark);
    padding-bottom: 1.1rem;
    box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

footer {
    border-top: solid 1px var(--funi-red-dark);
}

header a {
    margin: 0;

    color: var(--white);
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-family: 'Falcons';
    text-align: center;
    letter-spacing: -2px;
    -webkit-text-stroke: 1px black;
    
    text-shadow: 0rem 0.5rem 0.5rem rgba(0, 0, 0, 0.5);
}

footer img {
    height: 7.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0rem 0.75rem 0.75rem rgba(0, 0, 0, 0.5));
}

footer p {
    font-size: var(--font-size-s);
    margin-bottom: 0;
}

.card {
    margin: 1rem 1rem;
    max-width: 95%;
    max-height: 100%;
    padding: 2rem;
    background-color: rgba(100%, 100%, 100%, 0.95);
    text-align: center;
    box-shadow: 0rem 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.card h2 {
    text-decoration: underline;
}

.card section {
    text-align: left;
}

#title {
    transform: perspective(10rem) rotateX(10deg);
}

@media only screen and (min-width: 425px) {    
    .card {
        margin: 1rem auto 1.25rem;
        max-width: 75%;
    }

    #title {
        max-width: 50%;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 768px) {
    header a {
        -webkit-text-stroke: 0.5px black;
    }

    .card {
        margin: 2rem auto 2.5rem;
        max-width: 50%;
    }
}
