body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('images/ml.jfif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    box-sizing: border-box;
  }

        
        .form-container {
            max-width: 500px;
            margin: 50px auto;
            background: #ffffff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .form-title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }
        .btn-primary {
            background-color: #007bff;
            border-color: #007bff;
        }
        .btn-primary:hover {
            background-color: #0056b3;
            border-color: #004085;
        }
        .text-muted {
            font-size: 14px;
        }
    

  #cabeza{
    background: rgba(206, 206, 6, 0.123);
    color: aliceblue;
  }

/* Estilo para las imágenes de los productos */
.product-image {
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
    height: 200px; /* Altura fija para todas las imágenes */
    object-fit: cover; /* Ajusta la imagen para que llene el contenedor sin deformarse */
    border-radius: 5px; /* Opcional: agrega bordes redondeados */
}

/* Estilo para las tarjetas */
.card {
    height: 400px; /* Altura fija para todas las tarjetas */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.5); /* Sombra azul */
    overflow: hidden; /* Evita que el contenido desborde */
    margin-bottom: 20px; /* Espaciado entre tarjetas */
}

/* Estilo para el cuerpo de las tarjetas */
.card-body {
    flex-grow: 1; /* Hace que el contenido del cuerpo de la tarjeta ocupe el espacio disponible */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 0, 0, 0.44); /* Fondo semitransparente */
    color: white; /* Texto blanco */
    text-align: center;
}

/* Limitar la altura del texto en las tarjetas */
.card-body h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    max-height: 40px; /* Limita la altura del título */
    overflow: hidden; /* Oculta el texto que exceda la altura */
    text-overflow: ellipsis; /* Agrega puntos suspensivos si el texto es muy largo */
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
}

.card-body p {
    font-size: 14px;
    line-height: 1.5;
    max-height: 60px; /* Limita la altura del párrafo */
    overflow: hidden; /* Oculta el texto que exceda la altura */
    text-overflow: ellipsis; /* Agrega puntos suspensivos si el texto es muy largo */
    white-space: normal; /* Permite que el texto se divida en varias líneas */
}

h5 .card-title{
  color: rgb(255, 255, 255);
}

.navbar-brand img {
  width: 80px; /* Ajusta el tamaño del logo */
  height: auto;
}
.container {
  max-width: 1200px; /* Ajusta el ancho máximo del contenedor */
}
.navbar-brand img {
  width: 100px; /* Ajusta el tamaño del logo */
  height: auto;
}

/* Aumentar el ancho del contenedor */
.container {
  max-width: 1200px; /* Ajusta el ancho máximo del contenedor */
}

/* Estilos para los formularios */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.9); /* Fondo blanco semitransparente */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.5); /* Sombra azul */
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Texto oscuro */
    text-align: center;
}

.form-label {
    font-weight: bold;
    color: #007bff; /* Azul principal */
}

.form-control {
    border: 1px solid #007bff; /* Borde azul */
    border-radius: 5px;
    padding: 10px;
}

.form-control:focus {
    border-color: #0056b3; /* Azul más oscuro al enfocar */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-primary {
    background-color: #007bff; /* Azul principal */
    border-color: #007bff;
    color: white;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #0056b3; /* Azul más oscuro */
    border-color: #004085;
}

.text-muted {
    font-size: 14px;
    color: #555; /* Gris oscuro */
}

.text-primary {
    color: #007bff; /* Azul principal */
    text-decoration: none;
}

.text-primary:hover {
    color: #0056b3; /* Azul más oscuro */
    text-decoration: underline;
}

/* Estilo para las imágenes dentro del modal */
.modal-body img {
    width: auto; /* Permite que las imágenes dentro del modal mantengan su tamaño original */
    height: auto;
    max-width: 100%; /* Asegura que no desborden el contenedor */
}

.modal-body p {
    max-height: none; /* Permite que el texto dentro del modal se muestre completo */
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
}
 
        .login-box {
            background: #fff;
            padding: 20px 30px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            width: 300px;
        }
        .login-box h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .login-box input {
            width: 100%;
            padding: 10px;
            margin: 8px 0;
            border-radius: 5px;
            border: 1px solid #ccc;
        }
        .login-box button {
            width: 100%;
            padding: 10px;
            background: #007BFF;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .login-box button:hover {
            background: #0056b3;
        }
        .error {
            color: red;
            text-align: center;
            margin-top: 10px;
        }
    