@font-face {
    font-family: "Comic";
    src: url("../fonts/comicsan.ttf");
}

* {
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #ff9500;
}

#google_translate_element {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    border: 1px dashed var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    height: 3rem;
}

#google_translate_element span {
    display: none;
    background-color: #f9ab30;
}

#google_translate_element .goog-te-gadget {
    color: transparent !important;
}

/* ------------- gallery ----------------- */

.gallery {
    gap: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gallery div img {
    width: 100%;
    transition: ease-in-out 0.6s;
    padding: 0.3rem;
    background-color: #85858565;
    border-radius: 5px;
}

.gallery div img:hover {
    transform: scale(1.3);
    border-radius: 5px;
}

/* --------------------------- gallery ------------------------------- */
.galleries {
    position: relative;
    min-height: 100vh;
    border: 1px dashed #f9ab30;
}

.gallery-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}

.gallery-group .gallery-item {
    max-height: 100%;
    height: 180px;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgb(0, 0, 0, 0.1);
    overflow: hidden;
}

.gallery-group .gallery-item img {
    object-fit: contain;
    height: 100%;
    transition: linear 0.5s;
}

.gallery-group .gallery-item:hover img {
    transform: scale(1.3);
    cursor: pointer;
}

.galleries .popup-item {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 99999;
    scroll-behavior: auto;
}

.galleries .popup-item .gallery-item span {
    font-size: 3rem;
    position: absolute;
    top: 4rem;
    right: 1rem;
    color: #fff;
    padding: 0 1rem;
    border: 1px dashed #ff9500;
}

.galleries .popup-item .gallery-item span:hover {
    cursor: pointer;
}

.galleries .popup-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    height: 90vh;
}

.hide {
    display: none !important;
}

/* ------------------------------------------------- */
#app {
    position: fixed;
    z-index: 9999;
    width: 100vw;
    border-bottom: var(--color-primary) solid 3px;
}

.space {
    height: 4rem;
}

.active {
    color: #ff9500;
    border-bottom: #ff9500 2px solid;
}

a:hover {
    color: var(--color-primary) !important;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #ff950049 !important;
}

.text p {
    color: #777777;
}

.text .h3 {
    font-weight: 800;
}

.text-orange {
    color: #ffac0d;
}

.slogan {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
}

.bg-gray {
    font-family: "comic";
    font-style: italic;
    color: var(--color-primary);
    font-weight: 800;
    position: relative;
    background-color: #fff;
    width: max-content;
}

.slogan .bg-gray::after {
    position: absolute;
    content: "";
    left: 0;
    height: 100%;
    border-left: 1px solid #00c721;
    width: 100%;
    background: #fff;
    animation: typing 3s steps(10) infinite;
}

@keyframes typing {
    100% {
        left: 100%;
    }
}

/* ===================== slide ============================ */
.autoplay img {
    width: 100% !important;
}

.slick-list,
.slick-track {
    height: 80vh;
}

.container-slide {
    height: 80vh;
    overflow: hidden;
    /* width: 100vw; */
    margin: 0 auto;
}

.container-slide .slide {
    height: 100%;
    width: 100%;
}

.container-slide img {
    height: 100% !important;
    width: 100vw !important;
}

.slick-prev {
    left: 50px !important;
    top: 35% !important;
    z-index: 999;
}

.slick-next {
    z-index: 999;
    top: 35% !important;
    right: 50px !important;
}

.slick-prev::before,
.slick-next::before {
    font-size: 3rem !important;
}

/* ------------------------------------------ */
.flex-img {
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.flex-img div img {
    width: 100%;
    transition: ease-in-out 0.6s;
    padding: 0.3rem;
    background-color: #f9ac3067;
    border-radius: 5px;
}

.flex-img div img:hover {
    transform: scale(1.3);
    border-radius: 5px;
}

/* --------------------------- footer -------------------------------- */
.footer {
    max-width: 99vw;
    width: 100%;
    margin: 0 auto;
}

.color-orange {
    color: var(--color-primary);
}

.text-group .text-item,
.icon-group .icon-item {
    padding-bottom: 0.7rem;
}

.text-group .text-item:hover a {
    color: var(--color-primary) !important;
}

.footer {
    background-color: #9e9e9ecc;
    color: #fff;
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    height: max-content;
}

.footer a {
    color: #fff;
}

.footer .copy {
    color: #fff;
    text-align: center;
    background-color: #777777;
    padding: 1rem;
}

.footer .links {
    padding-bottom: 0.7rem;
}

.footer-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 1rem;
}

.footer .bg-footer {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer .link-all {
    z-index: 99;
}

.footer .bg-footer img {
    width: 100%;
    /* object-fit: cover; */
    height: 100%;
}

.inline-icon {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 9rem;
}

.inline-icon .icon-inline {
    color: var(--color-primary);
    background-color: #fff;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 50%;
}

/* ============================================ */
.banner {
    height: 30vh;
    width: 100%;
}

.banner img {
    height: 100%;
    width: 100%;
}

/* ################### contact ######################### */

.contactIconsGroup {
    max-width: 960px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
}

.contactIconsGroup .contactGroup .bg-gray {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1bb300;
    height: 100px;
    width: 100px;
    border-radius: 100px;
}

.contactGroup {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.contactIconsGroup .contactIcon {
    font-size: 50px;
    color: white;
}

.contactIconsGroup .contactGroup .title {
    font-size: 20px;
    font-weight: 800;
}

.contactIconsGroup .contactGroup .subtitle {
    font-size: 16px;
    text-align: center;
}

.map {
    border: 1px solid #f9ab30;
    margin: 0 auto;
    max-width: 750px;
}

/* ==================== page home ============================ */
.container-item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.container-item .box-item .img {
    width: 100%;
    height: 250px;
    background-color: #bebebe5f;
    overflow: hidden;
}

.container-item .box-item .img img:hover {
    transform: scale(1.1);
}

.container-item .box-item .img img {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    transition: all ease-in-out 0.5s;
}

.container-item .box-item .text-detail {
    padding-bottom: 1rem;
}

.container-item .box-item .text-detail .title {
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: #777777 dotted 1px;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-height: X;
    /* fallback */
    color: #ff9500;
    max-height: X * 1;
}

.container-item .box-item .text-detail .duration {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-height: X;
    /* fallback */
    max-height: X * 1;
}

.container-item .box-item .text-detail .sub-detail {
    color: #777777;
}

.container-item .box-item .text-detail .sub-detail-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-height: X;
    /* fallback */
    color: #777777;
    max-height: X * 1;
    /* fallback */
}

.container-item .box-item .box-more {
    display: flex;
    justify-content: space-between;
    background-color: #dddddd9d;
    padding: 0.3rem;
    align-items: center;
}

.container-item .box-item .box-more .read-more {
    background-color: var(--color-primary);
}

.container-item .box-item .box-more a {
    color: #fff !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.3rem;
}

.home-title sup {
    color: red;
    font-size: 1rem;
}

.home-title {
    border-bottom: 2px red solid;
}

.lao,
.vietnam,
.cambodia {
    margin-bottom: 6rem;
}

/* ======================= page home detail ================================ */
.detail-top {
    color: var(--color-primary);
    font-size: 1.4rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    color: #777777;
}

.detail-group .title {
    color: var(--color-primary);
}

.slider-for:hover img {
    transform: scale(1.2);
}

.slider-for img {
    transition: ease-in-out 0.7s;
}

.slider-for {
    padding: 1rem;
    overflow: hidden;
}

.slider-nav {
    background-color: #ffad327a;
    height: 7rem !important;
    padding: 1rem 0;
}

.slick-list,
.slick-track {
    height: 100%;
}

.slider-nav img:hover {
    cursor: pointer;
}

.slider-nav img {
    height: 100%;
    object-fit: contain;
}

/* ------------------------------------------- */
.dork-champa {
    display: flex;
    gap: 1rem;
    max-width: 300px;
    width: 100%;
}

.about-lao img {
    transition: all 0.5s;
}

.about-lao .money {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.img-size {
    max-width: 300px;
    width: 100%;
    padding: 1rem;
}

.dork-champa img {
    width: 100%;
    object-fit: contain;
}

.about-lao img:hover {
    transform: scale(1.3);
}

/* ================================================================ */

@media only screen and (max-width: 768px) {
    .container-item {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .lao,
    .vietnam,
    .cambodia {
        margin-bottom: 4rem;
    }

    /* -------------------------- slide-------------------------- */
    .container-slide {
        height: 70vh;
        overflow: hidden;
        /* width: 100vw; */
        margin: 0 auto;
    }
}

@media only screen and (max-width: 500px) {
    .footer .copy {
        height: 8rem;
    }

    .footer .bg-footer img {
        width: inherit;
        object-fit: cover;
        height: 100%;
    }

    .footer-box {
        padding: 0 0.1rem;
    }

    .footer .bg-footer {
        width: inherit;
    }

    .container-item {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    /* -------------------------- slide-------------------------- */
    .space {
        height: 1rem;
    }

    .container-slide {
        height: 30vh;
        overflow: hidden;
        /* width: 100vw; */
        margin: 0 auto;
    }
}
