@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

/* Colours
 *      Pink: #F1527D
 *      Blue: #4125DD
 */

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    -webkit-font-smoothing: antialiased;
    color: #444444;
    margin: 0;

    font-family: poppins;
}

section#main {
    flex: 1;
    background-color: #232033;
    color: #FFFFFF;
}

.preload * {
    transition: none !important;
}

a, a:hover, button, button:focus {
    transition-property: color, background-color, border-color;
    transition-duration: .3s;
    text-decoration: none;
    outline: 0;
}

header#home {
    font-family: poppins, sans-serif;
    display: block;
}

nav.navbar {
    /*
    position: relative;
    display: flex;
    align-items: center;
    */
    padding: .5rem 1rem;
}

header#home a.brand
{
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
}

header#home img
{
    vertical-align: middle;
}

header#home section.container {
    display: flex;
    align-items: center;
}

header#titler {
    /* https://css-tricks.com/tinted-images-multiple-backgrounds/ */
    background: 
        linear-gradient(
            rgba(65, 37, 221, 0.9),
            rgba(65, 37, 221, 0.9)
        ),
    url('cta-bg.jpg') no-repeat;
    background-size: cover;
    color: #FFFFFF;
    font-family: poppins, sans-serif;
    padding: 80px 0;
    position: relative;
}

header#titler a:link,
header#titler a:hover,
header#titler a:visited {
    color: #FFFFFF;
}

header#titler .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header#titler h1 {
    letter-spacing: 2px;
    font-size: 48px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

header#titler .divider {
    width: 100px;
    height: 4px;
    display: block;
    margin: 0 auto 1.5rem auto;
    background-color: #FFFFFF;
}

header#titler ul.lineage {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: poppins, sans-serif;
    font-size: 18px;
}

header#titler ul.lineage li:not(:last-child) {
    margin-right: .5rem;
}

section.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

section#navigation {
    display: flex;
    flex-grow: 1;
    align-items: center;
}

section#navigation.collapsing {
    /* TODO(matt): Animated collapse */
    position: relative;
    height: 0px;
    overflow: hidden;
    transition: height .35s ease;
}

section#navigation ul {
    display: flex;
    margin: 0 auto;
    padding-left: 0;
    flex-direction: row;
    list-style: none;
}

section#navigation ul li a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 26px 18px!important;
    text-transform: uppercase;
    color: #111111;
    opacity: .9;

    display: block;
}

section#navigation ul li a:hover {
    color: #F1527D;
}

section#navigation.collapse:not(.show) {
    display: none;
}

@media (min-width: 576px)
{
    section.container {
        max-width: 540px;
    }
}

@media (min-width: 768px)
{
    section.container {
        max-width: 720px;
    }
}

@media (min-width: 992px)
{
    section#navigation.collapse {
        display: flex!important;
        height: 100%!important;
    }

    section.container {
        max-width: 960px;
    }

    button#navbar-toggler {
        display: none;
    }

    nav.navbar .container {
        flex-wrap: nowrap;
    }
}

@media (max-width: 991.98px)
{
    nav.navbar .container {
        padding-right: 0;
        padding-left: 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    button#navbar-toggler {
        cursor: pointer;

        display: block;

        padding: .25rem .75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: .25rem;
    }

    nav #navigation {
        flex-basis: 100%;
        flex-direction: column;
        text-align: center;
    }

    nav #navigation ul {
        flex-direction: column;
        width: 100%;
    }

    nav #navigation ul li a {
        padding: 10px 18px !important;
    }

    nav #navigation a.btn {
        margin-top: 1rem;
    }
}

@media (min-width: 1200px)
{
    section.container {
        max-width: 1140px;
    }
}

a.btn {
    background: #4125DD;
    border-color: #4125DD;
    color: #FFFFFF;

    border-radius: 60px;

    line-height: 1;
    padding: 16px 32px;
    box-shadow: 0 11px 22px rgba(34, 34, 34, .2);
    font-size: 13px;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: 2px solid transparent;
    font-weight: 700;
    font-family: poppins, sans-serif;
}

a.btn:hover {
    background: 0 0;
    border-color: #4125DD;
    color: #111111;
}

a.btn:active {
    color: #FFFFFF;
    background-color: #545B62;
    border-color: #4E555B;
}

#main > header > h1 {
    text-align: center;
}

footer {
    font-family: poppins, sans-serif;
    background: url('footer-bg.jpg');
    background-size: cover;
    padding-top: 90px;
    padding-bottom: 35px;
}

footer p {
    line-height: 28px;
    margin-top: 0;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .5);
    text-align: center;
}

.announcement a,
footer a.licence {
    color: rgba(255, 255, 255, .5);
}

.announcement a:hover,
footer a.licence:hover {
    color: #F1527D;
}

footer .row .column {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

footer .row .column h2 {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

footer .row .column p {
    line-height: 28px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

footer .download a.btn:hover {
    color: #FFFFFF;
}

footer .row .column .download p {
    margin-top: 0;
    margin-bottom: 0;
}

footer nav.socials {
    font-size: 30px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

footer nav.socials li:not(:last-child) {
    margin-right: .5rem;
}

footer nav.socials a {
    padding: 0 10px;
    color: #FFFFFF;
}

/* Icons from https://icons.getbootstrap.com/ */
footer nav.socials .twitter a:hover {
    color: #1D9BF0; /* https://about.twitter.com/en/who-we-are/brand-toolkit
                        Logo blue.svg */
} 

footer nav.socials .twitch a:hover {
    color: #9146FF; /* https://brand.twitch.tv/brand */
}

footer nav.socials .mail a:hover {
    color: #D1D6AE; /* https://encycolorpedia.com/d1d6ae */
}

footer .btn {
    display: inline-block;
}

footer ul {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-left: 0;
    flex-direction: row;
    list-style: none;
}

footer .row.owner {
    margin-top: 3rem;
}

footer .row.owner p {
    border-top: 1px solid rgba(255, 255, 255, .04);
    width: 100%;
    margin-bottom: 0;
    padding-top: 1.5rem;
    text-transform: uppercase;
}

.announcement {
    font-style: italic;
}
