
    @font-face {
    font-family: 'cartoon';
    src: url('/fonts/cartoontoyturbo.woff2') format('woff2'); /* Ruta relativa desde la raíz */
    font-weight: bold; /* Puedes usar normal, bold, etc. */
    font-style: bold; /* Puedes usar normal, italic, etc. */
}

/* Aplica la fuente en el cuerpo o en cualquier elemento */
body {
    font-family: 'cartoontoyturbo', sans-serif;
}


:root {
    --bg-dark: #121212;
    --bg-medium: #1e1e1e;
    --bg-light: #2a2a2a;
    --bg-blanco: white;
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --accent: #e50914;
    --hover-border: #ff0d00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--bg-medium);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}




nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'cartoon', sans-serif;
    text-transform: uppercase;
}

.site-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0;
}

.logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-grow: 1;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.active {
    color: var(--accent);
    font-weight: bold;
}

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

.search-container input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px 0 0 20px;
    background-color: var(--bg-light);
    color: var(--text-light);
}

.search-container button {
    padding: 8px 15px;
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

.hero {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    object-fit: cover;
}

main {
    flex-grow: 1;
    padding-top: 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

h1 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 0px;
    font-size: 2.5rem;
}

.subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-grid:hover .video-card:not(:hover) {
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.video-card {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 1;
}

.video-card:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    border: 3px solid var(--hover-border);
    z-index: 10;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    overflow: hidden;
}

.video-thumbnail .thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .thumbnail-image {
    transform: scale(1.15);
}

.video-card:hover .overlay-image {
    opacity: 1;
}

.video-card:hover .video-info {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-category {
    display: none;
}

.video-thumbnail .video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
    color: var(--text-light);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-info h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-height: 3.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.8em;
}

.video-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    z-index: 10;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-button {
    background-color: var(--bg-light);
    color: var(--text-light);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-button:hover {
    background-color: var(--accent);
}

.category-button.active {
    background-color: var(--accent);
    color: var(--text-light);
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(25, 24, 24)
    
}


.modal-admin {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}



.modal-content {
    margin: 5% auto;
    width: 90%; 
    max-width: 1200px; 
    position: relative;
    color: #b3b3b3;
    
}

 


.close {
    color: var(--text-light);
    position: absolute;
    top: 0px;
    right: 1%;
    font-size: 40px;
    cursor: pointer;
}


.cerrar {
    color: var(--text-light);
    position: absolute;
    top: 0px;
    right: 25%;
    font-size: 40px;
    cursor: pointer;
}

.cerrar:hover {
    color: #ff3b3b;
}


.close:hover {
    color: #ff3b3b;
}

        #videoPlayer {
            width: 100%;
            height: 80vh;
            border: none;
            border-radius: 15px;
        }

        footer {
            background-color: var(--bg-medium);
            color: var(--text-muted);
            text-align: center;
            padding: 15px;
            margin-top: auto;
        }

        .support-message {
            background-color: #2b2929;
            color: var(--text-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            margin-top: 15px;
            border-radius: 8px;
        }

        .channel-link {
            color: var(--text-light);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            transition: transform 0.3s ease;
        }

        .channel-link:hover {
            transform: scale(1.1);
        }

        .channel-link i {
            font-size: 1.5rem;
        }

        .mobile-menu-toggle {
            display: none;
        }

    hero-featured {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 800px;
    overflow: hidden;
}

.hero-featured-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.hero-featured-details {
    max-width: 50%;
    padding: 0 30px;
    color: var(--text-light);
}

.hero-featured-details h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-featured-details p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}



.hero-play-button {
    display: flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-play-button:hover {
    background-color: #ff3b3b;
}

.hero-play-button i {
    margin-right: 10px;
}

.hero-featured-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-watch-button,
.hero-share-button {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-watch-button {
    background-color: var(--accent);
    color: var(--text-light);
}

.hero-share-button {
    background-color: rgba(255,255,255,0.2);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.5);
   
}

.hero-watch-button:hover {
    background-color: #0e78bf;
}

.hero-share-button:hover {
    background-color: #0e78bf; 
       
    
}

.hero-watch-button i,
.hero-share-button i {
    margin-right: 10px;
}

        .share-modal {
            display: none;
            position: fixed;
            z-index: 1100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            align-items: center;
            justify-content: center;
        }

        .share-modal-content {
            background-color: var(--bg-medium);
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            text-align: center;
            color: #9a9999;
        }

        

        .share-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            margin-top: 20px;
        }

        .share-button {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            color: rgb(168, 167, 167);
        }

        .share-button i {
            font-size: 1.2rem;
        }

        .share-button.facebook {
            background-color: #6c757d2b;
        }

        .share-button.facebook:hover {
            background-color: #3b5998;
            color: #ffffff;
        }


        .share-button.twitter {
            background-color: #6c757d2b;
        }

        .share-button.twitter:hover {
            background-color: #1da1f2;
            color: #ffffff;
        }

        .share-button.whatsapp {
            background-color: #6c757d2b;
        }

        .share-button.whatsapp:hover {
            background-color: #25d366;
            color: #ffffff;
        }

        .share-button.clipboard {
            background-color: #6c757d00;
        }
        .share-button.clipboard:hover {
            background-color: #bc1102;
            color: #ffffff;
        }


        .close-share {
            position: absolute;
            top: 10px;
            right: 20px;
            color: var(--text-light);
            font-size: 30px;
            cursor: pointer;
        }

        .hero-video {
            position: relative;
            width: 100%;
            height: 80vh;
            max-height: 800px;
            overflow: hidden;
        }

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

    .hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(0,0,0,0.5) , 
        rgba(0,0,0,0.0)
    );
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.85) 20%, 
        rgba(0,0,0,0.0) 100%
    );
}

        .hero-video-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: flex-end;
            color: var(--text-light);
            z-index: 10;
        }

        .hero-video-content .hero-featured-details {
            max-width: 50%;
            padding: 0 30px 50px;
            color: var(--text-light);
        }

        

    .hero-featured {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 800px;
    overflow: hidden;
}

.hero-video-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    color: var(--text-light);
    z-index: 10;
}

.hero-featured-details {
    max-width: 50%;
    padding: 0 30px;
    color: var(--text-light);
}

.hero-featured-details h2 {
    font-size: 3rem;
    margin-bottom: 0px;
    
}

.hero-featured-details p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-play-button {
    display: flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-play-button:hover {
    background-color: #ff3b3b;
}

.hero-play-button i {
    margin-right: 10px;
}

.hero-featured-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-watch-button,
.hero-share-button {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-watch-button {
    background-color: var(--accent);
    color: var(--text-light);
}

.hero-share-button {
    background-color: rgba(255,255,255,0.2);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.5);
   
}

.hero-watch-button:hover {
    background-color: #0e78bf;
}

.hero-share-button:hover {
    background-color: #0e78bf; 
       
    
}

.hero-watch-button i,
.hero-share-button i {
    margin-right: 10px;
}

        .video-modal-container {
            display: flex;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            background-color: var(--bg-medium);
        }

        .video-container {
            flex: 3;
            padding: 10px;
        }

        .comments-panel {
            flex: 1;
            background-color: #1e1e1e;;
            padding: 10px;
            padding-right: 20px;
            overflow-y: auto;
            max-height: 80vh;
            margin-top: 5%;
        }

        .delete-confirm-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }
        
        .delete-confirm-content {
            background-color: var(--bg-medium);
            padding: 30px;
            border-radius: 10px;
            max-width: 400px;
            width: 90%;
            text-align: center;
        }
        
        .delete-confirm-content h3 {
            color: var(--accent);
            margin-bottom: 15px;
        }
        
        .video-preview {
            margin: 20px 0;
            padding: 10px;
            background-color: var(--bg-light);
            border-radius: 5px;
        }
        
        .video-preview img {
            width: 100%;
            max-width: 300px;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        
        .delete-confirm-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
        
        .delete-confirm-buttons button {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .cancel-delete {
            background-color: var(--bg-light);
            color: var(--text-light);
        }
        
        .confirm-delete {
            background-color: var(--accent);
            color: var(--text-light);
        }
        
        .cancel-delete:hover {
            background-color: #444;
        }
        
        .confirm-delete:hover {
            background-color: #ff3b3b;
        }





        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .comment-input-container {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
        }

        .comment-input-container textarea {
            width: 100%;
            min-height: 60px;
            max-height: 200px;
            resize: vertical;
            padding: 10px;
            background-color: var(--bg-light);
            color: var(--text-light);
            border: none;
            border-radius: 4px 4px 0 0;
            line-height: 1.4;
            overflow: auto;
            margin-bottom: 10px;
        }

        .comment-send-container {
            display: flex;
            justify-content: flex-end;
        }

        .comment-input-container button {
            padding: 10px 15px;
            background-color: var(--accent);
            color: var(--text-light);
            border: none;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .comment-actions {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 10px;
            
        }

        .comment-item {
            background-color: var(--bg-light);
            margin-bottom: 10px;
            padding: 15px;
            border-radius: 8px;
            position: relative;
        }

        .comment-item p {
            word-wrap: break-word;
            white-space: pre-wrap;
            line-height: 1.4;
        }
        
    .delete-button {
    background-color: #2a2a2a;
    border: none;
    padding: 8px;
    border-radius: 5px;
}

.delete-button i {
    color: white;
}

.linfo {
    
   
    color: #ee0303;
    text-decoration: none;   
    
    
}

.streaming-dot {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    cursor: pointer;
}

.streaming-dot-indicator {
    width: 12px;
    height: 12px;
    background-color: #0379ff;
    border-radius: 50%;
    margin-right: 8px;
    /* animation: blink 0.5s infinite alternate; */
}
.streaming-link {
    color: #0379ff;
    font-weight: bold;
    text-decoration: underline;
}


.admin-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
    
}

.admin-login-icon {
    
  
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;   
    
}


.admin-login-icon img {
    
    width: 100%;
    height: 100px;
   
   
   
    
    
   
    
}


.admin-login .login-form {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--bg-medium);
    border-radius: 15px;
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.2); */
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    /* border: 1px solid rgb(129, 127, 127); */
    
}

.admin-login .login-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-light);
    border-radius: 15px;
    background-color: var(--bg-medium);
    color: var(--text-light);
    transition: border-color 0.3s ease;
    
}

.admin-login .login-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.admin-login .login-form button {
    width: 100%;
    padding: 12px;
    background-color: rgb(49, 46, 46);
    color: rgb(119, 117, 117);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    
}

.admin-login .login-form button:hover {
    color: var(--text-light);
    background-color: var(--accent);
    
    transform: translateY(-3px);
}
.add-video-section input,
.add-video-section select {
    padding: 10px;
    
    border: 1px solid var(--bg-light);
    background-color: var(--bg-medium);
    color:#717171;
    
}






.video-management-section {
    height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    padding-bottom: 70px;
        
}

.video-management-section h3 {
    
    padding-bottom: 10px;
        
}




.video-management-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-light);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
   
    
    
}



.video-management-thumbnail {
    width: 100px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
    
}

.video-management-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-management-item span {
    flex-grow: 1;
}

.video-management-item button {
    
    color: var(--text-light);
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    
    margin-bottom: 5px;
  
    cursor: pointer;
    
    
    
    
}
.editar  {

    background-color: #5d5f5d37; 
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;

}

.editar:hover  {

    background-color: #4CAF50; 
   

}


.eliminar {

    background-color: #5d5f5d37; 
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;

}

.eliminar:hover {

    background-color: var(--accent);
  

}

.add-category-section{
    
    display: flex;
    gap: 15px;
    flex-direction: row;
    align-items: center;
    padding-bottom: 15px;
     
    
   
}

.salir  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 25px 0;
    gap: 5px;
    align-items: center;
    margin-top: -80;
    
}


.salir .logout-btn  {
    
    margin-left: auto;
   
    
}




.modal-content button{

    border-radius: 5px;
}

.logout-btn {
    
    padding: 10px;
    background-color: rgba(255, 0, 0, 0);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 25px;
    
    
      

}

.logout-btn:hover {
    background-color: var(--accent)
}


.add-category-section input, 
.add-category-section button {

    padding: 10px;
    
    border: 1px solid var(--bg-light); 
    background-color: var(--bg-medium); 
    color: var(--text-light);

}

.add-category-section button{

    background-color: #e50914;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-category-section button:hover{

    background-color: #0961e5;
    
}

.admin-dashboard h2 {

display: flex;
flex-direction: row;
align-items: center;

   
   margin-top: -50px;
   margin-bottom: 30px;
}


.salir img{  
    
  
    width: 100px;
    height: 100px;    
    border-radius: 50%;
    scale: 0.7;
   
    
}


.add-video-section button {
    padding: 10px;
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.add-video-section button:hover {
    
    background-color: #0961e5;
    
    
}


input, select {

    border-radius: 5px;
   
}

#updateVideoBtn {
    background-color: #0d54ab;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#updateVideoBtn:hover {
    background-color: #0073ff;
}

.add-video-section  {
    
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 20px;
    margin-top: 25px;    
           
    
  }









  @media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }

    .logo-nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: block;
        color: var(--text-light);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1000;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    nav {
        flex-direction: column;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-medium);
        padding: 15px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links a {
        padding: 10px 15px;
        display: block;
        text-align: center;
        border-bottom: 1px solid var(--bg-light);
        transition: background-color 0.3s ease;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        background-color: var(--bg-light);
    }

    .nav-links.active {
        display: flex;
    }

    .logo-title-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .site-title {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .logo img {
        height: 40px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        /* display: block; */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 20px;
    }

    .close {
        position: absolute;
        top: 0;
        right: 10px;
        color: var(--text-light);
        font-size: 40px;
        cursor: pointer;
        z-index: 1100;
    }

    #videoPlayer {
        width: 100%;
        max-width: 100%;
        height: 50vh;
        max-height: 400px;
        border: none;
        border-radius: 15px;
    }

    .search-container {
        display: none;
    }

    .search-container.active {
        display: none;
    }

    main {
        padding-top: 60px;
    }

    .hero-featured {
        height: 50vh;
    }

    .hero-featured-details {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-featured-details h2 {
        font-size: 2rem;
    }

    .hero-featured-details p {
        font-size: 1rem;
    }

    .hero-video {
        height: 50vh;
    }

    .hero-video-content .hero-featured-details {
        max-width: 100%;
        padding: 0 15px 30px;
    }

   

}









    




  /* Modern styles for the contact form */
  .modal-content.contact-form-content {
    background: #1e1e2f00;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
    max-width: 700px;
    /* height: 100%; */
   
    margin: auto;
    padding-bottom: 60px;
    margin-top: -9;
  }
  
  .modal-content.contact-form-content .modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
   
    color: #f30404;
  }
  
  .modal-content.contact-form-content .form-group {
    margin-bottom: 15px;
    
    
  }
  
  .modal-content.contact-form-content label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .modal-content.contact-form-content input,
  .modal-content.contact-form-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #33333463;
    color: #8e8d8d;
    font-size: 0.8rem;
    resize: none;
  }
  
  .modal-content.contact-form-content input:focus,
  .modal-content.contact-form-content textarea:focus {
    outline: none;
    border-color: #ff0000;
    /* box-shadow: 0 0 5px rgba(255, 99, 99, 0.5); */
  }
  
  .btn-enviar{
  
    display: flex;
    flex-direction: row;
    justify-content: center;
   
    
  
  }
  
  .enviar-btn {
    background: #770707;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 5px; 
    
  }
  
  .enviar-btn:hover {
    background: #ff0000;
    
    
  }
    
  
  .modal-content.contact-form-content .primary-btn:hover {
    background: #5750d4;
  }
  
  .modal-content.contact-form-content .close-modal {
    font-size: 1.2rem;
    cursor: pointer;
    float: right;
    color: #fff;
  }
  
  #confirmationMessage{
  
    padding-top: 5px;
    justify-self: center;
  
  }

  .banner-form {

    display: flex;
    align-items: center;
    justify-content: center;         
    padding-bottom: 20px;
    
    justify-self: center;
  }

  .banner-form img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  #contactForm{

    min-width: 300px;


  }

   li {
    font-size: 0.9rem;
    
    color: #b3b3b3;
    line-height: 1.8;
    
  }

  .preguntas {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
   
    padding:  20px;
    padding-bottom: 25px;
    overflow: hidden;
  }




  .section-abaut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    text-align: start;
    margin-top: 0px;
    margin-bottom: 30px;
    background-color:var(--bg-medium);
    color:#c6c0c0;
    width: 100%;
    
    
}


.banner-abaut {
    display: flex;    
    align-items: center;
    justify-content: center;
    padding: 0px 0px;
    width: 100%;
    height: 400px;
    background-color:var(--bg-dark)
      
    
}

.banner-abaut img {
    object-fit: cover;    
    overflow: hidden;
    
    border-radius: 15px;
    height: 100%;
    
}


.sobre-cis{
   
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    padding:   0px 25px; 
}

.titulo-abaut{
    
   padding-bottom: 20px;
   padding-top: 20px;
   margin-left: auto;
   margin-right: auto;
   text-align: justify;     
    
}


.sobre-cis p{  

    font-size: 12.0pt;   
    margin-bottom: 25px; 
    line-height: 1.5rem;    
}


.aviso-abaut{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    padding: 0px 30px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 50px;
   
    color:#ff0000;
    width: 100%;
    
 }

.aviso-abaut span{
    font-size: 12.0pt;
    color: #ff0000;
    font-weight: bold;
    padding-bottom: 20px;
    
    

}

/* Ocultar el desplazamiento en pantallas pequeñas */
@media (max-width: 768px) {
    .comments-panel {
        max-height: none; /* Permitir que crezca sin límite */
        /* overflow-y: visible; No muestra barra de desplazamiento */
    }
    .hero-featured-details h2 {
        font-size: 2rem;
        margin-bottom: 0px;
    } 
    h1{
        font-size: 2rem;

    } 

    .streaming-link {
       
        font-size: 0.5rem;
    }

    .cerrar {
        
        right: 5%;
        
    }

    .admin-login-icon img {
        margin-top: -300px;
        
    }

    .admin-login .login-form {

        margin-top: -80px;
        
    }
    .sobre-cis {
   
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
        padding:   0px 30px; 
    }

    .salir  {
      
        margin-top: -30;
        
    }

    .banner-abaut {
        width: 100%;
        height: 150px;
      
          
        
    }

}

.video-count {
    position: flex;
    top: 10px;
    right: 10px;
    background-color: #ffffff00;
    color: #ff0000;
    padding: 5px 40px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
    text-align: end;
}




/* personalizar el scrooll */


.video-management-section {
    /* height: 500px;  */
    overflow-y: auto; /* Habilita el scroll vertical */
    border: 1px solid #cccccc00; /* Opcional: agrega un borde */
    padding: 10px;
    border-radius: 8px; /* Bordes redondeados */
    background-color: #f9f9f900; /* Fondo claro */
}

/* Personalización del scroll */
.video-management-section::-webkit-scrollbar {
    width: 8px; /* Ancho del scroll */
}

.video-management-section::-webkit-scrollbar-track {
    background: #e0e0e000; /* Color del fondo del scroll */
    border-radius: 8px; /* Bordes redondeados */
}

.video-management-section::-webkit-scrollbar-thumb {
    background: #888; /* Color del scroll */
    border-radius: 8px; /* Bordes redondeados */
}

.video-management-section::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color del scroll al pasar el mouse */
}