* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    height: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #0d0d0d;
    overflow-x: hidden;
}

p {
    font-size: 16px;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

a {
    color: #dbdbdb;
}

a:hover {
    color: #13aff0;
}

:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

.container-fluid h1 {
    color: #e6e6e6;
}

.container-fluid p {
    color: #bebebe;
}

.navigation {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 3px 0;
    background-color: #212121;
}

.navigation .navbar {
    padding: 0;
}

.dropdown-menu {
    background-color: #212121;
    width: 200px;
}

.dropdown-item:hover {
    background: none;
}

.dropdown-divider {
    color: #bebebe;
    margin: 6px;
}

.navigation .navbar a {
    color: #bebebe;
    margin: 0 10px;
}

.navigation .navbar a:hover {
    color: #13aff0;
}

.nav-item {
    height: 100%;
}

.nav-link {
    height: 50px;
    line-height: 30px;
    white-space: nowrap;
}

.nav-link img {
    height: 100%;
    opacity: 0.6;
}

.navbar-toggler-icon {
    width: 30px;
    height: 40px;
    position: relative;
    margin: 0;
    cursor: pointer;
}

.social-icons {
    margin: 0 auto;
}

.social-icons li {
    display: inline-block;
}

.social-icons li img {
    width: 22px;
    height: 22px;
    opacity: 0.5;
}

.social-icons li img:hover {
    opacity: 0.7;
}

.social-icons ul li:last-child img {
    width: 26px;
    height: 26px;
}

.thumbnail {
    position: relative;
    height: 200px;
    cursor: pointer;
    overflow: hidden;
    display: block;
    padding: 0;
}

.thumbnail img {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transform: scale(1.3);
}

.thumbnail .overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    transition: 0.5s ease;
    opacity: 0;
    color: #bebebe;
    font-size: 16px;
    padding: 15px;
    text-align: left;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.hidden {
    overflow: hidden;
    display: none;
    visibility: hidden;
}

footer {
    background-color: #212121;
    padding: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #a0a0a0;
}

footer .container-fluid {
    width: 70%;
}

.about-section,
.tutorial-section {
    padding: 20px 20px;
    color: #bebebe;
}

.about-section h3,
.tutorial-section h3 {
    text-align: center;
    color: #e6e6e6;
    margin-bottom: 15px;
}

.software {
    padding: 5px 0;
}

.software-icon {
    max-width: 25px;
    margin: 10px;
}

.software-label {
    font-size: 14px;
    color: #898989;
}

.subtext {
    color: #898989;
    font-style: italic;
}

.game-credits p {
    color: #cbcbcb;
    font-size: 14px;
    line-height: 20px;
}

.game-credits img {
    border-radius: 4px;
    width: 4em;
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.hover-image {
    opacity: 0.8;
    cursor: pointer;
    transform: scale(1);

    -webkit-transition: all 0.1s;

    /* Safari 3-8 */
    -moz-transition: all 0.1s;

    /* IE 9 */
    transition: all 0.1s;
}

.hover-image:hover {
    opacity: 1;

    -webkit-transform: scale(1.04);
    /* Safari 3-8 */
    -moz-transform: scale(1.04);
    -ms-transform: scale(1.04);
    /* IE 9 */
    transform: scale(1.04);
}

.work-history-entry {
    margin: 40px 0;
}

.work-history-details {
    display: flex;
    justify-content: space-between;
}

.work-history-details p {
    color: #ffffff;
    margin: 0;
    line-height: 22px;
}

.work-history-details span {
    line-height: 20px;
}

.youtube-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px;
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}

.youtube-player img {
    object-fit: cover;
    display: block;
    left: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: 0.4s all;
    -moz-transition: 0.4s all;
    transition: 0.4s all;
}

.youtube-player img:hover {
    filter: brightness(75%);
    -webkit-filter: brightness(75%);
}

.youtube-player .play {
    height: 60px;
    width: 60px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url("../images/Play_Button.png") no-repeat;
    background-size: cover;
    cursor: pointer;
}

.youtube-caption {
    text-align: center;
    margin: 0.5em 0 0 0;
}

.mfp-title {
    margin-left: 20px;
    color: #959595 !important;
    font-size: 17px; /* make a bit smaller in a breakpoint later */
}

.mfp-arrow-left {
    left: 0;
    margin-left: 0.75em !important;
    background: url(../images/prev.png) no-Repeat top left !important;
    width: 30px;
    height: 30px;
}

.mfp-arrow-right {
    right: 0;
    margin-right: 0.75em !important;
    background: url(../images/next.png) no-Repeat top right !important;
    width: 30px;
    height: 30px;
}

.mfp-arrow-left::before,
.mfp-arrow-right::before {
    display: none;
    content: "";
}

.mfp-arrow-left::after,
.mfp-arrow-right::after {
    display: none;
    content: "";
}

/* super tiny devices (phones, smartwatches 380px and down) */
@media only screen and (max-width: 380px) {
    
    .software-icon {
        max-width: 20px;
        margin: 5px;
    }

    .software-label {
        font-size: 12px;
    }

    .work-history-entry {
        margin: 20px 0;
    }

    .work-history-entry p {
        line-height: 20px;
    }

    .nav-link {
        height: 50px;
        line-height: 30px;
    }

    .navigation .navbar {
        padding: 0 !important;
    }

    .mfp-title {
        margin-left: 5px !important;
        font-size: 12px !important;
    }
    
}

@media only screen and (max-width: 576px) {
    
    .container-fluid {
        padding: 10px 10px;
    }

    .thumbnail {
        height: auto;
    }

    .thumbnail img {
        height: auto;
        object-fit: cover;
        transform: scale(1);
    }

    .mfp-arrow-left {
        transform: scale(0.6) !important;
    }

    .mfp-arrow-right {
        transform: scale(0.6) !important;
    } 
}

/* extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    
    .container-fluid {
        padding: 10px 10px;
    }

    .navigation {
        margin: 0;
    }

    .navigation .navbar {
        padding: 5px 5px;
    }

    .dropdown-menu {
        width: 100%;
    }

    .game-credits img {
        width: 3em;
        margin-right: 8px;
        margin-bottom: 15px;
    }

    .about-section p {
        line-height: 21px;
    }

    .mfp-title {
        margin-left: 15px;
        font-size: 14px;
    }

    .mfp-counter {
        font-size: 14px !important;
    }

    .social-icons .nav-item {
        margin: 0 auto !important;
    }

    .social-icons li img {
        width: 25px !important;
        height: 25px !important;
    }
    
    p {
        font-size: 14px !important;
        line-height: 23px !important;
    }
    
    .subtext {
        font-size: 14px;
    }
    
}

/* small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .navigation .navbar {
        padding: 10px;
    }

    .subtext {
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {
    
    footer .container-fluid {
        width: 80%;
    }
    
    p {
        line-height: 24px;
    }
}

/* 992px and up and below */
@media only screen and (max-width: 992px) {
    
    .social-icons .nav-item {
        margin: 0 10px;
    }

    .social-icons li img {
        width: 30px;
        height: 30px;
    }

    p {
        font-size: 15px;
    }
}

/* large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    
    .navigation .navbar {
        padding: 0 10px;
    }
}