/**
 * @package ogre-suspension
 * @author cleverogre
 * @version 1.0.0
 * @since 1.0.0
 */

:root {
    --color--orange: #f89a31;
    --color--green: #c2e3e1;
    --color--yellow: #f7ec76;

    --font-family--sans-serif: 'Passion One', 'Open Sans', Arial, Helvetica, sans-serif;
    --font-family--serif: 'Roboto Slab', Georgia, Times, "Time New Roman", serif;
}

* {
    outline: none;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    min-height: 100%;

    font-family: var(--font-family--serif);
    font-size: 24px;
    line-height: 2;
    font-weight: 500;
    font-style: normal;
    text-align: left;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    display: block;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 1rem;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

body {
    margin: 0;
    min-height: 100%;
    padding: 4rem 2rem;

    background-color: #000;
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-position: center, center, top center;
    background-size: 100% auto, 100% 100%, 100% auto;
    background-image: url(texture.png), linear-gradient(to bottom, transparent 0%, #000 100%), url(bg.jpg);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    width: 1140px;
    max-width: 100%;
    margin: auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, .75);
}
main > *:first-child {
    margin-block-start: 0;
}
main > *:last-child {
    margin-block-end: 0;
}

:where(h1, h2, h3, h4, h5, h6) {
    margin: 1em auto;
    width: 100%;
    font-weight: bold;
    font-style: normal;
    line-height: 1.5;
    font-family: var(--font-family--serif);
}

:where(h1, h2) {
    max-width: 940px;
}

h1 {
    font-size: 2em;
    margin-bottom: .5em;
}
h1 + p {
    text-align: center;
    font-weight: bold;
}

h2 {
    font-size: 1.5em;
}

:where(h3, h4, h5) {
    font-weight: normal;
}

h3 {
    font-family: var(--font-family--sans-serif);
    font-size: 2em;
    line-height: 1;
    font-weight: normal;
    color: var(--color--orange);
    text-align: center;
    margin-block-end: .75em;
}

h4 {
    font-size: 1em;
    line-height: 1.25;
}

h5 {
    font-size: .9em;
    color: var(--color--orange);
}

p {
    display: block;
    width: 100%;
    height: auto;
    margin: .6em auto;
    padding: 0;
    color: inherit;
}

img {
    display: block;
    width: auto;
    height: auto;
    float: none;
    max-width: 100%;
    margin-inline: auto;
}

figure {
    width: 100%;
    max-width: 940px;
    padding-block-end: 1.5rem;
    margin: 0 auto 1rem;
    border-bottom: .4em solid rgba(248, 154, 49, .3);
}

a {
    display: inline;
    background: transparent;
    text-decoration: none;
    font-weight: inherit;
    color: var(--color--orange);
}
a:hover {
    color: var(--color--green);
}
a:active {
    color: var(--color--yellow);
}
a:hover,
a:active {
    box-shadow: 0 .08em 0 currentColor;
    outline: 0;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        background-image: none;
    }
    main {
        padding-inline: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 16px;
    }
}
