/*** Default Styles ***/
:root {
    --red: #ed4036;
    --redRGB: 237, 64, 54;
    --offblack: #141414;
    --black: #000;
    --white: #fff;
}
*, *:before, *:after {
    word-wrap: break-word;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--offblack);
    margin: 0;
    color: var(--white);
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
}
.btn{
    display: flex;
    height: 36px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    color: var(--white);
    background-color: var(--red);
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out 0s;
    position: relative;
}
.btn:hover, .btn:focus, .btn.current {
    background-color: rgba(var(--redRGB), 0);
}
.btn:before {
    content: '';
    width: 8px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 4px solid var(--red);
    border-right: none;
    transition: all 0.2s ease-in-out 0s;
    transform: translateX(-12px);
    opacity: 0;
}
.btn:after {
    content: '';
    width: 8px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    border: 4px solid var(--red);
    border-left: none;
    transition: all 0.2s ease-in-out 0s;
    transform: translateX(12px);
    opacity: 0;
}
.btn:hover:before, .btn:focus:before, .btn:hover:after, .btn:focus:after, .btn.current:before, .btn.current:after {
    opacity: 1;
    transform: none;
}
section {
    position: relative;
}
section:not(.hero) {
    min-height: calc(100vh - 90px);
    padding-bottom: 24px;
}
.section__inner {
    max-width: 1224px;
    padding: 0 48px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 12;
}
section h2 {
    font-size: 48px;
    display: inline-flex;
    height: 73px;
}
section h2 span {
    padding: 0 24px;
}
section h2:before {
    content: '';
    display: block;
    width: 16px;
    height: 100%;
    border: 8px solid var(--red);
    border-right: none;
}
section h2:after {
    content: '';
    display: block;
    width: 16px;
    height: 100%;
    border: 8px solid var(--red);
    border-left: none;
}
.section__title-bg {
    position: absolute;
    background-repeat: repeat-y;
    opacity: .2;
    top: 24px;
    height: 400px;  
}
.section__title-bg:before {
    content: '';
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(0deg, rgba(20,20,20,0.0) 0%, var(--offblack) 100%);
}
.section__title-bg:after {
    content: '';
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(20,20,20,0.0) 0%, var(--offblack) 100%);
}

/*** Animations ***/
@keyframes animatedBackground {
    from {
        background-position: 0 0;
    } 
    to {
        background-position: -1920px 0;
    }
}

/*** Navigation ***/
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px 0 48px;
    transition: all 0.2s ease-in-out 0s;
}
.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.nav ul li {
    margin: 0 12px;
}
.nav ul li a {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    font-size: 16px;
}
.nav ul li a span {
    padding: 0 12px;
}
.nav ul li a:before {
    content: '';
    width: 8px;
    height: 100%;
    border: 4px solid var(--red);
    border-right: none;
    display: block;
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.2s ease-in-out 0s;
}
.nav ul li a:after {
    content: '';
    width: 8px;
    height: 100%;
    border: 4px solid var(--red);
    border-left: none;
    display: block;
    opacity: 0;
    transform: translateX(12px);
    transition: all 0.2s ease-in-out 0s;
}
.nav ul li a:hover:before, .nav ul li a:focus:before, 
.nav ul li a:hover:after, .nav ul li a:focus:after, 
.nav ul li a.active:before, .nav ul li a.active:after {
    opacity: 1;
    transform: none;
}
html.not-top .nav {
    background-color: rgba(0, 0, 0, .9);
}
.nav img {
    width: 175px;
}
.nav__toggle {
    display: none;
    border: none;
    background-color: transparent;
    color: var(--white);
    border-radius: 0;
    width: 70px;
    height: 90px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/*** Hero ***/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 114px 48px;
    overflow: hidden;
}
.hero:before {
    content: '';
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(20,20,20,0.0) 0%, var(--offblack) 100%);
}
.hero:after {
    content: '';
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(20,20,20,0.0) 0%, var(--offblack) 100%);
}
.hero__background {
    background-image: url(../img/banner-top.jpg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    animation: animatedBackground 40s linear infinite;
}
.hero__background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0,0,0,.35) 0%, var(--black) 70%);
}
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}
.hero__title {
    font-family: "Anton", sans-serif;
    position: relative;
    z-index: 12;
    text-transform: uppercase;
}
.hero__title-sub {
    font-size: 23px;
    letter-spacing: 3px;
}
.hero__title-sub span {
    color: var(--red);
}
.hero__title-main {
    font-size: 130px;
    line-height: 130px;
}
.hero__text-bg {
    position: absolute;
    left: 0;
    width: 515px;
    height: 50%;
    background-repeat: repeat-y;
    opacity: .2;
}
.hero__text-bg.designer {
    top: 0;
    background-image: url(../img/designer.svg);
    background-position: bottom;
}
.hero__text-bg.developer {
    bottom: 0;
    background-image: url(../img/developer.svg);
}
.hero__title-blurb {
    font-size: 45px;
    letter-spacing: 5px;
}
.hero__title-blurb span {
    color: var(--red);
}
.hero__title-blurb span.plus {
    position: relative;
    top: -5px;
}

/*** Featured Work ***/
.featured-work {
    display: flex;
    padding-left: 48px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}
.featured-work__slider {
    flex: 0 0 550px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-work__slider .swiper-wrapper {
    height: auto;
}
.featured-work__slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.featured-work__slide-title {
    opacity: 0;
    transition: all 0.2s ease-in-out 0s;
    transform: translateY(-48px);
    font-size: 21px;
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
}
.featured-work__slider .btn{
    opacity: 0;
    transition: all 0.2s ease-in-out 0s;
    transform: translateY(-48px);
}
.swiper-slide-active .featured-work__slide-title, .featured-work__slider .swiper-slide-active .btn{
    opacity: 1;
    transform: none;
}
.featured-work__slider-thumbs {
    width: calc(100% - 600px);
    margin-right: inherit !important;
    margin-top: -100px;
}
.featured-work__slider-thumbs:before {
    content: 'Featured Work';
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 100%;
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, .3);
    backdrop-filter: blur(4px);
}
.featured-work__slider-thumbs .swiper-slide {
    width: 250px !important;
    height: 141px !important;
    background-color: var(--black);
}
.featured-work__slider-thumbs .swiper-slide img {
    opacity: .35;
    transition: all 0.2s ease-in-out 0s;
}
.featured-work__slider-thumbs .swiper-slide.swiper-slide-thumb-active img {
    opacity: 1;
}
.swiper__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 36px;
    margin-top: 12px;
}
.swiper-button-prev, .swiper-button-next {
    border-radius: 100%;
    border: 1px solid var(--white);
    bottom: auto;
    color: var(--white);
    flex: 0 0 36px;
    height: 36px;
    left: auto;
    margin: 0 0 0 12px;
    pointer-events: all;
    position: relative;
    right: auto;
    top: auto;
    transition: all 0.2s ease-in-out 0s;
    width: 44px;
}
.swiper-button-prev:hover, .swiper-button-prev:focus, .swiper-button-next:hover, .swiper-button-next:focus {
    background: var(--white);
    color: var(--red);
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-family: 'sidearm_font_v2';
    font-size: 30px;
}
.swiper-button-prev:after {
    content: '\e005';
    margin-right: 3px;
}
.swiper-button-next:after {
    content: '\e006';
    margin-left: 3px;
}
.swiper-scrollbar {
    background: rgba(255, 255, 255, .25);
    border-radius: 0;
    bottom: auto !important;
    height: 1px !important;
    left: auto !important;
    margin: 0 24px 0 0;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    z-index: 10;
}
.swiper-scrollbar-drag {
    background: var(--red);
    border-radius: 0;
    height: 3px;
    top: -1px;
}

/*** About ***/
.about {
    padding-top: 48px;
}
.about__inner {
    display: flex;
    flex-direction: row-reverse;
}
.about__pic, .about__main {
    flex: 1 1 50%;
}
.about__main {
    position: relative;
    text-align: right;
    margin-left: 24px;
}
.about .section__title-bg {
    background-image: url(../img/about.svg);
    right: 0px;
    width: 240px;
}
.about__main-text {
    position: relative;
    z-index: 3;
}
.about__main-text h3 span {
    display: inline-flex;
    font-size: 24px;
    padding: 6px 24px;
    background-color: rgba(50, 50, 50, .35);
    backdrop-filter: blur(6px);
    margin-bottom: 12px;
}
.about__main-text h4 {
    font-size: 21px;
    display: inline-flex;
    border-bottom: 2px solid var(--red);
}
.about__pic img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*** My Work ***/
.work:before, .work:after {
    display: none;
}
.work .section__title-bg {
    background-image: url(../img/work.svg);
    left: 0;
    width: 220px;
}
.work__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
#categories {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
#categories li {
    margin-left: 12px;
}
.grid-sizer, .grid-item {
    width: 32%;
}
.grid-item {
    float: left; 
    margin-bottom: 2%;
    position: relative;
    overflow: hidden;
}
.grid-item a {
    display: flex;
}
.gutter-sizer {
    width: 2%;
}
.work-caption {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    z-index: 3; 
    opacity: 0;
    background-color: rgba(0, 0, 0, .75);
    transition: all 0.2s ease-in-out 0s;
    color: var(--white);
}
.grid-item a:hover .work-caption, .grid-item a:focus .work-caption {
    opacity: 1;
}
.grid-item img {
    transition: all 0.2s ease-in-out 0s;
}
.grid-item a:hover img, .grid-item a:focus img {
    transform: scale(1.2);
}

/*** Reusme ***/
.resume:before, .resume:after {
    display: none;
}
.resume .section__title-bg {
    background-image: url(../img/resume.svg);
    right: 0px;
    width: 300px;
}
.resume__top {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.resume__row {
    display: flex;
    justify-content: space-between;
}
.resume__right {
    text-align: right;
}
.resume__row p {
    margin: 0;
}
p.resume__location {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
}
.resume__title {
    font-size: 21px;
    font-weight: 700;
}
.resume__title span {
    font-weight: 400;
    font-size: 18px;
}
hr {
    margin-bottom: 18px;
    border: 0;
    border-top: 1px solid #464646;
}

/*** Contact ***/
.contact {
    padding-top: 48px;
    padding-bottom: 400px !important;
    text-align: center;
}
.contact__title-bg-wrap {
    position: absolute;
    width: 320px;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
}
.contact .section__title-bg {
    background-image: url(../img/contact.svg);
    position: relative;
    top: auto;
    left: auto;
}
#particles-js2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.contact__footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: var(--black);
}
.contact__footer:before {
    content: '';
    position: absolute;
    bottom: calc(100% - 23px);
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 209px;
    background-image: url(../img/me.png);
    background-size: cover;
}
.contact__footer-inner {
    max-width: 1224px;
    padding: 0 24px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 200px;
}
.contact__footer-logo {
    flex: 0 0 200px;
}
.contact ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 60px;
    list-style: none;
}
.contact ul li {
    margin: 0 12px;
}

/*** Media Queries ***/
@media(max-width: 1024px) {
    .hero__background {
        background-attachment: scroll;
    }
}

@media(max-width: 1023px) {
    section h2 {
        font-size: 42px;
    }
    .nav {
        padding-right: 12px;
    }
    body.nav-open .nav {
        background-color: rgba(0, 0, 0, .9);
    }
    .nav__toggle {
        display: flex;
    }
    .nav ul {
        position: absolute;
        top: 90px;
        right: 0;
        width: auto;
        height: auto;
        background-color: rgba(0, 0, 0, .9);
        transform: translateX(100%);
        transition: all 0.1s ease-in-out 0s;
        display: block;
        padding: 0 48px 24px;
    }
    .nav ul li {
        margin: 12px 0;
    }
    body.nav-open .nav ul {
        transform: none;
    }
    body.nav-open .nav__toggle span {
        transform: rotate(180deg);
    }
    .nav__toggle span {
        display: flex;
        transition: all 0.2s ease-in-out 0s;
    }
    body.nav-open .nav__toggle span:before {
        content: '\e077';
    }
    .featured-work {
        margin-top: 0;
        display: flex;
        flex-direction: column-reverse;
        padding-right: 48px;
    }
    .featured-work__slider-thumbs {
        margin-top: 0;
    }
    .featured-work__slider-thumbs {
        width: 100%;
    }
    .featured-work__slider-thumbs .swiper-slide {
        width: 50% !important;
        height: auto !important;
    }
    .featured-work__slider {
        flex: none;
        display: block;
        width: 100%;
        margin-top: 24px;
    }
    .grid {
        margin-right: -12px;
    }
    .grid-sizer, .grid-item {
        width: 48%;
    }
    .resume__right {
        flex: 1 1 40%;
    }
}

@media(max-width: 767px) {
    .section__inner {
        padding: 0 24px;
    }
    .nav {
        padding: 0 0 0 24px;
    }
    .hero {
        padding: 114px 24px;
    }
    .hero__title-main {
        font-size: 70px;
        line-height: 75px;
    }
    .hero__title-sub {
        font-size: 9px;
    }
    .hero__title-blurb {
        font-size: 19px;
    }
    .hero__text-bg {
        width: 240px;
    }
    .featured-work {
        padding: 0 24px;
    }
    .featured-work__slider-thumbs .swiper-slide {
        width: 100% !important;
    }
    .featured-work__slider {
        margin-top: 12px;
        height: auto;
    }
    .featured-work__slider .swiper-slide {
        display: block;
        text-align: center;
    }
    .featured-work__slide-title {
        margin-bottom: 6px;
    }
    .about__inner {
        display: block;
    }
    .about__main {
        text-align: left;
        margin: 0;
    }
    .about__main-text {
        text-align: center;
    }
    .about .section__title-bg {
        right: auto;
        left: 0;
    }
    .about .section__title-bg {
        width: 160px;
    }
    .work__top {
        display: block;
        text-align: center;
    }
    .work .section__title-bg {
        width: 150px;
    }
    #categories {
        margin-top: 12px;
        flex-wrap: wrap;
        margin: 12px -6px 0;
    }
    #categories li {
        margin: 6px;
        width: calc(50% - 12px);
        flex: 1 1 auto;
    }
    .grid {
        margin-right: 0;
    }
    .grid-sizer, .grid-item {
        width: 100%;
    }
    .gutter-sizer {
        width: 0;
    }
    .resume__top {
        display: block;
        text-align: center;
    }
    .resume .section__title-bg {
        left: 0;
        right: auto;
        width: 200px;
    }
    .resume__top .btn {
        margin-top: 12px;
    }
    .resume__row {
        display: block;
        margin-bottom: 12px;
    }
    .resume__right {
      text-align: left;
    }
    .resume__title, p.resume__location {
        font-size: 18px;
    }
    .contact {
        padding-top: 0;
        padding-bottom: 350px !important;
    }
    .contact ul {
        display: block;
        margin-top: 36px;
    }
    .contact ul li {
        margin: 12px 0;
    }
    .contact__title-bg-wrap {
        width: 200px;
    }
    .contact__footer:before {
        width: 200px;
        height: 139px; 
        bottom: calc(100% - 15px);
    }
    .contact__footer-inner {
        display: block;
        text-align: center;
    }
    .contact__footer-logo img {
        width: 200px;
    }
    .contact__footer p {
        font-size: 14px;
    }
}
