body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.content-container {
    padding: 20px;
    text-align: center;
}

.title2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.productos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    gap: 10px;
    max-width: 1200px;
    margin: auto;
    padding: 10px;
    justify-items: center;
}

.productos {
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px; /* Ajusta según sea necesario */
    position: relative;
    border-radius: 15px;
}

.productos:hover {
    background-color: #022a66;
    color: white;
}

.circle-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 5px;
    right: 9px;
    border: 1px solid #a19c9c;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productos button {
    padding: 10px 20px;
    background-color: #073c70;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 30px;
    margin-top: auto;
}

.productos button:hover {
    background-color: #0066c9;
}

@media (max-width: 600px) {
    .productos-container {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    }
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 750px;
    background-color: #073c70;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #cccccc; /* Borde gris no muy grueso */
}

.modal-content {
    max-height: 70vh; /* Altura máxima del contenido, relativa a la altura de la ventana */
    overflow-y: auto; /* Activa el scroll vertical si el contenido excede la altura máxima */
}

/* Estilo para la barra de desplazamiento */
.modal-content::-webkit-scrollbar {
    width: 6px; /* Ancho de la barra de desplazamiento */
}

/* Estilo para el pulgar (la parte que se mueve) de la barra de desplazamiento */
.modal-content::-webkit-scrollbar-thumb {
    background-color: #59d3f96e; /* Color de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados para hacerla más pequeña visualmente */
}

/* Estilo para la pista de la barra de desplazamiento */
.modal-content::-webkit-scrollbar-track {
    background-color: #073c70; /* Color de fondo de la pista de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.title {
    font-weight: bold;
    margin-top: 10px;
}
