* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

main{
    height: 100%;
    width: 100%;
    background-color: rgb(20, 20, 20);
    padding: 40px;
}

section{
    height: 100%;
    width: 450px;
    background-color: black;
    border-radius: 20px;
    margin: auto;
}

.all-reels{
    height: 100%;
    width: 100%;

    overflow: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.all-reels::-webkit-scrollbar{
    display: none;
}

.reel{
    height: 100%;
    width: 100%;
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.reel video{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.reel .bottom {
    padding: 30px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.8));
    width: 100%;
    position: absolute;
    bottom: 0;
    color: white;
}

.bottom .user{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.bottom .user img{
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.bottom .user h4{
    font-size: 20px;
    font-weight: 500;
}
.bottom .user button{
    background-color: transparent;
    padding: 2px 4px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 2px;
    border: 1px solid white;
    color: white;
}
.bottom>h3{
    font-weight: 500;
    font-size: 20px;
}

.right{
    padding: 30px;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    /* transform: translate(100%); */
    /* height: 100%; */
    bottom: 15%;
    color: white;
    border-radius: 20px;
    /* background: linear-gradient(to right, transparent,rgba(0, 0, 0, 0.2)); */
}

.right h4{
    cursor: pointer;
}
.right i{
    font-size: 28px;
    font-weight: 500;
}
.right h6{
    font-size: 15px;
    font-weight: 500;
}
.right>div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    cursor: pointer;
}

.love{
    color: red;
}

.right > div h4{
    pointer-events: none;
}
.right > div h6{
    pointer-events: none;
}

.mute{
    background-color: #333;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
}
.mute i{
    font-size: 22px;
    pointer-events: none;
}
.mute:active{
    scale: 0.95;
}

/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 600px) {

    main {
        padding: 0px;
    }

    section {
        width: 100%;
        border-radius: 15px;
    }

    .reel {
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .reel .bottom {
        padding: 20px 15px;
    }

    .bottom .user img {
        height: 40px;
        width: 40px;
    }

    .bottom .user h4 {
        font-size: 17px;
    }

    .bottom > h3 {
        font-size: 17px;
    }

    .right {
        padding: 25px;
        width: 35px;
        gap: 15px;
        bottom: 10%;
    }

    .right i {
        font-size: 28px;
    }

    .right h6 {
        font-size: 12px;
    }

    .right > div {
        width: 40px;
    }

    .mute {
        height: 40px;
        width: 40px;
        top: 10px;
        right: 10px;
    }

    .mute i {
        font-size: 18px;
    }
}
