#output {
    margin-bottom: 25px;
}
.video_wrapper {
    width: 100%;
    margin-bottom: 5px;
}
.video_wrapper a:visited, .video_wrapper a:link {
    color: red;
    text-decoration: none;
}
.video_heading {
    font-size: 1.5em;
}
.row_container {
    display: flex;
    justify-content: center;
    width: 100%;
}
.video_wrapper_main {
    width: 60%;
    border: 1px solid var(--secondary);
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0px;
    box-shadow: 4px 4px 6px var(--primary);
    background-color: black;
    overflow: hidden;
}
.video_wrapper_main:hover {
    box-shadow: 0px 0px 10px var(--txt_l);
}
.iframe_video {
    width: 100%;
    height: 100%;
    visibility: hidden;
    background-color: black;
}
#iframe_mask {
    width: 100%;
    min-height: 100%;
    color: white;
    background-color: black;
    z-index: 5;
}
.video_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 340px;
    background-color: var(--bg_2);
    border: 1px solid red;
    box-shadow: 4px 4px 6px var(--primary);
    margin-top: 15px;
}
.video_container:hover {
    box-shadow: 0px 0px 10px var(--txt_l);
}
.vm_heading {
    font-size: 3.2em;
    color: var(--secondary);
    text-shadow: 1px 1px 3px var(--txt_l);
    margin-top: 15px;
}
.video_title {
    min-height: 35px;
    padding-top: 5px;
    font-size: 2.0em;
    margin-bottom: 5px;
}
.mvideo_wrapper {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
    margin-top: 10px;
}
.mvideo {
    width: 22%;
    padding-top: 15px;
    padding-bottom: 15px;
    color: var(--third);
    font-size: 1.4em;
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    box-shadow: 4px 4px 6px var(--primary);
    text-shadow: 1px 1px 3px var(--secondary);
}
.mvideo:hover {
    cursor: pointer;
    color: var(--secondary);
    box-shadow: 0px 0px 10px var(--txt_l);    
    text-shadow: 1px 1px 3px var(--third);
}
.mvideo_active {    
    color: var(--secondary);
    box-shadow: 0px 0px 10px var(--txt_l);    
    text-shadow: 1px 1px 3px var(--third);
}
.pvideo {
    font-size: 18px;
}
.video_links {
    width: 60%;
    margin: 0 auto;
    text-align: right;
    padding-top: 5px;
    padding-right: 10px;
}
.video_links a:link, .video_links a:visited {
    color: var(--secondary);
}
.video_links a:hover {
    color: var(--txt_l);
    transition: 1s;
}
.video_title2 {
    font-size: 20px;
    margin-top: 2px;
    margin-bottom: 5px;
}
.video_title2 a:link, .video_title2 a:visited {
    color: var(--secondary);
    text-shadow: 1px 1px 2px var(--txt_l);
}
.video_title2 a:hover {
    color: var(--secondary);
    text-shadow: 0px 0px 5px var(--txt_l);
    transition: 1s;
}
.video_div {
    position: relative;
    width: max-content;
    height: max-content;
    margin: 0 auto;
}
.video_mask {
    display: none;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,0.5);
}
.image_absolute {
    position: absolute;
    top: 0;
}
.description_wrapper {
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 30px;
}
.stats_wrapper {
    display: flex;
    width: 700px;
    align-items: center;
    margin: 0 auto;
}
.data_wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
.date {
    width: 50%;
    text-align: left;
}
#views {
    width: max-content;
    margin-right: 15px;
    padding-top: 2px;
}
#likes {
    display: flex;
    width: max-content;
    margin-right: 15px;
}
#like_image {
    width: 25px;
    height: 21px;
}
#sub_button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 16px;
    width: max-content;
    height: 37px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #f3f4f6;
    border: 3px solid #f3f4f6;
    border-radius: 5px;
}
#sub_button:hover {
    cursor: pointer;
    background-color: #b6b9bd;
    border-color: #529ce7;
}
#sub_button a:link, #sub_button a:visited {
    color: #000000 !important;
}
#description {
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
    text-align: left;
    font-family: 'Arial';
    padding-top: 15px;
    word-wrap: break-word;
}
#comments {
    width: 100%;
    text-align: left;
}
.all_video {
    display: flex;
    justify-content: flex-end;
    width: 99%;
    margin-top: 20px;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 5px;
}
.active_page {
    border: 1px solid var(--txt2);
    background-color: var(--bg_l);
    color: var(--txt2);
}
.inactive_page {    
    border: 1px solid var(--bg_l);
    background-color: var(--bg_l);
}
.inactive_page:hover {
    border: 1px solid var(--txt2);
    background-color: var(--bg_l);
}
.inactive_page a:link .inactive_page a:visited {
    color: var(--txt2);
}
.interum_page {
    font-weight: bold;
    color: var(--txt2);
}
@media screen and (max-width: 1600px){
    .vm_heading {
        font-size: 2.5em;
    }
    .video_heading {
        font-size: 22px;
    }
    .video_wrapper_main {
        width: 700px;
        height: 394px; 
    }    
    .video_links {
        width: 700px;
    }
    .mvideo_wrapper {
        width: 770px;
    }
    .mvideo {
        width: 170px;
        font-size: 1.0em;
    }
}
@media screen and (max-width: 1350px){
    .video_container {
        width: 300px;
    }
}
@media screen and (max-width: 1250px){
    .video_container {
        width: 280px;
    }
}
@media screen and (max-width: 1000px){
    .description_wrapper {
        width: 100%;
    }
}
@media screen and (max-width: 750px){
    .description_wrapper {
        width: 90%;
    }
    .video_container {
        width: 260px;
    }
}
@media screen and (max-width: 850px){
    .video_wrapper_main {
        width: 600px;
        height: 338px;
    }
    .video_links {
        width: 600px;
    }
    .stats_wrapper {
        width: 600px;
        font-size: 16px;
    }
    #like_image {
        width: 20px;
        height: 17px;
    }
    #sub_button {
        width: 80px;
        height: 27px;
    }
    .iframe_video {
        max-width: 100%;
        max-height: 100%;
    }
    .mvideo_wrapper {
        width: 95%;
    }
    .mvideo {
        width: 140px;
        margin-right: 5px;
        margin-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 18px;
    }
    .video_title2 {
        font-size: 16px;
    }
}
@media screen and (max-width: 600px){
    .video_wrapper_main {
        width: 450px;
        height: 253px;
    }    
    .video_links, .stats_wrapper {
        width: 450px;
        font-size: 14px;
    }
    .mvideo {
        font-size: 14px;
    }
    .video_container {
        width: 220px;
    }
    .video_title2 {
        font-size: 16px;
    }
}
@media screen and (max-width: 499px){
    .video_wrapper_main {
        width: 300px;
        height: 169px;
    }    
    .video_links, .stats_wrapper {
        width: 300px;
    }
    .vm_heading {
        font-size: 1.5em;
    }
    .mvideo, .video_links {
        font-size: 10px;
    }
    .row_container {
        width: 98%;
        margin: 0 auto;
    }
    .video_container {
        width: 180px;
        margin: 0 auto;
        margin-top: 10px;
    }
    .video_title a:visited, .video_title a:link{
        font-size: 10px;
    }
    #description {
        font-size: 12px;
        padding-top: 5px;
    }
}