.section5 {
    padding: 0;
}

.box5 {
    height: 90vh;
    display: flex;
}

.box5 .item {
    overflow: hidden;
    position: relative;
    flex: 1;
    transition: 1s;
    background: #000;
}

.box5 .item.cur {
    flex: 0 1 50%;
}

.box5 .item img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: 1s;
}

.box5 .item:hover img {
    transform: scale(1.05);
}

.box5 .item .text {
    opacity: 0.8;
    width: 210px;
    position: absolute;
    z-index: 3;
    top: 100px;
    left: calc((100% - 210px) / 2);
    transition: 0.5s;
}

.box5 .item .text h2 {
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.72em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.box5 .item .text span {
    display: block;
    width: 210px;
    height: 3px;
    background: var(--color2);
    margin: 15px 0;
}

.box5 .item .text h1 {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.23em;
    color: #FFFFFF;
    transition: 0.5s;
}

.box5 .item.cur .text {
    opacity: 1;
    width: 260px;
    left: 90px;
}

.box5 .item.cur .text h1 {
    font-weight: bold;
    font-size: 26px;
}

.box5 .item.cur img {
    opacity: 1;
}

.box5 .item.cur::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(153.43deg, #0D3875 0%, rgba(0, 125, 191, 0) 44.86%);
}

@media (max-width:1440px) {
    .box5 {
        height: 80vh;
    }

    .box5 .item.cur {
        flex: 0 1 40%;
    }


}

@media (max-width:1200px) {
    .box5 .item.cur .text {
        left: 60px;
        top: 60px;
    }

    .box5 .item .text {
        top: 60px;
        width: 190px;
    }

    .box5 .item .text span {
        width: 190px;
    }
}

@media (max-width:992px) {
    .box5 {
        height: calc(100vh - 60px);
        display: flex;
        flex-direction: column;
    }

    .box5 .item .text,
    .box5 .item.cur .text {
        left: 30px;
        top: 30px;
        width: auto;
    }
}

@media (max-width:640px) {
    .box5 .item.cur::after {
        background: linear-gradient(153.43deg, #0D3875 0%, rgba(0, 125, 191, 0) 60%);
    }

    .box5 .item .text h2 {
        letter-spacing: 0;
    }

    .box5 .item .text span {
        margin: 10px 0 5px;
    }

    .box5 .item .text h1 {
        font-size: 16px;
    }

    .box5 .item.cur .text h1 {
        font-size: 24px;
    }
}