@font-face {
    src: url("/assets/ComfortaaLight.ttf") format("truetype");
    font-family: Comfortaa-Light;
}

.loader {
    width: 10px;
    height: 10px;
    border: 1px solid #1e1e1e;
    border-top: 1px solid #fafafa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    right: 53px !important;
    bottom: 8px !important;
}

.success::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #4CAF50;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.error {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    right: 50px !important;
    bottom: 5px !important;
    background-color: #c52323;
}

.error::before {
    top: 1px;
    content: '!';
    position: absolute;
    width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 10px;
    text-align: center;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Comfortaa-Light, sans-serif;
    color: #f8f8f8;
    font-size: 12px;
    overflow: hidden;
}

.background {
    background-color: #2c2c2c;
}

.background, .background > * {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.bg-grid-layer {
    background-image: url(/images/grid.png);
    z-index: 15;
}

.bg-color-layer {
    background-color: #1c1c1c;
    z-index: 14;
    opacity: .6;
    transition: .5s;
}

.bg-images {
    z-index: 1;
}

.bg-images .bg-images-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: 1s linear;
    transform: scale(1);
    z-index: 3;
}

.bg-video {
    z-index: 10;
}

.bg-images-image.bg-image-active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 5;
}

.bg-images-image.smooth {
    opacity: 1;
    transition: transform 5s linear !important;
    transform: scale(1.1) !important;
}

@media (max-aspect-ratio: 16 / 9) {
    .bg-video {
        width: 300%;
        left: -100%;
    }
}

@media (min-aspect-ratio: 16 / 9) {
    .bg-video {
        height: 300%;
        top: -100%;
    }
}

.gallery-is-open .bg-color-layer {
    opacity: 1;
}

/*.bg-images {*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*    z-index: 10;*/
/*}*/

#video {
    height: 100%;
    width: 100%;
}

.content {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 30;
}

.contact-info {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 40px;
    width: 125px;
    line-height: 40px;
    padding: 0 69px 0 0;
    margin: 0;
    text-align: right;
    z-index: 40;
    background-image: url(/images/right_arrow.png);
    background-position: 130px center;
    background-repeat: no-repeat;
    background-size: 15px;
    transition: .3s;
    opacity: 1;
    filter: blur(0px);
    /*border-radius: 20px;*/
    /*box-shadow: inset 0 0 5px 1px rgba(60, 60, 60, .3);*/
}

.contact-info.hide {
    opacity: 0;
}

.social {
    position: absolute;
    top: 75px;
    right: 20px;
    width: 30px;
    z-index: 40;
    opacity: 1;
    transition: .3s;
}

.social-mobile {
    display: none;
    position: relative;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #282828;
    border: 1px solid #1e1e1e;
}

.social-mobile > .social-icon {
    margin: 0;
    height: 40px;
    width: 40px;
}

.social.hide {
    opacity: 0;
}

.social-icon {
    position: relative;
    height: 30px;
    width: 30px;
    display: none;
    margin: 0 0 10px 0;
    transition: .3s;
}

.social-icon > a:hover {
    background-color: rgba(200, 200, 200, .3);
}

.social-icon > a:hover + .social-info {
    opacity: 1;
    width: 100px;
}

.social-icon.link-active {
    display: block;
}

.social-icon > a {
    display: inline-block;
    cursor: pointer;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .2);
}

.social-facebook > a {
    background-image: url(/images/facebook_filled.png);
    background-size: 15px 15px;
}

.social-instagram > a {
    background-image: url(/images/instagram.png);
    background-size: 13px 13px;
}

.social-youtube > a {
    background-image: url(/images/youtube.png);
    background-size: 15px 15px;
}

.social-500px > a {
    background-image: url(/images/500px.png);
    background-size: 15px 15px;
}

.social-linkedin > a {
    background-image: url(/images/linkedin.png);
    background-size: 14px 14px;
}

.social-adobestock > a {
    background-image: url(/images/adobestock.png);
    background-size: 13px 13px;
}

.social-info {
    position: absolute;
    color: #ccc;
    font-size: 11px;
    top: 0;
    right: 40px;
    height: 30px;
    width: 0;
    line-height: 30px;
    margin: 0;
    text-align: right;
    z-index: 40;
    transition: .3s;
    opacity: 0;
    overflow: hidden;
}

.contact {
    position: absolute;
    z-index: 50;
    right: 20px;
    top: 20px;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .3);
    border-radius: 20px;
    background-color: #1e1e1e;
    transition: .4s;
    width: 40px;
    height: 40px;
    overflow: hidden;
    filter: blur(0px);
}

.contact-description {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #282828;
    min-height: 130px;
}

.contact-about {
    position: relative;
    width: 100%;
    padding: 0 20px 0 140px;
    line-height: 17px;
    text-align: justify;
    box-sizing: border-box;
    opacity: 0;
    transition: .4s;
    margin: 0;
}

.contact.active-step2 .contact-about {
    opacity: 1;
}

.contact.active-step1 {
    width: 500px;
}

.contact.active-step2 {
    border-radius: 10px;
}

.contact-image {
    position: absolute;
    height: 40px;
    width: 40px;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    transition: .4s;
    left: 0px;
    top: 0px;
    z-index: 60;
}

.contact-image:hover {
    opacity: 0.7;
}

.contact.active-step2 .contact-image {
    left: 10px;
    top: 10px;
    height: 110px;
    width: 110px;
    border-radius: 55px;
}

.contact-chat {
    position: relative;
    display: block;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: .4s;
}

.contact.active-step2 .contact-chat {
    opacity: 1;
}

.contact-chat-author-message, .contact-chat-user-message {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 0;
    transition: .4s;
    overflow: hidden;
}

.contact-chat-image {
    background-position: center;
    background-repeat: no-repeat;
    height: 35px;
    width: 35px;
    background-size: cover;
    border-radius: 17.5px;
    margin-right: 10px;
    float: left;
}

.contact-chat-message {
    background-color: #282828;
    padding: 10px;
    border-radius: 0 10px 10px 10px;
    margin: 0;
    float: right;
    width: calc(100% - 45px);
    box-sizing: border-box;
    min-height: 15px;
    transition: .4s;
}

.contact-chat-user-message > .contact-chat-image {
    float: right;
    background-image: url(/images/user.png);
    margin: 0 0 0 10px;
}

.contact-chat-user-message > .contact-chat-message {
    float: left;
    border-radius: 10px 0 10px 10px;
    background-color: #454a48;
    padding: 10px 20px 10px 10px;
}

.contact-chat-status {
    position: absolute;
    right: 50px;
    bottom: 5px;
}

.contact-chat-form {
    width: 100%;
    position: relative;
    margin-top: 20px;
}

.contact-form-address, .contact-form-content {
    font-size: 13px;
    width: calc(100% - 45px);
    padding: 5px;
    box-sizing: border-box;
    border: none;
    background-color: #282828;
    color: #ddd;
    font-family: Comfortaa-Light, sans-serif;
    resize: none;
}

.contact-form-address {
    border-radius: 10px 0 0 0;
    height: 25px;
    line-height: 15px;
}

.contact-form-content {
    border-radius: 0 0 10px 10px;
    height: 55px;
    line-height: 15px;
}

.contact-form-address:focus, .contact-form-content:focus {
    outline: none;
}

.contact-form-send {
    background-color: #33ab74;
    background-image: url(/images/send_icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 35px;
    height: 35px;
    border-radius: 17.5px;
    cursor: pointer;
    border: none;
    padding: 0;
}

.contact-is-open.gallery-is-open .site,
.contact-is-open.gallery-is-open .footer {
    filter: blur(5px);
}


.menu {
    position: relative;
    z-index: 40;
    padding-top: calc(50vh - 100px);
    width: 100%;
    transition: .5s;
}

.gallery-is-open .menu {
    padding-top: 20px !important;
}

.menu-logo {
    display: block;
    background-image: url(/images/adrianbogaj_logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 60px;
    width: 300px;
    margin: 0 auto;
    transition: .5s;
    opacity: 1;
}

.menu-mobile {
    display: none;
    flex-direction: column;
    justify-content: center;
    position: relative;
    font-size: 17px;
    padding: 10px 0 8px 34px;
    background-image: url(/images/tap.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 20px;
    margin: 10px auto 10px auto;
    box-sizing: border-box;
    height: 38px;
}

.menu-mobile:after {
    content: '';
    position: absolute;
    left: 27px;
    border-left: 1px solid #fff;
    height: 28px;
    top: 5px;
}

.gallery-is-open .menu-logo {
    height: 40px;
    opacity: .5;
}

.menu-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 10px;
}

.menu-category {
    margin: 20px 10px;
    height: 20px;
    font-size: 16px;
    display: inline-block;
    color: #fafafa;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
    text-shadow: 1px 1px 3px #444;
    opacity: 0.5;
}

.menu-active-category, .menu-category:hover {
    opacity: 1;
}

.site {
    filter: blur(0px);
    transition: .3s;
    min-height: calc(100% - 24px);
    padding-bottom: 20px;
    box-sizing: border-box;
}

.site-hover {
    display: none;
    z-index: 45;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.contact-is-open.gallery-is-open .site-hover {
    display: block;
}

.gallery {
    /*display: flex;*/
    /*justify-content: center;*/
    /*flex-direction: row;*/
    /*flex-wrap: wrap;*/
    transition: .3s;
    opacity: 0;
    height: auto;
    width: calc(100% - 140px);
    box-sizing: border-box;
    margin: 0 70px;
}

.gallery-is-open .gallery {
    opacity: 1;
}

.gallery-item {
    display: none;
    cursor: pointer;
    height: 300px;
    width: 300px;
    margin: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 3px 1px #111;
    transition: .3s;
}

.gallery-item:hover {
    transform: scale(105%);
}

.gallery-active-item {
    display: inline-block;
}

.preview {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
    justify-content: center;
    flex-direction: row;
    padding: 70px;
    box-sizing: border-box;
}

.description-is-open.preview {
    padding: 70px 70px 110px 70px;
}

.preview-is-open .preview {
    display: flex;
    background-color: rgba(30, 30, 30, 0.5);
}

.preview-is-open .contact-info,
.preview-is-open .contact,
.preview-is-open .site,
.preview-is-open .social,
.preview-is-open .footer {
    filter: blur(5px);
}

.preview-exit {
    position: absolute;
    left: 50%;
    top: 0;
    padding: 10px 15px;
    margin: 0 0 0 -95px;
    text-align: center;
    width: 190px;
    cursor: pointer;
    border-bottom: 1px solid #555;
    border-left: 1px solid #555;
    border-right: 1px solid #555;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    overflow: hidden;
    height: 40px;
    box-sizing: border-box;
}

.preview-exit:hover {
    background-color: #aaa;
    /*color: #333;*/
}

.preview-exit span {
    display: inline-block;
    float: left;
    position: relative;
    height: 20px;
    margin: 0;
}

.preview-exit span.close-text {
    font-size: 13px;
    line-height: 20px;
    padding: 1px 0 0 0;
}

.preview-exit span.close-icon {
    background-image: url(/images/exit.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%;
    width: 13px;
    margin-right: 10px;
}

.preview-content {
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.preview-photo-content {
    max-height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: auto;
    position: relative;
}

#preview-photo {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-height: 100%;
    max-width: 100%;
}

#preview-photo > img,
#preview-photo > iframe {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 0 3px 1px #111;
    border: none;
}

.preview-is-video .preview-content,
.preview-is-video .preview-photo-content,
.preview-is-video #preview-photo {
    height: 100%;
    width: 100%;
}

.preview-prev, .preview-next {
    position: fixed;
    height: 100%;
    width: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    top: 0;
    z-index: 110;
    color: #fff;
    font-size: 40px;
    transition: .3s;
    text-align: center;
    background-color: transparent;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.preview-prev:hover, .preview-next:hover {
    cursor: pointer;
    background-color: #aaa;
    color: #333;
}

.preview-prev {
    left: 0;
    background-image: url('/images/left.png');
}

.preview-next {
    right: 0;
    background-image: url('/images/right.png');
}

.preview-photo-counter {
    position: fixed;
    bottom: 0;
    width: 80%;
    height: 30px;
    padding: 5px;
    box-sizing: border-box;
    margin: 0;
    line-height: 20px;
    text-align: center;
    font-size: 13px;
}

.preview-photo-description {
    display: none;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    left: 0;
    bottom: 30px;
    width: 80%;
    margin: 0 10%;
    padding: 10px;
    height: 80px;
    box-sizing: border-box;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
}

.description-is-open .preview-photo-description {
    display: flex;
}

.footer {
    position: absolute;
    z-index: 40;
    bottom: 0;
    width: 100%;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 4px;
    color: #999;
    text-shadow: 1px 1px 3px #111;
    filter: blur(0px);
    transition: .3s;
    box-sizing: border-box;
}

.gallery-is-open .footer {
    position: relative;
}

.footer > * {
    text-decoration: none;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.footer > a {
    color: #777;
}

@media only screen and (max-width:951px) {
    .footer > * {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 800px) {
    .contact-info {
        display: none;
    }

    .contact {
        top: 10px;
        right: 10px;
    }

    .contact.active-step1 {
        width: calc(100% - 20px);
    }

    .contact-description {
        justify-content: start;
        min-height: 100px;
    }

    .contact-about {
        padding: 15px 25px 15px 100px;
    }

    .contact.active-step2 .contact-image {
        height: 70px;
        width: 70px;
        top: 15px;
        left: 15px;
    }

    .contact-form-address {
        border-radius: 10px 10px 0 0;
    }

    .contact-form-content {
        border-radius: 0;
    }

    .contact-form-address,
    .contact-form-content {
        width: 100%
    }

    .contact-form-send {
        position: relative;
        width: 100%;
        border-radius: 0 0 10px 10px;
    }

    .social {
        display: none;
    }

    .social-mobile {
        display: flex;
    }

    .menu-logo {
        height: 40px;
    }

    .menu-mobile {
        display: flex;
    }

    .menu-categories {
        flex-direction: column;
        position: absolute;
        width: calc(100% - 20px);
        margin: 20px 10px 10px 10px;
        border-radius: 10px;
    }

    .gallery-is-open .menu-mobile,
    .gallery-is-open .menu-category {
        font-size: 14px;
        margin: 0;
    }

    .gallery-is-open .menu-category {
        padding: 10px 0;
        height: 12px;
    }

    .gallery-is-open .menu-categories {
        margin: 10px;
    }

    .menu-category {
        display: none;
    }

    .menu-mobile-is-open .menu {
        padding-top: 80px;
    }

    .menu-mobile-is-open .menu-categories {
        background-color: rgba(44, 44, 44);
        box-shadow: 0 0 3px 1px rgba(0, 0, 0, .3);
    }

    .menu-mobile-is-open .menu-category {
        display: inline-block;
        border-top: 1px solid #1e1e1e;
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 15px 0;
    }

    .gallery-is-open .menu-logo {
        height: 30px;
        opacity: .5;
    }

    .gallery {
        width: calc(100% - 20px);
        margin: 50px 10px 10px 10px;
    }

    .preview-prev, .preview-next {
        height: 50px;
        width: 50%;
        top: unset;
        bottom: 0;
        background-color: #333;
    }

    .preview-photo-counter {
        bottom: 50px;
    }

    .preview {
        padding: 70px 10px 80px 10px;
    }

    .description-is-open.preview {
        padding: 70px 10px 170px 10px;
    }

    .preview-photo-description {
        bottom: 90px;
        font-size: 11px;
        line-height: 13px;
        margin: 0 10px;
        padding: 0;
        height: 70px;
        width: calc(100% - 20px);
    }

    .preview-exit {
        width: 100%;
        left: 0;
        margin: 0;
        border: none;
        background-color: #333;
        border-radius: 0;
    }

    .footer > * {
        font-size: 9px !important;
    }
}

@media only screen and (max-width:600px) {
    .footer > * {
        font-size: 8px !important;
    }
}
