body {
    margin: 0;
    padding: 0;
    font-family: 'Gordita Regular';
    overflow-x: hidden;
}

.clsMainPortfolioBG {
    /* background-color: #000720; */
    /* position: fixed; */
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.clsMainPortfolio_first {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ff63aa80, transparent, transparent, #1ce5ff7a);
    position: relative;
}

.clsMainPortfolio_first::before {
    content: "";
    display: block;
    position: absolute;
    top: 5vw;
    left: 5vw;
    width: 300px;
    height: 300px;
    border-radius: 20px 0 0 0;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #bb4b96, #90ee9000, #90ee9000);
    border-image-slice: 1;
}


.clsMainPortfolio_first::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 5vw;
    right: 5vw;
    width: 300px;
    height: 300px;
    border-radius: 20px 0 0 0;
    border: 2px solid transparent;
    border-image: linear-gradient(-45deg, #1999b9, #90ee9000, #90ee9000);
    z-index: 0;
    border-image-slice: 1;
}

.cls-work-container .work-item {
    margin-bottom: 30px;
}

.cls-work-container {
    margin: 50px auto 10px auto;
    width: 90%;
}

.clsMainPortfolio_first_bottomLine {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(-45deg, #41bddc, #90ee9000, #90ee9000);
    z-index: -1;
}

.clsMainPortfolio_first_box {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: auto;
}

.clsMainPortfolio_first_box .clsMainPortfolio_first_leftBox {
    width: 40%;
    color: #fff;
}

.clsMainPortfolio_first_box .clsMainPortfolio_first_rightBox {
    width: 60%;
    text-align: center;
}

.clsMainPortfolio_first_rightBox>img {
    width: 55%;
    margin-left: 5%;
    transform: rotateY(180deg);
}

.clsMainPortfolio_first_leftBox>span {
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
}

.clsMainPortfolio_first_leftBox>p {
    font-size: 13px;
}

.clsMainPortfolio_first_leftBox>h1 {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    background: -webkit-linear-gradient(#04D7F1, #013DE5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.clsMainPortfolio_first_leftBox>h1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 250px;
    height: 3px;
    background: -webkit-linear-gradient(#04D7F1, #013DE5);
}

.clsMainPortfolio_second {
    display: flex;
    padding: 50px;
    flex-wrap: wrap;
}

.clsMainPortfolio_second .clsMainPortfolio_second_box {
    margin: 10px;
    margin-bottom: 30px;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    cursor: pointer;
    width: calc(33% - 20px);
    text-decoration: none;
}

.clsMainPortfolio_second_box>div.imagePanel {
    /* background: #fff; */
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.clsMainPortfolio_second_box>div.imagePanel img {
    width: 100%;
    display: block;
}

.clsMainPortfolio_second_box .bottomBox {
    padding: 10px;
    width: 100%;
}

.clsMainPortfolio_second_box .bottomBox p {
    margin: 0;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.clsMainPortfolio_second_box.colr1 .bottomBox {
    background: #40004E;
    color: #fff;
}

.clsMainPortfolio_second_box.colr2 .bottomBox {
    background: #F20442;
    color: #fff;
}

.clsMainPortfolio_second_box.colr3 .bottomBox {
    background: #FBA301;
    color: #fff;
}

.clsMainPortfolio_second_box.colr4 .bottomBox {
    background: #01BEAA;
    color: #fff;
}

.clsMainPortfolio_second_box.colr5 .bottomBox {
    background: #40004E;
    color: #fff;
}

.clsMainPortfolio_second_box.colr5 .imagePanel>img,
.clsMainPortfolio_second_box.colr3 .imagePanel>img,
.clsMainPortfolio_second_box.colr1 .imagePanel>img {
    animation: colr1 15s infinite alternate-reverse linear;
}

.clsMainPortfolio_second_box.colr4 .imagePanel>img,
.clsMainPortfolio_second_box.colr2 .imagePanel>img {
    animation: colr2 15s infinite alternate-reverse linear;
}

@keyframes colr1 {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(calc(-100% + 300px));
    }
}


@keyframes colr2 {
    0% {
        transform: translateY(calc(-100% + 300px));
    }

    100% {
        transform: translateY(0%);
    }
}

@media only screen and (max-width: 1100px) {
    .clsMainPortfolio_first_box .clsMainPortfolio_first_leftBox {
        width: 60%;
    }

    .clsMainPortfolio_first_box .clsMainPortfolio_first_rightBox{
        width: 40%;
    }
}

@media only screen and (max-width: 780px) {
    .clsMainPortfolio_first_box .clsMainPortfolio_first_leftBox {
        width: 100%;
        margin-top: 40%;
    }
    .clsMainPortfolio_first_box .clsMainPortfolio_first_rightBox {
        position: absolute;
        top: 10%;
        width: 250px;
    }
}

@media only screen and (max-width: 550px) {
    .clsMainPortfolio_first_leftBox>h1 {
        font-size: 10vw;
    }

    .clsMainPortfolio_first_leftBox>h1:after{
        width: 60vw;
    }

    .clsMainPortfolio_first_leftBox>span {
        font-size: 3vw;
    }

    .clsMainPortfolio_first_leftBox>p {
        font-size: 2vw;
    }
}

@media only screen and (max-width: 1269) {
    .footer .footer-links .footer-block .footer-logo{
        width: 100%;
    }
}