@font-face {
    font-display: swap;
    font-family: 'ttnormsBlack';
    font-style: normal;
    font-weight: normal;
    src: url("../font/ttnorms-black.woff") format("woff");
    src: url('../font/ttnorms-black.otf') format('opentype');
}

body {
    background-color: #F8EC1C;
    background-image: url('../image/texture.png');
    background-position: top right;
    background-repeat: no-repeat;
    margin: 0;
    font-family: sans-serif;
}

body::after {
    -webkit-transform: rotate(180deg);
    background-image: url('../image/texture.png');
    background-position: top right;
    background-repeat: no-repeat;
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: fixed;
    transform: rotate(180deg);
    width: 100%;
    z-index: -1;
}

footer {
    background-color: #000000;
    color: #FFFFFF;
    font-size: 0.8rem;
    margin-top: 100px;
    padding: 50px 0;
    text-align: center;
}

footer a {
    color: #FBF7AA;
}

nav {
    background-color: #000000;
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 10px;
    text-align: right;
}

nav a {
    color: #FFFFFF;
    margin: 0 5px;
}

a {
    color: #004C7C;
    font-weight: 700;
}

h1 {
    font-family: 'ttnormsBlack';
    font-size: 3rem;
    font-style: normal;
    font-weight: normal;
    text-transform: uppercase;
}

h1 span {
    display: block;
}

h2 {
    font-family: 'ttnormsBlack';
    font-size: 2rem;
    text-transform: uppercase;
}

li {
    list-style-type: square;
}

sup {
    font-size: 0.74rem;
}

hr {
    border-style: dashed;
    border-width: 1;
    color: #000000;
}

picture {
    display: block;
}

figure {
    margin: 30px 15px;
}

figcaption {
    font-size: 0.8rem;
    font-weight: 500;
}

blockquote {
    background-color: rgba(255,255,255, 0.5);
    border-radius: 5px;
    font-style: oblique;
    margin: 10px 0;
    padding: 5px 10px;
}

.space-top-m {
    padding-top: 20px;
}

.space-side-s {
    padding-left: 20px;
    padding-right: 20px;
}

.container {
    margin: 0 auto;
    max-width: 768px;
}

.content {
    display: block;
    margin: 0 auto;
    max-width: 768px;
    min-height: calc(100vh - 408px);
    position: relative;
}

.content img {
    min-height: 200px;
    position: relative;
    width: 100%;
}

.center {
    text-align: center;
}

.stats {
    display: block;
    margin-left: auto;
    margin-right: 0;
    max-width: 70%;
    position: relative;
    right: 0;
}

.total {
    background-color: #000000;
    color: #FFFFFF;
    display: flex;
    display: inline-block;
    font-family: 'ttnormsBlack';
    font-size: 2rem;
    justify-content: center;
    margin-bottom: 5px;
    margin-left: 4%;
    margin-top: 0;
    padding: 5px 10px;
    width: 90%;
}

.total::before {
    border-bottom: 15px solid transparent;
    border-left: 25px solid #EC0C16;
    border-top: 15px solid transparent;
    content: "";
    height: 0;
    left: -3px;
    position: absolute;
    top: -3px;
    width: 0;
}

.cases-list {
    color: #000000;
    font-size: 1em;
}

.cases-list span {
    color: #EC0C16;
    font-weight: 700;
}

.license {
    display: block;
    margin-top: 20px;
}

.alt-color {
    color: #C4C4C4;
}

.references {
    padding-top: 30px;
}

.references li {
    font-size: 0.8rem;
    list-style-type: decimal;
    margin: 5px auto;
}

/* Responsive */
@media only screen and (min-width: 370px) {
    h1 {
        font-size: 3.5rem;
    }
}

@media only screen and (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }

    .stats {
        max-width: 40%;
    }

    .total {
        width: 100%;
    }
}
