body {
    font-family: 'Play', Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    width: calc(100% - 320px);
    height: 100%; 
    /* Adjusted to leave space for the chat box */
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-bottom: 2px solid;
    /* Add a thin border */
    flex-grow: 1;
    min-height: calc(100vh - 60px);
}

.video-wrapper iframe {
    width: 100%;
    /* Ensure the iframe takes full width */
    height: 100%;
    /* Ensure the iframe takes full height */
    min-height: calc(100vh - 100px);
}



.info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0D1924;
    color: #fff;
    border-top: 1px solid #ccc;
    width: 100%;
    height: 100px;
    margin-top: auto;
    position: fixed; /* Ensure it stays at the bottom */
    bottom: 0; /* Align it to the bottom */
}

.info-wrap {
    display: flex;
    /* Change to flex for proper alignment */
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 10px;
}

.info-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
}

.info-title {
    font-size: 1.5em;
}

.info-subtitle {
    font-size: 1em;
    color: #fff;
    /* Updated subtitle color */
}

.info-views {
    margin-left: auto;
    /* Push views to the right */
    text-align: right;
}

.chat {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 300px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #25394d;
    /* Updated background color */
    color: #fff;
    /* Updated font color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.messages {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

.message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    max-width: 270px;
}

.avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 10px;
}

.username {
    margin: 0;
    font-weight: bold;
}

/* Add these styles for links */
a {
    color: #fff;
    /* Default link color */
    text-decoration: none;
    /* Optional: remove underline */
}

a:hover {
    color: red;
    /* Link color on hover */
}

a:visited {
    color: #fff;
    /* Keep the color white even after visiting */
}

.chat input[type="text"] {
    padding: 10px;
    width: calc(100% - 20px);
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.chat button {
    padding: 10px;
    width: 100%;
    background-color: purple;
    color: white;
    border: none;
    cursor: pointer;
}



/* Small Display */
@media (max-width: 992px) {

    .main-content {
        margin-left: 0px;
        height: 100%;
        display: blcok;
        flex-direction: column;

    }


    .content-wrapper {
        width: 100%;
        height: 40vh;
        /* Adjusted to leave space for the chat box */
        display: block;
        flex-direction: column;
        flex-grow: 1;

    }

    .video-wrapper {
        position: block;
        width: 100%;
        height: 30vh;
        border-bottom: 2px solid;
        /* Add a thin border */
        flex-grow: 1;
        min-height: 100px;
    }

    .video-wrapper iframe {
        width: 100%;
        /* Ensure the iframe takes full width */
        height: 100%;
        /* Ensure the iframe takes full height */
        min-height: 100px;
    }



    .info-box {
        display: block;
        justify-content: space-between;
        align-items: center;
        background: #0D1924;
        /* Updated background color */
        color: #fff;
        /* Updated font color */
        border-top: 1px solid #ccc;
        width: 100%;
        height: 10vh;
        margin-top: auto;
        /* Push the info box to the bottom */
    }

    .info-wrap {
        display: flex;
        /* Change to flex for proper alignment */
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0px;
    }

    .info-box img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin-right: 10px;
    }

    .info-title {
        font-size: 1.2em;
    }

    .info-subtitle {
        font-size: .8em;
        color: #fff;
        /* Updated subtitle color */
    }

    .info-views {
        margin-left: auto;
        /* Push views to the right */
        text-align: right;
    }

    .chat {
        position: relative;
        width: 100%;
        height: 60vh;
        display: flex;
        padding-left: 0px;
        padding-right: 0px;
        background-color: #25394d;
        /* Updated background color */
        color: #fff;
        /* Updated font color */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .chat input[type="text"] {
        padding: 0;
        height: 30px;
        width: 100%;
        border: 1px solid #ccc;
        margin-bottom: 0px;
    }

    .chat button {
        padding: 0 10 0 10px;
        width: 100%;
        background-color: purple;
        color: white;
        border: none;
        cursor: pointer;
    }


}


/* Small Display */
@media (max-width: 768px) {

    .main-content {
        margin-left: 0px;
        height: 100%;
        display: flex;
        flex-direction: column;

    }

}

@media (max-width: 576px) {

    .main-content {
        margin-left: 0px;
        height: 100%;
        display: flex;
        flex-direction: column;

    }

}
