*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 94px;
    background: var(--primary-white);
}

body.has-open-lightbox {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.container {
    width: min(1170px, calc(100% - 40px));
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-12,
.col-sm-12,
.col-xs-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.text-center {
    text-align: center;
}

.list-inline {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.list-inline > li {
    display: inline-block;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-circle {
    border-radius: 50%;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    order: 1;
}

.navbar-toggle {
    display: none;
    order: 2;
    width: 44px;
    height: 38px;
    padding: 8px 10px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
    border-radius: 1px;
}

.navbar-collapse {
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.navbar-nav {
    gap: 10px;
    margin: 0;
    font-size: 20px;
}

.navbar-nav > li > a {
    display: block;
    padding: 12px 14px;
    color: #000;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.navbar-nav > li.active > a {
    border-bottom-color: #000;
}

ul.social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

ul.social-buttons li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    font-size: 0;
    line-height: 1;
    color: #000;
    background: transparent;
    border-radius: 0;
    transform: none;
    transition: opacity 0.2s ease;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    color: #000 !important;
    background: transparent;
    opacity: 0.65;
    transform: none;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: block;
    fill: currentColor;
}

#js-filters-masonry {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: min(1170px, calc(100% - 40px));
    margin: 0 auto 30px;
}

.cbp-filter-item {
    position: relative;
    min-height: 38px;
    padding: 9px 15px;
    color: #4d4d4d;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cbp-filter-item:hover,
.cbp-filter-item:focus,
.cbp-filter-item-active {
    color: #fff;
    background: #111;
    border-color: #111;
    outline: none;
}

.cbp-filter-counter {
    display: inline;
    margin-left: 6px;
    font-size: 12px;
    color: currentColor;
    background: transparent;
    opacity: 0.7;
}

.cbp-filter-counter::after {
    content: none;
}

#js-grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    width: min(1170px, calc(100% - 40px));
    margin: 0 auto;
}

.cbp-item {
    min-width: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cbp-item.is-hidden {
    display: none;
}

.cbp-caption {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: #fff;
    background: #111;
}

.cbp-caption-defaultWrap,
.cbp-caption-defaultWrap img {
    display: block;
    width: 100%;
    height: 100%;
}

.cbp-caption-defaultWrap img {
    object-fit: cover;
    transition: transform 0.28s ease;
}

.cbp-caption-activeWrap {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.74);
    transform: translateY(100%);
    transition: transform 0.24s ease;
}

.cbp-caption:hover .cbp-caption-defaultWrap img,
.cbp-caption:focus .cbp-caption-defaultWrap img {
    transform: scale(1.04);
}

.cbp-caption:hover .cbp-caption-activeWrap,
.cbp-caption:focus .cbp-caption-activeWrap {
    transform: translateY(0);
}

.cbp-l-caption-alignCenter,
.cbp-l-caption-body {
    width: 100%;
}

.cbp-l-caption-body {
    display: grid;
    gap: 6px;
}

.cbp-l-caption-title {
    overflow-wrap: anywhere;
    font-size: clamp(13px, 1.15vw, 16px);
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.cbp-l-caption-desc {
    overflow-wrap: anywhere;
    font-size: clamp(11px, 0.95vw, 13px);
    line-height: 1.3;
    text-align: center;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    color: #fff;
    background: rgba(0, 0, 0, 0.88);
}

.portfolio-lightbox.is-open {
    display: flex;
}

.portfolio-lightbox__panel {
    width: min(1080px, 100%);
}

.portfolio-lightbox__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.portfolio-lightbox__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.portfolio-lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 0;
}

.portfolio-lightbox__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.portfolio-lightbox__desc {
    max-width: 720px;
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
}

.portfolio-lightbox__count {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.portfolio-lightbox__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-lightbox button {
    min-width: 42px;
    height: 42px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    cursor: pointer;
}

.portfolio-lightbox button:hover,
.portfolio-lightbox button:focus {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.scrollToTop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.scrollToTop.is-visible {
    display: inline-flex;
    opacity: 1;
    pointer-events: auto;
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
}

.container_logoskills,
.logo {
    width: auto;
    float: none;
    clear: none;
    position: static;
}

.Alex,
.Rozgo {
    font-size: 42px;
    line-height: 1;
}

@media (min-width: 992px) {
    .col-lg-8 {
        flex: 0 0 66.666%;
        max-width: 66.666%;
    }

    .col-lg-offset-2 {
        margin-left: 16.666%;
    }
}

@media (max-width: 900px) {
    body {
        padding-top: 52px;
    }

    .navbar > .container {
        display: block;
        width: 100%;
        padding: 0 14px;
    }

    .navbar-header {
        width: 100%;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        display: none;
        padding: 8px 0 14px;
    }

    .navbar-collapse.is-open {
        display: block;
    }

    .navbar-nav {
        display: block;
        font-size: 18px;
    }

    .navbar-nav > li > a {
        padding: 12px 4px;
    }

    .Alex,
    .Rozgo {
        font-size: 34px;
    }

    ul.social-buttons {
        gap: 34px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 30px, 1170px);
    }

    #js-grid-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: min(100% - 20px, 1170px);
    }

    .cbp-caption-activeWrap {
        padding: 8px;
    }

    .cbp-l-caption-body {
        gap: 0;
    }

    .cbp-l-caption-title {
        font-size: 11px;
        line-height: 1.15;
    }

    .cbp-l-caption-desc {
        display: none;
    }

    .portfolio-lightbox {
        padding: 14px;
    }

    .portfolio-lightbox__bar {
        align-items: flex-start;
    }
}
