﻿.home-kt {
    position: relative;
    background-color: #ecfff1;
    overflow: hidden;
    background-image: url(../../../Design/img/bg-kt_02-min.png);
    background-size: cover;
}

/*public kt*/
.p-kt-link {
    height: 345px;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

    .p-kt-link:hover .p-kt-img img {
        transform: scale(1.05);
    }

    .p-kt-link::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #000;
        pointer-events: none;
        opacity: .4;
        z-index: 1;
    }

.p-kt-img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: all;
}

    .p-kt-img img {
        transition: .3s;
    }

.p-kt-content {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.p-kt-title {
    font-size: 20px;
    font-family: 'BeVietnamPro-Regular';
    font-weight: 100;
    color: #fff;
    padding: 0 14px;
    background: linear-gradient(180deg, #18f576 0%, #089745 100%);
    border-radius: 25px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin: 0;
    max-width: 78%;
    text-align: center;
}

    .p-kt-title span {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.p-kt-options {
    display: none;
}

    .p-kt-options .rating-list {
        margin-top: 16px;
    }

        .p-kt-options .rating-list i {
            background: var(--yellow-gra);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.p-kt-btn {
    border: 2px solid rgb(255 255 255 / 50%);
    border-radius: 31px;
    font-size: 16px;
    color: #fff;
    padding: 14px 27px;
    transition: all linear .3s;
    margin-top: 43px;
}

    .p-kt-btn:hover {
        background-color: #fff;
        border-color: #fff;
        color: var(--default-color-1);
    }

/* public video */

.p-video-item span {
    display: none;
}

.p-video-item {
    position: relative;
}

    .p-video-item::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: .3;
        top: 0;
        pointer-events: none;
        left: 0;
        z-index: 2;
    }

    .p-video-item a {
        width: 100%;
        height: 100%;
    }

    .p-video-item .img {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .p-video-item .decor {
        position: absolute;
        width: 39px;
        height: 39px;
        border-radius: 50%;
        border: 2px solid #000;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        transition: all linear .3s;
        opacity: .5;
    }

    .p-video-item:hover .decor {
        opacity: 1;
    }

.home-kt .decor-cloud {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: bottom;
    animation: animationCloud 50s linear alternate infinite;
}

@keyframes animationCloud {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-100px) translateX(-5px);
    }

    100% {
        transform: translateY(-200px) translateX(-20px);
    }
}

.home-kt .decor-grass {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-kt .grid.wide {
    max-width: 1104px;
}

.home-kt-container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 67px;
    text-align: center;
}

    .home-kt-container .p-descript {
        color: #4f4f4f;
    }

.home-kt-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 44px;
}

    .home-kt-wrap .wrap-item {
        display: flex;
        flex-direction: column;
        width: 305px;
    }

        .home-kt-wrap .wrap-item li {
            margin-bottom: 25px;
        }

            .home-kt-wrap .wrap-item li:last-child {
                margin-bottom: 0;
            }

        .home-kt-wrap .wrap-item.center {
            flex: 1;
            padding: 0 25px;
        }

            .home-kt-wrap .wrap-item.center .p-kt-link {
                height: 715px;
            }

            .home-kt-wrap .wrap-item.center .p-kt-options {
                padding: 14px 0;
            }

            .home-kt-wrap .wrap-item.center .p-kt-descript {
                padding-bottom: 14px;
            }

.home-kt-btn {
    width: fit-content;
    margin: 0 auto;
    margin-top: 42px;
    border: transparent;
    background: linear-gradient(180deg, #18f576 0%, #089745 100%);
    color: #fff;
    padding: 13px 40px;
    font-size: 18px;
    transition: all linear .3s;
    border-radius: 25px;
}

    .home-kt-btn:hover {
        background: #dd2530;
        color: #fff;
    }

.home-kt-decor {
    position: absolute;
}

    .home-kt-decor.left {
        left: 0;
        top: 0;
    }

    .home-kt-decor.right {
        right: 0;
        top: -70px;
    }