@font-face {
    font-family: Caveat;
    font-style: normal;
    font-weight: 400;
    src: local("Caveat"),local("Caveat-Regular"),url(fonts/caveat-v2-latin-regular.woff2) format("woff2"),url(fonts/caveat-v2-latin-regular.woff) format("woff")
}

@font-face {
    font-family: Caveat;
    font-style: normal;
    font-weight: 700;
    src: local("Caveat Bold"),local("Caveat-Bold"),url(fonts/caveat-v2-latin-700.woff2) format("woff2"),url(fonts/caveat-v2-latin-700.woff) format("woff")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    src: local("Roboto Light"),local("Roboto-Light"),url(fonts/roboto-v15-latin-300.woff2) format("woff2"),url(fonts/roboto-v15-latin-300.woff) format("woff")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: local("Roboto"),local("Roboto-Regular"),url(fonts/roboto-v15-latin-regular.woff2) format("woff2"),url(fonts/roboto-v15-latin-regular.woff) format("woff")
}

* {
    margin: 0;
    padding: 0
}

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

body,html {
    height: 100%
}

.wrapper {
    position: relative;
    background-color: #fff;
    font-family: Roboto,sans-serif
}

.content__block-item {
    min-height: 100vh;
    background-image: url(../img/bg__header.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain
}

.content__block-item--about,.content__block-item--contact,.content__block-item--project,.content__block-item--promo,.content__block-item--skills {
    display: flex;
    flex-direction: column
}

.content__block-item--about {
    background-image: url(../img/bg__about.jpg)
}

.content__block-item--skills {
    background-image: url(../img/bg__skills.jpg)
}

.content__block-item--project {
    background-image: none
}
.content__block-item--project .inner {
    width: 100%;
    max-width: 1140px;
    margin: auto
}

@media (max-width: 1399px) {
    .content__block-item--project .inner {
        width: 100%;
    }
}
.content__block-item--contact {
    background-image: url(../img/bg__contact.jpg);
    justify-content: space-between
}

.content__title {
    color: #dce8fb;
    font-family: Caveat,cursive;
    font-size: 150px;
    padding-left: 50px;
    font-weight: 500;
    opacity: 0
}

.content__container {
    max-width: 1140px;
    width: 100%;
    margin: auto;
    display: flex;
    position: relative;
    justify-content: space-around
}

.content__text {
    color: #647388;
    font-size: 24px;
    font-weight: 300;
    width: 50%;
    padding: 10px
}

.content__text h4 {
    font-weight: 400;
    margin-bottom: 20px
}

.content__avatar,.content__owl,.content__squirrel {
    opacity: 0;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.content__avatar {
    margin-top: -10%;
    width: 200px;
    height: 445px;
    background-image: url(../img/avatar.svg)
}

.content__owl {
    position: absolute;
    right: -5%;
    top: 0;
    width: 120px;
    height: 125px;
    background-image: url(../img/owl.svg);
    animation: owl 6s infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-delay: 1.2s;
    transition-delay: 1s
}

.content__squirrel {
    width: 200px;
    height: 165px;
    background-image: url(../img/squirrel.svg);
    transition-duration: 1s
}

@media (max-width: 1399px) {
    .content__title {
        font-size:95px
    }

    .content__container {
        max-width: 800px
    }

    .content__text {
        font-size: 20px
    }

    .content__owl {
        right: -7%
    }
}

@media (max-width: 1020px) {
    .content__container {
        justify-content:center
    }

    .content__text {
        font-size: 18px
    }

    .content__avatar {
        margin-top: 0;
        height: 270px;
        width: 180px
    }

    .content__owl {
        right: 2.7%;
        width: 90px;
        height: 75px
    }

    .content__squirrel {
        width: 200px;
        height: 130px
    }
}

#avatar {
    max-height: 595px
}

.inner {
    width: 1140px;
    margin: auto
}

@media (max-width: 1399px) {
    .inner {
        width:720px
    }
}

@media (max-width: 768px) {
    .inner {
        width:560px
    }

    .content__owl {
        right: 40px;
        width: 60px;
        height: 55px
    }

    .content__title {
        font-size: 70px;
        margin: 15px 0
    }
}

@media (max-width: 568px) {
    .inner {
        width:100%
    }

    .content__block-item {
        min-height: inherit
    }

    .content__block-item--promo {
        padding-top: 0
    }

    .content__title {
        font-size: 60px;
        padding-left: 10px;
        line-height: 50px
    }

    .content__text {
        margin: 5px 0;
        width: 100%
    }

    .content__text h4 {
        margin-bottom: 10px
    }

    .content__avatar,.content__owl,.content__squirrel {
        display: none
    }
}

@keyframes arrow {
    from {
        bottom: 12%
    }

    to {
        bottom: 7%
    }
}

@keyframes owl {
    10% {
        transform: translate(0,0)
    }

    30% {
        transform: translate(20px,10px)
    }

    50% {
        transform: translate(10px,-10px)
    }

    70% {
        transform: translate(-20px,0)
    }

    90% {
        transform: translate(-10px,10px)
    }

    100% {
        transform: translate(0,0)
    }
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.list--contact {
    flex-wrap: nowrap;
    justify-content: center
}

.list__item {
    width: 32%;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px
}

.list__item--contact {
    width: auto
}

.list__text {
    color: #5f6e82;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.4
}

.list__img:hover {
    opacity: 1;
    animation: cup 1s;
    cursor: pointer
}

@font-face {
    font-family: lg;
    src: url(fonts/lg.eot?n1z373);
    src: url(fonts/lg.eot?#iefixn1z373) format("embedded-opentype"),url(fonts/lg.woff?n1z373) format("woff"),url(fonts/lg.ttf?n1z373) format("truetype");
    font-weight: 400;
    font-style: normal
}

.lg-icon {
    font-family: lg;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.lg-actions .lg-next,.lg-actions .lg-prev {
    background-color: rgba(0,0,0,.45);
    border-radius: 2px;
    color: #999;
    cursor: pointer;
    display: block;
    font-size: 22px;
    margin-top: -10px;
    padding: 8px 10px 9px;
    position: absolute;
    top: 50%;
    z-index: 1080
}

.lg-actions .lg-next:hover,.lg-actions .lg-prev:hover {
    color: #fff
}

.lg-actions .lg-next {
    right: 20px
}

.lg-actions .lg-next:before {
    content: "\e095"
}

.lg-actions .lg-prev {
    left: 20px
}

.lg-actions .lg-prev:after {
    content: "\e094"
}

@-webkit-keyframes lg-right-end {
    0% {
        left: 0
    }

    50% {
        left: -30px
    }

    100% {
        left: 0
    }
}

@-moz-keyframes lg-right-end {
    0% {
        left: 0
    }

    50% {
        left: -30px
    }

    100% {
        left: 0
    }
}

@keyframes lg-right-end {
    0% {
        left: 0
    }

    50% {
        left: -30px
    }

    100% {
        left: 0
    }
}

@-webkit-keyframes lg-left-end {
    0% {
        left: 0
    }

    50% {
        left: 30px
    }

    100% {
        left: 0
    }
}

@-moz-keyframes lg-left-end {
    0% {
        left: 0
    }

    50% {
        left: 30px
    }

    100% {
        left: 0
    }
}

@keyframes lg-left-end {
    0% {
        left: 0
    }

    50% {
        left: 30px
    }

    100% {
        left: 0
    }
}

.lg-toolbar {
    z-index: 1082;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(0,0,0,.45)
}

.lg-toolbar .lg-icon {
    color: #999;
    cursor: pointer;
    float: right;
    font-size: 24px;
    height: 47px;
    line-height: 27px;
    padding: 10px 0;
    text-align: center;
    width: 50px;
    text-decoration: none!important;
    outline: medium none;
    -webkit-transition: color .2s linear;
    -o-transition: color .2s linear;
    transition: color .2s linear
}

.lg-toolbar .lg-icon:hover {
    color: #fff
}

.lg-toolbar .lg-close:after {
    content: "\e070"
}

.lg-toolbar .lg-download:after {
    content: "\e0f2"
}

.lg-sub-html {
    background-color: rgba(0,0,0,.45);
    bottom: 0;
    color: #eee;
    font-size: 16px;
    left: 0;
    padding: 10px 40px;
    position: fixed;
    right: 0;
    text-align: center;
    z-index: 1080
}

#lg-counter {
    color: #999;
    display: inline-block;
    font-size: 16px;
    padding-left: 20px;
    padding-top: 12px;
    vertical-align: middle
}

.lg-on{
    overflow: hidden;
}

.lg-next,.lg-prev,.lg-toolbar {
    opacity: 1;
    -webkit-transition: -webkit-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;
    -moz-transition: -moz-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;
    -o-transition: -o-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear;
    transition: transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s,color .2s linear
}

.lg-hide-items .lg-prev {
    opacity: 0;
    -webkit-transform: translate3d(-10px,0,0);
    transform: translate3d(-10px,0,0)
}

.lg-hide-items .lg-next {
    opacity: 0;
    -webkit-transform: translate3d(10px,0,0);
    transform: translate3d(10px,0,0)
}


.lg-hide-items .lg-toolbar {
    opacity: 0;
    -webkit-transform: translate3d(0,-10px,0);
    transform: translate3d(0,-10px,0)
}

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object {
    -webkit-transform: scale3d(.5,.5,.5);
    transform: scale3d(.5,.5,.5);
    opacity: 0;
    -webkit-transition: -webkit-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;
    -moz-transition: -moz-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;
    -o-transition: -o-transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;
    transition: transform 250ms cubic-bezier(0,0,.25,1) 0s,opacity 250ms cubic-bezier(0,0,.25,1)!important;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%
}

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object {
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    opacity: 1
}

.lg-outer.lg-use-transition-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
    -webkit-transition: -webkit-transform .3s cubic-bezier(0,0,.25,1) 0s;
    -moz-transition: -moz-transform .3s cubic-bezier(0,0,.25,1) 0s;
    -o-transition: -o-transform .3s cubic-bezier(0,0,.25,1) 0s;
    transition: transform .3s cubic-bezier(0,0,.25,1) 0s
}

.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden
}

.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-transition: -webkit-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;
    -moz-transition: -moz-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;
    -o-transition: -o-transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;
    transition: transform .3s cubic-bezier(0,0,.25,1) 0s,opacity .15s!important;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden
}

#lg-zoom-in:after {
    content: "\e311"
}

#lg-actual-size {
    font-size: 20px
}

#lg-actual-size:after {
    content: "\e033"
}

#lg-zoom-out {
    opacity: .5;
    pointer-events: none
}

#lg-zoom-out:after {
    content: "\e312"
}

.lg-zoomed #lg-zoom-out {
    opacity: 1;
    pointer-events: auto
}

.lg-outer .lg-pager-outer {
    bottom: 60px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 1080;
    height: 10px
}

.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont {
    overflow: visible
}

.lg-outer .lg-pager-cont {
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    vertical-align: top;
    margin: 0 5px
}

.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0)
}

.lg-outer .lg-pager-cont.lg-pager-active .lg-pager {
    box-shadow: 0 0 0 2px #fff inset
}

.lg-outer .lg-pager-thumb-cont {
    background-color: #fff;
    color: #fff;
    bottom: 100%;
    height: 83px;
    left: 0;
    margin-bottom: 20px;
    margin-left: -60px;
    opacity: 0;
    padding: 5px;
    position: absolute;
    width: 120px;
    border-radius: 3px;
    -webkit-transition: opacity .15s ease 0s,-webkit-transform .15s ease 0s;
    -moz-transition: opacity .15s ease 0s,-moz-transform .15s ease 0s;
    -o-transition: opacity .15s ease 0s,-o-transform .15s ease 0s;
    transition: opacity .15s ease 0s,transform .15s ease 0s;
    -webkit-transform: translate3d(0,5px,0);
    transform: translate3d(0,5px,0)
}

.lg-outer .lg-pager-thumb-cont img {
    width: 100%;
    height: 100%
}

.lg-outer .lg-pager {
    background-color: rgba(255,255,255,.5);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255,255,255,.7) inset;
    display: block;
    height: 12px;
    -webkit-transition: box-shadow .3s ease 0s;
    -o-transition: box-shadow .3s ease 0s;
    transition: box-shadow .3s ease 0s;
    width: 12px
}

.lg-outer .lg-pager:focus,.lg-outer .lg-pager:hover {
    box-shadow: 0 0 0 8px #fff inset
}

.lg-outer .lg-caret {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px dashed;
    bottom: -10px;
    display: inline-block;
    height: 0;
    left: 50%;
    margin-left: -5px;
    position: absolute;
    vertical-align: middle;
    width: 0
}

.lg-fullscreen:after {
    content: "\e20c"
}

.lg-fullscreen-on .lg-fullscreen:after {
    content: "\e20d"
}

.lg-group:after {
    content: "";
    display: table;
    clear: both
}

.lg-outer {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    opacity: 0;
    -webkit-transition: opacity .15s ease 0s;
    -o-transition: opacity .15s ease 0s;
    transition: opacity .15s ease 0s
}

.lg-outer * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.lg-outer.lg-visible {
    opacity: 1
}

.lg-outer.lg-css3 .lg-item.lg-current,.lg-outer.lg-css3 .lg-item.lg-next-slide,.lg-outer.lg-css3 .lg-item.lg-prev-slide {
    -webkit-transition-duration: inherit!important;
    transition-duration: inherit!important;
    -webkit-transition-timing-function: inherit!important;
    transition-timing-function: inherit!important
}

.lg-outer.lg-css3.lg-dragging .lg-item.lg-current,.lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide,.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide {
    -webkit-transition-duration: 0s!important;
    transition-duration: 0s!important;
    opacity: 1
}

.lg-outer.lg-grab img.lg-object {
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: -o-grab;
    cursor: -ms-grab;
    cursor: grab
}

.lg-outer.lg-grabbing img.lg-object {
    cursor: move;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: -o-grabbing;
    cursor: -ms-grabbing;
    cursor: grabbing
}

.lg-outer .lg {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 100%
}

.lg-outer .lg-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap
}

.lg-outer .lg-item {
    background: url(../img/loading.gif) no-repeat scroll center center transparent;
    display: none!important
}

.lg-outer.lg-css3 .lg-current,.lg-outer.lg-css3 .lg-next-slide,.lg-outer.lg-css3 .lg-prev-slide {
    display: inline-block!important
}

.lg-outer.lg-css .lg-current {
    display: inline-block!important
}

.lg-outer .lg-img-wrap,.lg-outer .lg-item {
    display: inline-block;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.lg-outer .lg-item:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px
}

.lg-outer .lg-img-wrap {
    position: absolute;
    padding: 0 5px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0
}

.lg-outer .lg-img-wrap:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px
}

.lg-outer .lg-item.lg-complete {
    background-image: none
}

.lg-outer .lg-item.lg-current {
    z-index: 1060
}

.lg-outer .lg-image {
    /*display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    height: auto!important*/
    width: 80%!important;
    
}

.lg-outer.lg-show-after-load .lg-item .lg-object,.lg-outer.lg-show-after-load .lg-item .lg-video-play {
    opacity: 0;
    -webkit-transition: opacity .15s ease 0s;
    transition: opacity .15s ease 0s
}

.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object,.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play {
    opacity: 1
}

.lg-outer .lg-empty-html,.lg-outer.lg-hide-download #lg-download {
    display: none
}

.lg-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background-color: #000;
    opacity: 0;
    -webkit-transition: opacity .15s ease 0s;
    transition: opacity .15s ease 0s
}

.lg-backdrop.in {
    opacity: 1
}

.lg-css3.lg-no-trans .lg-current,.lg-css3.lg-no-trans .lg-next-slide,.lg-css3.lg-no-trans .lg-prev-slide {
    -webkit-transition: none 0s ease 0s!important;
    -moz-transition: none 0s ease 0s!important;
    transition: none 0s ease 0s!important
}

.lg-css3.lg-use-css3 .lg-item,.lg-css3.lg-use-left .lg-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden
}

.lg-css3.lg-fade .lg-item {
    opacity: 0
}

.lg-css3.lg-fade .lg-item.lg-current {
    opacity: 1
}

.lg-css3.lg-fade .lg-item.lg-current,.lg-css3.lg-fade .lg-item.lg-next-slide,.lg-css3.lg-fade .lg-item.lg-prev-slide {
    -webkit-transition: opacity .1s ease 0s;
    -moz-transition: opacity .1s ease 0s;
    transition: opacity .1s ease 0s
}

.lg-css3.lg-slide.lg-use-css3 .lg-item {
    opacity: 0
}

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide {
    -webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0)
}

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide {
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0)
}

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    opacity: 1
}

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide {
    -webkit-transition: -webkit-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;
    -moz-transition: -moz-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;
    transition: transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s
}

.lg-css3.lg-slide.lg-use-left .lg-item {
    opacity: 0;
    position: absolute;
    left: 0
}

.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide {
    left: -100%
}

.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide {
    left: 100%
}

.lg-css3.lg-slide.lg-use-left .lg-item.lg-current {
    left: 0;
    opacity: 1
}

.lg-css3.lg-slide.lg-use-left .lg-item.lg-current,.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide {
    -webkit-transition: left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;
    -moz-transition: left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;
    transition: left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s
}

.header__in {
    padding: 2% 0 0;
    position: relative
}

.header__img {
    height: 55px
}

@media (max-width: 1399px) {
    .header__img {
        height:50px
    }
}

@media (max-width: 568px) {
    .header {
        position:relative
    }

    .header__in {
        padding: 8px 10px 5px
    }

    .header__img {
        height: 35px
    }
}

.promo {
    margin: auto;
    min-height: 600px;
    position: relative
}

.promo__title {
    font-family: Caveat,cursive;
    color: #647388
}

.promo__container {
    position: relative;
    margin: 5% auto
}

.promo__container svg {
    position: absolute
}

.promo:after {
    position: absolute;
    right: 50%;
    bottom: -15px;
    content: "";
    width: 2rem;
    height: 2rem;
    margin-left: -1rem;
    margin-top: -1rem;
    border: 2px solid #657488;
    border-left: none;
    border-top: none;
    transform: rotate(45deg) translate(-50%,-50%);
    animation: arrows 5.5s infinite
}

#monitor {
    top: 0;
    left: 35%;
    max-height: 315px
}

#phone {
    animation: phone 3s
}

#brush {
    animation: blush 2s
}

#tablet {
    animation: tablet 4s
}

#laptop {
    animation: laptop 3s
}

#idea {
    animation: idea 4s
}

#camera {
    animation: camera 7s
}

#cup {
    animation: cup 3s
}

#pencil {
    animation: pencil 2.5s 4s,camera 2.5s
}

#brush:hover,#camera:hover,#cup:hover,#laptop:hover,#pencil:hover,#phone:hover,#tablet:hover {
    transform: rotate(-30deg)
}

#monitor:hover {
    transform: rotate(180deg)
}

#idea:hover {
    transform: rotate(30deg)
}

@keyframes arrows {
    to {
        transform: translateY(100%) rotate(45deg);
        opacity: 0
    }
}

@keyframes phone {
    from {
        transform: translateX(70%) rotate(90deg)
    }
}

@keyframes blush {
    from {
        transform: translateX(70%) rotate(300deg)
    }
}

@keyframes pencil {
    from {
        transform: rotate(360deg)
    }
}

@keyframes laptop {
    from {
        transform: translateX(100%) translateY(70%) rotate(360deg)
    }
}

@keyframes idea {
    from {
        transform: translateX(-100%) translateY(70%) rotate(360deg) scale(2)
    }
}

@keyframes tablet {
    from {
        transform: translateX(-100%) translateY(-70%)
    }
}

@keyframes camera {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes cup {
    10% {
        transform: translate(-1px,-2px) rotate(-1deg)
    }

    30% {
        transform: translate(0,2px) rotate(0)
    }

    50% {
        transform: translate(-1px,2px) rotate(-1deg)
    }

    70% {
        transform: translate(2px,1px) rotate(-1deg)
    }

    85% {
        transform: translate(-1px,-1px) rotate(1deg)
    }

    100% {
        transform: translate(1px,-2px) rotate(-1deg)
    }
}

@media (max-width: 1399px) {
    .promo {
        min-height:500px
    }

    #brush {
        top: 5px
    }

    #laptop {
        top: 120px
    }

    #idea {
        top: 210px
    }

    #camera {
        top: 220px
    }

    #cup {
        top: 225px
    }

    #pencil {
        top: 270px
    }
}

@media (max-width: 1020px) {
    #avatar {
        max-height:350px
    }
}

@media (max-width: 768px) {
    .promo__title {
        font-size:55px
    }

    #pencil {
        top: 180px
    }
}

@media (max-width: 568px) {
    .promo {
        min-height:210px
    }

    .promo__title {
        font-size: 32px
    }

    .promo:after {
        width: 1.5rem;
        height: 1.5rem
    }

    #laptop,#tablet {
        top: 45px
    }

    #camera {
        top: 85px
    }

    #cup,#pencil {
        top: 60px
    }

    #idea {
        top: 15px
    }
}

.masonry {
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
}

.masonry__item {
    width: 100%;
    max-width: calc(100% / 3 - 23px);
    background-color: #3c2c62;
    color: #fff;
    margin: 0 10px 20px;
    display: inline-block;
}
@media (max-width: 767px) {
    .masonry__item {
        max-width: calc(100% / 2 - 23px); 
    }
}

@media (max-width: 400px) {
    .masonry {
        margin: 0;
    }
    .masonry__item {
        max-width: 100%; 
    }
}

.masonry__wrapper {
    margin: auto
}

.masonry__img {
    position: relative;
    margin: 0 auto;
    max-height: 100%;
    height: 100%;
    width: 100%;
    /*background: #312450;*/
    text-align: center;
    cursor: pointer;
    padding-top: 100%;
}

.masonry__img img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /*display: block;
    min-height: 100%;
    width: 100%;
    opacity: .8;
    height: auto;
    transition: opacity .35s,transform .35s;
    height: 360px;*/
}

.masonry__img p {
    padding: 10%;
    text-transform: none;
    opacity: 0;
    transform: translate3d(0,-10px,0);
    transition: opacity .35s,transform .35s;
    font-size: 14px
}

.masonry__img h6 {
    padding: 0;
    opacity: 0;
    font-size: 16px;
    text-transform: initial
}

.masonry__img:hover img {
    opacity: .6;
    transform: translate3d(0,0,0);
    transition-delay: .15s
}

.masonry__img:hover h6,.masonry__img:hover p {
    opacity: 1;
    transform: translate3d(0,0,0);
    transition-delay: .15s
}

.masonry__img:hover .masonry__text-container {
    width: 100%;
    border: 1px solid #fff;
    padding: 10px;
    transition: opacity .55s;
    opacity: 1;
    height: 100%;
    display: flex;
    flex-direction: column
}

.masonry__text-container {
    opacity: 0;
    text-decoration: none;
    color: #fff
}

.masonry__overlay {
    padding: 7%;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center
}

.contact__item {
    list-style: none;
    width: 50%;
    color: #647387;
    margin-bottom: 20px
}

.contact__item a {
    text-decoration: none;
    color: #647387
}

.list__icon {
    width: 65px;
    height: 65px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.list__icon--skype {
    background-image: url(../img/icons/skype.svg)
}

.list__icon--skype:hover,.list__icon--skype:active {
    background-image: url(../img/icons/skype_2.svg)
}

.list__icon--email {
    background-image: url(../img/icons/email.svg)
}

.list__icon--email:hover,.list__icon--email:active {
    background-image: url(../img/icons/email_2.svg)
}

.list__icon--telegram {
    background-image: url(../img/icons/telegram.svg)
}

.list__icon--telegram:hover,.list__icon--telegram:active {
    background-image: url(../img/icons/telegram_2.svg)
}

.list__icon--linkedin {
    background-image: url(../img/icons/linkedin.svg)
}

.list__icon--linkedin:hover,.list__icon--linkedin:active {
    background-image: url(../img/icons/linkedin_2.svg)
}

.list__icon--behance {
    background-image: url(../img/icons/behance.svg)
}

.list__icon--behance:hover,.list__icon--behance:active {
    background-image: url(../img/icons/behance_2.svg)
}

.list__icon--dribble {
    background-image: url(../img/icons/dribble.svg)
}

.list__icon--dribble:hover,.list__icon--dribble:active {
    background-image: url(../img/icons/dribble_2.svg)
}

.list__icon--medium {
    background-image: url(../img/icons/medium.svg)
}

.list__icon--medium:hover,.list__icon--medium:active {
    background-image: url(../img/icons/medium_2.svg)
}

.list__icon--cv {
    background-image: url(../img/icons/cv.svg);
    width: 30px;
    height: 30px;
    margin-right: 7px
}

.text-center{
    text-align: center;
}
.btn {
    background-color: #989CFF;
    border-radius: 10px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    font-size: 22px
}
.btn span{
    display: inline-block;
    vertical-align: middle;
}
.btn:hover,.btn:active {
    background-color: #868BFF
}

#cat {
    width: 190px
}

@media (max-width: 1399px) {
    #cat {
        width:160px
    }
}

@media (max-width: 1020px) {
    .contact {
        flex-direction:column;
        width: 100%
    }

    .contact__item p {
        font-size: 22px
    }
}

@media (max-width: 768px) {
    .contact__item p {
        font-size:18px
    }
}

@media (max-width: 568px) {
    .contact__item {
        width:100%
    }

    .list {
        width: 95%;
        margin: 0 auto
    }

    .list__img {
        width: 100px
    }

    .list__item {
        width: 49%
    }

    .list__text {
        display: none
    }

    .list__icon {
        width: 45px;
        height: 45px
    }

    .list__icon--cv {
        width: 25px;
        height: 25px
    }
}

.footer {
    padding: 20px 0 25px;
    position: relative
}

.footer__copy {
    font-size: 15px;
    margin: 0;
    padding: 10px 0;
    color: #647387;
    text-align: center
}

.footer__cat {
    position: absolute;
    bottom: 0;
    opacity: 0;
    right: 0;
    transition-duration: 1.5s
}

@media (max-width: 768px) {
    .footer__copy {
        font-size:12px
    }

    #cat {
        display: none
    }
}
