html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Open Sans', sans-serif;
}

#about, #services{
    scroll-margin-top: 50px;
    scroll-snap-margin-top: 50px;
}

.navbar{
    background-color: #ffffff;
    border-bottom: #1469aa 2px solid;
}

.navbar-brand img{
    width: 180px;
}


.header-item{
    height: 100vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headertxt{
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    z-index: 15;
    font-weight: 700;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    color: #fbf7f4;
}

#headertxt h1{
    font-size: 1.8rem;
    font-weight: 900;
}

#headertxt h2{
    font-size: 1.3rem;
}

#headertxt a{
    color: #243175;
    font-weight: 700;
    background-color: #e3e0d9;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

hr{
    opacity: 1;
    background-color: #1469aa;
}

hr:not([size]){
    height: 2px;
}

#about h2, #services h2, #gallery h2, #contact h2{
    font-weight: 600;
}

#about img{
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#services{
    background-color: #1469aa;
    color: #ffffff;
}

#services h2{
    color: #243175;
}

.service-container{
    background-color: rgba(255, 255, 255, .3);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    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;
}

.service-container:hover{
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
}

#services{
    background-color: #d4d4d4;
}

#services h5{
    color: #32373B;
}

.fill{
    background-color: #D9DCD6;
    height: 4rem;
}

#services .card{
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

#services .card:hover{
    animation-name: example;
    animation-duration: 0.25s;
    border-left: 8px solid #1469aa;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

#services h5{
    background-color: #b1ba23;
    color: #ffffff;
    font-weight: 700;
}

#services p{
    font-weight: 600;
}

.card-body{
    color: #000000;
}
  
#contact{
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0.8) 81%), url('../assets/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    color: #ffffff;
}

#contact a{
    color: #3d92d3;
    font-weight: 600;
    text-decoration: none;

}

footer{
    background-color:#1469aa;
}

@keyframes example {
    0%   {border-left: 2px solid #ffffff;}
    25%  {border-left: 3px solid #ffe6e6;}
    50%  {border-left: 4px solid #5697c9;}
    100% {border-left: 5px solid #1469aa;}
}

@media (min-width: 576px){
    #headertxt h1{
        font-size: 2rem;
    }
    
    #headertxt h2{
        font-size: 1.4rem;
    }

    .navbar-brand img{
        width: 210px;
    }
}

@media (min-width: 768px){
    #headertxt h1{
        font-size: 2.5rem;
    }
    
    #headertxt h2{
        font-size: 1.7rem;
    }

    #about hr{
        margin: 0 auto 0 0;
    }

    .navbar-brand img{
        width: 260px;
        padding: .5rem 0;
    }
}

@media (min-width: 992px){
    #headertxt h1{
        font-size: 3rem;
    }
    
    #headertxt h2{
        font-size: 2rem;
    }
}

@media (min-width: 1200px){
    #services .row{
        width: 85%;
    }
}