body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f8f8f8;
}

h1 {
    color: #333;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    color: #007BFF;
}

footer {
    margin-top: 20px;
    background: #ddd;
    padding: 10px;
}


/* Estilo para las recetas */
.list-group-item {
    margin-bottom: 10px;
}

img.img-thumbnail {
    border: 2px solid #ddd;
    border-radius: 8px;
}

.service-card {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.service-card h3 a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.service-card img {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.service-card img:hover {
    transform: scale(1.05);
}

.submenu {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: none;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    z-index: 100;
}

.submenu li {
    padding: 10px;
}

.submenu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    transition: background 0.2s;
}

.submenu li a:hover {
    background: #ddd;
}



/* Nube para el contenedor de reseña, misión y visión */
.nube {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}


/* Estilo para las recetas */
.card {
    height: 100%; /* Todas las tarjetas tendrán la misma altura */
    display: flex;
    flex-direction: column;
}

.img-receta {
    width: 100%;
    height: 250px; /* Ajusta el alto de las imágenes según necesites */
    object-fit: cover; /* Recorta la imagen sin deformarla */
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-text {
    flex-grow: 1; /* Permite que la descripción ocupe el espacio disponible */
}
