/* Basic reset */
* {
    margin: 0;
    padding: 0;
    font-weight: inherit;
}

/* Color schema */
:root {
    --bg-color-primary: #171717;
    --bg-color-secondary: #d1664e;
    --color-primary: #fff;
    --color-secondary: #68d1ff;
    --header-indent-small: 2rem;
    --header-indent-medium: 3rem;
    --header-indent-large: 6rem;
    --content-indent-small: 2rem;
    --content-indent-medium: 3rem;
    --content-indent-large: 6rem;
    --header-shadow: 0px 5px 10px rgba(6, 6, 6, 0.4);
    --section-title-shadow: 6px 8px #84311f;
}

body {
    background-color: var(--bg-color-primary);
    font-family: "Open Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 300;
}

/* Headers */
h1 {
    color: var(--color-primary);
    font-size: 3.5em;
}

h2 {
    color: var(--color-secondary);
    font-size: 2em;
}

h3 {
    color: var(--color-primary);
    font-size: 1em;
}

h4 {
    color: #cbcbcb;
    font-size: 1em;
    font-weight: bold;
}

/* Hyperlinks */
a {
    font-size: 1em;
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary);
}

a,
a:visited {
    color: var(--color-primary);
}

a:hover {
    color: var(--color-primary);
}

/* Paragraphs */
p {
    font-size: 1em;
    margin: 10px 0;
}

/* Lists */
ul {
    list-style: square;
}

i svg {
    display: inline;
    fill: white;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

/* Badges */
.badge {
    margin: 10px 10px 10px 0;
    padding: 3px 10px;
    border: 1px solid var(--color-secondary);
    font-size: 0.8em;
    letter-spacing: 1pt;
    display: inline-block;
}

/* Page container */

.page-container {
    max-width: 70%;
    margin: 0 auto;
    border-radius: 5px;
    padding: 40px 0;
}

article {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

/* Brand */
.brand {
    font-weight: 400;
}

.brand a,
.brand a:hover,
.brand a:visited {
    text-decoration: none;
    border: 0;
    color: var(--color-primary);
}

/* Sections */
section {
    margin: 1em 0;
}

/* Section title */
.section-title {
    background-color: var(--bg-color-secondary);
    padding: 6px 0 6px var(--content-indent-small);
    font-weight: 400;
    box-shadow: var(--section-title-shadow);
    margin: 0 var(--content-indent-small) 2.5em 0;
}

/* Section: intro */
.intro .title {
    margin: 0 0 1.5rem 0;
}

.intro .subtitle {
    margin: 0 0 1em 0;
}

/* Section: info links */
.info-links p {
    margin: 1.4em 0;
}
.info-links i {
    width: 1em;
    text-align: right;
    margin-right: 1em;
    font-size: 1.2em;
}

/* Visual formatting */
.hg {
    color: var(--color-secondary);
}

/* Layout */
.content {
    padding: 0 var(--content-indent-small);
}

.content ul {
    margin-left: 1em;
    margin-bottom: 2em;
    margin: 1em 1em 2em 1em;
}

.content ul li {
    padding: 0 0 0 1em;
    margin: 1em 0;
    font-size: 0.9em;
}

@media screen and (min-width: 376px) and (orientation: landscape) {
    /* Title should not be breaked by br tag on larger screens */
    .intro .title br {
        display: none;
    }

    .info-links p {
        display: inline-block;
        margin-right: 1em;
    }

    .info-links i {
        margin-right: 0.5em;
    }
}

@media screen and (min-width: 640px) {
    .content {
        padding: 2em var(--header-indent-medium);
    }
}

@media screen and (min-width: 960px) {
    .page-container {
        box-shadow: 0px 0px 55px rgb(3, 3, 3, 0.9);
        margin: 5em auto;
    }
    /* Section title */
    .section-title {
        margin: 0 var(--content-indent-large) 2.5em 0;
    }
    .content {
        padding: 0 var(--content-indent-large);
    }

    .section-title {
        padding-left: var(--content-indent-large);
    }

    /* Title and subtitle should not be breaked by br tag on larger screens */
    .intro br {
        display: static;
    }

    .info-links p {
        display: inline-block;
        margin-right: 1em;
    }

    .info-links i {
        margin-right: 0.5em;
    }
}
