
/* Allow for header to be over welcome image without colliding with notification bar */

.header-and-content-container{
    position: relative;
}

header{
    position: absolute;
    top: 0;
    left: 0;
}

#welcome-image{
    height: 100vh;
    background: url("../../assets/images/bg-image.a68a78d32927.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

#welcome-image .container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#welcome-image h1{
    font-size: 50px;
}

#services .container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#services p, #work p, #contact p{
    font-size: 20px;
    margin-bottom: 2vh;
}

#services, #work{
    margin: 15vh 0 15vh 0;
}

#work .container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.services-blurb, .work-blurb{
    width: 40%;
}

.contact-blurb{
    width: 40%;
}

h2{
    font-size: 55px;
}

h3{
    font-size: 20px;
    text-align: center;
}

#slideshow{
    width: 100%;
    height: 40vh;
    display: flex;
    overflow-x: hidden;
}

#slideshow .slideshow-images{
    display: flex;
    height: 100%;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-animation: slideshow 50s linear infinite;
    -moz-animation: slideshow 50s linear infinite;
    -o-animation: slideshow 50s linear infinite;
    animation: slideshow 50s linear infinite;
}

.slideshow-images img{
    height: 100%;
}

#contact .container{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#contact img{
    width: 15%;
}

/* === FADE IN ANIMATIONS === */

.fade-in{
    opacity: 0;
    transition: 0.25s;
}

.fade-in.appear{
    opacity: 1;
}

/* === SLIDESHOW KEYFRAMES === */

@keyframes slideshow{
    0%{
        -webkit-transform: translateX(-100%);
    }
    100%{
        -webkit-transform: translateX(0);
    }
}

/* === MEDIA QUERIES === */

@media screen and (max-width:950px){
    
    h2{
        font-size: 45px;
    }

    #services p, #work p, #contact p{
        font-size: 17px;
    }

    #contact img{
        width: 35%;
    }
}

@media screen and (max-width:600px){
    
    #welcome-image{
        background-size: cover;
        background-attachment: scroll;
        background-image: url("../../assets/images/mobile-home-bg-image.c8a0142deb4a.png");
    }

    #welcome-image h1{
        font-size: 40px;
    }
    
    #services .container, #work .container, #contact .container{
        flex-direction: column;
    }

    #services, #work{
        height: auto;
        margin: 15vh 0 18vh 0;
    }

    #contact{
         margin: 15vh 0 5vh 0;
    }

    .services-blurb, .work-blurb, .contact-blurb{
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    h2{
        font-size: 40px;
    }

    h3{
        font-size: 15px;
    }

    #services p, #work p, #contact p{
        text-align: center;
        font-size: 16px;
    }

    #slideshow{
        height: 20vh;
    }

    #contact img{
        width: 45%;
        margin-bottom: 5vh;
    }

}