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

.page-container {
    background-image: url(/assets/images/bg.jpg);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 32px 8px;
}

.content-wrapper {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-container {
    display: flex;
    gap: 32px;
}

.detail-data .video-img-data {
    width: 60%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

/* absolute bottom-0 left-0 flex w-full items-center bg-black/70 p-4 text-white */
.resource-video {
    max-width: 100%;
}

.control-custom {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 24px 12px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, .7);
    color: white;

}

.control-custom button,
.screen-video {
    width: 15px;
    background: transparent;
    color: white;
    margin-right: 20px;
    border: none;
}

.control-custom button {
    margin-right: 0;
}

.group-time-video {
    display: flex;
    align-items: center;
    width: calc(100% - 70px);
    padding: 0 12px;
}

.time-video {
    flex: auto;
}

.progress-time-video {
    width: calc(100% - 12px);
}


.volume-video {
    width: fit-content;
    display: flex;
    padding: 0 12px;
    cursor: pointer;
}

.visible-volume {
    align-items: center;
    display: none;
}

.visible-volume .volume {
    height: 8px;
    width: 50px;
    margin-left: 6px;
}

.volume-video:hover .visible-volume {
    display: flex;
}

.text-time-video {
    width: fit-content;
}

.detail-data .resource-video {
    width: 100%;
    height: 100%;
}

.cover-img {
    width: 65%;
    border-radius: 20px;
}

.detail-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 40%;
}

.resoure-type {
    font-size: 15px;
    color: #85869a;
}

.resource-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #505260;
    margin: 0;
}

.resource-price {
    font-weight: bold;
    color: #e58342;
    text-align: left;
    font-size: 16px;
}

.detail-data .resource-price {
    margin-top: 0;
    margin-left: 0;
}

.resource-description {
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    background: #333858;
    border-radius: 12px;
}

.cus-resource-description {
    padding: 8px;
    font-style: italic;
    color: #aaafc8;
    line-height: 1.5;
}

.cus-resource-description ul li:not(.cus-resource-description ul li:last-child) {
    margin-bottom: 10px;
}

.cus-resource-description ul li a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.cus-resource-description ul li a:hover {
    color: #ff6b35;
}

.specifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.specifications .item-specifications {
    width: calc(50% - 6px);
    color: #696a80;
    display: flex;
    align-items: center;
}

.item-specifications span {
    margin-left: 6px;
}

.download-btn {
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #6778a3;
    background-color: #e58342;
    padding: 10px 28px;
    margin-top: auto;
    cursor: pointer;
    margin-bottom: 8px;
    width: fit-content;
}

.d-none{
    display: none;
}
.error-btn {
    color: white;
    font-size: 20px;
    font-weight: bold;
    /* border-radius: 50px;
    border: 2px solid #6778a3;
    background-color: #ef6e18; */
    padding: 10px 20px;
    margin-top: auto;
    cursor: pointer;
    margin-bottom: 8px;
    width: fit-content;
    text-decoration: underline;
}

.error-btn:hover {
    opacity: 75%;
    color: #ef6e18;
}

.download-btn:hover {
    opacity: 75%;
}

.description-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.description-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.desctiption-text {
    font-size: 16px;
    color: white;
}

.related-suggestion-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.related-suggestion-container .resource-card {
    width: calc(25% - 12px);
}

.related-suggestion-img {
    width: 100%;
}



.viewmore-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.viewmore-divider {
    width: 100px;
    height: 1px;
    background-color: #ccc;
}

.viewmore-btn {
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    background: #111e41;
    font-size: 18px;
    padding: 8px 24px;
    cursor: pointer;
}

.viewmore-btn:hover {
    opacity: 75%;
}

@media screen and (min-width: 1200px) {
    .page-container{
        padding: 32px 42px;
    }
    .content-wrapper {
        width: 90%;
    }
}

@media screen and (max-width: 767px) {
    .related-card {
        width: calc(33.33% - 16px);
    }

    .detail-container {
        flex-direction: column;
    }

    .cover-img {
        width: 100%;
    }

    .detail-wrapper,
    .detail-data .video-img-data {
        width: 100%;
    }

    .related-suggestion-container .resource-card {
        width: 100%;
    }
}
