* {
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
}

body {
    color: white;
    background-color: black;
    height: 100vh;
    display: grid;
    place-items: center;
}

.app__videos {
    position: relative;
    height: 750px;
    background-color: white;
    overflow: scroll;
    width: 100%;
    max-width: 400px;
    scroll-snap-type: y mandatory;
    border-radius: 20px;
}

.app__videos::-webkit-scrollbar {
    display: none;
}

.app__videos {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.video {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: white;
    scroll-snap-align: start;
}

.video__player {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 425px) {
    .app__videos {
        width: 100%;
        height: 100%;
        max-width: 100%;
        border-radius: 0;
    }
}

/* video header */

.videoHeader {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.videoHeader * {
    padding: 20px;
}

/* video footer */

.videoFooter {
    position: relative;
    bottom: 50px;
    margin-left: 15px;
}

.videoFooter__text {
    position: absolute;
    bottom: 0;
    color: white;
    display: flex;
    align-items: center;
    margin-bottom: 45px;
}

.user__avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.videoFooter__text h3 {
    margin-left: 10px;
    font-size: medium;
}

.videoFooter__text h3 button {
    color: white;
    font-weight: 900;
    text-transform: inherit;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 5px;
}

.videoFooter__ticker {
    width: 60%;
    margin-left: 30px;
    margin-bottom: 20px;
    height: fit-content;
}

.videoFooter__ticker marquee {
    font-size: 12px;
    padding-top: 7px;
    color: white;
}

.videoFooter__ticker .material-icons {
    position: absolute;
    left: 5px;
    color: white;
}

.videoFooter__actions {
    display: flex;
    position: absolute;
    width: 95%;
    justify-content: space-between;
    color: white;
}

.videoFooter__actionsLeft .material-icons {
    padding: 0 7px;
    font-size: 1.6em;
}

.videoFooter__actionsRight .material-icons {
    font-size: 25px;
}

.videoFooter__actionsRight {
    display: flex;
}

.videoFooter__stat {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.videoFooter__stat p {
    margin-left: 3px;
}

.reels-container {
    position: fixed;
    bottom: 30px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 9999; /* Adjust as needed */
}

.reels-container .mb-1 {
    display: flex;
    align-items: center;
}

.reels-container .mb-1 .btn {
    margin-right: 5px;
}

.reels-container .mb-1 strong {
    margin-left: 5px;
}

.reels-container .btn {
    margin-bottom: 5px;
    background-color: rgb(0 0 0 / 72%); /* Warna abu-abu transparan */
    border-radius: 50%; /* Radius border 50% */
    border-color: transparent;
}

@media (min-width: 576px) {
    .reels-container {
        flex-direction: row;
        align-items: flex-end;
    }

    .reels-container .btn {
        margin-right: 5px;
        margin-bottom: 0;
    }
}
.text-transparent {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

.btn:hover {
    --bs-btn-hover-color: #0058ff;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.play-button::before {
    content: "▶";
    color: white;
    font-size: 50px;
    margin-left: 6px;
    margin-bottom:2px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.3)
    ); /* Gradient transparan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.loading-spinner {
    border: 8px solid rgba(255, 255, 255, 0.8); /* Warna border spinner */
    border-top: 8px solid #3498db; /* Warna spinner */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
