

/*#cover {position: fixed; height: 100%; width: 100%; top:0; left: 0; background: #000; z-index:9999;*/
    /*font-size: 60px; text-align: center; padding-top: 200px; color: #fff;*/
/*}*/

.wow {
    visibility: hidden;
}


.primary-top-nav {
    background-color: #557b83;
    padding: 1rem 0;
}
#home-nav.primary-top-nav {
    background-color: transparent;
}
.primary-top-nav a {
    color: #ffffff;
    font-size: 1.2rem;
}




@media only screen  and (min-width: 576px) {
    .primary-top-nav .navbar-nav .nav-link {
        color: #ffffff;
        border-radius: 10%;
        padding-left: 1rem;
        font-family: 'rubik', sans-serif;
        font-weight: 300;
        letter-spacing: 1px;
    }

}

.primary-top-nav .nav-link:hover {
    color: #a2fffa;
}
.primary-top-nav .nav-item.active .nav-link {
    color: #a2fffa;
}




#right-side-content {
    margin-top: 1.5rem;
}


/* Nav ends*/

/*General CSS*/
main {
    margin-top: 92px;
}

@media only screen and (max-width: 992px) {
    .primary-top-nav {
        display: none;
    }
    main {
        margin-top: 0;
    }
}

h1 {
    font-family: 'cairo', sans-serif;
}
@media only screen and (min-width: 992px){
    .container {
        max-width: 1200px;
        padding-left:20px;
        padding-right:20px;
    }
    #right-side-content {
        margin-top: 70px;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1300px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.header-title {
    text-transform: uppercase;
}
/* General ends*/

/* Home Page*/
.home-page {
    background-image: url("../img/home-david-mobile.png");
    background-position: bottom right;
    height: 710px;
    background-repeat: no-repeat;
}

.home-page h1{
    font-size: 3.5rem;
    margin-bottom: 0;
}
.home-page h2 {
    font-size: 1.3rem;
    color: #4baea9;
    font-family: 'rubik', sans-serif;

}
.home-page p {
    color: #000;
    font-size: 1rem;
    font-family: 'rubik', sans-serif;
    margin-right: 6rem;
    margin-bottom: 0.5rem;

}

.home-page .home-learn-more {
    background-color: #4baea9;
    color: #ffffff;
    font-family: 'rubik', sans-serif;
}

.home-page .home-learn-more:hover {
    background-color: #557b83;
}

.header-blink {
    color: #4baea9;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.2;
    }
}
@media only screen and (max-width: 350px) {

    .home-page {
        background-image: url("../img/home-david-xs.png");
        background-position: bottom right;
        height: 450px;
        background-repeat: no-repeat;
    }

    .home-page h1 {
        font-size: 2.5rem;
    }
    .home-page h2 {

        max-width: 250px;

    }
}

/* Home tablet*/

@media only screen and (min-width: 768px) {

    .home-page {
        background-image: url("../img/home-david-sm-desktop.png");
        background-position: bottom right;
        height: 850px;
        background-repeat: no-repeat;
    }
    .home-page p {
        margin-right: 3rem;
    }
    .home-page .home-learn-more {
        padding: 0.8rem 1.8rem;
        font-size: 1.3rem;
    }
    .home-page .container {
        margin: 0;
    }
}

/* Home desktop*/

@media only screen and (min-width: 992px) {


    .home-page {
        background-image: url("../img/home-david-sm-desktop.png");
        background-position: bottom right;
        height: 720px;
        background-repeat: no-repeat;
    }
    .home-page h1 {
        font-size: 6rem;
    }
    .home-page h2 {
        font-size: 2.3rem;
    }
    .home-page p {
        margin-right: 22rem;
        font-size: 1.3rem;
    }
    .home-page .container {
        margin: 0 auto;
    }
}

/* Home Large desktop*/

@media only screen and (min-width: 1200px) {

    .home-page {
        background-image: url("../img/home-david-desktop.png");
        background-position: bottom right;
        height: 960px;
        background-repeat: no-repeat;
    }
    .home-page h1 {
        font-size: 7rem;
    }
    .home-page h2 {
        font-size: 2.5rem;
    }
    .home-page p {
        margin-right: 26.5rem;
        font-size: 1.3rem;
    }
}

/*ABOUT PAGE*/

.about-header {
    background-image: url("../img/about-sm-new.jpg");
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position-x: center;
}

.about-header .header-title {
    color: #ffffff;
    position: absolute;
    bottom: 0;
    margin-bottom: -21px;
    font-size: 4.5rem;
}
/*Fix problem with sizing*/
.about .row {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}
.about-section > .container > .row {
    margin: 0 auto;
}
#about-content .col-sm-12 {
    padding-left: 0;
    padding-right: 0;
}

.about-section h3 {
    font-family: 'cairo', sans-serif;
}

.about-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.about-section:nth-child(2n){
    background-color: #f4fdff;
}

.about-section h2 {
    color: #4baea9;
    font-family: 'cairo', sans-serif;
    font-size: 1.5rem;

}
.about-section .canadian-motor-sports  h2 {
    color: #e63f35;
}

.about-section .visual-tranquility  h2 {
    color: #dc9947;
}
.about-section h4 {
    font-family: 'cairo', sans-serif;
    font-size: 2rem;
    margin-bottom: 0;
}
.about-section p {
    font-family: 'rubik', sans-serif;
}

.about-section span.date-range {
    color: #5b5151;
    font-size: 1rem;
    font-family: 'rubik', sans-serif;

}
.about-section p.position {
    font-family: 'cairo', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1;
}
.about-section ul {
    padding-left: 25px;
}
.about-section li {
    font-family: 'rubik', sans-serif;
    font-size: 1rem;
}
.about-section .about-readmore {
    margin-top: 10px;
}

.about-section .experience-group {
    margin-top: 1rem;
}

/*ABOUT Tablet*/
@media only screen and (min-width: 768px) {
    .about-header {
        background-image: url("../img/about-md-new.jpg");
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }


    .about-header .header-title {
        font-size: 6rem;
    }

}

/* About Tablet Ends*/

/* ABout Desktop start*/
@media only screen and (min-width: 992px) {

    .about .container {
        max-width: 645px;
        margin: 0;
    }
    .about-header {
        background-image: url("../img/about-lg-portrait.jpg");
        height: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        z-index: -1;
        background-color: #557b83;
        position: fixed;
        width: 50%;
        margin-top: -92px;
    }
    .about-header .header-title {
        bottom: -17px ;
        right: 0;
        margin-right: 0;
        font-size: 9rem;

    }





}


/*About Desktop Ends*/

    /* About Large desktop*/
@media only screen and (min-width: 1200px) {




}
    /*About Large Desktop ends*/

    /*About Ends*/

    /*Project Starts*/

.project-header {
    background-image: url("../img/project-header-sm.jpg");
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.project-header .header-title {
    color: #ffffff;
    position: absolute;
    bottom: 0;
    margin-bottom: -14px;
    font-size: 4.5rem;
}

#project-content .col-sm-6, #project-content .col-sm-12 {
    padding-left: 0;
    padding-right: 0;
}

/* Project cards*/
.project-grid .col-xl-4 {
    background-color: #4baea933;
}

.project {
    height: 110px;
    margin: 1rem;

}

.project-grid {
    display: flex;
    flex-wrap: wrap;
}

.project {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.project-grid .col-xl-4 {
    border: 6px solid white;
}

.project-heading {
    padding: 0 1rem;
}

.project-grid .imghvr-push-up > img {
    padding: 0.3rem 1rem;
    max-height: 100%;
    display: block;
    margin: 0 auto;
               }
.project-grid .imghvr-push-up {
    background-color: #d5eeee;
    color: #5b5151;
    height: 100%;
}

.project-grid .imghvr-push-up h4 {
    text-align: center;
    font-size: 1rem;
}

.project-grid .imghvr-push-up > figcaption {
    background-color: #d5eeee;
    color: #5b5151;
    padding: 2rem;
}


.project-grid .imghvr-push-up > figcaption h3 {
    color: #5b5151;
    font-size: 1.5rem;
}

.project-grid .imghvr-push-up > figcaption h6 {
    color: #5b5151;
}

/* Canadian Motorsports*/

.project#canadianms {
    background-image: url("../img/canadianms.png");


}

/* Elise seehagel*/
.project#eliseseehagel {
    background-image: url("../img/eliseold.png");)
}

/* Visual Tranquility*/

.project-header#visualtranquility {
    background-image: url("../img/vtphotography.png");
}
/* Project cards ends*/


/* Ajax project details*/
.project-header#eliseseehagel {
    background-image: url("../img/projects/elise/eliseseehagel-sm-header.jpg");
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
}

.project-header#canadianms {
    background-image: url("../img/projects/cdnmotorsports/canadianmotorsports-sm-header.jpg");
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
}

.project-header#vtphotography {
    background-image: url("../img/projects/visualtranquility/visualtranquility-sm-header.jpg");
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
}

.project-header .header-title {
    color: #ffffff;
    position: absolute;
    bottom: 0;
    margin-bottom: -16px;
    font-size: 4.5rem;
}

.project-header .header-title#website-name {
    font-size: 3rem;
    margin-bottom: -9px;
}




.project-header-img {
    width: 100%;
}
.project-mobile-img {
    width: 50%;
    margin-left: 22%;
    margin-right: 22%;
}

.mobile {
    position: relative;
    width: 100%;
}
.mobile .col-lg-5 {
    padding-left:0 ;
    padding-right: 0;
}

.desktop {
    position: relative;
    width: 100%;
}
.desktop .col-lg-12 {
    padding-left:0 ;
    padding-right: 0;
}




.project-desktop-img {
    width: 100%;
}

.project-desktop-img {
    margin-bottom: 3rem;
    margin-top: 2.5rem;
}
.project-mobile-img {
    margin-bottom: 3rem;
    margin-top: 2.5rem;
}
.project-name {
    margin-top: 2.5rem;
}
/*Project AJAX request tablet*/

#return-to-projects {
    display: block;
    margin-top: -0.5rem;
}


/* Project descriptions Large Desktop*/
@media only screen and (min-width: 992px) {
    .mobile .col-lg-5 {
        padding-left:0 ;
        padding-right: 0;
    }
    .desktop .col-lg-12 {
        padding-left:0 ;
        padding-right: 0;
    }
    .mobile-text-container {
        min-height: 310px;
        position: relative;
        left: -10rem;
        background-color: white;
        top: 5rem;
        max-height: max-content;
        padding: 2rem 2rem 0.5rem 2rem;
        width: 190%;
        max-width: 330px;
        border: 1px solid #76ece6;
        border-radius: 20%;
    }
    .canadian-motor-sports .mobile-text-container {
        border-color: #e63f35;
    }

    .visual-tranquility .mobile-text-container {
        border-color: #cac037;
    }
}

@media only screen and (min-width: 1200px){
    .mobile-text-container {
        position: relative;
        left: -4rem;
        background-color: white;
        top: 5rem;
        max-height: max-content;
        padding: 2rem;
        width: 140%;
        border: 1px solid #76ece6;
        border-radius: 20%;
    }



    .mobile-text-container p, .mobile-text-container h2 {
        width: 105%;
    }

    .desktop-text-container {
        position: relative;
        max-height: max-content;
        width: 100%;
    }
    .desktop-text-container p, .mobile-text-container h2 {
        width: 105%;
    }
}

/*PROJECTS Tablet*/
@media only screen and (min-width: 768px) {
    .project-header {
        background-image: url("../img/project-header-md.jpg");
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }


    .project-header .header-title {
        font-size: 6rem;
    }

    /*AJAX REQUEST TABLET*/
    .project-header#eliseseehagel {
        background-image: url("../img/projects/elise/eliseseehagel-md-header.jpg");
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: top center;
    }
    .project-header#canadianms {
        background-image: url("../img/projects/cdnmotorsports/canadianmotorsports-md-header.jpg");
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: top center;
    }

    .project-header#vtphotography {
        background-image: url("../img/projects/visualtranquility/visualtranquility-md-header.jpg");
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: top center;
    }
}



/* Project Desktop start*/
@media only screen and (min-width: 992px) {
    .project-header {
        position: fixed;
        width: 50%;
    }

    .project-mobile-img {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .project-header {
        background-image: url("../img/project-header-lg.png");
        height: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        z-index: -1;
        background-color: #5b5151;
        margin-top: -92px;
    }
    .project-header .header-title {
        bottom: -17px ;
        right: 0;
        text-align: right;
        margin-right: 0;
        font-size: 7rem;

    }
    /* ELISE SEEHAGEL PROJECT*/
    .project-header#eliseseehagel {
        background-image: url("../img/projects/elise/eliseseehagel-lg-header-new.jpg");
        height: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        z-index: -1;
        background-color: #5b5151;
        width: 50%;
        position: fixed;
    }
    .project-header#eliseseehagel .header-title {
        bottom: 56px ;
        right: 0;
        text-align: right;
        margin-right: 0;
        font-size: 7rem;

    }

    /* CANADIAN MOTORSPORTS PROJECT*/
    .project-header#canadianms {
        background-image: url("../img/projects/cdnmotorsports/canadianmotorsports-lg-header.jpg");
        height: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        z-index: -1;
        background-color: #5b5151;
        width: 50%;
        position: fixed;
    }
    .project-header#canadianms .header-title {
        bottom: 56px ;
        right: 0;
        text-align: right;
        margin-right: 0;
        font-size: 7rem;

    }


    /* VISUAL TRANQUILITY PROJECT*/

    .project-header#vtphotography {
        background-image: url("../img/projects/visualtranquility/visualtranquility-lg-header.jpg");
        height: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        z-index: -1;
        background-color: #5b5151;
        width: 50%;
        position: fixed;
    }
    .project-header #website-name.header-title {
        display: none;
    }
    #return-to-projects {
        display: block;
        margin-top: -35px;
    }

}


/*project Desktop Ends*/

/* Project Large Desktop start*/
@media only screen and (min-width: 1200px) {

    .project-header .header-title {
        font-size: 9rem;

    }

}
    /*Projects ends*/

    /* Contact page*/
.contact-header {
    background-image: url("../img/contact-header-sm.jpg");
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-header .header-title {
    color: #ffffff;
    position: absolute;
    bottom: 0;
    font-size: 4.5rem;
    margin-bottom: -16px;

}

#contact-content .col-sm-12 {
    padding-left: 0;
    padding-right: 0;
}
form#contact-form label {
    font-family: 'rubik', sans-serif;
    display: none;
    color: #04d2c7;
}
.contact-error {
    font-family: 'rubik', sans-serif;
    color: #ee2204;
    font-size: 0.8rem;
    margin-left: 3px;
    display: none;
}

#contact-form textarea {
    height: 150px;
}

button#contact-submit {
    background-color: #4baea9;
    color: #ffffff;
    font-family: 'rubik', sans-serif;
    width: 100%;
}
.form-control:focus {
    border-color: #4baea9;
    box-shadow: 0 0 0 0.2rem #4baea96b;
}

/*CONTACT Tablet*/
@media only screen and (min-width: 768px) {
    .contact-header {
        background-image: url("../img/contact-header-md.jpg");
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }


    .contact-header .header-title {
        bottom: 0 ;
        font-size: 6rem;

    }

}

/* CONTACT Desktop start*/
@media only screen and (min-width: 992px) {
    .contact-header {
        background-image: url("../img/contact-header-lg.jpg");
        position: fixed;
        width: 50%;
    }
    .contact-header {
        /*background-image: url("../img/project-header-lg.png");*/
        height: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        z-index: -1;
        background-color: #5b5151;
    }
    .contact-header .header-title {
        bottom: 73px ;
        right: 0;
        text-align: right;
        margin-right: 0;
        font-size: 7rem;

    }
    button#contact-submit {
        width: auto;
    }

}


/*project Desktop Ends*/

/* Project Large Desktop start*/
@media only screen and (min-width: 1200px) {

    .contact-header .header-title {
        font-size: 9rem;

    }

}

/* Contact page ends*/


    /* Footer*/

.social-media {
    background-color: #5b5151;
    color: #4baea9 ;
    height: 100px;
    width: 100%;
    font-size: 2rem;
}
.social-media ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top:25px;
    padding-left: 7%;
    padding-right: 7%;
    margin-right: 0;
    max-width:600px;
}
.social-media a {
    color: #4baea9;
}
.social-media a:hover {
    color: #ffffff;
}
.social-media li {
    color: #4baea9 ;
    width:50px;
    height:50px;
    text-align: center;
}
.social-media li:hover {
    background-color: #557b83;
    border-radius: 100%;
}
.social-media li:hover a {
    color: #ffffff;
}

footer {
    background-color: #557b83;
    color: #fff;
    width:100%;
    height: 30px;
    text-align: center;
    margin-bottom: 90px;


}



footer p {
    margin-bottom: 0;
}
nav#footer-nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 90px;
    position: fixed;
    bottom: 0;
    background-color: #5b5151;
    color: #ffffff;
}

nav#footer-nav .fa {
    font-size: 2.8rem;
    margin-bottom: 0.3rem;

}

#footer-nav .col-sm-3 {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    border-right: 1px solid #635a5a;
}

#footer-nav a {
    color: #d3fffd;
    margin-top: 10px;

}

#footer-nav a:hover {
    color: #76ece6;
    text-decoration: none;
}

@media only screen and (min-width: 992px) {
    nav#footer-nav {
        display: none;
    }
    footer {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 350px) {
    nav h6 {
        font-size: 0.9rem;
    }
}

