

/* Button Container */
.button-container {
    margin: 10px;
    text-align: center;
}

/* Global Styles */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Prevents scrolling */
    background: #ffffff; /* Set background color to white */
    color: #333; /* Ensure text is readable */
}

/* Overlay for background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.5); /* Light overlay for readability */
    z-index: -1;
}
/* Search Container */
.search-container {
    width: 100%;
    max-width: 800px;
    margin: 9px auto;
    text-align: center;
}

#search-input {
    width: 80%;
    padding: 8px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.side-text {
    position: fixed;
    top: 10%;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap'); /* Import a font similar to the logo */

.fullscreen-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white; /* Set background color to white */
    color: #EC407A; /* Ensure text matches the desired color */
    font-family: 'Montserrat', sans-serif; /* Use the imported font */
    font-size: 50px;
    z-index: 10000; /* Ensure it appears on top of other elements */
    animation: fadeInOut 2.5s ease forwards, moveText 2.5s ease forwards;
    text-align: center; /* Center text */
    line-height: 1.2; /* Improve readability */
}

.logo-image {
    width: 100px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px; /* Space between logo and text */
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes moveText {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Header Logo */
.header-logo {
    margin-top: 20px;
    text-align: center;
}

.header-logo img {
    width: 200px;
    height: auto;
}

/* Hide Class for Dynamic Visibility */
.hide {
    display: none !important;
}

.content {
    width: 100%;
    max-width: 800px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
   background-color: #f0f0f0;
    color: #333;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgb(255, 102, 204);
    transform: rotateY(10deg); /* 3D rotation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.content:hover {
    transform: rotateY(0deg); /* Remove rotation on hover */
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.header-title {
    font-size: 2em;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap'); /* Import a font similar to the logo */

.header-title {
    font-family: 'Montserrat', sans-serif; /* Use the imported font */
    font-size: 30px;
    text-align: center;
    line-height: 1.2;
}

.mero {
    background: linear-gradient(to right, #00B4DB, #0083B0); /* Gradient color for "Whatch YOUR" */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tube {
    background: linear-gradient(to right, #FF512F, #DD2476); /* Gradient color for "FEV." */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .header-title {
        font-size: 30px; /* Adjust font size for smaller screens */
    }
}



/* Channel List */
.channel-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    max-width: 800px;
    padding: 10px;
    list-style-type: none;
    text-align: center;
    max-height: 300px; /* Set height to show 3 channels initially */
    overflow-y: auto; /* Enable vertical scrolling */
}

.channel-list li {
    padding: 10px;
    background-color: #ffffff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added shadow for 3D effect */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.channel-list li:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px); /* Slight lift on hover for 3D effect */
}

.channel-list li img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Movie List */
.movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    max-width: 800px;
    padding: 0px;
    list-style-type: none;
    text-align: center;
    max-height: 100px; /* Set height to show 3 channels initially */
    overflow-y: auto; /* Enable vertical scrolling */
}


.movie-list li {
    padding: 10px;
    background-color: #ffffff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added shadow for 3D effect */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.movie-list li:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px); /* Slight lift on hover for 3D effect */
}

.movie-list li img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 5px;
}

/* Ensure movie name is displayed within the same box */
.movie-list li p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Player Wrapper */
.player-wrapper {
    display: none;
    max-width: 800px;
    padding: 20px;
    background-color: #ffffff;
    color: #0033cc;
    border-radius: 10px;
    box-shadow: 0 9px 6px rgb(0, 255, 153);
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back Button */
.back-button {
    margin-top: 20px;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: fit-content;
}

.back-button:hover {
    background-color: #0056b3;
}


/* Video JS Player controls background */
.video-js .vjs-control-bar {
    background-color: #ff6666 !important; /* Control bar background color */
}

/* Poster image */
.vjs-poster {
    background: #00ff00; /* Poster background color */
    background-size: contain !important;
}
r */
.button-container {
    margin: 10px;
    text-align: center;
}

.button-container button {
    padding: 15px 30px; /* Increased padding for better view */
    margin: 0 15px; /* Increased margin for better spacing */
    background-color: #cc33ff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Increased font size for better view */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-container button:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Slight increase in size on hover for 3D effect */
}
.vjs-custom-icon {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    z-index: 10;
    background: rgba(0, 0, 0, 0.5); /* Optional: background for better visibility */
    border: none;
    padding: 10px;
    cursor: pointer;
}

.vjs-custom-icon img {
    width: 24px; /* Adjust as needed */
    height: 24px; /* Adjust as needed */
}


/* About Text */
.about-text {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    z-index: 1000; /* Ensure it's above other elements */
}
.logo-overlay {
    width: 20%;
    max-width: 100px;
    position: absolute;
    right: 12%;
    opacity: 0.7;
    margin: -55px; /* Adjust the margin as per your design needs */
}



/* Footer Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
.footer {
    font-size: 1rem;
    text-align: center;
    text-shadow: 1px 1px 3px #000000;
    color: #333;
    clear: both; /* Clear any floats */
    margin-top: 40px; /* Ensure there's space between main content and footer */
}
.footer img {
    width: 16px;
    height: 16px;
}
/* Mobile View */
@media (max-width: 600px) {
    body {
        font-size: 16px; /* Increase base font size for readability */
        padding: 0px; /* Add padding to avoid edges */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    .search-container {
        width: 100%;
        padding: 8px;
        box-sizing: border-box; /* Ensure padding doesn't affect width */
    }

    #search-input {
        width: 100%; /* Full width for input */
        padding: 8px;
        font-size: 16px;
        border: 2px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .channel-list, .movie-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 5px; /* Add some space between items */
        padding: 2px; /* Add padding for better spacing */
        max-height: 50vh; /* Limit height to 50% of viewport height */
        overflow-y: auto; /* Enable vertical scrolling */
    }

    .channel-list li, .movie-list li {
        padding: 0px;
        background-color: #ffffff;
        color: #333;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added shadow for 3D effect */
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .channel-list li:hover, .movie-list li:hover {
        background-color: #f0f0f0;
        transform: translateY(-5px); /* Slight lift on hover for 3D effect */
    }

    .channel-list li img, .movie-list li img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-bottom: 7px;
    }

    .movie-list li p {
        margin: 0;
        font-size: 14px;
        color: #333;
    }

    .player-wrapper {
        padding: 10px;
        margin: 10px auto; /* Center the player */
        max-width: 90%; /* Ensure player doesn't overflow */
        background-color: #ffffff;
        color: #0033cc;
        border-radius: 10px;
        box-shadow: 0 9px 6px rgb(0, 255, 153);
        animation: fadeIn 0.5s ease forwards;
        max-height: 90vh; /* Limit player height to 30% of viewport height */
        overflow-y: auto; /* Enable vertical scrolling if needed */
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .button-container {
        margin: 8px;
        text-align: center;
    }

    .button-container button {
        width: 42%; /* Make buttons full-width */
        padding: 1px 2px;
        font-size: 16px;
        border-radius: 5px; /* Round the corners slightly for a better touch experience */
        background-color: #cc33ff;
        color: #ffffff;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .button-container button:hover {
        background-color: #0056b3;
        transform: scale(1.05); /* Slight increase in size on hover for 3D effect */
    }

    .header, .footer {
        padding: 8px;
        text-align: center; /* Center align text in header and footer */
        width: 100%;
        box-sizing: border-box; /* Ensure padding doesn't affect width */
    }

    .footer {
        position: fixed;
        bottom: 0;
        background-color: #f0f0f0; /* Light background color */
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); /* Shadow for a raised effect */
    }

    .content {
        width: 90%;
        max-width: 100%; /* Full width on mobile */
        padding: 0px;
        background-color: #f0f0f0;
        color: #333;
        border-radius: 3px;
        box-shadow: 0 4px 8px rgb(255, 102, 204);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .content:hover {
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigation a {
        padding: 10px 0;
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    .back-button {
        margin: 2px auto;
        padding: 10px 20px;
        background-color: #007bff;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        display: block;
        width: fit-content;
    }

    .back-button:hover {
        background-color: #0056b3;
    }

    .about-text {
        position: fixed;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 14px;
        text-align: center;
        z-index: 1000; /* Ensure it's above other elements */
    }

    .logo-overlay {
        width: 20%;
        max-width: 100px;
        position: absolute;
        right: 12%;
        opacity: 0.7;
        margin: -55px; /* Adjust the margin as per your design needs */
    }
}