/*----------------GENERAL----------------*/
:root {
    --color-background: rgba(0, 0, 0, 0.9);
    --color-text: rgba(255, 255, 255, 0.8);
    --color-button: rgba(255, 255, 255, 0.1);
    --color-select: rgba(255, 255, 255, 0.2);
}
body {
    background: rgba(0, 0, 0, 0.9);
    font-family: "Comfortaa", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--color-text);
}
h1 {
    font-size: 30px;
    font-weight: 300;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
h2 {
    font-size: 24px;
    font-weight: 300;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.3;
}
h3 {
    font-size: 18px;
    font-weight: 400;
    margin-top: 1em;
    margin-bottom: 0.35em;
    line-height: 1.3;
}
h4 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 1.5em;
    margin-bottom: 0.25em;
    line-height: 1.3;
}
h5 {
    font-size: 12px;
    font-weight: 700;
}
h6 {
    font-size: 11px;
    font-weight: 700;
}
p {
    margin-top: 0;
    margin-bottom: 10px;
}
a {
    text-decoration: none;
    color: var(--color-text);
}
hr {
    margin: 24px 48px;
    height: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d9d9d9;
}
hr::after {
    content: "";
    display: table;
    clear: both;
}
::selection {
    background-color: var(--color-select);
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-background);
}
::-webkit-scrollbar-thumb {
    background: var(--color-button);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-select);
}
@media (min-width: 544px) {
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 18px;
    }
}
@media (min-width: 768px) {
    hr {
        margin: 36px 72px;
    }
}
@media (min-width: 992px) {
    hr {
        margin: 48px 72px;
    }
}
@media (min-width: 1200px) {
    hr {
        margin: 72px 72px;
    }
}

/*----------------CONTAINERS----------------*/
.page-section {
    padding: 12px;
    background: var(--color-background);
}
.page-section-spacious {
    padding: 24px;
    background: var(--color-background);
}
.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 980px;
}
.container-narrow {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 800px;
}
.page-section .container > *:first-child, .page-section .container-narrow > *:first-child {
    margin-top: 0;
}
.container::after {
    content: "";
    display: table;
    clear: both;
}
.container-narrow::after {
    content: "";
    display: table;
    clear: both;
}
@media (min-width: 544px) {
    .page-section {
        padding: 24px;
    }
    .container {
        max-width: 576px;
    }
}
@media (min-width: 768px) {
    .page-section {
        padding: 36px;
    }
    .page-section-spacious {
        padding: 48px;
    }
    .container {
        max-width: 800px;
    }
    .container-narrow {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 992px) {
    .page-section {
        padding: 48px;
    }
    .page-section-spacious {
        padding: 72px;
    }
    .container {
        max-width: 980px;
    }
}
@media (min-width: 1300px) {
    .page-section {
        padding: 48px;
    }
    .page-section-spacious {
        padding: 96px;
    }
    .container {
        max-width: 1260px;
    }
}

/*----------------SPLASH----------------*/
.splash {
    padding: 12px 0;
    box-sizing: border-box;
    height: 100vh;
    display: grid;
    grid-template-areas:
            "."
            "title"
            "img"
            "nav"
            "."
            "sc"
            "."
            ".";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr min-content min-content min-content 50px min-content 68px 1fr;
    justify-items: center;
    align-items: center;
}
.splash-img {
    grid-area: img;
}
.splash-img img {
    width: 100%;
    height: auto;
    opacity: 0.9;
}
.splash-title {
    grid-area: title;
    font-size: 128px;
    font-weight: 300;
    text-align: center;
    align-self: end;
}
.splash-nav {
    grid-area: nav;
    font-size: 32px;
    padding: 0 30px;
    text-align: center;
    align-self: start;
}
.splash-sc {
    grid-area: sc;
    width: 450px;
    height: 142px;
}
.splash-sc-bg {
    position: absolute;
    width: 450px;
    height: 140px;
    z-index: -1;
    overflow: hidden;

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

    font-size: 52px;
    color: rgba(255, 255, 255, 0.02);
    /*background-color: rgba(255, 255, 255, 0.02);*/
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.02);
    box-sizing: border-box;
    border-radius: 8px;
}
@media (min-width: 544px) {
    .splash {
        padding: 24px 0;
    }
}
@media (min-width: 768px) {
    .splash {
        padding: 36px 0;
    }
}
@media (min-width: 992px) {
    .splash {
        padding: 48px 0;

        grid-template-areas:
                "img    ."
                "img    title"
                "img    nav"
                "img    ."
                "img    sc"
                "img    ."
                "img    .";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr min-content min-content 50px min-content 68px 1fr;
    }
}
@media (min-width: 1300px) {
    .splash {
        padding: 48px 0;

        grid-template-areas:
                "img    ."
                "img    title"
                "img    nav"
                "img    ."
                "img    sc"
                "img    ."
                "img    .";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr min-content min-content 50px min-content 68px 1fr;
    }
}

/*----------------TOOLS----------------*/
.video {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    background-color: #000;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.center-item {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.center-text {
    text-align: center;
}