@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 1);
    z-index: 100;
    color: white;
    font-family: 'Inter', sans-serif;
    z-index: 100000;
}

.loader-head {
    font-size: 250px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    opacity: 0;
    /* overflow-y: hidden; */
}

.char-mask {
    overflow: hidden;
    display: inline-block;
}

.char {
    display: inline-block;
    color: white;
}

.loader-head .group-1,
.loader-head .group-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.loader-head .buddy-1,
.loader-head .buddy-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}




.left-d,
.right-d {
    position: absolute;
}

.left-d {
    clip-path: inset(0 48% 0 0);
    left: 0;
}

.right-d {
    clip-path: inset(0 0 0 50%);
    left: 0;
}

.reveal-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    margin-bottom: -40px;
    opacity: 0;
    pointer-events: none;
    color: gray;
}

.split-d {
    width: 175px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .loader-head {
        font-size: 50px;
    }

    .split-d {
        width: 35px;
    }

    .reveal-text {
        font-size: 20px;
    }
}