* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}

/* 🔹 Título */
.titulo {
    margin: 150px auto;
    max-width: 1300px;
    padding: 0 20px;
}

.titulo h1 {
    font-size: 40px;
    font-weight: bold;
}

.resaltado {
    color: #03d7fc;
}

.titulo p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

/* 🔹 Contenedor del grid */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    width: 90%;
    margin: 30px auto;
    justify-content: center;
}

/* 🔹 Estilos de los ítems */
.item {
    background-color: rgb(30, 30, 30); /* 🔸 Fondo separado para la imagen */
    overflow: hidden;
    width: 300px;
    padding: 0;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.item:hover {
    transform: scale(1.05);
}

/* 🔹 Contenedor de la imagen */
.img-container {
    background-color: rgb(20, 20, 20); /* 🔸 Color distinto para el fondo de la imagen */
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔹 Imágenes ajustadas */
.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔹 Caja de información */
.info {
    padding: 20px;
    background-color: #252525; /* 🔸 Fondo distinto para la descripción */
    height: 50px; /* Aumentamos un poco más la altura */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.info h3 {
    font-size: 13px;
    margin: 5px 0;
}

.info p {
    font-size: 14px;
    color: #cccccc;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}
