
  @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
:root.dark-theme {
    --background-color: #ffffff;
    --header-color: #ffffff;
    --text-color: #0f0f0f;
    --video-color: #ffffff;
    --htext-color: #0f0f0f;
    --hr-color: #E5D4FF;
    --scroll-color: rgba(208,162,247, 0.9);
    --hbackground-color: rgba(255,255,255,0.5);
    --border-color: #e5e5e5;
    --button-color: #0f0f0f;
    --btext-color: #ffffff;
    --desc-color: #f2f2f2;
}
:root {
    --background-color: #0f0f0f;
    --header-color: #0f0f0f;
    --text-color: white;
    --video-color: #0f0f0f;
    --htext-color: white;
    --hr-color: #E5D4FF;
    --scroll-color: rgba(208,162,247, 0.9);
    --hbackground-color: rgba(0,0,0,0.5);
    --border-color: #2b2b2b;
    --button-color: #f1f1f1;
    --btext-color: #0f0f0f;
    --desc-color: #272727;
}
:root.blue-theme {
    --background-color: #cadeef;
    --header-color: #cadeef;
    --text-color: #011f4b;
    --video-color: #cadeef;
    --htext-color: #1e1e1e;
    --hr-color: #005b96;
    --scroll-color: rgba(0,91,150, 0.9);
    --hbackground-color: rgba(0,91,150, 0.9);
    --border-color: #C4DDF2;
    --button-color: #0784b5;
    --btext-color: #ffffff;
    --desc-color: #C4DDF2;
}
:root.green-theme {
    --background-color: #E4EADF;
    --header-color: #E4EADF;
    --text-color: #1e1e1e;
    --video-color: #E4EADF;
    --htext-color: #1e1e1e;
    --hr-color: #79AC78;
    --scroll-color: rgba(97,130,100, 0.9);
    --border-color: #96A480;
    --button-color: #4C8D2B;
    --btext-color: #ffffff;
    --desc-color: #D0DEBB;
}
:root.orange-theme {
    --background-color: #ffe9a3;
    --header-color: #ffe9a3;
    --text-color: #1e1e1e;
    --video-color: #ffe9a3;
    --htext-color: #1e1e1e;
    --hr-color: #ffb38a;
    --scroll-color: rgba(255,103,0, 0.9);
    --hbackground-color: rgba(255,255,255,0.5);
    --border-color: #ffa213;
    --button-color: #ec6d18;
    --btext-color: #ffffff;
    --desc-color: #ffb933;
}
::placeholder {
    color: var(--header-color);
    opacity: 1;
}
.adult-warning {
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #660000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    margin: 0;
    justify-content: center;
    align-content: center;
    align-items: center; 
    display: none;
}
.adult-warning .box {
    width: 60%;
    background: var(--background-color);
    color: var(--text-color);
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    margin: auto;
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); }
    font-size: 14px;
}








html {
 scroll-behavior: smooth; 
}
* {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    scroll-behavior: smooth; 
    padding: 0;
    margin: 0;
    font-weight: normal;
}



body {
    background: var(--background-color);
    text-align: center;
    color: var(--text-color);
}
.navigation {
    background: var(--desc-color);
    border: none;
    width: 100%;
    height: 33px;
    overflow: hidden;
}
.navigation .nav-active {
    border: solid var(--border-color);
    display: inline-block;
    height: 30px;
    width: 30px;
    margin: 0;
    text-decoration: none;
    color: var(--btext-color);
    text-align: center;
    background: var(--button-color);
    line-height: 30px;
}
.navigation .nav {
    border: solid var(--border-color);
    display: inline-block;
    height: 29px;
    width: 29px;
    margin: 0;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    line-height: 29px;
}
#menu {
    display: none;
    z-index: 999;
    height: 100vh;
    width: 100%;
    border: none;
    background: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
}
#closeMenuButton {
    background: transparent;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 30px;
    position: relative;
    float: left;
    top: 5px;
    left: 10px;
    color: var(--text-color);
}
.menu-box {
    top: 0;
    background: var(--background-color);
    width: 80%;
    bottom: 0;
    z-index: 998;
    padding: 0;
    padding-top: 5px;
    position: fixed;
    left: 0;
    text-align: left;
    padding-left: 3px;
    overflow-x: hidden;
    overflow-y: auto;
}
.menu-box h4 {
    font-size: 30px;
    padding: 10px;
}

.menu-box .menu-select {
    text-decoration: none;
    color: var(--text-color);
    margin: 7px;
    padding: 5px;
    border: solid var(--background-color);
    background: var(--background-color);
    width: 60%;
    display: inline-block;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
    text-align: left;
    transition: background 0.4s;
}
.menu-box .menu-select:hover {
    background: var(--button-color);
    color: var(--btext-color);
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
}
hr {
    border: solid 1px var(--border-color); 
}
#videoTitle {
    font-size: 16px;
    background: var(--desc-color);
    padding: 8px;
    border-radius: 12px;
    margin: 10px;
}
#videoDescription { 
    margin: 10px;
    margin-bottom: 80px;
    border-radius: 12px;
    padding: 8px;
    background: var(--desc-color);
}
.theme-select {
    background: var(--background-color);
    color: var(--text-color);
    width: 40vw;
    display: inline-block;
    padding: 8px;
    border: solid 1px var(--border-color);
    border-radius: 9px;
    text-decoration: none;
    margin: 5px;
    font-size: 14px;
    transition: border 0.3s;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.theme-select:hover {
    cursor: pointer;
    border: solid 1px var(--text-color);
}
.next-page {
    background: var(--button-color);
    padding: 8px;
    text-decoration: none;
    border-radius: 9px;
    color: var(--btext-color);
}

.header {
    width: 100vw;
    height: 60px;
    text-align: center;
    border-bottom: solid var(--border-color);
    border-radius: 0;
    backdrop-filter: blur(9px);
    position: fixed;
    top: 0;
    z-index: 999;
    margin-top: 0;
   left: 50%;
   transform: translateX(-50%);
   background: var(--header-color);
}
.xxvd {
    border: none;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 8px;  
    left: 0;  
}
.xxvd a {
    font-weight: bolder;
    font-size: 28px;
}
.header .search-icon {
    position: fixed;
    top: 11px;  
    right: 20px;
    font-size: 22px;
    color: var(--htext-color);
    z-index: 999;
    -webkit-text-stroke: 2px;
}
.header .menu-icon {
    position: fixed;
    top: 9px;
    left: 20px;
    font-size: 25px;
    color: var(--htext-color);
    z-index: 999;
    background: transparent;
    border: none;
    -webkit-text-stroke: 2px;
}
.header .head {
    
    top: 7.5px;
    margin-top: 8px;
    color: var(--htext-color);
    text-decoration: none;
    z-index: 999;
}
.header .imghead {
    width: 20px;
    height: 20px;
    margin-top: 8px;
    margin-right: 5px;
    position: relative;
    border: solid 1px var(--text-color);
    border-radius: 11.5px;
}
h2 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 19px;
}
#searchInput {
    width: 80%;
    height: 40px;
    border-radius: 20px;
    background: var(--header-color);
   z-index: 900;
   display: block;
   float: left;
   border: none;
   background: transparent;
   outline: none;
   color: var(--htext-color);
}
.search {
    width: 95%;
    height: 40px;
    border-radius: 20px;
    background: var(--header-color);
    border: solid var(--header-color);
    margin: auto;
    
}
.search-button {
    height: 40px;
    border-radius: 20px;
    border: solid white;
    background: var(--header-color);
    color: var(--htext-color);
}
.search-button:hover {
    background: white;
    color: black;
    transition: background 0.3s;
    cursor: pointer;
}
.video-title {
    border: none;
    padding: 5px;
    height: 37px;
    font-size: 14px;
    overflow: hidden;
}

#videoContainer {
            display: flex;
            background: var(--background-color);
            flex-wrap: wrap;
            border: solid none;
            padding-top: 50px;
            align-items: center;
            justify-content: center;
        }
.video-box {
            border: solid var(--video-color);
            margin-top: 5px;
            width: 100%;
            border-radius: 0px;
            padding: 0;
            background: var(--video-color);
            color: var(--text-color);
            word-wrap: break-word;
            position: relative;
            height: auto;
            transition: border 0.3s;
        }
.video-box:hover {
    border: solid var(--border-color);
    cursor: pointer;
}
.imageClick {
            width: 100%;
            border-radius: 3px;
        }
        

        #videoDetails {
            display: none;
            position: fixed;
            width: 100%;
            
            top: 0;
            left: 0;
            bottom: 0;
            margin: 0;
            background-color: var(--background-color);
            padding-top: 100px;
            z-index: 1;
            border: none;
            color: var(--text-color);
            overflow-y: auto;
            overflow-x: hidden;
        }

        #videoDetails #playerIframe {
            width: 100%;
            height: 500px;
            margin: auto;
            border-radius: 0;
        }

        #videoDetails button {
            margin-top: 10px;
        }
#closeButton {    
    background: var(--button-color);
    color: var(--btext-color);
    border-radius: 9px;
    padding: 10px;
    width: 43%;
    border: solid var(--header-color);
    transition: border 0.3s;
    position: fixed;
    bottom: 9px;
    left: 20px;
}
#closeButton:hover {
    border: solid white;
}
#fullscreenButton {
    background: var(--button-color);
    color: var(--btext-color);
    border-radius: 30px;
    padding: 10px;
    width: 60px;
    height: 60px;
    text-align: center;
    border: solid var(--header-color);
    transition: border 0.3s;
    position: fixed;
    bottom: 9px;
    right: 20px;
    
}
#fullscreenButton i {
    line-height: 0px;
    padding: 0;
    font-size: 20px;
}

#fullscreenButton:hover {
    border: solid white;
    cursor: pointer;
}

.footer {
    background: #0f0f0f;
    color: #D0A2F7;
    border-radius: 0;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 20px;
}
.footer .footer-text {
    color: darkgray;
}

.themebutton {
    margin: auto;
    width: 80%;
    padding: 10px;
    color: #1e1e1e;
    border-radius: 12px;
    border: solid white;
    background: white;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    outline: none;
}
.themebutton-dark {
    margin: auto;
    width: 80%;
    padding: 10px;
    color: white;
    border-radius: 12px;
    border: solid darkgray;
    background: black;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    outline: none;
}
.themebutton-blue {
    margin: auto;
    width: 80%;
    padding: 10px;
    color: #1e1e1e;
    border-radius: 12px;
    border: solid blue;
    background: lightblue;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    outline: none;
}
.themebutton-green {
    margin: auto;
    width: 80%;
    padding: 10px;
    color: white;
    border-radius: 12px;
    border: solid green;
    background: green;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    outline: none;
}
.themebutton-orange {
    margin: auto;
    width: 80%;
    padding: 10px;
    color: #1e1e1e;
    border-radius: 12px;
    border: solid orange;
    background: orange;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    outline: none;
}
.themebutton-dark:hover {
    background: white;
    color: black;
    cursor: pointer;
}
.themebutton:hover {
    background: black;
    color: white;
    cursor: pointer;
}
.themebutton-blue:hover {
    background: white;
    color: black;
    cursor: pointer;
}
.themebutton-green:hover {
    background: white;
    color: black;
    cursor: pointer;
}
.themebutton-orange:hover {
    background: white;
    color: black;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .video-box {
            border: solid 0px var(--video-color);
    width: 250px;
    margin: 5px;
    padding: 3px;
    border-radius: 0;
    background: var(--video-color);
    color: var(--text-color);
    transition: border 0.3s;
    word-wrap: break-word;
    position: relative;
    height: auto;
}
        .menu-box {
            width: 40%;
        }
        
        #videoDetails #playerIframe {
            width: 100%;
            height: 800px;
            margin: auto;
            border-radius: 0;
        }
}
