/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Single Vtuber Page */
.el-layout-main .el-main-vtuber {
    width: 95% !important;
    height: 100% !important;
    margin: 2rem auto;
}

/* Single Vtuber Header */
.el-vtuber-header .el-title-link {
    font-size: 3rem;
    font-weight: 600;
}

.el-vtuber-header .el-header-update {
    font-size: 0.9rem;
    text-align: right;
    margin: 0.5rem;
}

/* Single Vtuber Section */
.el-main-vtuber .el-vtuber-section {
    width: 100%;
    margin: 1rem 0;
}

/* Section Wiki */
.el-main-vtuber .el-section-wiki {
    width: 100%;
    margin: 1rem 0;
}

.el-main-vtuber .el-section-channel {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    margin: 1rem 0;
}

.el-main-vtuber .el-channel-twitch {
    width: 800px;
    max-width: 100%;
    margin: 1rem 0;
}

.el-main-vtuber .el-channel-youtube {
    width: 800px;
    max-width: 100%;
    margin: 1rem 0;
}

/* Single Vtuber Production */
.el-main-vtuber .el-section-production {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.el-main-vtuber .el-production-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    background-color: #ffffff;
    border: solid 1px #cccccc;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.28);
    padding: 1rem;
}

/* Single Vtuber Content */
.el-main-vtuber .el-section-content {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}

.el-main-vtuber .el-content-sheet {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.el-main-vtuber .el-content-description {
    align-self: center;
    word-break: break-word;
    max-width: 800px;
    background-color: #ffffff;
    border: solid 1px #cccccc;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.28);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
}

/* Single Vtuber Comments */
.el-main-vtuber .el-section-comment {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* Single Vtuber Footer */
.el-main-vtuber .el-vtuber-footer {
    padding: var(--el-main-padding-main-footer);
    border-top: 1px solid var(--el-border-top-footer);
    margin: var(--el-main-margin-main-footer);
}

.el-main-vtuber .el-footer-line {
    border-top: 1px solid var(--el-tw-color-dddddd);
    margin: var(--el-tw-margin-section);
}

/* Embed */
.el-main-vtuber .el-embed-stream {
    display: flex;
    margin: 1rem 0;
}

.el-main-vtuber .el-stream-video {
    position: relative;
    overflow: hidden;
    width: 70%;
    height: 56.25vh;
    max-height: 90vh;
    min-height: 480px;
    overflow-x: clip;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

.el-main-vtuber .el-stream-chat {
    position: relative;
    overflow: hidden;
    width: 30%;
    height: 56.25vh;
    max-height: 90vh;
    min-height: 480px;
    overflow-x: clip;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

@media (hover:none) or (max-width: 768px) {
    
    /* Embed Mobile */
    .el-main-vtuber .el-embed-stream {
        flex-direction: column;
    }

    .el-main-vtuber .el-stream-video {
        width: 100%;
        height: 35vh;
        min-height: 300px;
    }

    .el-main-vtuber .el-stream-chat {
        width: 100%;
        height: 40vh;
        min-height: 450px;
    }
}