/* TRANSITION BARS STYLES */
.transition-bars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
}

.bar {
    position: absolute;
    left: -100%;
    width: 100%;
    height: 33.333%;
    transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.bar:nth-child(1) {
    top: 0;
    background: linear-gradient(90deg, #ffffff, #ffffff);
}

.bar:nth-child(2) {
    top: 33.333%;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    transition-delay: 0.1s;
}

.bar:nth-child(3) {
    top: 66.666%;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    transition-delay: 0.2s;
}

.transition-bars.show {
    pointer-events: all;
}

.transition-bars.show .bar {
    left: 0;
}

.transition-bars.hide .bar {
    left: 100%;
}

/* MAIN CONTENT TRANSITION */
.main-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.main-content.show {
    opacity: 1;
    transform: translateY(0);
}
/* Khi có class 'initial' => các dải màu trắng */
.transition-bars.initial .bar {
    background: white !important;
     transition: left 0.1s ;
}
