@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Montserrat:wght@300;400&family=Nunito+Sans:wght@300;400&display=swap');

:root {
    --secondary-font: 'Montserrat', sans-serif;
    --secondary-color: #F37368;
    --heading-font: 'Nunito Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #0A2B40;
}

.btn-bg {
    background-color: #89CFF0;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.nav-color{
    background-color: #E8E8E8 !important;
}

.bg{
    background-image: url(./images/james-harrison-vpOeXr5wmR4-unsplash\ 1.png);
    height: 68vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: #FFF;
    z-index: -2;
}

.layer{
    background-color: rgba(59, 59, 59, 0.9);
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-2{
    background-color: #F8F8F8;
}

.section2-text{
    font-style: normal;
    /* font-weight: 900; */
    font-size: 40px;
    line-height: 48px;
}

.btn-section2{
    width: 278px;
}

.services{
    background-color: #F8F8F8;
    color: #1B1B1B;
}

.section-4{
    background-image: url(./images/portfolio_section.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: #FFF;
}

.portfolio{
    background: rgba(217, 217, 217, 0.35);
}

.meet-dave{
    background-color: #D9D9D9;
}

.footer-icon{
    color: #000;
}

/* overlay */

.cont-overlay {
    position: relative;
}

.over {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 1s ease;
    background-color: rgba(217, 217, 217, 0.77);
}

.cont-overlay:hover .over {
    opacity: 1;
}

.overlay-text {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.modal-title{
    color: #89CFF0;
}

.dave-img {
    height: 500px;
}

.testimonials-item {
    background: #F3F3FA;
}

@media (max-width: 629px) {
    .dave-img{
        height: auto;
    }
}