/*
Merlin - Responsive One Page Template
Version: 1.0
https://merlin.halibegic.info/
By: Hasan Alibegic, hasan461@gmail.com
License: Apache License v2.0
*/

html {
    font-size: 14px;
}

body {
    font-family: "Source Sans Pro", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    letter-spacing: -.02rem;
}

*,
*:focus {
    outline: none !important;
}

a {
    color: #2d2d2d;
    text-decoration:underline;
    cursor: pointer;
}

a:hover,
a:focus {
    color: #0c86b6;
    text-decoration: none;
}

.hiding {
    opacity: 0;
}

.showing {
    opacity: 1;
}

.img-rounded {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.btn {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}

.btn-blue {
    color: #fff;
    background: #227fe8;
}

.btn-blue:hover,
.btn-blue:focus {
    color: #fff;
    background: #233b6f;
}

.btn-green {
    color: #fff;
    background: #2bb673;
}

.btn-green:hover,
.btn-green:focus {
    color: #fff;
    background: #233b6f;
}

.btn-dark {
    color: #fff;
    background: #233b6f;
}

.btn-dark:hover,
.btn-dark:focus {
    color: #fff;
    background: #233b6f;
}

.list-inline-item:not(:last-child) {
    margin-right: 1rem;
}

.page {
    position: relative;
    overflow: hidden;
}

.page .content {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.page .content.cover {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.page .border {
    width: 6rem;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    background: #2bb673;
}

.page.overlay:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, 0.2);
}

.page.overlay .content {
    position: relative;
    z-index: 1;
}

#home {
    padding: 0;
    color: #fff;
    background-image: url(../img/cover/home.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#home h1 {
    font-size: 4rem;
    line-height: 1;
}

#services {
    background: #f5f5f5;
    border-bottom: 1px solid #e7e7e7;
}

#services .service i {
    margin-top: 4rem;
}

#services .service:hover i {
    color: #2bb673;
}

#work .heading p {
    margin-bottom: 4rem;
}

#about .content {
    margin-bottom: 0;
}

#about .teammate {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

#about .teammate .profile-photo {
    overflow: hidden;
}

#about .teammate .profile-photo img {
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;

    filter: grayscale(1);
}

#about .teammate:hover .profile-photo img,
#about .teammate:focus .profile-photo img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);

    filter: grayscale(0);
}

#about .teammate .bio .border {
    height: 1px;
}

#about .teammate .bio ul {
    margin-bottom: 0;
}

#about .teammate .bio a {
    color: #666;
}

#about .teammate .bio a:hover,
#about .teammate .bio a:focus {
    color: #222;
}

#footer {
    padding: 4rem 0;
    color: #ccc;
    text-align: center;
    background: #233b6f;
}

#footer a,
#footer a:hover,
#footer a:focus {
    color: #fff;
}

#footer .social {
    margin-bottom: 1rem;
}

#footer .social li .facebook:hover,
#footer .social li .facebook:focus {
    color: #3b5998
}

#footer .social li .twitter:hover,
#footer .social li .twitter:focus {
    color: #00aced
}

#footer .social li .google-plus:hover,
#footer .social li .google-plus:focus {
    color: #d34836
}

#footer .social li .dribbble:hover,
#footer .social li .dribbble:focus {
    color: #ea4c89
}

#footer .copyright {
    margin-bottom: 0;
}

.work .title {
    color: #222;
}


/* Venobox */

.vbox-container {
    overflow: hidden;
}


/* Animations */

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* Responsive style */

@media (min-width: 576px) {
    .page .content.cover {
        margin-top: 12rem;
        margin-bottom: 12rem;
    }
    #portfolio .items li {
        width: 50%;
    }
    #testimonials .quote {
        padding: 0 4rem;
    }
}

@media (min-width: 768px) {
    .page .content.cover {
        margin-top: 16rem;
        margin-bottom: 16rem;
    }
    #portfolio .items li {
        width: 25%;
    }
    #testimonials .quote {
        padding: 0 8rem;
    }
}

@media (min-width: 992px) {
    .page .content.cover {
        margin-top: 20rem;
        margin-bottom: 20rem;
    }
    .navbar-light .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
        font-weight: bold;
        text-transform: uppercase;
    }
    #testimonials .quote {
        padding: 0 12rem;
    }
}
