/* /////////////////////////////// */
/*     IMPORTACIONES DE FUENTES    */
/* /////////////////////////////// */

@import url('https://fonts.googleapis.com/css2?family=Pirata+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap');



/* /////////////////////////////////////// */
/*    ESTILOS DE LA BARRA DE NAVEGACIÓN  */
/* ////////////////////////////////////// */

.fondoBarraNavegacion {
    background-color: black;
    padding: 10px 20px;
}

.logo {
    width: 70px;
    height: 70px;
}

.nav-link {
    font-size: 1.2rem;
    color: white !important;
    margin: 0 15px;
    margin-left: -20px
}

.nav-link:hover {
    color: #f8d210 !important;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    min-width: 150px;
}

.botonHamburguesa{
	margin-left: 8rem;
}

/* ////////////////////////////////////////// */
/*    RESPONSIVE DESIGN (Diseño Responsivo)   */
/* ////////////////////////////////////////// */

/* Pantallas grandes (>1653px) */
@media screen and (max-width: 1653px) {
    .navOpciones {
        gap: 10rem; /* Reduce el espacio entre los botones */
        margin-left: 42rem;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    h2 {
        font-size: 1rem;
    }

    .botonIcono{
        transform: translate(1529px, -106px);
        border-radius: 12rem;
        width: 4rem;
        height: 4rem;
    }
}

/* Pantallas medianas (>1272px y <1653px) */
@media screen and (max-width: 1272px) {
    .navOpciones {
        gap: 10rem; /* Reduce el espacio entre los botones */
        margin-left: 32rem;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    h2 {
        font-size: 1rem;
    }

    .botonIcono{
        transform: translate(1149px, -106px);
        border-radius: 12rem;
        width: 4rem;
        height: 4rem;
    }
}



/* ////////////////////////////////////// */
/*     ESTILOS DE LA PÁGINA PRINCIPAL     */
/* ////////////////////////////////////// */

body {
    height: 100%;
    margin: 0;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    background-image: url("../images/fondoPantalla.jpg");
    background-size: cover;
    background-position: center;
}

.contenido {
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    height: 100vh; /* Ocupa toda la pantalla */
    text-align: center;
}

.icoPricipal{
    width: 22rem;
}

.titulo {
    color: white;
    font-size: 4rem;
    width: 63rem;
}

h2 {
    font-family: 'Roboto Slab', cursive;
    color: white !important;
}


#imagenesCarrusel{
	display: block !important;
    width: 51rem !important;
    transform: translateX(35rem);
}


/* /////////////////////////////// */
/*         ESTILOS DE REGISTRO     */
/* /////////////////////////////// */ 

#contenedorRegistro {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100vh; /* Ocupa toda la altura de la pantalla */
}

#formularioUsuario {
    display: flex;
    flex-direction: column; /* Organiza los campos en columna */
    gap: 16px; /* Espacio entre los elementos */
    width: 100%;
    max-width: 400px; /* Define un ancho máximo */
    padding: 32px;
    background-image: url("../images/madera.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 8px; /* Bordes redondeados */
}

#boton {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #FFCC00;
    color: black;
    font-weight: bold;
    border: black;
    border-style: inset;
}

#tituloRegistro {
    text-align: center;
    color: #fff;
}

#campos {
    color: #fff;
}

.form-control, .form-select {
    background-color: #F5DEB3 !important;
}



/* /////////////////////////////// */
/*         ESTILOS DE LOGIN        */
/* /////////////////////////////// */

.contenedor-formulario {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100vh; /* Ocupa toda la altura de la pantalla */
}

#formularioLogin {
    display: flex;
    flex-direction: column; /* Organiza los campos en columna */
    gap: 16px; /* Espacio entre los elementos */
    width: 100%;
    max-width: 400px; /* Define un ancho máximo */
    padding: 32px;
    background-image: url("../images/madera.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 8px; /* Bordes redondeados */
}

#botonLogin {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: "#FFCC00";
}

#tituloLogin, #tituloOlvidaContrasena, #tituloModalEditar, #mensajeError, #textoContenedor  {
    text-align: center;
}

#tituloOlvidaContrasena{
	font-size: 25px;
}

/* /////////////////////////////////// */
/*   ESTILOS DE LA LISTA DE USUARIOS  */
/* //////////////////////////////////// */

table {
    border-color: black;
}

td {
    background-color: #F5DEB3 !important;
}

th {
    background-image: url("../images/madera.jpg");
    color: white !important;
}

#contenedorTabla {
    margin-top: 12rem !important;
    margin-bottom: 19rem !important;
}

#formEditar {
    background-color: #b7c871 !important;
}

.contenedorFormularioModal {
    background-image: url("../images/madera.jpg");
}

/*--------- BOTONES --------	*/
#botonAccionesEditar{
    padding: 10px;
    font-size: 16px;
    background-color: #FFCC00;
    color: black;
    font-weight: bold;
}

#botonAcciones, #botonAccionOlvidarContrasena  {
    padding: 12px;
    font-size: 15px;
    background-color: #FFCC00;
    color: black;
    font-weight: bold;
    margin-left: 1rem;
}


/* /////////////////////////////////// */
/*   ESTILOS DE LA PAGINA VERIFICAR CODIGO */
/* //////////////////////////////////// */

#textoContenedor{
	color: #fff;
}

/* /////////////////////////////////// */
/*   ESTILOS DE LA PAGINA DE ERROR     */
/* //////////////////////////////////// */



#contenedorMensajeError2{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 46rem;
    padding: 32px;
    background-image: url(../images/madera.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.contenedorMensajeError1{
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}



/* //////////////////////////////////// */
/*      ESTILO LISTA ARTICULOS           */

#imagenesArticulosLista{
	width: 10rem;
}



/* //////////////////////////////////// */
/*      ESTILO CATALOGO                */

		.catalogo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1rem;
            padding: 1rem;
        }
        .producto {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: box-shadow .2s;
        }
        .producto:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .producto img {
            width: 100%;
            height: 23rem;
            object-fit: cover;
        }
        .info {
            flex: 1;
            padding: .75rem;
            display: flex;
            flex-direction: column;
            border-top: ridge;
        }
        .info h3 {
            margin: 0 0 .5rem;
            font-size: 1.1rem;
        }
        .info p {
            flex: 1;
            font-size: .9rem;
            color: #555;
            margin-bottom: .5rem;
        }
        .meta {
            font-size: .85rem;
            color: #777;
            margin-bottom: .75rem;
        }
        .info button {
            align-self: stretch;
            background: #0d6efd;
            color: #fff;
            border: none;
            padding: .5rem;
            border-radius: 4px;
            cursor: pointer;
        }
        .contenedorCatalogo{
        	background-image: url("../images/madera.jpg");
        	padding-top: 1rem;
    		border-radius: 10px;
        }
        
        .producto{
        	background-color: #F5DEB3;
        }
        
    
@media screen and (max-width: 1021px) {
    .navOpciones {
        gap: 5rem; /* Reduce el espacio entre los botones */
        margin-left: 32rem;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    h2 {
        font-size: 1rem;
    }

    .botonIcono{
        transform: translate(931px, -106px);
        border-radius: 12rem;
        width: 4rem;
        height: 4rem;
    }
}


@media screen and (max-width: 768px) {

  mat-toolbar {
    flex-direction: row;
    height: auto;
    padding: 1rem;
  }

  .logo {
    width: 60px;
    height: 60px;
    margin-top: 6px;
  }  

  .iconoUsuario {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }


  .nav-link {
    text-align: center;
    margin-left: 1rem;
  }
  

  
}

@media screen and (max-width: 720px) {
  .navOpciones {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .navOpciones button,
  .navOpciones .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
  }

  mat-toolbar {
    flex-direction: row;
    height: auto;
    padding: 1rem;
  }

  .logo {
    width: 60px;
    height: 60px;
    margin-top: 6px;
  }  

  .iconoUsuario {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .nav-link {
    text-align: center;
  }
}



@media screen and (max-width: 480px) {
    .logo {
        width: 50px;
        height: 50px;
    }

    .imagenLogin {
        width: 2.5rem;
        height: 2.5rem;
    }
}
        
        
        