/*  stucture */

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

    background-image: url('../bg.png');
    font-family: "Mooli";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
}

html.dark body {
    background-color: #222222;
    color: #eeeeee;
}

main {
    flex: 1;
    padding: 1.5rem 0;
}

footer {
    border-top: 1px solid #888888;
    padding: 0.25rem 0;
    margin: 0 1rem;

    font-size: 0.75rem
}

.container {
    margin: 0 auto;
    width: 700px;
}

/* elements */

a {
    color: #0088ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    text-align: center;
}

h1.sig {
    font-family: "Mooli";
    font-size: 4.25rem;
    font-weight: 500;
}

hr {
    background: #888888;
    border: none;
    height: 1px;
    margin: 1.5rem 1rem 0 1rem;
}

p {
    margin: 0.5rem;
}

p.subheading {
    text-align: center;
}

/* site buttons */

div.site-btn-container {
    border: 1px solid #888888;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;

    background-color: #ffffff;
}

html.dark div.site-btn-container {
    background-color: #222222;
}

div.site-btn-container > a {
    border-radius: 0.25rem;
    display: block;
    margin: 1rem 0;
    padding: 0.5rem 0;
    width: 100%;
    height: 3rem;

    color: #ffffff;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 100%;

    background-color: #888888;
}

div.site-btn-container > a:hover {
    filter: brightness(1.25);
    text-decoration: none;
}

div.site-btn-container > a:active {
    color: #000000;
}

div.site-btn-container > a:last-of-type {
    margin-bottom: 0.5rem;
}

div.site-btn-container > a.gitlab {
    background-color: #e65328; /* GitLab button color */
    /*background-color: #292961; /* GitLab banner color */
}

div.site-btn-container > a.discord {
    background-color: #5865f2; /* Discord brand color */
}

div.site-btn-container > a.twitch {
    background-color: #8956fb; /* Twitch brand color */
}


/* other brand colors - may use in the future */
div.site-btn-container > a.pillowfort {
    background-color: #5fa4c9; /* Pillowfort background color */
}

div.site-btn-container > a.twitter {
    background-color: #1da1f2; /* Twitter blue */
}
/******/

div.site-btn-container > a > img, div.site-btn-container > a > span {
    vertical-align: middle;
    height: 2rem;
}

/* Forms */
form > input,
form > select,
form > textarea
{
    border-radius: 0.25rem;
    display: block;
    margin: 1rem 0;
    width: 100%;
    padding: 0.5rem 1rem;
    height: 3rem;
}

form > textarea {
    height: 10rem;
}

form > input:invalid {
    border-width: 0.25rem;
    border-color: red;
}


/* mixins */

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.mobile-only {
    display: none;
}

/* media breaks */

@media (max-width: 768px) {
    .container {
        width: 500px;
    }
}

@media (max-width: 512px) {
    .container {
        width: 100%;
    }

    div.site-btn-container {
        border: none;
        margin-top: 0;
    }

    .mobile-only {
        display: block;
    }
}
