/* PALLETTE */
/*
    Blue: #2980b9
    #236d9d
*/

/* ================================ */
/*            BASIC SETUP           */
/* ================================ */

/* This is the standard boilerplate code for CSS */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

html
body{
    background-color: white;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;

    /* Base font size */
    font-size: 20px;

    /* max-width: 100%; */
    min-width: 481px;
    width: auto !important;
    width: 481px;

    /* Make our font rendering in a perfect way! */
    text-rendering: optimizeLegibility;
}

.clearfix { zoom: 1;}
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* ================================ */
/*        HEADINGS & GENERAL        */
/* ================================ */

h1, h2, h3 {
    /* If the font size is big, It is recommended that the font weight is decreased as well. */
    font-weight: 300;
    text-transform: uppercase;
}

h1 {

    margin-top: 0;
    margin-bottom: 20px;

    color: #fff;
    /* We can set a percentage in the font size cause a pixel number was previously specified in the HTML, so it knows what % */
    font-size: 240%;

    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h2:after{
    display: block;
    height: 2px;
    background-color: #2980b9;

    /* After we specify a "after" pseudoclass, we need to specify its content */
    /* I want a white space */
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 25px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
    
}

.row {

    /* Main width that will be used */
    max-width: 1140px;

    /* Top and bottom will be 0, then left and Right will be auto */
    margin: 0 auto;
}

.work-row {
    /* Main width that will be used */
    max-width: 1600px;

    /* Top and bottom will be 0, then left and Right will be auto */
    margin: 0 auto;
}

.box {
    padding: 1%;
}

.icon-big {
    font-size: 64px;
    color: #236d9d;
    margin-bottom: 10px;
}

/* ================================ */
/*            Main Header           */
/* ================================ */

header {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.60)), to(rgba(0, 0, 0, 0.60))), url(img/landing.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(img/landing.jpg);
    height: 100vh;

    background-position: center;
    background-size: cover;
    background-attachment: fixed;

    
}

/* Navigation Bar */

.main-nav {
    list-style: none;
    text-align: center;
    font-family: 'Sintony', sans-serif;
    font-size: 80%;
}

.main-nav li {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    width: 10%;
}

.main-nav li a:visited,
.main-nav li a:link {
    text-decoration: none;
    color: white;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.main-nav li a:hover,
.main-nav li a:active {
    text-decoration: none;
    color: white;
    padding-bottom: 10px;
}

/* Mobile Navi */
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
}

/* Sticky Navigation Bar */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.979);
    -webkit-box-shadow: 0 2px 2px #b9b9b9;
            box-shadow: 0 2px 2px #b9b9b9;
    z-index: 9999;
}

.sticky .main-nav li a:visited,
.sticky .main-nav li a:link {
    color: #2980b9;
    padding-bottom: 10px;
}


.hero-landing-box {
    width: 1140px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}



.animated-border {
    position: relative;
}

.animated-border:after {
    content: " ";
    position: absolute;
    border-bottom: 2px solid #2980b9;
    bottom: 0;
    left: 0;
    right: 100%;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}

.animated-border:hover:after {
    right: 0;
}

/* ================================ */
/*             ABOUT ME             */
/* ================================ */

.aboutme-box {
    padding: 1%;
    margin-top: 20px;
    margin-bottom: 60px;
}

.aboutme-box p {
    font-size: 90%;
    line-height: 145%;
}

.about-block p {
    text-align: center;
    line-height: 140%;
    margin: 0 auto;
    width: 80%;
}

.about-block p span {
    font-size: 70%;
    font-family: 'Sintony', sans-serif;
    text-transform: uppercase;
}

.about-block h3 {
    text-align: center;
    margin-top: 0px;
}

.section-about img {
    width: 300px;
    display: block;
    margin: 0 auto 20px auto;
}

/* SKILLBARS */

::-webkit-scrollbar {
    width: 0px;
    overflow-x: hidden;
}

.skillbar-parent {
    width: 90%;
    height: 24px;

    margin: 25px 0;
    margin-left: auto;
    margin-right: auto;
}

.skillbar-parent:first-of-type {
    margin-top: 0;
}

.skillbar-parent:last-of-type {
    margin-bottom: 0;
}

.skillbar-base,
.skillbar-jr,
.skillbar-sr {
    display: inline-block;
    padding-top: 5px;
    padding-left: 5px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.0);
}

.skillbar-base {
    width: 55%;
    -webkit-transform: skew(-20deg) translate(-3px,0);
            transform: skew(-20deg) translate(-3px,0);
    border: #236d9d solid 3px;
    border-left: #236d9d solid 110px;

    position: relative;
}

.skillbar-jr {
    width: 26%;
    -webkit-transform: skew(-20deg) translate(-9px, 0);
            transform: skew(-20deg) translate(-9px, 0);
    /*border-top: #236d9d solid 3px;
    border-bottom: #236d9d solid 3px;*/
    border: #236d9d solid 3px;
}

.skillbar-sr {
    width: 16%;
    -webkit-transform: skew(-20deg) translate(-15px, 0);
            transform: skew(-20deg) translate(-15px, 0);
    border: #236d9d solid 3px;
}

/* Default values for a filled bar. */
.skillbar-fill {
    position: -webkit-sticky;
    position: sticky;
    display: block;
    background-color: #2980b9;
    height: 21px;
    -webkit-transform: skew(-20deg) translate(-8px,-27px);
    transform: skew(-20deg) translate(-8px,-27px);
    z-index: -1;
    overflow-x: hidden;
}

.skillbar-fill-bg {
    position: -webkit-sticky;
    position: sticky;
    display: block;
    width: 96.1%;
    background-color: rgb(206, 206, 206);
    height: 21px;
    -webkit-transform: skew(-20deg) translate(-15px,-48px);
    transform: skew(-20deg) translate(-21px,-48px);
    z-index: -2;
    overflow-x: hidden;
}

.skill-text {
    -webkit-transform: skew(20deg) translate(-110px, -30%);
            transform: skew(20deg) translate(-110px, -30%);
    position: absolute;
    margin-left: 4%;
    width: 100px;
    font-family: 'Sintony', sans-serif;
    font-size: 80%;
    color: #fff;
}

.skill-text-rank {
    -webkit-transform: skew(20deg) translate(0, -30%);
            transform: skew(20deg) translate(0, -30%);
    position: absolute;
    font-family: 'Sintony', sans-serif;
    font-size: 80%;
    color: #fff;
    text-align: left;
    width: 100%;
}

/* FILLS - MAXIMUM IS: 91% */
#unity-fill {
    width: 94%;
}

#arvr-fill {
    width: 78%;
}

#csharp-fill {
    width: 92%;
}

#js-fill {
    width: 87%;
}

#threejs-fill {
    width: 72%;
}

#nodejs-fill {
    width: 82%;
}

#express-fill {
    width: 84%;
}

#mongodb-fill {
    width: 83%;
}

#htmlcss-fill {
    width: 66%;
}

/* ================================ */
/*              My Work             */
/* ================================ */

.hero-text-box {
    /* Only way to vertically and horizontally center it. */
    position: absolute;

    /* Equal to the main width */
    width: 1140px;

    /* Actual Centering */
    top: 50%;
    left: 50%;

    /* Moving the image half of its width and height, to directly center it. */
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.section-work {
    background-color: rgb(247, 247, 247);
}

.section-work h2 {
    margin-bottom: 120px;
}

.work-box {
    position: relative;
    width: 340px;
    margin-bottom: 110px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #b9b9b9;
    height: 220px;
}

.work-box div:last-of-type {
    -webkit-transform: translate(0, 15%);
            transform: translate(0, 15%);
}

.work-points {
    display: inline-block;
    width: 110px;
    padding-top: 0;
    padding-left: 14px;
}

.work-box .work-points ul {
    list-style: none;
}

.work-box .work-points ul li {
    padding: 5px 0;
    font-size: 60%;
    font-weight: 300;
    font-family: 'Sintony', sans-serif;
}

.work-special-header {
    margin-left: 2%;
    -webkit-transform: translate(0, 120%);
    transform: translate(0, 120%);
    font-size: 120%;
    position: absolute;
}

.work-special-header:after{
    display: inline-block;
    height: 2px;
    background-color: #2980b9;
    content: " ";
    width: 110%;
    /* margin-top: -181px; */
    transform: translate(0px,-20px);
    margin-left: 1px;
}

.work-corner-box,
.work-corner-box-deco {
    width: 290px;
    height: 200px;
    
    
}

.work-corner-box {
    float: left;
    margin-left: -20%;
    margin-top: -20%;
    position: relative;

    background-position: center;
    background-size: cover;
}

#br-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/BR/BHR_1.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/BR/BHR_1.jpg);
}

#edda-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/EDDA/edda_1.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/EDDA/edda_1.jpg);
}

#et-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/ET/ET_1.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/ET/ET_1.jpg);
}

#kfc-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/KFC/KFC_4.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/KFC/KFC_4.jpg);
}

#megajump-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/MegaJump/MJ_1.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/MegaJump/MJ_1.jpg);
}

#mnm-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/MnM/MnM_3.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/MnM/MnM_3.jpg);
}

#p2k-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.40)), to(rgba(0, 0, 0, 0.40))), url(../img/P2K/P2K_3.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url(../img/P2K/P2K_3.jpg);
}

#pa-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.20)), to(rgba(0, 0, 0, 0.20))), url(../img/PA/PA_2.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url(../img/PA/PA_2.jpg);
}

#ee-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.20)), to(rgba(0, 0, 0, 0.20))), url(../img/EE/EE_3.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url(../img/EE/EE_3.jpg);
}

#csm-img {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.20)), to(rgba(0, 0, 0, 0.20))), url(../img/CSM/CSM_2.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url(../img/CSM/CSM_2.jpg);
}

.work-corner-box-deco {
    position: absolute;
    background-color: #b9b9b9;
    -webkit-transform: translate(-22%, -32.5%);
            transform: translate(-22%, -32.5%);
}

.work-icon {
    font-size: 180%;
}

.work-points ion-icon {
    -webkit-transform: translate(0, 28%);
            transform: translate(0, 28%);
}

.work-icon-click {
    float: right;
    font-size: 48px;
    color: #236d9d;
    -webkit-transform: translate(-8px, 54px);
            transform: translate(-8px, 54px);
}

.hidden-work-content {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-top: -33.33%;
    padding: 4px 10px;
}

.hidden-work-content h3 {
    color: #fff;
    font-family: 'Sintony', sans-serif;
    font-size: 90%;
    margin-top: 30px;
    margin-left: 2%;
}

.hidden-work-content p {
    width: 75%;
    font-size: 90%;
    margin-left: 3%;
    color: white;
}

.hidden-work-content ul {
    list-style-position: inside;
    display: inline-block;
    padding-top: 10px;
}

.hidden-work-content ul li {
    color: white;
    font-size: 70%;
    padding-left: -20px;
    text-transform: uppercase;
}

.hidden-work-content ul {
    padding-left: -14px;
}

.hidden-work-content ul li span {
    margin-left: -8px;
}

.hidden-work-content h3:after {
    display: block;
    height: 2px;
    background-color: #2980b9;
    content: " ";
    width: 30%;
    margin-top: 4px;
}

/* INTERACTABLES */
.hide-work {
    /* opacity: 0; */
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0s 0.6s, opacity 0.6s linear;
    transition: visibility 0s 0.6s, opacity 0.6s linear;
}

.show-work {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 1s linear;
    transition: opacity 1s linear;
    -webkit-transition-delay: 0.5s;
            transition-delay: 0.5s;
}


/* CLICK PHASES */
.work-showcase-show {
    width: 100%;
    height: 100%;

    position: absolute;
    background-size: cover;
    background-position: center;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)); */
    /*background-color: rgba(0, 0, 0, 0.6); */
    -webkit-filter: opacity(100%);
            filter: opacity(100%);

    -webkit-transition: -webkit-filter 0.5s;

    transition: -webkit-filter 0.5s;

    transition: filter 0.5s;

    transition: filter 0.5s, -webkit-filter 0.5s;
    -webkit-transition-delay: 0.3s;
            transition-delay: 0.3s;
}

.work-showcase-hide {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    /* background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)); */
    -webkit-filter: opacity(0%);
            filter: opacity(0%);

    -webkit-transition: -webkit-filter 0.5s;

    transition: -webkit-filter 0.5s;

    transition: filter 0.5s;

    transition: filter 0.5s, -webkit-filter 0.5s;
}

.band-work-bg {
    background-color: black;
}

/* ================================ */
/*              Buttons             */
/* ================================ */

/* ACTIVE - VISITED */

.btn:link,
.btn:visited,
input[type=submit]:link,
input[type=submit]:visited {
    display: inline-block;
    text-decoration: none;
    color: white;
    margin-right: 20px;
    padding: 10px 30px;
    border-radius: 200px;

    -webkit-transition: color 0.2s, background-color 0.2s;

    transition: color 0.2s, background-color 0.2s;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #2980b9;
    color: #2980b9;
}

.btn-full:link,
.btn-full:visited {
    border: 1px solid #2980b9;
    background-color: #2980b9;
}

/* HOVER - CLICKED */

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {

    background-color: #236d9d;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #2980b9;
    color: white;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #236d9d;
}

/* ================================ */
/*          CONTACT FORM            */
/* ================================ */

.section-contact {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.60)), to(rgba(0, 0, 0, 0.60))), url(../img/contactMeBg.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url(../img/contactMeBg.jpg);
    background-size: cover;
    color: white;
    background-attachment: fixed;
}

.long-copy {
    line-height: 145%;
    width: 40%;
    margin-left: auto !important;
    margin-right: auto;
    text-align: center;
    font-size: 110%;
    margin-top: 20px;
}

.long-copy span {
    display: block;
    padding-top: 16px;
    font-family: 'Sintony', sans-serif;
    font-size: 65%;
    color: #236d9d;
}

.contact-button {
    margin-top: 20px;
    margin-right: auto !important;
    text-align: center;
    color: white !important;
    font-family: 'Sintony', sans-serif;
    font-size: 80%;
}

#contact-me-block {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    text-align: center;
}

/* ================================ */
/*               FOOTER             */
/* ================================ */

footer {
    padding: 80px 0;
    background-color: rgb(247, 247, 247);
}

footer p{
    text-align: center;
    font-family: 'Sintony', sans-serif;
    font-size: 60%;
}

footer p span {
    color: #236d9d;
}

/* ================================ */
/*            Animations            */
/* ================================ */
.js--wp-skillbars {
    opacity: 0;
}

.js--wp-skillbars.animated {
    opacity: 1;
}

.js--wp-workbox {
    opacity: 0;
}

.js--wp-workbox.animated {
    opacity: 1;
}

