* {
    box-sizing: border-box;
    text-decoration: none;
    margin: 0
}

body {
    margin: 0;
    font-family: monospace;
    background: rgb(0 0 0 / 85%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    border-left: 1px solid #1c1c1c;
    border-right: 1px solid #1c1c1c
}

.container {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: rgb(0 0 0 / 94%)
}

.header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: rgb(0 0 0 / 94%);
    padding: .5em 0
}

.header h1 {
    font-size: 1.25em;
    margin: .25em 0;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: .1em;
    color: #f90
}

.header h1 span {
    color: #fff
}

.header {
    text-align: left;
    color: #f90;
    font-weight: 700
}

.videoplayer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: .5em
}

.videoplayer iframe {
    width: 100%;
    min-height: 23em
}

.description {
    width: 100%;
    padding: .5em .75em 1em;
    background: #fff0;
    border-radius: 0 0 .25em .25em;
    font-size: .9em;
    border: 1px solid #333;
    background-color: #1c1c1c;
}

.description h1 {
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.description h2 {
    font-size: 1em;
    width: 100%;
    margin-bottom: .75em;
    font-weight: 500
}

.reaction {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: .25em
}

.likes {
    font-size: 1.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: .25em;
    color: #fff
}

.likes .active,.mode .active {
    color: #f90!important
}

.likes label {
    font-size: .8125em;
    color: #b4b4b4
}

.togle {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: .5em
}

.mode {
    width: 1.5em;
    height: 1.5em;
    background: #575757;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    font-size: 1.5em;
    border-radius: .25em;
    cursor: pointer
}

.download {
    display: flex;
    flex-direction: row;
    align-items: center
}

.download button {
    background: #f90;
    outline: none;
    font-size: large;
    color: #000;
    border: none;
    cursor: pointer;
    padding: .35em 1em;
    border-radius: .25em
}

.major {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin-top: 1em;
    margin-bottom: 1em;
    row-gap: .5em
}

.adsense {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.go-download {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    background: #1c1c1c;
    border-radius: .25em
}

.go-download a {
    width: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: .5em;
    background: #f90;
    color: #000;
    font-size: 1em;
    padding: .75em 1em;
    border-radius: .25em;
    cursor: pointer;
    outline: none
}

.dark {
    position: fixed;
    z-index: 2;
    background: #0000008a;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
}

.sticky {
    position: relative;
    z-index: 3
}

.vjs-poster {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    background-color: #000;
    cursor: pointer;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 23em
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 50%;
    padding: .5em;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center
}

.vjs-has-started .vjs-poster {
    display: none
}



.related-videos {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .5em;
    width: 100%;
    padding: .5em;
    background-color: #1c1c1c;
    border-radius: .25em
}

@media(max-width: 600px) {
    .related-videos {
        grid-template-columns:repeat(2,1fr);
        gap: .5em;
        padding: .5em
    }
}

.related-video {
     
    border-radius: .15em;
    overflow: hidden;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .15em;
    position: relative
}

.related-video a {
    position: relative;
    width: 100%;
    padding-top: 125%; /* This creates 4:5 aspect ratio */
    display: block;
    overflow: hidden;
}

.related-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.related-video h3 {
    font-family: "Roboto",sans-serif;
    font-size: medium;
    margin: .5em 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    background-color: rgb(0 0 0 / .7)
}

.related-video .play {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.2em;
    color: #fff;
    background-color: rgb(0 0 0 / .5);
    border-radius: 47%;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center
}

.video-summary {
    margin-top: .5em;
    font-size: .8em;
    background-color: rgb(41 41 41 / 84%);
    padding: .5em;
    border-radius: .25em;
    font-family: monospace;
}

.video-title {
    font-family: "Poppins",sans-serif;
    text-align: left;
    margin: .25em 0;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 .5em;
    font-size: large;
    color: #fff;
    background-color: #1c1c1c;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #1c1c1c;
    width: 100%;
    border: 1px solid #333
}

.menu li {
    position: relative
}

.menu a {
    display: block;
    color: #fff;
    text-align: left;
    padding: 14px 16px;
    text-decoration: none
}

.menu a:hover {
    background-color: #575757
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1c1c1c;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgb(0 0 0 / .2);
    z-index: 1;
    top: 100%;
    left: 0
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left
}

.dropdown-content a:hover {
    background-color: #575757
}

.dropdown:hover .dropdown-content,.dropdown.active .dropdown-content {
    display: block
}

@media(max-width: 600px) {
    .menu {
        flex-direction:row;
        overflow-x: auto
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / .4);
    padding-top: 60px
}

.modal-content {
    background-color: rgb(0 0 0 / .8);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    color: #fff
}

.modal-content a {
    color: #fff
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: 700
}

.close:hover,.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer
}

@media(max-width: 600px) {
    .related-video img {
        max-height:12em
    }
}
.related-video-title {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
    line-clamp:2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin-top:5px;
    font-size:medium;
    color:#fff;
    text-align:justify;
    padding:0 5px
}

.video-title.header,.related-video-title {
    text-transform: capitalize
}

.thumb-block {
    border: 1px solid #000;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease
}

.thumb-block:hover {
    transform: scale(1.05)
}

.post-thumbnail {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease
}

.post-thumbnail .hd-video,.post-thumbnail .views,.post-thumbnail .duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgb(0 0 0 / .7);
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px
}

.post-thumbnail .views {
    left: auto;
    right: 10px
}

.entry-header h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0;
    color: #333;
    text-align: center
}

.entry-header h3:hover {
    color: #f90
}

.views,.duration {
    position: absolute;
    top: 10px;
    background-color: rgb(0 0 0 / .7);
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px
}

.views {
    right: 10px
}

.duration {
    left: 10px
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px;
    list-style: none;
    background-color: #1c1c1c;
    border-radius: 5px;
    max-width: 100%;
    box-sizing: border-box
}

.pagination a {
    color: #fff;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 4px;
    transition: background-color 0.3s,color 0.3s
}

.pagination a:hover {
    background-color: #f90;
    color: #000;
    border-color: #f90
}

.pagination .active a {
    background-color: #f90;
    color: #000;
    border-color: #f90
}

.pagination .disabled a {
    color: #575757;
    pointer-events: none;
    border-color: #333
}

@media (max-width: 600px) {
    .pagination a {
        padding:6px 12px;
        font-size: 10px
    }
}

@media (max-width: 450px) {
    .header h1 {
        font-size:.875em
    }

    .related-videos {
        grid-template-columns: 1fr
    }

    .menu a {
        padding: 6px 6px;
        font-size: medium
    }
}

@media (max-width: 600px) {
    .related-videos {
        grid-template-columns:repeat(2,1fr);
        gap: .5em
    }

    .description {
        padding: .5em;
        font-size: .8em
    }
}

.ad-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0
}

.ad-container img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out
}

.ad-container.lazy-loaded img {
    opacity: 1
}

.ad-container {
    width: 300px;
    height: 150px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff0;
    box-shadow: 0 4px 8px rgb(0 0 0 / .1);
    border-radius: 8px;
    border: 1px solid #DAA520;
    z-index: 1000;
    display: none
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: red;
    font-weight: 700
}

@media (max-width: 320px) {
    .ad-container {
        width:90%;
        height: auto
    }
}

.like-button {
    font-size: 9px;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-button {
    padding: 10px;
    margin-left: 5px;
    background-color: #1c1c1c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-button:hover {
    background-color: #333;
}