html {
    scroll-snap-type: y mandatory;
}

body {
    background-color: #090909;
    display: grid;
    place-items: center;
}

.video-box {
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    height: 100vh;
}

.video-box video {
    box-sizing: border-box;
    padding: 8px;
    margin: 0 auto;
    max-height: 80vh;
    max-width: 100%;
    border-radius: 20px;
}

.like-container ul {
    list-style: none;
    color: white;
    padding: 0;
}

.like-container li {
    list-style: none;
    text-align: center;
    padding-bottom: 20px;
}

.like-container button {
    display: block;
}

.close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-size: 18px;
    color: #eee;
    z-index: 9999;
}

.videoFooter {
    position: relative;
    bottom: 150px;
    margin-left: 20px;
    color: white;
    display: flex;
}

.videoFooterText {
    flex: 1;
}

.videoFooterText h3{
    padding-bottom: 20px;
}


/*======== SHARE MODAL ========*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    padding: 24px;
    border: none;
    border-radius: 12px;
    width: 340px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden; /* Membatasi garis agar tidak keluar dari border modal */
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; /* Ketebalan garis */
    background: #fc7218; /* Warna orange */
    border-top-left-radius: 12px; /* Mengikuti radius modal */
    border-top-right-radius: 12px; /* Mengikuti radius modal */
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.modal-header .close-modal {
    background-color: #f5f5f5;
    border-radius: 50%;
    padding: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-header .close-modal:hover {
    background-color: #e0e0e0;
}

.modal-header .close-modal i {
    font-size: 16px;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.social-icons a {
    text-decoration: none;
    color: #fc7218;;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #fc7218;
}

#button-heart {
    color: whitesmoke;
}

#button-heart.clicked {
    color: red;
}