@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


header {
    background-color: #65377F;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#allVideos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 10%;
}

#videoCase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem
        /* height: 300px; */
}

button {
    background-color: transparent;
    border: none;
}

#videoSection {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: top;
    background-color: #65377F10;
    gap: 2rem;
    height: calc(100vh - 80px);
    padding: 0;
}

#videoBox {
    width: 70vw;
    height: 70vh;
    position: relative;
    background-color: #65377F30;

}

#videoList {
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow: scroll;
    align-items: start;
    background-color: #65377F30;
    width: 30vw;
    height: 100%;


}

::-webkit-scrollbar-button {
    display: none;

}

.video-item {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-bottom: 1px solid #3f3f3f;
}

.video-item div {
    width: 120px;
    height: 80px;
    position: relative;
    /* overflow: hidden; */

}

.video-item h3 {
    font-size: 14px;


}

.video-item div img {
    height: 100%;
    object-fit: contain;

}

.video-item .watched {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #65377F;
    border-radius: 50%;
    bottom: 0;
    right: 0;
}

.thumbnailBox {
    display: flex;
    flex-direction: column-reverse;
}

.thumbnail {
    width: fit;
    object-fit: cover;

    max-width: 50vw;
    object-position: cover;
    cursor: pointer;
}

.videoProgress {
    position: relative;

    background-color: #aaabbb;
    width: 100%;
    height: 5px;
}

.progress {
    position: absolute;
    background-color: #65377F;
    height: 100%;
}

#videoWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#infos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    padding: 10px 20px;
    gap: 1rem;
}

#likeBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

#likes {
    display: flex;

    width: 80px;
    height: 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1px;
}

#like {
    cursor: pointer;
}

footer {
    background-color: #65377F;
    padding: 25px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 180px; */
    width: 100%;
    gap: 1rem;
}

footer p {
    color: #ffffff99;
    font-size: 10px;

}

footer a {
    color: #ffffff99;
    font-size: 10px;


}

footer a:hover {
    text-decoration: underline;
}

footer h3 {
    color: #ffffff;

    font-size: 15px;
}

footer .selos {
    display: flex;
    flex-direction: row;
    gap: 5px;

}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.contact div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 5px;
}

.contact span {
    color: #ffffff99;
    font-size: 12px;
}

.payment {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    border: 1px solid #fff;
    padding: 25px 10%;
    width: 100%;
    border-radius: 20px;
}

.support {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 800px) {
    #videoSection {
        flex-direction: column;
    }

    #videoBox {
        width: 100vw;
        height: 70vh;
        position: relative;
        background-color: #65377F30;

    }


    #videoList {
        display: flex;
        flex-direction: column;
        justify-content: start;
        overflow: visible;
        align-items: start;
        background-color: #65377F30;
        width: 100vw;
        height: fit-content;
    }

    #infos {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
        width: 100%;

        padding: 10px 20px;
        gap: 5px;
    }

    .thumbnail {
        width: fit;
        object-fit: cover;

        max-width: 80vw;
        object-position: cover;
        cursor: pointer;
    }

    .payment {

        display: grid;
        grid-template-columns: 8fr 8fr;
        grid-template-rows: 0fr 0fr;
        gap: 5px;
        border: 1px solid #fff;
        padding: 25px 10%;
        width: 100%;
        border-radius: 20px;

    }

    .contact {
        display: flex;
        justify-content: start;
        align-items: start;
    }

    .contact h3 {
        font-size: 10px;
    }

    .contact a,
    .contact span {
        font-size: 7px;
    }

    footer .selos img {
        width: 40px;

    }

    .support {
        flex-direction: column-reverse;
        gap: 5px;
    }


}