@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;400;600;700;900&display=swap');
html{
    background: #F2F2F2;
}
html, body{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 10px;
    width: 100%;
    height: 100%;
}
* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    max-width: 100%;
}
.hid{
    display: none !important;
}
body.fix{
    overflow: hidden;
}
p{
    display: block;
}
h1, h3{
    margin-top: 0;
    font-weight: 600;
    font-size: 3.4rem;
    color:#333;
}
h2, h4, h5{
    font-weight: 600;
    font-size: 2.4rem;
    margin-top: 30px;
    color:#333;
}
ol{
    padding-left: 18px;
    margin-top: 21px;
}
a{
    color: #333 !important;
    text-decoration: none !important;
}
.good-decision{
    margin-top: 34px;
}
.good-decision b{
    color:#4f5bd4;
}
.main-body{
    width: 100vw;
    height: 100vh;
    background: url(images/polygon-7.svg) no-repeat top right;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}
.main-body:before{
    content: "";
    position: absolute;
    z-index: -1;
    width: 441px;
    height: 686px;
    background: url(images/polygon-8.png) no-repeat;
    background-size: contain;
    top: 50vh;
    margin-top: -343px;
}
.main-body:after{
    content: "";
    position: fixed;
    z-index: -1;
    width: 598px;
    height: 363px;
    background: url(images/polygon-9.png) no-repeat;
    background-size: cover;
    right: 9%;
    bottom: 0;
}
.main-container{
    width: 964px;
    margin: 0 auto;
    height: 100%;
    border-top: 0;
    border-bottom: 0;
    position: relative;
}
.close-button, .close-button2{
    width: 32px;
    height: 32px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.close-button:before, .close-button2:before{
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 2px;
    top: 14px;
    right: 8px;
    background: #df00ff;
    transform: rotate(45deg);
}
.close-button:after, .close-button2:after{
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 2px;
    top: 14px;
    right: 8px;
    background: #df00ff;
    transform: rotate(-45deg);
}
.main-content, .portfolio{
    position: absolute;
    width: 70%;
    height: auto;
    top: 20px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
    padding: 40px;
    font-size: 1.6rem;
    z-index: 30;
    color: #333;
    z-index: 1100;
}
.logo-container{
    padding-top: 8rem;
    width: 21.1rem;
    height: 6.1rem;
}
.info-button{
    width: 16px;
    height: 16px;
    position: absolute;
    top: 55px;
    left: 216px;
    cursor: pointer;
    z-index: 5;
}
.info-button:before{
    content: "";
    animation: movieSlideshow .5s linear infinite;
    opacity: 0;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    background: #df00ff;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 3;
}
.info-button:after{
    content: "i";
    width: 16px;
    height: 16px;
    border-radius: 16px;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #df00ff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
@keyframes movieSlideshow {
    70% {
        width: 28px;
        height: 28px;
        opacity: .2;
        top: -6px;
        left: -6px;
    }
    100% {
        width: 32px;
        height: 32px;
        opacity: 0;
        top: -8px;
        left: -8px;
    }
}
.pers-container{
    top: 25rem;
    left: 7.7rem;
    position: relative;
    height: 43.3rem;
    background: url(images/joomla-man.jpg) no-repeat;
    background-size: contain;
    background-color: #f2f2f2;
    background-blend-mode: multiply;
    opacity: 1;
    z-index: -2;
}
.pers-click-area{
    position: absolute;
    top: 64rem;
    left: 0;
    background: #000;
    width: 100px;
    height: 100px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc362;
    font-size: 8rem;
    font-weight: 400;
    cursor: pointer;
}
.pers-click-area:after{
    content: "портфолио";
    display: block;
    position: absolute;
    top: 0;
    font-size: 14px;
    font-weight: 200;
    color: #000;
    left: -1px;
    letter-spacing: 4px;
    transition: all .2s ease-in-out;
}
.pers-click-area:hover:after{
    content: "портфолио";
    top: -20px;
}
.cloud{
    display: block;
    position: absolute;
    z-index: 10;
}
.cloud span{
    display: block;
    position: relative;
    color: #fff;
    font-weight: 400;
}
.cloud-1{
    background: url(images/Vector.svg);
    width: 43.5rem;
    height: 22.9rem;
    top: 200px;
    right: 128px;
}
.cloud-2{
    background: url(images/Vector-2.svg);
    width: 44.15rem;
    height: 22.5rem;
    top: 467px;
    right: 0px;
}
.cloud-1 span{
    top: 54px;
    left: 65px;
    font-size: 2rem;
    line-height: 149%;
}
.cloud-2 span{
    top: 54px;
    left: 105px;
    font-size: 2rem;
    line-height: 149%;
}
.photo-container{
    width: 15.3rem;
    height: 6.8rem;
    position: absolute;
    top: 238px;
    right: 19px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    z-index: 20;
}
.photo-text{
    font-size: 2rem;
    color: #333;
    font-weight: 100;
    margin-left: 1rem;
}
.photo{
    width: 6.8rem;
    height: 6.8rem;
    border: 2px solid #fff;
    border-radius: 6.8rem;
    background: url(images/photo2.webp);
    background-size: cover;
}
.online{
    font-size: 2rem;
    color: #333;
    font-weight: 100;
    margin-left: 1rem;
    display: block;
    position: absolute;
    top: 617px;
    left: 420px;
    width: 58px;
    height: 28px;
    white-space: nowrap;
    z-index: 20;
}
.prices{
    width: 446px;
    height: 62px;
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    top: 820px;
    right: -10px;
}
.prices .bomb{
    display: block;
    width: 54px;
    height: 54px;
    background: url(images/bomb.png) no-repeat;
    background-size: cover;
    background-color: #f2f2f2;
    background-blend-mode: multiply;
    animation: bombAnimation .3s linear infinite;
    background-position: center;
}
@keyframes bombAnimation {
    70% {
        background-size: 53px 53px;
        background-position: center;
        opacity: .9;
    }
    100% {
        background-size: 54px 54px;
        background-position: center;
    }
}
.prices-text{
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    text-align: right;
}
.prices-text_header{
    font-size: 2rem;
    color: #6C6C6C;
    font-weight: 100;
    margin-left: 1rem;
    letter-spacing: 0.65rem;
    margin-right: -6px;
    margin-bottom: 4px;
}
.prices-text_body{
    font-size: 2.4rem;
    color: #000;
    margin-left: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}
.prices-text_body span{
    color: #cc2cf5;
}
a.pinki{
    font-size: 2.4rem;
    color: #fff !important;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 10.6rem;
    background: #df00ff;
    position: relative;
    top: 366px;
    border-radius: 12px;
    text-decoration: none;
}
.pinki:before{
    width: 80%;
    height: 2rem;
    position: absolute;
    top: 12rem;
    background: #a6a6a6;
    left: 10%;
    content: "";
    filter: blur(2rem);
    border-radius: 100px;
}
.pinki i{
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(images/icon-phone.svg) no-repeat;
    background-size: cover;
    margin-right: 10px;
}
.my-links{
    position:relative;
    display: flex;
    flex-wrap: nowrap;
    top: 330px;
}
.my-links .my-links_item a{
    width: 26px;
    height: 26px;
    margin-right: 20px;
    display: block;
}
.my-links .my-links_item.telegram a{
    background: url(images/icon-telegram.svg);
    background-size: cover;
}
.my-links .my-links_item.whatsapp a{
    background: url(images/icon-whatsapp.svg);
    background-size: cover;
}
.my-links .my-links_item.vk a{
    background: url(images/icon-vk.svg);
    background-size: cover;
}
.my-links .my-links_item.kwork a{
    background: url(images/icon-kwork.svg);
    background-size: cover;
}
.my-links .my-links_item.avito a{
    background: url(images/icon-avito.svg) no-repeat;
    background-size: contain;
}
.my-links .my-links_item.profi a{
    background: url(images/icon-profi.svg) no-repeat;
    background-size: contain;
}
.my-links .my-links_item.freelance a{
    background: url(images/icon-freelance.svg) no-repeat;
    background-size: contain;
}
.footer{
    text-align: center;
    position: relative;
    top: 430px;
    padding-bottom: 20px;
    font-size: 1.2rem;
    color: #777;
}
.portfolio img{
    width: 99%;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
}
.portfolio-container{
    height: 580px;
    overflow-y: auto;
    max-height: 580px;
}
p.portfolio-link{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.portfolio-link > *{
    margin-right: 20px;
    color: #777;
    text-decoration: none;
}
.portfolio-link > i{
    display: block;
    width: 16px;
    height: 16px;
    background: #df00ff;
    margin-right: 15px;
    border-radius: 2px;
}
.dark{
    background: #202020;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    opacity: 0;
    transition: all .5s ease-in-out;
}
.dark.active{
    z-index: 25;
    opacity: 0.7;
    transition: all .5s ease-in-out;
}
.ya-share2 {
    position: absolute;
    top: 44px;
    right: 44px;
}
.ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {
    display: inline-block;
    vertical-align: top;
    padding: 0;
    margin: 2px 4px 0 0;
}
.ya-share2__popup.ya-share2__popup_visible {
    display: table !important;
}
.arrow-top{
    width: 40px;
    height: 70px;
    background: url(images/arrow-top.svg) no-repeat;
    position: absolute;
    left: 246px;
    top: 70px;
}
.arrow-bottom{
    width: 40px;
    height: 70px;
    background: url(images/arrow-bottom.svg) no-repeat;
    position: absolute;
    left: 110px;
    top: 600px;
}
.online:after{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #18d318;
    position: absolute;
    display: block;
    top: 8px;
    left: -16px;
}
.photo-text:after{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: red;
    position: absolute;
    display: block;
    top: 8px;
    left: -16px;
}

@media all and (max-width: 768px){
    .photo-text:after {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 10px;
        background: red;
        position: absolute;
        display: block;
        top: 39px;
        left: 124px;
    }
    .online:after {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 10px;
        background: #18d318;
        position: absolute;
        display: block;
        top: 5px;
        left: -16px;
    }
    .arrow-top {
        width: 40px;
        height: 70px;
        background: url(images/arrow-top.svg) no-repeat;
        position: absolute;
        left: 100px;
        top: 570px;
        z-index: 10;
    }
    .arrow-bottom {
        width: 40px;
        height: 70px;
        background: url(images/arrow-bottom.svg) no-repeat;
        position: absolute;
        right: 50%;
        top: -88px;
        z-index: 10;
        margin-right: -182px;
        left: initial;
    }
    .ya-share2 {
        position: absolute;
        top: 103px;
        right: 18px;
        z-index: 1000;
    }
    .ya-share2__popup.ya-share2__popup_visible {
        display: block !important;
    }
    .cloud-2 span br{
        display: none;
    }
    body{
        width: 100vw;
        overflow-x: hidden;
    }
    .logo-container{
        position: relative;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        margin-top: 6rem;
        padding-top: 0;
    }
    .info-button{
        top: -19px;
        left: 50%;
        margin-left: 114px;
        position: absolute;
    }
    .main-content.hid, .portfolio.hid{
        right: -100vw !important;
        transition: all .3s ease-in-out;
        display: block !important;
    }.portfolio.hid{
        right: 100vw !important;
    }
    .main-content, .portfolio{
        padding: 20px;
        width: 90%;
        right: 5%;
        height: 90vh;
        overflow-y: auto;
        top: 2vh;
        position: fixed;
        font-size: 1.4rem;
        transition: all .3s ease-in-out;
    }
    .main-content.hid .close-button, .portfolio.hid .close-button{
        right: -95vw;
        transition: all .3s ease-in-out;
    }
    .main-content.hid .close-button2, .portfolio.hid .close-button2{
        right: 105vw;
        transition: all .3s ease-in-out;
    }
    .close-button, .close-button2{
        top: 31px;
        right: 8vw;
        z-index: 200;
        background: #fff;
        border-radius: 10px;
        position: fixed;
        transition: all .3s ease-in-out;
    }
    .main-content:before, .portfolio:before{
        content: "";
        display: block;
        height: 20px;
        width: 90%;
        position: fixed;
        top: 2vh;
        right: 5vw;
        background: #fff;
        z-index: 100;
        border-radius: 12px 12px 0 0;
        transition: all .3s ease-in-out;
    }
    .main-content.hid:before, .portfolio.hid:before{
        content: "";
        right: -100vw;
        transition: all .3s ease-in-out;
    }
    .portfolio.hid:before{
        right: 100vw;
    }
    .cloud-1{
        width: 90vw;
        height: auto;
        position: absolute;
        right: 5vw;
        top: 100px;
        background: #4f5bd4;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 12px;
    }
    .cloud-1 span{
        top: 0;
        left: 0;
        font-size: 1.5rem;
    }
    .photo-container{
        top: 88px;
        right: 11px;
    }
    .photo-text{
        font-size: 1.5rem;
        color: #fff;
    }
    .pers-container{
        top: initial;
        margin-top: 22rem;
        left: 5vw;
        height: 90vw;
        width: 90vw;
        border-radius: 12px;
        z-index: 1;
    }
    .pers-container:before, .pers-container:after{
        content: "";
        width: 100%;
    }
    .online{
        top: 297px;
        left: initial;
        right: 6vw;
        font-size: 1.5rem;
    }
    .cloud-2{
        position: relative;
        background: #525bcd;
        right: -5vw;
        height: auto;
        top: initial;
        width: 90vw;
        border-radius: 12px;
        margin-top: 40px;
    }
    .cloud-2 span {
        top: 0;
        left: 0;
        font-size: 1.5rem;
        line-height: 149%;
        padding: 20px;
    }
    .pers-click-area{
        bottom: 0;
        left: 5vw;
        border-radius: 12px;
        width: 60px;
        height: 60px;
        font-size: 4rem;
        top: 54rem;
    }
    .pers-click-area:after{
        content: "";
        display: none;
    }
    .prices{
        width: 100%;
        height: auto;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        top: 20px;
        background: #f2f2f2;
        padding: 20px 0;
        border-radius: 12px;
        flex-direction: column;
        right: initial;
    }
    .prices .bomb {
        position: relative;
        margin: 0 auto;
    }
    .prices-text_header{
        font-size: 1.2rem;
        margin-right: initial;
        margin-left: 6px;
    }
    .prices-text_body {
        font-size: 1.8rem;
        margin-left: initial;
    }
    .prices-text{
        margin: 20px auto 0;
        text-align: center;
    }
    .my-links{
        top: initial;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 40px;
    }
    .my-links .my-links_item a{
        margin-right: 10px;
        margin-left: 10px;
    }
    a.pinki{
        top: initial;
        width: 90vw;
        left: 5vw;
        padding: 20px;
        font-size: 1.6rem;
        height: auto;
        margin-top: 40px;
    }
    .pinki i{
        display: inline-block;
        width: 18px;
        height: 18px;
        background: url(images/icon-phone.svg) no-repeat;
        background-size: cover;
        margin-right: 8px;
    }
    .footer{
        margin-top: 30px;
        top: initial;
    }
    h1, h3{
        font-size: 2.4rem;
    }
    h2, h5, h4{
        font-size: 1.7rem;
    }
    .portfolio-container {
        height: auto;
        overflow-y: auto;
        max-height: initial;
    }
    .portfolio-link > *{
        margin-top: 5px;
    }
    p.portfolio-link{
        flex-direction: column;
        align-items: flex-start;
    }
    .portfolio-link > i{
        order: -1;
    }
    .main-body:before, .main-body:after{
        content: "";
        display: none;
    }
}
@media all and (max-width: 1600px) and (min-width: 1240px){
    a.pinki{
        top: 266px;
    }
    .main-body:before{
        content: "";
        position: absolute;
        z-index: -1;
        width: 30vw;
        height: 30vw;
        top: -120px;
        margin-top: 0;
        background: url(images/polygon-8.png) no-repeat;
        background-size: contain;
    }
    .main-body:after {
        content: "";
        position: fixed;
        z-index: -1;
        width: 30vw;
        height: 30vw;
        background: url(images/polygon-9.png) no-repeat;
        background-size: cover;
        right: 0;
        bottom: 0;
    }
    .cloud-1{
        top: 90px;
    }
    .cloud-2{
        top: 357px;
    }
    .photo-container{
        top: 130px;
    }
    .online{
        top: 507px;
    }
    .pers-container{
        top: 15rem;
    }
    .pers-click-area{
        top: 54rem;
    }
    .prices{
        top: 720px;
    }
    .my-links{
        top: 220px;
    }
    .pinki{
        top: 276px;
    }
    .footer{
        top: 330px;
    }
    .arrow-bottom{
        width: 40px;
        height: 70px;
        background: url(images/arrow-bottom.svg) no-repeat;
        position: absolute;
        left: 76px;
        top: 450px;
    }
}
@media all and (max-width: 1239px) and (min-width: 769px){
    .main-body{
        padding: 0 20px;
    }
    .cloud-1 {
        background: url(images/Vector.svg);
        width: 35.5rem;
        height: 18.9rem;
        top: 200px;
        right: 10px;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .cloud-1 span {
        top: 45px;
        left: 55px;
        font-size: 1.6rem;
        line-height: 149%;
    }
    .photo-container {
        top: 89px;
        right: 9vw;
    }
    .photo-text{
        font-size: 1.6rem;
        color: #fff;
    }
    .main-body:before{
        content: "";
        position: absolute;
        z-index: -1;
        width: 30vw;
        height: 30vw;
        top: -120px;
        margin-top: 0;
        background: url(images/polygon-8.png) no-repeat;
        background-size: contain;
        left: -20px;
    }
    .main-body:after {
        content: "";
        position: fixed;
        z-index: -1;
        width: 30vw;
        height: 30vw;
        background: url(images/polygon-9.png) no-repeat;
        background-size: cover;
        right: 0;
        bottom: 0;
    }
    .cloud-1{
        top: 90px;
        right: 10vw;
    }
    .cloud-2 {
        top: 308px;
        background: url(images/Vector-2.svg);
        width: 37.15rem;
        height: 19.5rem;
        right: 7vw;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .cloud-2 span {
        top: 47px;
        left: 90px;
        font-size: 1.6rem;
    }
    .photo-container {
        top: 87px;
    }
    .online{
        top: 507px;
        font-size: 1.6rem;
        left: initial;
        right: 40vw;
    }
    .pers-container{
        left: initial;
        right: -8vw;
        width: 80%;
        top: 139px;
        left: initial;
    }
    .pers-container {
        left: 10%;
    }
    .pers-click-area{
        top: 54rem;
    }
    .prices{
        top: 720px;
    }
    .my-links{
        top: 220px;
    }
    .pinki{
        top: 276px;
    }
    .footer{
        top: 330px;
    }
}
@media all and (max-width: 1024px) and (min-width: 769px){
    .cloud-1 {
        right: 5vw;
    }
    .cloud-2 {
        right: 2vw;
    }
    .photo-container {
        right: 3vw;
    }
}