* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            display: grid;
            grid-template-columns: 250px auto 250px;
            grid-template-rows: 60px auto;
            grid-template-areas: 
                "header header header"
                "left content right";
            height: 100vh;
            font-family: Arial, sans-serif;
        }
        header {
    grid-area: header;
    background: #207ba8;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Asegura que el header esté delante */
}

.menu-left {
    background: #00aad4ff;
    color: #333; /* Texto en color oscuro para mejor contraste */
    padding: 20px;
    height: 100%;
    position: fixed;
    top: 60px;
    width: 200px;
    z-index: 900; /* Menor que el header para que quede detrás */
    /*border: 1px solid #007bff; /* Borde azul */
    border-radius: 10px; /* Bordes redondeados para un estilo más suave */
}
.menu-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-left li {
    margin: 10px 0;
    border-bottom: #fff 1px solid;
}

.menu-left a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    display: block;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-left a:hover {
    background-color: #17a2b8; /* Color de hover */
    color: #fff;
}
.menu-right {
    background: #ffffff;
    color: #000;
    padding: 20px;
    height: 100%;
    position: fixed;
    top: 60px;
    width: 200px;
    z-index: 900; /* Menor que el header para que quede detrás */
    border: 1px solid #007bff; /* Borde azul */
    border-radius: 10px; /* Bordes redondeados para un estilo más suave */

}


        .menu-left { left: 0; }
        .menu-right { right: 0; }
        main {
            grid-area: content;
            /*padding: 20px;*/
            text-align: center;
            margin-top: 30px;
	    width:100%;
        }
        .menu-toggle {
            display: none;
            background: #00aad4ff;
            color: white;
	    padding: 10px;
            border: none;
            cursor: pointer;
        }
        /* Contenedor del encabezado */
.left-header {
    display: flex;
    align-items: center; /* Alinea verticalmente los elementos */
    justify-content: center; /* Centra el contenido */
    width: 100%;
    padding: 10px 10px;
    position: relative;
}

/* Estilos del logo */
.logo {
    top: 0;
    left: 0;
}

/* Estilos del título */
.left-header h1 {
    flex-grow: 1; /* Permite que el h1 ocupe el espacio disponible */
    text-align: center;
    font-size: 24px;
}
        @media (max-width: 768px) {
            body {
                grid-template-columns: auto;
                grid-template-areas: 
                    "header"
                    "content";
            }
            .menu-left, .menu-right {
                display: none; /*none*/
                position:fixed ; /*absolute*/
                width: 100%;
                height: auto;
                top: 60px;
                left: 0;
                background: #00aad4ff;
                text-align: justify;
		color:#fff;
            }
            .menu-toggle {
                display: block;
                position: absolute;
                top: 3px;
                right: 0px;
            }
            .left-header {
        justify-content: flex-start; /* Alinea el contenido a la izquierda en móviles */
    }

    .left-header form {
        display: block; /* Mantiene el título visible en móviles */
        font-size: 20px; /* Reduce el tamaño para mejorar la visualización */ /* Oculta el título en móviles */
    }

    .logo {
        width: 60px;  /* Aumenta el tamaño del logo en móviles */
    }
        }

/* Estilo general para la imagen */
            /* Estilos específicos para dispositivos móviles */
          
            .category-container {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
                gap: 20px;
                padding: 20px;
            }
            .category-item {
                position: relative;
                overflow: hidden;
                border-radius: 10px;
                cursor: pointer;
                transition: transform 0.3s ease;
            }
            .category-item img {
                width: 100%;
                height: auto;
                object-fit: cover;
                transition: transform 0.3s ease;
            }
            .category-item:hover img {
                transform: scale(1.1);
            }
            .category-item:hover {
                transform: scale(1.05);
            }
            .category-title {
            position: absolute;
            top: 50%; /* Centrar verticalmente */
            left: 50%; /* Centrar horizontalmente */
            transform: translate(-50%, -50%); /* Ajustar para centrar correctamente */
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
            text-align: center; /* Asegura que el texto esté centrado */
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
        }

        /* Estilos generales del menú */
        .dropdown-menu {
            position: relative;
        }
    
        .menu-list {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
    
        .menu-item {
            padding: 15px 20px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
    
        .menu-item a {
            color: white;
            text-decoration: none;
            font-size: 16px;
        }
    
        /* Eliminar bordes */
        .menu-item, .submenu, .dropdown-menu {
            border: none !important;
        }
    
        /* Estilos para móvil */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
                flex-direction: column;
                gap: 5px;
                cursor: pointer;
                padding: 10px;
            }
            
            .bar {
                width: 25px;
                height: 3px;
                background-color: white;
                transition: 0.3s;
            }
            
            .dropdown-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #207ba8;
                z-index: 1000;
            }
            
            .menu-list {
                flex-direction: column;
                width: 100%;
            }
            
            .menu-item {
                padding: 15px 20px;
                text-align: center;
                border-top: 1px solid rgba(255,255,255,0.1);
            }
            
            .menu-item:hover {
                background-color: #1a648c;
            }
            
            .dropdown-menu.active {
                display: block;
            }
        }
    
        /* Ocultar hamburguesa en desktop */
        @media (min-width: 769px) {
            .hamburger {
                display: none;
            }
            
            .dropdown-menu {
                display: block !important;
            }
        }
    /* Efectos CSS */
    .carousel-item {
        transition: transform 1.5s ease-in-out;
        overflow: hidden;
        border-radius: 15px;
    }
    
    .carousel-item img {
        transition: all 1.2s ease-in-out;
        transform-origin: center center;
    }
    
    /* Efecto zoom suave */
    .carousel-item.active img {
        animation: zoomEffect 12s linear infinite;
    }
    
    @keyframes zoomEffect {
        0% { transform: scale(1); }
        50% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }
    
    /* Efecto overlay */
    .carousel-item1::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    .carousel-item.active1::after {
        opacity: 1;
    }
    
    /* Efecto hover en controles */
    .carousel-control-prev,
    .carousel-control-next {
        transition: all 0.3s ease;
        opacity: 0.8;
        width: 5%;
    }
    
    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        transform: scale(1.2);
    }
    
    /* Efecto parallax */
    .carousel-inner1 {
        perspective: 1000px;
    }
    
    .carousel-item1 {
        transform-style: preserve-3d;
    }
    ul {
        list-style-type: none;
        padding-left: 0;
        margin-left: 0;
      }
      
      /* Opcional: quitar decoración de enlaces */
      a {
        text-decoration: none;
        color: inherit; /* Mantiene el color del texto padre */
      }
      
      .category-container {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
          gap: 20px;
          margin-top: 20px;
      }
      
      .photo-item {
          position: relative;
          overflow: hidden;
          border-radius: 10px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .photo-item:hover {
          transform: scale(1.05);
          box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
      }
      
      .photo-wrapper {
          position: relative;
          overflow: hidden;
      }
      
      .photo-wrapper img {
          width: 100%;
          height: auto;
          transition: transform 0.3s ease;
      }
      
      .photo-wrapper:hover img {
          transform: scale(1.1);
      }
      
      .overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.6);
          display: flex;
          justify-content: center;
          align-items: center;
          opacity: 0;
          color: white;
          font-size: 1rem;
          text-align: center;
          transition: opacity 0.3s ease;
      }
      
      .photo-wrapper:hover .overlay {
          opacity: 1;
      }
      
      .hashtags {
          margin-top: 10px;
          text-align: center;
          background-color: #f0f0f0;
          padding: 10px;
          border-radius: 5px;
          font-size: 12px;
          font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
      }
      
      .hashtags a {
          text-decoration: none;
          margin: 0 5px;
          font-weight: bold;
          background-color: #e8e8e8;
          padding: 5px 10px;
          border-radius: 5px;
          color: black;
          transition: background-color 0.3s ease, color 0.3s ease;
      }
      
      .hashtags a:hover {
          background-color: #007bff;
          color: white;
          .photo-detail-container {
          max-width: 600px;
          margin: 0 auto;
          padding: 20px;
          background-color: #f9f9f9;
          border-radius: 10px;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }
      
      .photo-image img {
          width: 100%;
          border-radius: 10px;
      }
      
      .photo-description {
          margin: 15px 0;
          font-size: 16px;
          color: #333;
      }
      
      .photo-hashtags a {
          margin-right: 10px;
          color: #007bff;
          text-decoration: none;
      }
      
      .photo-hashtags a:hover {
          text-decoration: underline;
      }
      
      .photo-actions {
          margin: 20px 0;
          display: flex;
          justify-content: space-between;
          align-items: center;
      }
      
      .photo-actions .btn {
          background-color: #007bff;
          color: #fff;
          border: none;
          padding: 10px 15px;
          border-radius: 5px;
          cursor: pointer;
      }
      
      .photo-actions .btn:hover {
          background-color: #0056b3;
      }
      
      .photo-comments {
          margin-top: 20px;
      }
      
      .photo-comments .comment {
          margin-bottom: 15px;
          padding: 10px;
          background-color: #fff;
          border: 1px solid #ddd;
          border-radius: 5px;
      }
      
      }
      .photo-detail-container {
        max-width: 1080px;
        margin: 0 auto;
        padding: 10px;
        display: flex;
        gap: 100px;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
        flex-wrap: wrap; /* Permite el ajuste en pantallas más pequeñas */
    }
    
    .photo-image {
        flex: 1;
        min-width: 300px; /* Asegura que la imagen no sea demasiado pequeña */
    }
    
    .photo-image img {
        width: 100%;
        max-width: 1200px;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }
    
    .photo-small-image {
        max-width: 300px;
        height: auto;
        margin-top: 10px;
        border-radius: 10px;
        object-fit: cover;
    }
    
    .photo-content {
        flex: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 300px;
    }
    
    .photo-description {
        margin-bottom: 15px;
        font-size: 16px;
        color: #333;
    }
    
    .hashtags {
        margin-top: 10px;
        padding: 10px;
        background-color: #f0f0f0;
        border-radius: 5px;
        font-size: 12px;
        font-family: Arial, sans-serif;
    }
    
    .hashtags a {
        text-decoration: none;
        margin: 0 5px;
        font-weight: bold;
        background-color: #ccc;
        padding: 5px 10px;
        border-radius: 5px;
        color: black;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .hashtags a:hover {
        background-color: #007bff;
        color: white;
    }
    
    .photo-actions {
        display: flex;
        gap: 10px;
        margin-top: 20px;
    }
    
    .photo-actions .btn {
        background-color: transparent;
        color: #333;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .photo-actions .btn:hover {
        background-color: #f0f0f0;
    }
    
    .photo-comments {
        margin-top: 20px;
    }
    
    .comment-form {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .comment-form textarea {
        flex: 1;
        resize: none;
        height: 60px;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 5px;
        outline: none;
    }
    
    .comment-form textarea:focus {
        border-color: #007bff;
    }
    
    .comment-form .btn-comment {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .comment-form .btn-comment:hover {
        background-color: #0056b3;
    }
    
    #comments-container {
        max-height: 200px;
        overflow-y: auto;
        padding: 10px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    .comment {
        margin-bottom: 10px;
        padding: 10px;
        background-color: #f9f9f9;
        border-radius: 5px;
    }
    
    .comment strong {
        display: block;
        margin-bottom: 5px;
    }
    
    .comment-date {
        font-size: 10px;
        color: #666;
    }

    /* Media Queries */
    @media (max-width: 768px) {
        .photo-detail-container {
            flex-direction: column;
            gap: 20px; /* Menos espacio entre elementos */
        }

        .photo-content {
            flex: 1;
            min-width: auto;
        }

        .photo-image {
            min-width: auto;
        }

        .photo-small-image {
            max-width: 100%; /* La imagen pequeña ocupará todo el ancho */
        }

        .photo-description {
            font-size: 14px; /* Tamaño de fuente más pequeño */
        }

        .hashtags {
            font-size: 10px; /* Tamaño de fuente reducido */
        }

        .comment-form textarea {
            font-size: 12px; /* Tamaño de fuente más pequeño para textarea */
        }

        .comment-form .btn-comment {
            font-size: 12px; /* Tamaño de fuente reducido en los botones */
        }
    }

    @media (max-width: 480px) {
        .photo-detail-container {
            padding: 5px; /* Menos relleno en dispositivos muy pequeños */
        }

        .photo-description {
            font-size: 12px; /* Aún más pequeño en pantallas muy pequeñas */
        }

        .photo-actions .btn {
            padding: 6px 10px; /* Botones más pequeños */
            font-size: 12px;
        }

        .comment-form textarea {
            font-size: 12px;
        }

        .comment-form .btn-comment {
            font-size: 12px;
        }

        .hashtags a {
            font-size: 10px; /* Ajustar el tamaño de fuente de los enlaces */
            padding: 3px 8px;
        }
    }

    /* Estilos del botón de Iniciar Sesión */
    .login-button {
        color: #fff;
        background-color: #389fae;
        text-align: center;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-family: Arial, sans-serif;
        font-size: 16px;
    }

    /* Media queries para dispositivos móviles */
    @media (max-width: 768px) {

        /* Ajustar el tamaño del botón de Iniciar Sesión */
        .login-button {
            padding: 5px 12px;
            font-size: 12px;
        }
    }

    @media (max-width: 480px) {
        /* Ajustar el tamaño del logo para pantallas muy pequeñas */
        .responsive-logo img {
            max-width: 80px; /* Ajusta este valor según sea necesario */
        }

        /* Ajustar el botón para pantallas muy pequeñas */
        .login-button {
            padding: 6px 12px;
            font-size: 12px;
        }
    }
      
     /* Animación para la imagen */
     .photo-image img {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .photo-image img:hover {
        transform: scale(1.05); /* Escala la imagen al 105% */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Sombra al hacer hover */
        cursor: pointer; /* Cambia el cursor a una mano */
    }

    /* Estilos para la imagen en el modal */
    .modal-image {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

 .carousel-caption {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        bottom: auto;
        padding: 10px;
        width: 90%; /* Ancho relativo para móviles */
        background: rgb(0, 0, 0, 0.5) /* Mayor contraste para móviles */
    }
    
    .animate-text h1 {
        animation: slideIn 1.2s ease-out;
        margin: 0;
        line-height: 1.3; /* Mejor espaciado para móviles */
        font-weight: bold;
    }
    
    /* Tamaños de texto responsivos */
    .mobile-responsive-text {
        font-size: 2rem; /* Tamaño base para desktop */
    }
    
    .mobile-responsive-label {
        font-size: 1.8rem; /* Tamaño base para desktop */
        display: block; /* Forzamos salto de línea en móviles */
    }
    
    /* Media queries para dispositivos menores a 768px */
    @media (max-width: 768px) {
        .mobile-responsive-text {
            font-size: 1.5rem; /* Reducción para móviles */
        }
        
        .mobile-responsive-label {
            font-size: 1.2rem;
            margin-top: 8px; /* Espaciado entre líneas */
        }
        
        .carousel-caption {
            padding: 8px;
            background: rgb(0, 0, 0, 0.5) /* Fondo más oscuro en móviles */
        }
    }
    
    /* Ajustes adicionales para pantallas muy pequeñas */
    @media (max-width: 480px) {
        .mobile-responsive-text {
            font-size: 1.2rem;
        }
        
        .mobile-responsive-label {
            font-size: 1rem;
        }
    }
    
    @keyframes slideIn {
        0% {
            opacity: 0;
            transform: translateY(20px); /* Movimiento más corto para móviles */
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
   
/*index*/
   /* Estilos generales */
/* Estilos generales */
.category-item {
    position: relative;
    overflow: visible;
}

.share-container {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1; /* Mayor prioridad */
    font-size: 12px; /* Texto más pequeño */
}

.share-trigger {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 12px; /* Texto más pequeño */
    display: fixed;
    align-items: center;
    justify-content: center;
}

.share-trigger:hover {
    background: white;
    transform: scale(1.1);
}

.share-dropdown {
    position: absolute;
    right: 0;
    top: 35px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px; /* Más compacto */
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    font-size: 12px; /* Texto más pequeño */
    z-index: 10; /* Se superpone */
}

.share-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    padding: 6px 10px; /* Menos espacio */
    color: #333;
    text-decoration: none;
    gap: 8px;
    transition: background 0.2s ease;
}

.share-option:hover {
    background: #f5f5f5;
}

.share-option i {
    width: 16px; /* Íconos más pequeños */
    text-align: center;
}

.facebook { color: #1877F2; }
.whatsapp { color: #25D366; }
.twitter { color: #1DA1F2; }
.copy-link { color: #666; }

/* Responsive */
@media (max-width: 768px) {
    .share-container {
        top: 3px;
        right: 3px;
    }

    .share-trigger {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .share-dropdown {
        min-width: 120px;
        font-size: 10px;
    }

    .share-option {
        padding: 5px 8px;
        gap: 6px;
    }

    .share-option i {
        width: 14px;
    }
}

/* Animación de copiado */
@keyframes checkmark {
    0% { opacity: 0; transform: scale(0); }
    80% { opacity: 1; transform: scale(1.2); }
    100% { transform: scale(1); }
}

.copy-feedback {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    display: none;
    animation: checkmark 0.5s ease;
    font-size: 12px; /* Texto más pequeño */
    z-index: 9999; /* Siempre visible */
}

/* Estilos generales  de login*/
#services {
    display: flex;
    justify-content: center;
    align-items: center;
   /* min-height: 100vh;
    background: #f4f4f4;*/
}

/* Contenedor del login */
#branding {
    background: #e6e6e6;*/
   /* padding: 30px;*/
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* Título */
#branding h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Estilo de los inputs */
#branding form p {
    margin-bottom: 15px;
}

#branding input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

#branding input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Botón de envío */
#branding button {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#branding button:hover {
    background: #0056b3;
}

/* Enlaces */
#branding a {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

#branding a:hover {
    color: #0056b3;
}

/*imagen research*/
.image-container {
        overflow: hidden;
        border-radius: 8px; /* Esquinas redondeadas */
    }

    .image-container img {
        width: 100%;
        transition: transform 0.3s ease-in-out;
    }

    .image-container:hover img {
        transform: scale(1.1); /* Zoom al pasar el cursor */
    }

 /*Listar photos admin*/

 /* Estilo de la tabla */
.photo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.photo-table th, .photo-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.photo-table th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.photo-table td img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

/* Estilo de las acciones (botones) */
.photo-actions {
    display: flex;
    justify-content: center;
}

.edit-btn, .delete-btn, .download-btn {
    margin: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.edit-btn {
    background: #ffc107;
    color: #000;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
}

.download-btn {
    background: #28a745;
    color: #fff;
}

/* Paginación */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.pagination a:hover {
    background: #0056b3;
}

.pagination span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.upload-btn {
    position: fixed;
    top: 20px; /* Ajusta según sea necesario para la posición vertical */
    right: 20px; /* Ajusta según sea necesario para la posición horizontal */
    padding: 8px 12px;
    background: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
}
.search-form {
    width: 50%; /* En pantallas grandes, ocupa el 50% */
    padding-right: 30px;
}
/* Para dispositivos medianos y pequeños (móviles) */
@media (max-width: 768px) {
    .search-form {
        width: 70%; /* Ocupa el ancho completo */
        padding: 0 30px; /* Reduce el padding para que no quede pegado */
    }
}
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 10px;
            padding: 20px;
        }
        .gallery img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }
        .loading {
            text-align: center;
            font-size: 18px;
            padding: 20px;
        }
.custom-dropdown-item {
        color: #fff;
	width:100%;
        background-color:transparent;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .custom-dropdown-item:hover {
        background-color: #fff;
        color: red;
	width:100%;
    }

    .dropdown-menu {
        background-color: #4c4c4c;
	width:100%;
    }

    .img-profile {
        width: 32px;
        height: 32px;
    }

    @media (max-width: 768px) {
        .navbar-nav {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .nav-link.dropdown-toggle {
            padding: 10px;
        }

        .dropdown-menu {
            position: absolute !important;
            right: 0;
            left: auto;
            min-width: 180px;
        }
     .img-profile {
     width:32px;
     height:32px;
     }
    }

  .password-wrapper {
        display: flex;
        align-items: center;
        max-width: 400px;
        border: 1px solid #ccc;
        border-radius: 5px;
        overflow: hidden;
    }

    .password-wrapper input[type="password"],
    .password-wrapper input[type="text"] {
        flex: 1;
        border: none;
        padding: 10px 12px;
        font-size: 16px;
        outline: none;
    }

    .password-wrapper button {
        flex: 0 0 40px;
        border: none;
        background-color: #eee;
        font-size: 18px;
        cursor: pointer;
        height: 100%;
        transition: background 0.3s ease;
    }

    .password-wrapper button:hover {
        background-color: #ddd;
    }

    #photo-gallery {
    column-count: 4;
    column-gap: 15px;
    padding: 20px;
}

#photo-gallery a {
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
}

#photo-gallery img {
    width: 100%;
    height: 200px; /* Altura fija */
    object-fit: cover; /* Recorta la imagen para llenar el contenedor */
    border-radius: 8px;
    display: block;
}
