/*=========================================

            1. Body
            2. Navbar
            3. Banner
            4. About
            5. Portfolio
            6. Privacy
            7. Contact
            8. Footer
            9. Responsiveness

===========================================*/

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*============ 1. Body ============*/

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Space Grotesk", sans-serif;
}

h2 {
    font-weight: 300;
}

h3,
h4,
h5,
h6 {
    font-weight: 700;
}

p {
    color: #000;
    line-height: 28px;
}

a {
    color: #748182;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a:hover,
a:focus {
    outline: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    overflow: hidden;
}

/*Margins*/

.padtop-20 {
    padding-top: 20px;
}
.padtop-40 {
    padding-top: 40px;
}
.padtop-60 {
    padding-top: 60px;
}
.padtop-90 {
    padding-top: 90px;
}
.padbtm-20 {
    padding-bottom: 20px;
}
.padbtm-40 {
    padding-bottom: 40px;
}
.padbtm-60 {
    padding-bottom: 60px;
}
.padbtm-90 {
    padding-bottom: 90px;
}
.martop-20 {
    margin-top: 20px;
}
.martop-40 {
    margin-top: 40px;
}
.martop-60 {
    margin-top: 60px;
}
.marbtm-20 {
    margin-bottom: 20px;
}
.marbtm-40 {
    margin-bottom: 40px;
}
.marbtm-60 {
    margin-bottom: 60px;
}

.main-button {
    text-decoration: none;
    border: 1px solid #aaa;
    color: #000;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    background-color: transparent;
}

.main-button:hover {
    border: 1px solid #000;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.main-button:hover,
.main-button:focus {
    outline: none;
}

.main-button.success {
    border-color: #2c6e49;
    color: #2c6e49;
}

.main-button.success:hover {
    background-color: #2c6e49;
    color: #fff;
}

.main-button.error {
    border-color: #a8334c;
    color: #a8334c;
}

.main-button.error:hover {
    background-color: #a8334c;
    color: #fff;
}

/*============ 2. Navbar ============*/

.navbar {
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: .90rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.navbar .navbar-brand img {
    width: 35%;
}

.navbar .navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:hover {
    outline: none;
}

/* Hamburger Menu */
.hamburger-menu {
    width: 20px;
    height: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: all 0.25s ease-in-out;
    transform-origin: center;
}

/* Scrolled navbar hamburger color */
.navbar-scroll-fixed .hamburger-menu span {
    background-color: #333;
}

/* Subtle animation when menu opens */
.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.8);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.navbar .navbar-nav .back-button {
    color: #fff;
}

.navbar-scroll-fixed {
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 70px rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 70px rgba(0, 0, 0, 0.5);
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.navbar-scroll-fixed .navbar-nav .back-button {
    color: #000;
}

/*============ 3. Banner ============*/

#banner {
    background-position: top center;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

/* Video positioning - crop from left*/
#banner .ytplayer-container,
#banner .ytplayer-player {
    transform-origin: right center !important;
    right: 0 !important;
    left: auto !important;
}

#banner .ytplayer-container iframe,
#banner .ytplayer-player iframe {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    transform-origin: right center !important;
}

#banner:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
    z-index: 1;
}

#banner .banner-text {
    text-align: center;
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#banner .banner-text h1 {
    font-weight: 700;
    color: #fff;
    font-size: 60px;
    line-height: 100px;
    letter-spacing: 2px;
}

#banner .banner-text #typed {
    color: #fff;
    font-size: 26px;
    font-weight: 300;
}

/*Text Banner*/

.text-banner {
    background: #111;
    padding: 150px 0 100px;
    position: relative;
}

/*Typed Cursor Blink*/

.typed-cursor {
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
    font-size: 35px;
    font-weight: 700;
    color: #fff;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*============ 4. About ============*/

#about {
    padding-top: 120px;
    padding-bottom: 160px;
}

#about .about-info-container {
    background-color: #f3f3f3;
    margin-top: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.01);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.01);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -o-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#about .about-info-container:hover {
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.01);
}

#about .about-info-container .about-info {
    text-align: right;
    padding-right: 50px;
}

#about .about-info-container .about-info .info-item img {
    width: 100px;
    -webkit-border-radius: 90px;
    border-radius: 90px;
    border: 5px solid #fff;
    margin-bottom: 20px;
}

#about .about-info-container .about-info .info-item p {
    margin-bottom: 10px;
}

#about .about-info-container .about-info .info-item span {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: #000;
}

/*============ 5. Portfolio ============*/

#portfolio {
    padding-top: 120px;
    padding-bottom: 130px;
    background-color: #f2f2f2;
}

.portfolio-header .portfolio-filter {
    padding-top: 5px;
}

.portfolio-header .portfolio-filter ul {
    margin: auto;
    display: inline-block;
    padding-left: 0px;
}

.portfolio-header .portfolio-filter ul li {
    float: left;
    color: #748182;
    list-style: none;
    margin-right: 10px;
    cursor: pointer;
    font-size: 15px;
}

.portfolio-header .portfolio-filter ul li.sel-item {
    color: #000 !important;
    font-weight: 700;
}

.portfolio-header .portfolio-filter ul li li:last-child {
    margin-right: 0;
}

.portfolio-items .single-item {
    margin-bottom: 30px;
}

.portfolio-items .single-item .popup {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.portfolio-items .single-item .popup img {
    width: 100%;
    -webkit-transition: -webkit-transform .5s ease-in-out;
    transition: -webkit-transform .5s ease-in-out;
    -o-transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out, -webkit-transform .5s ease-in-out;
}

.portfolio-items .single-item .popup:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    -webkit-transition: background-color .6s ease-in-out;
    -o-transition: background-color .6s ease-in-out;
    transition: background-color .6s ease-in-out;
}

.portfolio-items .single-item .popup:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

/* Magnific Popup Title Overlay */
.mfp-title {
    position: absolute;
    bottom: -22px;
    left: -8px;
    color: #ccc;
    padding: 4px 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 400;
    z-index: 1051;
}

/*============ 6. Privacy ============*/

#privacy {
    background-color: #f2f2f2;
    padding-top: 120px;
    padding-bottom: 160px;
}

.privacy-content em {
    color: #888;
    font-size: 14px;
}

/*============ 7. Contact ============*/

#contact {
    padding-top: 120px;
    padding-bottom: 160px;
}

#contact h2 {
    margin-bottom: 30px;
    font-size: 24px;
}

#contact .contact-item h4 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 21px;
}

#contact .contact-item p {
    font-size: 14px;
    line-height: 24px;
}

#contact form .form-group {
    margin-bottom: 24px;
}

#contact form .form-group .form-control {
    font-size: 14px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #cccccc;
    height: 52px;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

#contact form .form-group textarea.form-control {
    height: auto;
}

#contact form .form-group .con-error {
    border-color: #E16625;
}

#contact form .form-control:hover,
#contact form .form-control:active,
#contact form .form-control:focus {
    -webkit-box-shadow: none;
    -moz-webkit-box-shadow: none;
    box-shadow: none;
    border-color: #666666;
}


/*============ 8. Footer ============*/

footer {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #111;
    text-align: center;
}

footer ul.social-icons {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

footer ul.social-icons li {
    display: inline-block;
    margin: 0 15px;
}

footer ul.social-icons li:first-child {
    margin-left: 0;
}

footer ul.social-icons li:last-child {
    margin-right: 0;
}

footer ul.social-icons li a {
    color: #757575;
    font-size: 16px;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

footer ul.social-icons li a:hover {
    color: #fff;
}

footer p {
    color: #757575;
    margin: 24px 0 0 0;
    font-size: 14px;
}

footer p a.footer-link {
    color: #fff;
}

footer p a.footer-link:hover {
    color: #757575;
    text-decoration: none;
}

/*============ 8. Privacy Banner ============*/

.text-banner {
    background: #111;
    padding: 150px 0 100px;
    position: relative;
}

.text-banner h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

/*============ 9. Responsiveness ============*/

/*Responsive Max Width 992px*/

@media screen and (max-width: 992px) {
    #banner .banner-text h1 {
        font-size: 50px;
    }
    #banner .banner-text #typed {
        font-size: 30px;
    }
    #banner .banner-text .typed-cursor {
        font-size: 30px;
    }
    #about .about-info-container .about-info {
        text-align: center;
        margin-bottom: 60px;
        padding-right: 15px;
    }
}


/*Max Width 768px*/

@media screen and (max-width: 767px) {
    #banner .banner-text h1 {
        font-size: 32px;
        line-height: 50px;
    }
    #banner .banner-text #typed {
        font-size: 20px;
    }
    #banner .banner-text .typed-cursor {
        font-size: 20px;
    }
    .navbar .navbar-brand img {
        width: 30%;
    }
    .navbar.navbar-dark .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        text-align: center;
    }
    .navbar.navbar-dark .navbar-collapse li.nav-item {
        border-bottom: 1px solid #111;
        margin-bottom: 4px;
    }
    .navbar.navbar-dark .navbar-collapse li.nav-item:last-child {
        margin-bottom: 0;
        border-bottom: 0px;
    }
    .navbar.navbar-light .navbar-collapse {
        text-align: center;
    }
    .navbar.navbar-light li.nav-item {
        border-bottom: 1px solid #eee;
        margin-bottom: 4px;
    }
    .navbar.navbar-light li.nav-item:last-child {
        margin-bottom: 0;
        border-bottom: 0;
    }
    #contact .message-box h2 {
        margin-top: 50px;
        text-align: left !important;
    }
    .row.reply-area {
        margin-left: 40px;
        margin-top: 20px;
    }
}