@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    body {
        font-family: "Inter", sans-serif;
    }
}

@layer components {
    input[type="checkbox"]:checked ~ label span svg {
        @apply inline-flex;
    }

    .sticky .header-logo {
        @apply py-5 lg:py-2;
    }

    .sticky .menu-scroll.active {
        @apply opacity-70;
    }

    input#togglePlan:checked ~ .dot {
        @apply translate-x-full;
    }

    input#checkboxLabel:checked ~ .box span {
        @apply opacity-100;
    }
}

.swiper-pagination {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;     
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;           
}

.play-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border: 2px solid #d42328;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.play-icon:hover {
    transform: scale(1.1);
}

.play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid #d42328;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
}

.arrow-button {
    @apply absolute top-1/2 -translate-y-1/2 z-20 w-10 h-10 bg-white/70 hover:bg-white rounded-full shadow-lg flex items-center justify-center;
}

.arrow-button::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid black;
    border-right: 2px solid black;
    transform: rotate(-135deg);
    transition: transform 0.2s;
}

.right-arrow::before {
    transform: rotate(45deg);
}

.arrow-button:hover::before {
    transform: scale(1.2) rotate(-135deg);
}

.right-arrow:hover::before {
    transform: scale(1.2) rotate(45deg);
}

.left-arrow {
    left: 0.5rem;
}

.right-arrow {
    right: 0.5rem;
}

.play-icon-white {
    width: 60px;
    height: 60px;
    background-color: transparent; /* Nền trong suốt */
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.play-icon-white:hover {
    transform: scale(1.1);
}

.play-icon-white::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid white; /* Màu icon trắng */
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
}
