/*
███████████████████████████████████████████
████████████     @IMPORTS      ████████████
███████████████████████████████████████████
/*░░░░░░░░░░     RESET CSS     ░░░░░░░░░░░*/
@import url(./reset.css);

/*░░░░░░░░░░    INCLUDES CSS   ░░░░░░░░░░░*/
@import url(./includes.css);

/*░░░░░░░░░░    EXTRA CSS   ░░░░░░░░░░░*/
@import url(./extra.css);

/*░░░░░░░░░░    LOCAL FONTS    ░░░░░░░░░░░*/
@import url(./local_fonts.css);

/*░░░░░░░░░░    GOOGLE FONTS   ░░░░░░░░░░░*/
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;800;900&display=swap'); */

/*
███████████████████████████████████████████
████████████     VARIABLES     ████████████
███████████████████████████████████████████
*/
:root {
    --title-font: 'Source Sans Pro';
    --text-font: 'Source Sans Pro';
    --special-font: 'Source Sans Pro';

    --black-color: #000000;
    --white-color: #ffffff;
    --dark-grey-color: #333333;
    --light-grey-color: #f5f5f5;
    --shadow-color: rgba(0,0,0,.4);
    --dark-shadow-color: rgba(0,0,0,.6);
    
    --first-color: #ad0000;
    --blue-color: #334041;
    --light-first-color: #c42929;
    --dark-first-color: #810101;
    --second-color: #090f3d;
    --light-second-color: #181f5a;
    --dark-second-color: #030725;

    --main-width: 1140px;

    --loader-layer: 99999;
    --modal-layer: 9999;
    --menu-layer: 999;
    --deco-layer: 99;
    --text-layer: 9;
    --base-layer: 1;
    --bg-layer: -1;
}

/*
██████████████████████████████████████████
██████████   GENERAL CONTROLS   ██████████
██████████████████████████████████████████
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100vh;
    font-family: 'Source Sans Pro', sans-serif;

    position: relative;
}

/*
██████████████████████████████████████████
███████████     HELPPERS      ████████████
██████████████████████████████████████████
*/
.desktop-img {
    display: block;
}

.mobile-img {
    display: none;
}

.main-wrapper {
    width: 100%;
    max-width: var(--main-width);
    margin: 0 auto;
}

.highlight {
    color: var(--first-color);
    font-weight: 700;
}

.bold {
    font-weight: 700;
}

.semibold {
    font-weight: 500;
}

.bolder {
    font-weight: 900;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--first-color);
    color: var(--white-color);
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.btn:hover {
    background-color: var(--dark-first-color);
}

/*
██████████████████████████████████████████
██████████     CUSTOM STYLES    ██████████
██████████████████████████████████████████
*/

/*░░░░░░░░░░       MAIN        ░░░░░░░░░░░*/
main.single-page ul,
main.single-page ul li{
	margin: 1rem 0;
}

main.single-page ul {
	list-style: disc;
}

main.single-page ul li {
	margin-left:1rem;
}

main.single-page,
main.blog-page,
main.single-projects-page,
main.archive-projects-page {
    padding: 4em 0;
}

main.index-page {
    padding-bottom: 4rem;
}

/*░░░░░░░░░░      HEADER       ░░░░░░░░░░░*/
.header {
    width: 100%;
    padding: 1em 0;
    background-color: rgba(255, 255, 255, 1);
    transition: all .5s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    box-shadow: 0 0 10px 0px rgb(0 0 0 / 30%);
}

.header.active {
    background-color: var(--white-color);
}

.header__wrapper {
    width: 100%;
    max-width: var(--main-width);
    padding: 0 1em;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 999;
}

.header__logo {
    flex: 1 0;
    color: var(--white-color);
    z-index: 900;
}

.header__logo a {
    width: 300px;
}

/*░░░░░░░░░░      TOP RRSS     ░░░░░░░░░░░*/
.top-rrss {
    /* flex: 1 0; */
    display: flex;
    flex-flow: row;
    border-left: 1px solid var(--blue-color);
    margin-left: 1rem;
    padding-left: 1rem;
}

.top-rrss__link {
    max-width: 20px;
    margin: 0 .25rem;
}

.top-rrss__link:first-child {
    margin-left: 0;
}

.top-rrss__link:last-child {
    margin-right: 0;
}

.top-rrss__link img {
    width: 100%;
}


/*░░░░░░░░░░      MENU BTN     ░░░░░░░░░░░*/
.menu-btn {
    display: none;
    cursor: pointer;
    background-color: transparent;
    color: var(--blue-color);
    border: none;
    font-size: 2em;
    z-index: 900;
}

.menu-btn:focus {
    outline: none;
}

/*░░░░░░░░░░      NAVBAR       ░░░░░░░░░░░*/
.navbar {
    flex: 1 0;
    z-index: 800;
}

.navbar__title {
    display: none;
    text-align: center;
    text-transform: uppercase;
    color: var(--blue-color);
    margin-bottom: 2em;
}

.navbar .menu-overlay__list ul,
.navbar__list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

.navbar .menu-overlay__list ul li,
.navbar__list li {
    margin: 0 1em;
}

/* .navbar .menu-overlay__list ul li:last-child,
.navbar__list li:last-child {
    margin-right: 0;
    margin-left: 0;
} */

.navbar .menu-overlay__list ul li:first-child,
.navbar__list li:first-child {
    margin-left: 0;
}

.navbar .menu-overlay__list ul li a,
.navbar__list li a {
    text-decoration: none;
    color: var(--blue-color);
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -ms-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar .menu-overlay__list ul li a.cta,
.navbar__list li a.cta {
    border: 1px solid var(--first-color);
    color: var(--white-color);
    padding: .5rem 1rem;
    border-radius: 2rem;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    -ms-border-radius: 2rem;
    -o-border-radius: 2rem;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}

.navbar .menu-overlay__list ul li a.cta:hover,
.navbar__list li a.cta:hover {
    background-color: var(--first-color);
    color: var(--white-color);
}

.navbar .menu-overlay__list ul li a.active,
.navbar .menu-overlay__list ul li a:hover,
.navbar__list li a.active,
.navbar__list li a:hover {
    color: var(--first-color);
}

/*░░░░░░░░░░      TOP HEADER       ░░░░░░░░░░░*/
.topHeader {
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 1;
}

.topHeader::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #132B44;
    opacity: .8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.topHeader__wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white-color);
    position: relative;
    text-align: center;
    z-index: 3;
}

.topHeader__wrapper p {
    font-size: 1.1rem;
}

.topHeader__wrapper h1 {
    margin: 0;
    font-size: 3em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/*░░░░░░░░░░   FULLSCREEN BANNER    ░░░░░░░░░░░*/
.fullscreen-banner {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: 50% 40%;
    background-repeat: no-repeat;

    position: relative;
    z-index: 1;
}

.fullscreen-banner:after {
    content: '';
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .8);

    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.fullscreen-banner__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.fullscreen-banner__content {
    width: 60%;
    text-align: center;
    color: var(--white-color);
}

.fullscreen-banner__error {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--white-color);
    background-color: var(--first-color);
    padding: .5rem 1rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    margin-bottom: .5rem;
}

.fullscreen-banner__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.fullscreen-banner__byline {
    margin-bottom: 2rem;
    font-weight: 300;
}

.fullscreen-banner__link {
    color: var(--white-color);
    text-decoration: underline;
    line-height: 1.5;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}

.fullscreen-banner__link:hover {
    color: var(--first-color);
}

/*░░░░░░░░░░      BLOG       ░░░░░░░░░░░*/
.blog {
    width: 100%;
}

.blog__wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 1rem;
}

.blog__box,
.blog__box--fallback {
    width: calc(50% - 1rem);
    margin: 0 .5rem;
    box-shadow: 0px 0px 0px 0px #737373, 0 0 0px 0px var(--shadow-color);
    transition: all .3s ease-out;
    overflow: hidden;
    position: relative;
    z-index: 1;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}

/* .blog__box:hover,
.blog__box--fallback:hover {
    box-shadow: 0px 0px 0px 4px var(--blue-color), 0 0 4px 4px var(--dark-shadow-color);
    
} */

.blog__img {
    width: 100%;
    height: auto;
    display: block;

    position: relative;
}

.blog__thumb {
    display: block;
    object-fit: cover;
}

.blog__heading {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 1rem 2rem;
    color: var(--white-color);
    background-image: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,0) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.blog__box:hover .blog__heading {
    background-image: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,0) 100%);
}

.blog__title {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--white-color);
    text-shadow: 1px 1px 4px var(--shadow-color);
    margin-bottom: .5rem;
}

.blog__subtitle {
    font-size: .8rem;
    font-weight: 300;
}

.blog__date {
    font-weight: 500;
    padding: .5rem 1rem;
    background-color: rgba(19, 43, 68, .6);
    color: var(--white-color);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .5);

    position: absolute;
    top: 2rem;
    left: 0;
    z-index: 3;
}

.blog__info {
    padding: 2rem;
    padding-top: 1rem;
}

/*░░░░░░░░░░      PROJECTS       ░░░░░░░░░░░*/
.projects__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto;
    row-gap: 1rem;
}

.projects__slide {
    width: calc(50% - 1rem);
    margin: 0 .5rem;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

.projects__slide:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .3);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.projects__slide:hover .projects__info {
    opacity: 1;
}

.projects__box {
    width: 100%;
    position: relative;
}

.projects__background {
    width: 100%;
    z-index: 1;
}

.projects__background img {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
}

.projects__info {
    opacity: 1;
    transition: all .3s ease-in-out;
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 90%;
    height: 20%;
    padding: 1em 1em;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.projects__info h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #334041;
}

/*░░░░░░░░░░      FOOTER       ░░░░░░░░░░░*/
.footer {
    height: 35vh;
    background-color: #112b44;
    color: #757575;
    display: flex;
    align-items: center;
}

.footer__box h3 {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer__box h1 {
    color: var(--white-color);
}

.footer__box p {
    font-size: .8rem;
    margin-top: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
}

.menu-overlay__list ul li,
.footer__list li {
    list-style: none;
}

.menu-overlay__list ul li a,
.footer__list li a {
    font-size: .9rem;
    text-decoration: none;
    font-weight: 300;
    color: var(--white-color);
    margin-bottom: .3rem;
}

.menu-overlay__list ul li a:hover,
.footer__list li a:hover {
    color: var(--white-color);
}

.footer__box.rrss .footer__link {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer__box.rrss .footer__icon {
    max-width: 20px;
    margin-right: .3rem;
}

.footer__box.rrss .footer__link p {
   margin-top: 0;
}

/*░░░░░░░░░░     COPYRIGHT     ░░░░░░░░░░░*/
.copyright {
    font-weight: 300;
    text-align: center;
    font-size: .8rem;
    background-color: #ffffff;
    color: #334041;
}

.copyright__wrapper {
    padding: 2rem 0;
    text-align: left;
}

.copyright__wrapper a {
    color: #334041;
}

.copyright .left {
    text-align: left;
}

.copyright .right {
    text-align: right;
}


/*
██████████████████████████████████████████
██████████     MEDIA QUERRYS    ██████████
██████████████████████████████████████████
*/

/*░░░░░░░░░░      DESKTOP      ░░░░░░░░░░░*/
@media only screen and (max-width: 1280px) {
    
}

/*░░░░░░░░░░       TABLET      ░░░░░░░░░░░*/
@media only screen and (max-width: 768px) {
    /*░░░░░░░░░░      HELPPERS      ░░░░░░░░░░░*/
    .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;
    }

    /*░░░░░░░░░░       MAIN        ░░░░░░░░░░░*/
    main.single-page,
    main.blog-page,
    main.single-projects-page {
        padding: 2em 0;
    }

    /*░░░░░░░░░░      TOP RRSS     ░░░░░░░░░░░*/
    .top-rrss {
        display: none;
    }

    /*░░░░░░░░░░     MENU BUTTON     ░░░░░░░░░░░*/
    .menu-btn {
        display: block;
        background-color: transparent;
        border: none;
        font-size: 2em;
    }

    /*░░░░░░░░░░      NAVBAR      ░░░░░░░░░░░*/
    .navbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        width: 50vw;
        height: 100vh;
        background-color: var(--white-color);
        top: 0;
        right: -50vw;
        transition: all 1s ease-in-out;
        -webkit-transition: all 1s ease-in-out;
        -moz-transition: all 1s ease-in-out;
        -ms-transition: all 1s ease-in-out;
        -o-transition: all 1s ease-in-out;
    }

    .navbar.active {
        right: 0vw;
    }

    .navbar__title {
        display: block;
    }

    .navbar .menu-overlay__list ul,
    .navbar__list {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto;
    }
    
    .navbar .menu-overlay__list ul li,
    .navbar__list li {
        margin: 0 auto;
    }

    .navbar .menu-overlay__list ul li:last-child,
    .navbar__list li:last-child {
        margin-right: auto;
        margin-left: auto;
    }

    .navbar .menu-overlay__list ul li:first-child,
    .navbar__list li:first-child {
        margin-left: auto;
    }

    .navbar .menu-overlay__list ul li a,
    .navbar__list li a {
        display: block;
        color: var(--blue-color);
        padding: 1em;
    }


    /*░░░░░░░░░░      TOP HEADER       ░░░░░░░░░░░*/
    .topHeader {
        height: 30vh;
    }

    .topHeader__wrapper p {
        font-size: .8rem;
    }

    .topHeader__wrapper h1 {
        font-size: 1.5em;
        margin-bottom: .5rem;
    }

    /*░░░░░░░░░░   FULLSCREEN BANNER  ░░░░░░░░░░░*/
    .fullscreen-banner__content {
        width: 100%;
    }

    /*░░░░░░░░░░      BLOG       ░░░░░░░░░░░*/
    .blog__box,
    .blog__box--fallback {
        width: 100%;
        margin: 0;
        margin-bottom: 1rem;
    }

    .blog__img {
        height: auto;
    }

    .blog__heading {
        padding: 1rem;
    }

    .blog__title {
        font-size: 1rem;
    }

    .blog__subtitle {
        font-size: .7rem;
    }

    .blog__date {
        font-size: .8rem;
        top: 1rem;
    }

    /*░░░░░░░░░░      PROJECTS      ░░░░░░░░░░░*/
    .projects__box {
        display: block;
        width: 100%;
    }


    .projects__info h3 {
        font-size: 1.2rem;
    }
    
    .projects__info p {
        font-size: 1em;
    }

    /* ========== MODAL BOX ==========*/
    .open-btn {
        width: 100%;
    }
    .modal__box {
        width: 80%;
        padding: .5em;
    }
    .modal__cta {
        width: 100%;
    }
}

/*░░░░░░░░░░       PHONE       ░░░░░░░░░░░*/
@media only screen and (max-width: 480px) {
    /* ========== HEADER ==========*/
    .header__logo a {
        width: 150px;
    }
    /* ========== NAVBAR ==========*/
    .navbar {
        width: 100vw;
        right: -100vw;
    }

    /* ========== FOOTER ==========*/
    .footer {
        height: auto;
        padding: 2em 0;
    }
    .footer__box {
        margin-bottom: 2em;
    }

}