@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Oswald:400,600&display=swap&subset=latin-ext');

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

h1 {
    font-weight: 600;
    color: #1D437E;
    font-size: 3.5rem;
}

header {
    background-image: url(../images/top-bg.jpg);
    background-size: cover;
    background-position: center top;
}

.navbar-light .navbar-toggler {
    color: rgb(129,129,131);
    border-color: rgb(129,129,131);
}

.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #333;
    position: relative;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    position: relative;
}
.navbar-light .navbar-nav .active>.nav-link::after, .navbar-light .navbar-nav .nav-link.active::after, .navbar-light .navbar-nav .nav-link.show::after, .navbar-light .navbar-nav .show>.nav-link::after {
    position: absolute;
    content: '';
    width: 90%;
    bottom: 0;
    height: 2px;
    background: #1D437E;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.navbar-light .navbar-nav .nav-link:focus::after, .navbar-light .navbar-nav .nav-link:hover::after {
    position: absolute;
    content: '';
    width: 90%;
    bottom: 0;
    height: 2px;
    background: #1D437E;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: .3s;
}

#navbarNav {
    margin-right: 40px;
}

nav.shrink {
    background: #fff;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
}

nav.shrink a.navbar-brand img {
    max-height: 50px;
}

/*a.navbar-brand img {
    max-height: 100px;
    transition: .3s;
}*/

a.nav-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.header-main {
    position: absolute; 
    top: 50%; 
    left:0; 
    right: 0; 
    transform: translateY(-50%)
}

.header-main p {
    font-size: 1.3rem;
    width: 60%;
    margin: 10px auto 20px;

}

.btn-std {
    color: #fff;
    background-color: #1D437E;
    border-color: #1D437E;
    border-radius: 25px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px;
    transition: .3s;
}

.btn-std:hover {
    color: #fff;
    background: #333;
}

.header-main a {
    font-size: 1.3rem;
    padding: 10px 25px;
}

h2 {
    font-weight: bold;
    position: relative;
    color: #333;
    margin-bottom: 20px;
}

h2::after {
    position: absolute;
    content: '';
    width: 200px;
    bottom: -10px;
    left: 0;
    right: 0;
    background: #1D437E;
    height: 3px;
    margin: 0 auto;
}

h2.inverse {
    color: #fff;
}

h2.inverse::after {
    background: #B0CFEC;
}

.about {
    font-size: 1.1rem;
    text-align: justify;
}

.about img {
    width: 70%;
}

.offer-photo {
    background-image: url(../images/offer_960_blue.png);
    height: 680px;
    background-attachment: fixed;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
}

.offer-text {
    background: #1D437E;
}
.offer-text ul li {
    font-size: 1.1rem;
    color: #fff;
}
.fast-contact {
    background: #B0CFEC;
    font-size: 2.5rem;
    letter-spacing: 5px;
    color: #fff;
    font-weight: bold;
}
.fast-contact a {
    display: block;
    margin: 25px auto 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.our-work img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    transition: .3s;
    aspect-ratio: 1 / 1;
}

.our-work-img {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.our-work-img > div {
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1.1rem;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.our-work-img:hover > div {
    opacity: 1;
}

.our-work-img:hover img {
    transform: scale(1.2);
}

.reviews {
    background: #333;
    color: #fff;
}

.review > div {
    width: 85%;
    margin: 0 auto;
    background: #fff;
    color: #333;
    padding: 20px 35px;
    text-align: right;
    transition: transform .3s;
}

.review:hover > div {
    transform: scale(1.1);
}

.review i {
    font-size: 2rem;
}

.review > div p {
    text-align: left;
    font-size: 1.2rem;
    padding: 30px;
}

.review em {
    font-weight: 600;
    text-align: right;
    font-size: 1.2rem;
}

.contact-left {
    background: #1D437E;
    color: #fff;
}

.contact-right {
    background: #B0CFEC;
}

.contact-data {
    font-size: 1.1rem;
}

.contact-more {
    font-size: 1.25rem;
    font-weight: bold;
}

.contact-social strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.contact-social i {
    font-size: 2.2rem;
    transition: color .3s;
}

.contact-social a {
    color: #fff;
}

.contact-social a:hover i {
    color: #B0CFEC;
}

.contact-right label, .contact-right button {
    font-size: 1.1rem;
}

footer {
    background: #333;
    color: #fff;
    padding: 15px;
}

footer strong {
    font-size: 1.1rem;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
}

@media only screen and (max-width: 768px) {
    a.navbar-brand img {
        max-height: 80px;
        transition: .3s;
    }
    .fast-contact a {
        width: 80%;
    }
    .navbar-light .navbar-nav .nav-link:focus::after, .navbar-light .navbar-nav .nav-link:hover::after {
        display: none;
    }
    .navbar-light .navbar-nav .active>.nav-link::after, .navbar-light .navbar-nav .nav-link.active::after, .navbar-light .navbar-nav .nav-link.show::after, .navbar-light .navbar-nav .show>.nav-link::after {
        display: none;
    }
}
 
@media only screen and (min-width: 769px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.8rem;
        padding-left: 0.8rem;
        font-size: 0.8rem;
    }
    a.navbar-brand img {
        max-height: 60px;
        transition: .3s;
    }
    #navbarNav {
        margin-right: 20px;
    }
    .fast-contact a {
        width: 60%;
    }
    .our-work-img {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media only screen and (min-width: 992px) {
    .fast-contact a {
        width: 40%;
    }
}

@media only screen and (min-width: 1200px) {
    .review > div {
        width: 95%;
    }
}

@media only screen and (min-width: 1500px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
        font-size: 1rem;
    }
    a.navbar-brand img {
        max-height: 80px;
        transition: .3s;
    }
    #navbarNav {
        margin-right: 40px;
    }
    .review > div {
        width: 85%;
    }
}