#bp_caption a,
.entry-title a,
.site-title {
    text-decoration: none;
}
.marker:after,
.wave-bg {
    background-repeat: no-repeat;
}
body,
html {
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.section {
    scroll-margin-top: 2rem;
}
.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 3rem;
}
.nav-link {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8) !important;
}
.social-nav .nav-link {
    padding: 0 0.5rem;
    font-size: 1.1rem;
    line-height: 2.5rem;
}
.active .nav-link,
.nav-link:focus,
.nav-link:hover {
    color: rgba(0, 0, 0, 0.6) !important;
}
.intro-title {
    font-weight: 800;
}
@-webkit-keyframes animateWave {
    0% {
        transform: scale(1, 0);
    }
    100% {
        transform: scale(1, 1);
    }
}
@keyframes animateWave {
    0% {
        transform: scale(1, 0);
    }
    100% {
        transform: scale(1, 1);
    }
}
.wave-bg {
    display: block;
    height: 220px;
    width: 100%;
    min-width: 600px;
    transform-origin: top;
    -webkit-animation: 2s cubic-bezier(0.23, 1, 0.32, 1) forwards animateWave;
    animation: 2s cubic-bezier(0.23, 1, 0.32, 1) forwards animateWave;
    background-image: url("../img/wave-bg.svg");
    background-position: center;
}
img.avatar {
    border-radius: 30px;
}
.grid:after {
    content: "";
    display: block;
    clear: both;
}
.grid-item,
.grid-sizer {
    width: 100%;
}
.grid-item {
    padding-bottom: 12px;
}
@media (min-width: 48em) {
    .site-title {
        float: left;
    }
    .grid-item,
    .grid-sizer {
        width: 25%;
    }
    .grid-item {
        float: left;
        padding: 6px;
    }
}
.grid-item img {
    display: block;
    width: 100%;
    max-width: 100%;
}
.portolio-section .container {
    padding: 0;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0;
}
.portfolio-item figcaption {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.75);
    transition: transform 0.35s;
    transform: translate3d(0, 100%, 0);
}
.portfolio-item figcaption h4 {
    color: #222;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3px;
}
.portfolio-item figcaption p {
    color: #444;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}
.portfolio-item:hover figcaption {
    transform: translate3d(0, 0, 0);
}
#bp_container .bp-xc {
    background: #f6e05e !important;
}
footer a:not(.nav-link) {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
#scrolltop {
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: visibility, opacity 0.5s ease-in;
    position: fixed;
    bottom: 20px;
    right: 20px;
}
#scrolltop .btn {
    padding: 3px 11px;
    border-radius: 50%;
}
.container-narrow {
    max-width: 1024px;
    margin: 0 auto;
}
.text-small {
    font-size: 0.875rem;
}
.text-uppercase {
    letter-spacing: 0.05em;
}
.hover-effect {
    transition: transform 0.18s ease-in-out;
}
.hover-effect:hover {
    transform: translateY(-2px);
}
.marker {
    position: relative;
    display: inline;
    width: auto;
}
.marker-center {
    padding-right: 0;
}
.marker:after {
    content: "";
    width: 125px;
    height: 30px;
    position: absolute;
    bottom: -25px;
    right: -30px;
    background-image: url("../img/marker.svg");
}
.marker-center:after {
    bottom: -30px;
    left: 50%;
    margin-left: -60px;
}
@media (max-width: 575.98px) {
    .marker {
        padding-right: 0;
    }
    .marker:after {
        bottom: -30px;
        left: 50%;
        margin-left: -60px;
    }
}
#darkbox { width:1280px; height:720px; position:absolute;
    top:0; left:0; background-color:#333; overflow: hidden; text-align:center;
}
.darkboximg { padding:5%; max-width: 1216px; max-height: 684px; }

#gallery {
    line-height:0;
    -webkit-column-count:5;
    -webkit-column-gap:5px;
    -moz-column-count:5;
    -moz-column-gap:5px;
    column-count:5;
    column-gap:5px;
    margin-top:2rem;
    align-self: center;
}

#gallery img {
    width: 100% !important;
    height: auto !important;
    margin-bottom:5px;
    filter: grayscale(100%);
    transition: filter 2s;
}

#gallery img:hover {
    filter:none;
}

@media (max-width: 1200px) {
    #gallery {
        -moz-column-count:    4;
        -webkit-column-count: 4;
        column-count:         4;
    }
}
@media (max-width: 1000px) {
    #gallery {
        -moz-column-count:    3;
        -webkit-column-count: 3;
        column-count:         3;
    }
}
@media (max-width: 800px) {
    #gallery {
        -moz-column-count:    2;
        -webkit-column-count: 2;
        column-count:         2;
    }
}
@media (max-width: 400px) {
    #gallery {
        -moz-column-count:    1;
        -webkit-column-count: 1;
        column-count:         1;
    }
}