﻿a:hover {
    text-decoration: none;
}

.menu-top {
    background: linear-gradient(180deg, rgb(201 255 237) 0%, rgb(0 0 0 / 0%) 100%);
}

header {
    background-color: white;
}

.btn-pill {
    border-radius: 0;
}

.icon-phone img {
    width: 3rem;
    position: fixed;
    bottom: 16px;
    right: 9px;
}

.icon-zalo img {
    width: 3rem;
    position: fixed;
    bottom: 73px;
    right: 9px;
}
/*body {
    background-color: white;
    background-image: url('/images/bg-troi.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}*/
.block-main {
    height: 100vh;
    /*min-height: calc(100vh - 100px);*/
    background-color: white;
    background-image: url('/images/bg-troi.png');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

.block-wrapper__left {
    margin: auto;
}

.block-wrapper__right--content {
    border: 0.125em solid #216c53;
    padding: 0.75rem;
    box-shadow: 0.5em 0.5em 0 -0.125em #fff, 0.5em 0.5em #226e545e;
    /*width: calc(50% - 15px);*/
    border-radius: 0.25rem;
    overflow: hidden;
    position: relative;
    font-size: 1rem;
    transition: .3s;
    width: 90%;
    background-color: white;
}

    .block-wrapper__right--content::after {
        content: "";
        background: #226e54;
        width: 150%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transform: rotate(-45deg) translateY(-3em);
        transform-origin: 0% 100%;
        transition: .3s;
    }

    .block-wrapper__right--content:hover {
        border: 0.125em solid #226e54;
        box-shadow: 0.75em 0.75em 0 -0.125em #fff, 0.75em 0.75em #226e54;
    }

        .block-wrapper__right--content:hover::after {
            transform: rotate(0deg);
            z-index: 0;
        }

        .block-wrapper__right--content:hover h5, .block-wrapper__right--content:hover p {
            color: #fff;
            z-index: 1;
            position: relative;
        }

    .block-wrapper__right--content h5 {
        text-transform: uppercase;
        font-size: 12px;
        color: #226e54;
        line-height: 17px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .block-wrapper__right--content p {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        margin-bottom: 0;
        margin-top: 3%;
        color: black;
    }

/*   .block-wrapper__right {
        overflow-x: hidden;
        max-height: calc(83vh - 50px);
    }*/

.marquee {
    height: 35px;
    overflow: hidden;
    font-weight: 700;
    padding: 1%;
}

    .marquee p {
        width: 100%;
        color: #ff0707;
        white-space: nowrap;
        animation: scroll 20s linear infinite;
    }

@keyframes scroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.nav-item {
    padding: 10px;
}

    .nav-item img {
        width: 5%;
        margin: 5px;
    }

    .nav-item span {
        display: flex;
        align-items: center;
    }
/*responsite cho header
*/
@media (min-width: 768px) {
    .icon-phone {
        display: none;
    }

    .menu-main {
        display: none;
    }
}

.menu-main {
    -webkit-box-shadow: none;
}

    .menu-main .navbar .navbar-brand .logo-img {
        height: auto;
        max-width: 10rem;
    }
/*fake scroll*/
.block-wrapper__right::before {
    content: '';
    width: 8px; /* Độ rộng của thanh cuộn */
    background-color: #1e7e344f; /* Màu nền của thanh cuộn */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    /*opacity: 0;*/
    transition: opacity 0.3s; /* Hiệu ứng mờ dần */
}

/*.block-wrapper__right:hover::before {
    opacity: 1;
}*/
/* Tùy chỉnh giao diện thanh cuộn */
.block-wrapper__right::-webkit-scrollbar {
    width: 8px; /* Độ rộng của thanh cuộn */
}

.block-wrapper__right::-webkit-scrollbar-thumb {
    background-color: #216c53; /* Màu nền của thanh cuộn */
    border-radius: 4px; /* Đường viền bo tròn */
}

    .block-wrapper__right::-webkit-scrollbar-thumb:hover {
        background-color: #216c53; /* Màu nền khi di chuột qua thanh cuộn */
    }
/*  chình slide theo trang chủ*/
.splide__slide {
    /*background: white;*/
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.splide__arrow {
    display: none !important;
}

.splide__pagination__page {
    opacity: 0 !important;
}

.block-wrapper__stick .block-wrapper__stick--content {
    top: 1%;
    z-index: 2;
    width: 23rem;
    left: 44%;
    position: absolute;
}

.block-wrapper__stick .block-wrapper__stick--profile {
    top: 65%;
    z-index: 2;
    width: 20rem;
    left: 75%;
    position: absolute;
}
/*responsite cho màn hình */
@media (min-width: 300px) {
    .block-main {
        height: unset;
        min-height: calc(100vh - 100px);
    }

    .block-wrapper__banner {
        width: 17rem;
    }

    .block-wrapper__stick .block-wrapper__stick--content {
        top: -3%;
        z-index: 2;
        width: 15rem;
        left: 34%;
        position: absolute;
    }

    .block-wrapper__stick .block-wrapper__stick--profile {
        top: 65%;
        z-index: 2;
        width: 15rem;
        left: 36%;
        position: absolute;
    }
}

/*@media (min-width: 768px) {
}
*/
@media (min-width: 992px) {
    .block-main {
        height: 100vh;
    }

    .block-wrapper__banner {
        width: 100%;
    }

    .block-wrapper__stick .block-wrapper__stick--content {
        top: -3%;
        z-index: 2;
        width: 23rem;
        left: 35%;
        position: absolute;
    }

    .block-wrapper__stick .block-wrapper__stick--profile {
        top: 75%;
        z-index: 2;
        width: 15rem;
        left: 58%;
        position: absolute;
    }
}
@media (min-width: 1200px) {
    .block-main {
        height: 100vh;
    }

    .block-wrapper__banner {
        width: 100%;
    }

    .block-wrapper__stick .block-wrapper__stick--content {
        top: 1%;
        z-index: 2;
        width: 20rem;
        left: 44%;
        position: absolute;
    }

    .block-wrapper__stick .block-wrapper__stick--profile {
        top: 60%;
        z-index: 2;
        width: 20rem;
        left: 69%;
        position: absolute;
    }
}

@media (min-width: 1800px) {
    .block-main {
        height: 100vh;
    }

    .block-wrapper__banner {
        width: 100%;
    }

    .block-wrapper__stick .block-wrapper__stick--content {
        top: 1%;
        z-index: 2;
        width: 30rem;
        left: 44%;
        position: absolute;
    }

    .block-wrapper__stick .block-wrapper__stick--profile {
        top: 57%;
        z-index: 2;
        width: 26rem;
        left: 69%;
        position: absolute;
    }
}
