@import "tailwindcss";

.content-studioList ul, .content-studioList ol{
    list-style: revert;
    padding-left: 12px;
}
.button {
    display: grid;
    height: 3.75rem;
    width: 100%;
    place-content: center;
    overflow: hidden;
    border-radius: 5px;
    --tw-bg-opacity: 1;
    background-color: rgb(148 142 130 / var(--tw-bg-opacity));
    font-size: 1.125rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1)
}

.bg-white-op {
    background: rgb(248 247 247)
}

.showText,
.showText1,
.SanctuaryTextWhite,
.SalesforeTextWhite,
.ButterflyTextWhite,
.showTextView {
    opacity: 1 !important;
    color: white;
    transition: opacity 0.5s ease-in-out;
}

.showTextBlack,
.showTextBlack1,
.SanctuaryTextBlack,
.SalesforeTextBlack,
.ButterflyTextBlack,
.showTextBlackView {
    opacity: 1 !important;
    color: black;
    transition: opacity 0.5s ease-in-out;
}

.text,
.text-seven-hill,
.text-viewridge {
    color: white;
}

.active .line {
    width: 100%;
}

.line {
    width: 0;
    height: 1px;
    background-color: black;
    transition: width 0.7s ease-in-out;
    will-change: width;
}

.active-filter-line {
    text-decoration: none;
    color: black;
    border-bottom: 1px solid black;
    transition: border-bottom 0.3s ease;
}

#studioProfile .runline img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#studioProfile .runline:hover img {
    opacity: 1;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Ẩn modal mặc định */
.modal {
    transform: translate(0%, 80%);
    opacity: 0;
    visibility: hidden;
    box-shadow: unset;
    transition: transform 3s ease-in-out, opacity 2s ease-in-out;
}

/* Khi mở modal */
.modal.show {
    visibility: visible;
    background-color: unset !important;
    transform: translate(0%, 0%) !important;
    opacity: 1;
}

/* Nút đóng modal */
.close {
    transform: translate(0%, 100%);
    background-color: unset !important;
    transition: transform 3s ease-in-out, opacity 2s ease-in-out;
}

.active-data.active {
    color: black !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.contents:hover .line,
button:hover .line,
li button:hover .line,
li.runline:hover .line,
div.hover-new:hover .line {
    width: 100%;
    background-color: #383735;
    scrollbar-color: unset;
    will-change: width;
}

.active-form {
    color: black;

}

.nwp-scropll {
    pointer-events: auto;
    overscroll-behavior-x: auto;
    /* Đảm bảo cuộn ngang hoạt động */
    cursor: grab;
    /* Hiển thị biểu tượng bàn tay */
    scroll-behavior: smooth;
    /* Cuộn mượt */
}

.collapse {
    border-radius: 0;
}

.collapse-plus>.collapse-title:after {
    font-size: 36px;
    height: 100%;
    top: 22px;
}

.ourProcess .collapse-plus>.collapse-title:after,
.studioProcess .collapse-plus>.collapse-title:after {
    top: 13px;
}

.ourProcess .collapse-plus>.collapse-title:after {
    font-size: 60px;
}

.jobDetail .collapse-plus>.collapse-title:after {
    top: 7px;
}

.image_1 {
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: auto;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

#tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
    white-space: nowrap;
    /* Không xuống dòng */
    z-index: 100000 !important;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    /* Làm mượt hiệu ứng */
}

.bg-gray-op {
    background: rgb(217 212 206)
}

.bg-gray-kem-op {
    background-color: rgb(240 240 230)
}

#menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

#menu.show {
    opacity: 1;
    display: grid !important;
    visibility: visible;
    transform: translateY(0);
}

.sreen {
    transition: bottom 1.2s ease-in-out;
}


.box {
    transition: opacity 0.5s ease-in-out;
}

.noScrollbar {
    scrollbar-width: none;
}

.noScrollbar::-webkit-scrollbar {
    display: none;
}

.modals {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgb(248, 247, 247);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    /* Ban đầu thu nhỏ */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modals.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
    /* Phóng to lên */
}

.modal-content {
    max-width: 100%;
    max-height: 80%;
    border-radius: 8px;
}

.closes {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.zoomImage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

}
/* Hiệu ứng nền */
#transition-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6d4c41; /* Màu nâu */
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}

/* Khi thêm class "active", overlay sẽ xuất hiện */
#transition-overlay.active {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .button:hover {
        --tw-bg-opacity: .5
    }
}

@media (min-width: 768px) {
    .button {
        height: 3rem;
        font-size: 1rem
    }

    .height {
        height: calc(100svh - 74px);
    }

}

@media (max-width:767.9px) {
    .collapse-plus>.collapse-title:after {
        top: 13px;
    }

    .readLess {
        height: 72px;
        overflow: hidden;
        transition: max-height 1s ease;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* Hiển thị tối đa 3 dòng */
        -webkit-box-orient: vertical;
    }

    .readMore {
        height: 100%;
        display: block;
        ;
    }
}