/*
Theme Name: Keith's Engineering Grid Resume Theme
Description: Mechanical Engineer Portfolio Website
Author: Keith Becker
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpbootstrap
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    /*Use for debugging "#4CAF50 solid 1px"*/
    box-sizing: border-box;
    font-family: 'Lato';
    color: #fff;
    font-weight: 300;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato';
    overflow-x: hidden;
    background-image: url("images/bg_airship.png");
    background-color: rgb(19, 32, 74);
    ;
    /*  background-blend-mode: multiply;
    background-size: cover; */
    background-position: left top;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: cover;
    /* Resize the background image to cover the entire container */
    background-attachment: fixed;
}

canvas {
    vertical-align: top;
    z-index: -100;
    position: fixed;
    left: 0;
    top: 0;
}

header {
    position: relative;
    padding: 0 2.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: .1vw solid rgb(255 255 255 / 0.5);
    z-index: 10;
}

.logo {
    float: left;
    display: flex;
    align-items: center;
}

.menu ul li {
    display: inline-flex;
    margin-left: -.3vw;
    margin-bottom: -17px;
}

.menu ul li a {
    position: relative;
    display: flex;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 2vh;
    padding: 2.5vh 2vw;
    letter-spacing: .1vw;
    border-right: .1vw solid rgb(255 255 255 / 0.5);
    overflow: hidden;
    transition: all ease 0.5s;
}

.menu ul li:last-child a {
    border-right: 0px;
}

.content {
    padding: 10vh 3vw;
    padding-left: 10vw;
    color: #fff;
    max-width: 850px;
    padding-bottom: 20vh;
}

.content h1 {
    font-size: 5rem;
    font-weight: 650;
    text-transform: uppercase;
    line-height: 5rem;
    letter-spacing: .625rem;
    font-family: 'Roboto';
}

.content p {
    line-height: 26px;
    font-weight: 300;
    padding: 0px 0 30px;
    max-width: 500px;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.6px;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 20px;
    margin-right: 15px;
    transition: all ease 0.5s;
    background-color: transparent;
    margin-left: 40px;
    margin-top: 20px;
}

.content .btn-primary:after, .menu ul li a:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    background-color: transparent;
    transition: all ease 0.5s;
}

.content .btn-primary:hover, .menu ul li a:hover {
    background-color: #fff;
    color: #000;
}

.content .btn-primary:hover:after, .menu ul li a:hover:after {
    top: -100%;
}

.toggle {
    position: absolute;
    margin-left: 85%;
    width: 45px;
    height: 45px;
    transition: all ease 0.5s;
}

.toggle:hover {
    animation: rotation 2s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.toggle-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1;
    display: none;
}

.toggle-content-inner {
    display: flex;
    flex-wrap: wrap;
}

.toggle-content-inner img {
    width: 33.33333%;
    padding: 5px;
    filter: brightness(.5);
    transition: all ease 0.5s;
}

.toggle-content-inner img:hover {
    filter: brightness(1);
    transform: scale(.9);
}

#head {
    color: white;
    background-color: #aaaaaa;
}

#resume, #portfolio, #contact {
    color: #727272;
    background-color: #f4f5f7;
}

#first-line {
    height: 5px;
    background-color: white;
    float: left;
    width: 75%;
}

.another-line {
    height: 3px;
    background-color: #727272;
    width: 100%;
    margin-left: 0;
}

#first-line::after {
    content: "\f197";
    position: relative;
    font-family: FontAwesome;
    font-size: 50px;
    top: -37px;
    right: -60px;
    margin-left: 85%;
}

.another-line:after {
    content: "\f121";
    position: relative;
    font-family: FontAwesome;
    font-size: 2em;
    top: -0.8em;
    padding: 0 .25em;
    background-color: #f4f5f7;
}

textarea {
    height: 150px;
}

nav, .container-fluid {
    color: white;
    background-color: #72065d;
}

#mypicture {
    max-width: 80%;
}

.container-fluid>div>div>p {
    color: white;
    font-size: 1.2em;
    margin-bottom: 0;
}

i {
    margin-right: .5em;
    margin-left: .5em;
}

@media screen and (max-width: 550px) {
    body {
        font-size: 1em;
    }
}

@media screen and (max-width: 550px) and (orientation: landscape) {
    #mypicture {
        max-width: 50%;
    }
}

/* MAIN CONTENT SECTION BOOTSTRAP */

a:hover {
    text-decoration: underline;
    color: #1a454f;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

a:focus {
    text-decoration: none;
}

.wrapper {
    background: transparent;
    max-width: 1337px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-wrapper {
    background: transparent;
    position: absolute;
    right: 0;
    width: 270px;
    height: auto;
    min-height: 800px;
    color: #fff;
}

.sidebar-wrapper a {
    color: #fff;
}

.sidebar-wrapper .profile-container {
    padding: 30px;
    background: transparent;
    text-align: center;
    color: #fff;
}

.sidebar-wrapper .name {
    font-size: 32px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 10px;
}

.sidebar-wrapper .tagline {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
}

.sidebar-wrapper .profile {
    margin-bottom: -20px;
}

.sidebar-wrapper .contact-list .svg-inline--fa {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

.sidebar-wrapper .contact-list li {
    margin-bottom: 15px;
    font-size: 14px;
}

.sidebar-wrapper .contact-list li:last-child {
    margin-bottom: 0;
}

.sidebar-wrapper .contact-list .email .svg-inline--fa {
    font-size: 14px;
}

.sidebar-wrapper .container-block {
    padding: 30px;
}

.sidebar-wrapper .container-block-title {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.sidebar-wrapper .degree {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 5px;
}

.sidebar-wrapper .education-container .item {
    margin-bottom: 15px;
}

.sidebar-wrapper .education-container .item:last-child {
    margin-bottom: 0;
}

.sidebar-wrapper .education-container .meta {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0px;
    margin-top: 0;
    font-size: 14px;
}

.sidebar-wrapper .education-container .time {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0px;
}

.sidebar-wrapper .languages-container .lang-desc {
    color: #fff;
}

.sidebar-wrapper .languages-list {
    margin-bottom: 0;
}

.sidebar-wrapper .languages-list li {
    margin-bottom: 10px;
}

.sidebar-wrapper .languages-list li:last-child {
    margin-bottom: 0;
}

.sidebar-wrapper .interests-list {
    margin-bottom: 0;
}

.sidebar-wrapper .interests-list li {
    margin-bottom: 10px;
}

.sidebar-wrapper .interests-list li:last-child {
    margin-bottom: 0;
}

.main-wrapper {
    background: rgba(19, 32, 74, 0.9);
    padding: 60px;
    padding-right: 300px;
    margin-bottom: 50px;
}

.main-wrapper-projects {
    background: rgba(19, 32, 74, 0.9);
    padding: 60px;
    margin-bottom: 50px;
}

.main-wrapper .section-title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    position: relative;
    margin-top: 0;
    margin-bottom: 20px;
}

.main-wrapper-projects .section-title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    position: relative;
    margin-top: 0;
    margin-bottom: 20px;
}

.main-wrapper .section-title .icon-holder {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    display: inline-block;
    color: #fff;
    border-radius: 50%;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background: #fff;
    text-align: center;
    font-size: 16px;
    position: relative;
    top: -8px;
}

.main-wrapper .section-title .icon-holder .svg-inline--fa {
    font-size: 14px;
    margin-top: 6px;
}

.main-wrapper .section {
    margin-bottom: 60px;
}

.main-wrapper .experiences-section .item {
    margin-bottom: 30px;
}

.main-wrapper .upper-row {
    position: relative;
    overflow: hidden;
    margin-bottom: 2px;
}

.main-wrapper .job-title {
    color: #fff;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.main-wrapper .time {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
}

.main-wrapper .company {
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
}

.main-wrapper .project-title {
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 5px;
}

.main-wrapper .projects-section .intro {
    margin-bottom: 30px;
}

.main-wrapper .projects-section .item {
    margin-bottom: 15px;
}

.container-gears {
    width: 443px;
    height: 457px;
    margin-left: -162px;
    position: fixed;
}

.container-gears .gear1 {
    background: url('images/gear_80.png') no-repeat;
    width: 80px;
    height: 80px;
    margin-left: 200px;
    margin-top: 80px;
    position: absolute;
    float: right;
    opacity: .5;
}

.container-gears .gear2 {
    background: url('images/gear_200.png') no-repeat;
    width: 200px;
    height: 200px;
    margin-top: 80px;
    margin-left: 20px;
    float: left;
    opacity: .5;
}

.container-gears .gear3 {
    background: url('images/gear_150.png') no-repeat;
    width: 150px;
    height: 150px;
    position: absolute;
    margin-top: 200px;
    margin-left: 180px;
    opacity: .5;
}

.container-gears .gear4 {
    background: url('images/gear_80.png') no-repeat;
    width: 80px;
    height: 80px;
    margin-left: 125px;
    margin-top: 300px;
    position: absolute;
    float: right;
    opacity: .5;
}

/* The Modal (background) */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: auto;
}

/* The Close Button */

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */

.mySlides {
    display: none;
}

/* Next & previous buttons */

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */

.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active, .demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.2s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 2px 10px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

.fadeimage {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.fademiddle {
    transition: .5s ease;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    position: relative;
}

.fadecontainer:hover .fadeimage {
    opacity: 0.3;
}
  
.fadecontainer:hover .fademiddle {
    opacity: 1;
}

.flipcard {
    width: 130px;
    height: 195px;
    position: relative;
    display: inline-block;
    margin: 50px;
}

.flipcard .img-top {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.card:hover .img-top {
    display: inline;
}

.flipcon img:last-child {
    display: none;
}
.flipcon:hover img:last-child {
    display: block;
}
.flipcon:hover img:first-child {
    display: none;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 767.98px) {
    .menu ul li {
        display: flex;
    }
}

@media screen and (max-width: 767.98px) {
    .menu ul li a {
        border-right: none;
    }
}

@media (max-width: 767.98px) {
    .sidebar-wrapper {
        position: static;
        width: inherit;
    }
    .main-wrapper {
        padding: 30px;
    }
    .main-wrapper .time {
        position: static;
        display: block;
        margin-top: 5px;
    }
    .main-wrapper .upper-row {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 767.98px) {
    .sidebar-wrapper {
        background: rgba(19, 32, 74, 0.9);
    }
}

@media only screen and (max-width: 767.98px) {
    .menu {
        display: none;
    }
    .content {
        margin-left: 10%;
        padding: 14vh 3vw;
        padding-left: 0;
    }
    .toggle {
        display: none;
    }
    .btn-primary {
        margin-left: 30%;
    }
}