﻿
    :root {
        --body-background: #121212;
        --content-background: #262626;

        --font-Nunito: 'Nunito', Helvetica, sans-serif;
        --font-Roboto: 'Roboto', sans-serif;

        --star: "★";

        --black: #111;
        --blue: #586BA4;
        --dark-blue: #44537F;
        --light-blue: #6A80C4;
        --yellow: #F5DD90;
        --dark-yellow: #F4D169;
        --light-yellow: #F4E2AB;
        --orange: #F68E5F;
        --red: #D11149;
        --light-red: #FF165C;
        --green: #63A5A5;
        --light-green: #7BCECE;

        --box-shadow1: 0px 10px 15px -3px rgba(0, 0, 0, 0.7);
        --box-shadow2: -2px 2px 5px rgba(0, 0, 0, 0.6);
        --box-shadow3: -2px -2px 5px rgba(0, 0, 0, 0.6);
        --text-shadow: -3px 3px 5px rgba(0, 0, 0, 1);
        --text-shadow-inverse: -1px 1px 0px rgba(255, 255, 255, 1);
    }

/* ############################################## */


@media only screen and (max-width: 500px) {

    body {
        margin: 0;
        padding: 0;
    }

    .site-container {
        margin: 0 auto;
        width: 100%;
        min-height: initial;
        min-width: initial;
        max-width: initial;

        flex-flow: column nowrap;
    }

    .navigation-mobile {
        z-index: 9500;
        display: block;
        visibility: visible;
        font-size: 2em;
        background-color: var(--dark-blue);
        width: 90%;
        margin: 10px auto;
        padding: 5px 0;
        border: 1px rgba(255, 255, 255, 0.15) solid;
        text-align: center;
    }

        .navigation-mobile:hover {
            background-color: var(--light-blue);
            cursor: pointer;
        }

        .navigation-mobile span {
            display: inline-block;
            position: relative;
        }

        .navigation-mobile span:first-of-type {
            transform: translateX(8px);
        }

        .navigation-mobile span:last-of-type {
            transform: translateX(-8px);
        }

    .navigation {
        z-index: 9500;
        position: absolute;
        transition: 0.1s;
        width: calc(100% - 2px);
        margin: 10px auto;
        border: 1px var(--light-blue) solid;
    }

        .navigation a {
            background-color: var(--dark-blue);
        }

        .navigation a:hover {
            background-color: var(--light-blue);
            transform: none;
        }

        .navigation.close {
            transition: 0.2s;
            top: -1000px;
        }

        .navigation.open {
            transition: 0.2s;
            top: 103px;
            box-shadow: var(--box-shadow1);
        }

        .navigation a {
            display: block;
            padding: 3px;
            border-bottom: 1px var(--light-blue) solid;
        }

        .navigation a:nth-of-type(5) {
            border-bottom: none !important;
        }

    .item-1, item-center/*, .item-3*/ {
        
    }

        .item-1 {

        }

            item-1.close {
                width: 0px;
            }

            .item-1.open {
                width: 100%;
            }

        .item-center {
            padding: 10px;
        }

        .item-3 {

        }

    .title {
        width: calc(100% - 4px);
    }

    .title > a > span {
        text-align: center;
    }

    .header-container {
        position: relative;
        width: 100%;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
    }

    .header-box {
        z-index: 9999;
        position: relative;
        width: 100%;
        background-color: var(--body-background);
    }

    .content-container {
        padding-bottom: 30px;
    }

    .search-container {
        width: 95%;
    }

    .programming-button {
        margin: 5px;
        padding: 15px;
        width: calc(95% - 30px);
    }

    .main-images img {
        width: 90%;
    }

    .resume-container {
        margin-top: 50px;
        padding: 0;
        width: 95%;
    }

    .resume-circle {
        
    }

    .resume-circle-position {
        z-index: 5000;
        position: absolute;
        left: 50%;
        top: -40px;
    }

    .resume-section-container,
    .resume-section-container.wide {
        width: 95%;
        max-width: 100%;
        margin: 5px auto;
    }

    .linked-in {
        z-index: 9999;
        position: absolute;
        left: 40%;
        top: 93%;
        width: 40px;
        height: 34px;
    }

    .github {
        z-index: 9999;
        position: absolute;
        left: -73%;
        top: 93%;
        width: 40px;
        height: 40px;
    }

    .codepen {
        z-index: 9999;
        position: absolute;
        left: 40%;
        top: -23%;
        width: 40px;
        height: 40px;
    }

    .concept-container {
        width: 90%;
        padding: 10px;
    }

    .code-snippit {
        width: 90%;
        padding: 10px;
    }

    .word-search {
        width: calc(85% - 50px);
        min-width: initial;
        transform: translateX(-30px);
    }

    .search-clear {
        right: calc(30% - 10px);
    }

    .image-list > .carousel > .center-image {
        width: 95%;
    }

    .image-list > .carousel > .before-image,
    .image-list > .carousel > .after-image {
        width: 65%;
    }

    .left-arrow-container,
    .right-arrow-container {
        width: 15% !important;
        height: 25% !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
    }

    div.left-arrow {
        border-top: 30px solid transparent !important;
        border-bottom: 30px solid transparent !important;
        border-right: 30px solid #FFF !important;
    }

    div.right-arrow {
        border-top: 30px solid transparent !important;
        border-bottom: 30px solid transparent !important;
        border-left: 30px solid #FFF !important;
        right: 0;
    }

    .game-container {
        margin: 10px auto;
        width: 95%;
        max-width: 290px;
    }

    .word-randomize {
        right: 0px;
    }

    .atbs > legend {
        
    }

    .card {
        display: block;
        margin: 10px auto;
    }

    h2, h3 {
        text-align: center;
    }

    h2.header-text {
        width: calc(95% - 30px);
    }

    .header-text::before,
    .header-text::after {
        border: 0px #FFF solid;
        background-color: transparent;
    }

    .youtube-video {
        width: 95%;
    }

    /* ###################################################### */

    h1:not(.game-title) {
        font-size: 2em;
        text-align: center;
        display: block;
    }

    h1 + p:first-of-type {
        margin: 10px auto 0 auto;
        width: 90%;
    }

    .page-header {
        width: 100%;
    }

    .item-1 {
        height: auto;
        margin-bottom: 30px;
    }

    .item-center {
        width: calc(90% - 20px);
    }

    .acnh {
        width: calc(100% - 70px) !important;
        height: 100%;
        background-position: 80% 100%;
        background-size: 250% !important;
    }

    h1.game-title {
        font-size: 200%;
        text-shadow: var(--text-shadow);
        line-height: 35px;
    }

    .card {
        width: calc(95% - 40px);
        margin-top: 25px;
    }

    .card-link {

    }

    .important-image {
        margin: auto;
        width: 90%;
        height: auto;
    }

    .image-list img {
        width: 95%;
    }
    
    /* ################################## */

    .resume-section-content {
        padding: 5px 15px;
    }

    .resume-header {
        margin-top: 65px;
    }

    .resume-circle-position {
        top: -27px;
    }
}