:root {
    --main-color: #46b0bb;
}

main {
    position: relative;
    overflow-x: hidden;
}

.navbar-light .navbar-nav .nav-link {
    color: #333333;
}

article {
    padding-left: 1%;
    padding-right: 1%;
}

.article {
    margin: 0 15%;
    margin-bottom: 40px;
}

h1 {
    font-family: 'Amatic SC', cursive;
    font-weight: 600;
    font-style: normal;
    color: #333333;
}

body,
p {
    font-family: 'Josefin Sans', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.75em;
    color: #666666;
}

body .overhang,
body .overhang-overlay {
    top: 10;
}

nav {
    background-color: #fff;
    padding: 1.5rem 2rem !important;
}

.logo-text {
    font-family: 'Amatic SC', cursive;
}

.logo-text {
    float: right;
    line-height: 70px;
    font-size: 2rem;
    color: #333333;
}

.nav-link {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.page-title {
    display: block;
    position: relative;
    background-color: #fdfdfd;
    border-top: 2px solid #f2f2f2;
    border-bottom: 2px solid #f2f2f2;
    padding: 30px 15%;
    margin-right: -70px;
    margin-left: -70px;
    margin-bottom: 65px;
    text-align: left;

}

.page-title:first-child {
    margin-top: 45px;
}

.page-title h1 {
    color: #333333;
    font-family: 'Amatic SC', cursive;
    font-size: 35px;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0px;
    margin: 0;
}

.home-photo {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: calc(100% - 36px);
    border-radius: 1000px;
    border: 18px solid #fff;
    overflow: hidden;
    -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, .1);
}

.home-photo .hp-inner {
    background-image: url('../images/background/home.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    display: block;
    position: absolute;
    top: -30px;
    bottom: -18px;
    width: auto;
    left: 0;
    right: -80px;
}

.home-content {
    margin: 5% 20%;
}

.home-buttons {
    margin-top: 27px;
}

.home-buttons .btn-primary,
.btn-secondary {
    display: inline-block;
    position: relative;
    padding: .8em 2.1em;
    margin-bottom: .75em;
    margin-right: .25em;
    font-size: 1em;
    line-height: 1.2;
    outline: 0;
    border: 2px solid var(--main-color);
    color: #222;
    text-shadow: none;
    background-color: #fff;
    border-radius: 30px;
    font-family: 'Josefin Sans', Helvetica, sans-serif;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 10px -8px rgba(0, 0, 0, .22)
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--main-color) !important;
    border: 2px solid var(--main-color) !important;
    color: #fff;
}

.btn-secondary {
    border-color: #d5d5d5;
    background-color: #fff;
    box-shadow: 0 10px 10px -8px #d5d5d5;
    color: #666;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    color: #333;
    border-color: #d5d5d5;
    background-color: #d5d5d5;
}

.home-content h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 56px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

h2 {
    display: inline-block;
    position: relative;
    font-size: 27px;
    margin: 0 0 30px;
    z-index: 1;
    padding-bottom: 7px;
    color: #333333;
    font-weight: 600;
}

h2:before {
    display: block;
    position: absolute;
    content: '';
    width: 100%;
    background-color: #f5f5f5;
    height: 3px;
    bottom: 0;
}

h2:after {
    display: block;
    position: absolute;
    content: '';
    width: 30px;
    background-color: var(--main-color);
    height: 3px;
    bottom: 0;
}

h3 {
    font-size: 20px;
    margin: 10px 0 7px;
    font-weight: 600;
    color: #333333;
}


h4 {
    font-size: 18px;
    color: #aaa;
    font-weight: 300;
    margin-bottom: 10px;
}

.info-box {
    background: white;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    margin-bottom: 2.75rem;
    min-height: 3rem;
    max-width: 90%;
    padding: 1rem;
    position: relative;
    box-shadow: 0.25rem 0.25rem 0.6rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.125rem rgba(75, 0, 0, 0.05);
}

.site-footer {
    display: block;
    position: relative;
    margin: 60px 0 0 0;
    padding: 15px 45px;
    background-color: #333333;

}

.footer-copyrights {
    float: right;
}

.footer-copyrights p {
    line-height: 21px;
    font-size: 13px;
    margin: 0;
}

.footer-copyrights p {
    color: #ffff;
}

.card .card-header h5 .btn-link {
    color: var(--main-color);
}

.map-container {
    overflow: hidden;
    padding-bottom: 50%;
    position: relative;
    height: 0;
}

.map-container #map {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

blockquote {
    font-size: 1.1em;
    line-height: 1.6em;
    padding: 20px 20px 20px 40px;
    border-left: none;
    position: relative;
    text-indent: -19px
}

blockquote:before,
blockquote:after {
    font-family: Arial, serif;
    font-size: 2.5em;
    vertical-align: middle;
    line-height: 0
}

blockquote:before {
    content: open-quote;
    margin-right: 4px
}

blockquote:after {
    content: close-quote;
    margin-left: 3px
}

blockquote.blockstyle,
blockquote.style2 {
    background: #fff;
    font-style: italic
}

blockquote.blockstyle {
    border-left: 3px solid var(--main-color);
    position: relative;
}

blockquote.blockstyle:before,
blockquote.blockstyle:after {
    color: var(--main-color);
}


@media only screen and (max-width: 1100px) {
    .home-content {
        margin: 5% 0;
    }
}

@media only screen and (max-width: 500px) {

    .home-photo,
    .home-photo.hp-left {
        width: 90%;
        padding-bottom: calc(90% - 36px);
    }

    .home-content h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .home-content h4 {
        font-size: 16px;
    }

    .home-photo .hp-inner {
        width: auto;
        right: -40px;
    }
}

@media only screen and (max-width: 648px) {

    .home-photo,
    .home-photo.hp-left {
        width: 70%;
        padding-bottom: calc(70% - 36px);
    }
}

@media only screen and (max-width: 767px) {
    .home-photo {
        width: 80%;
        padding-bottom: calc(80% - 36px);
        margin: 30px auto;
    }

    .home-content h1,
    .home-content h4,
    .home-buttons,
    .page-title h1 {
        text-align: center;
    }

    .page-title h1 {
        font-size: 30px;
    }

    .footer-social,
    .footer-copyrights {
        float: none;
        display: block;
        text-align: center;
        margin: 12px 0;
    }

    .footer-copyrights p {
        display: block !important;
        margin-top: 1rem;
    }
}

@media only screen and (max-width: 768px) {

    .portfolio-caption p,
    .portfolio-caption i {
        display: block !important;
    }
}

@media only screen and (min-width: 991px) {
    main {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
    }
}

@media only screen and (max-width: 991px) {
    main {
        border-radius: 0;
        margin: 0;
        max-width: 100%;
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        padding: 0px 40px 60px;
    }

    .article {
        max-width: 100%;
        margin: 0 0;
    }

    .article>.col-xs-12 {
        padding: 0;
    }

    nav {
        position: -webkit-sticky !important;
        position: sticky !important;
        z-index: 1020;
        top: 0;
        left: 0;
        padding: .5rem 1rem !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
        -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
    }
}