/* Estilos generales */
body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background-image: url('fondo.jpg');
	background-size: cover;
	z-index: -10;
  }
  
  
/* Agrega estilo a la imagen del logo */
.logo-img {
    max-width: 100%; /* Establece el ancho máximo para que la imagen sea responsive */
    display: block; /* Elimina cualquier espacio adicional debajo de la imagen */
    margin: 0 auto; /* Centra la imagen horizontalmente en su contenedor */
}


.card-title{
	display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

/* Estilos para el header */
header {
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000; /* Asegúrate de que este valor sea suficientemente alto */
	box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
}

.banner-carousel {
	display: flex;
	overflow: hidden;
	position: relative;
	box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
}

.banner-slide {
	flex: 0 0 100%;
	height: 350px; /* Altura del banner, ajusta según tus necesidades */
	background-size: cover;
	background-position: center; /* Animación de cambio de banners */
	position: relative;
}
/* Estilos para los botones del carrusel */
.carousel-buttons {
	text-align: center;
	margin-top: 10px;
  }
  
  .carousel-button {
	background-color: #00539F;
	color: white;
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	margin: 0 10px;
	font-size: 16px;
	border-radius: 5px;
  }
  
  .carousel-button:hover {
	background-color: #003E7F;
  }
  


nav {
	display: flex;
	align-items: center;
	background-color: white;
	
}

	nav img {
		max-width: 300px;
		margin-right: 20px;
	}

	nav ul {
		list-style: none;
		display: flex;
	}

	nav li {
		position: relative;
		margin-right: 15px;
	}

		nav li:hover > .submenu {
			display: block;
		}

.submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 10px;
	min-width: 200px;
	z-index: 1;
}

	.submenu li {
		margin: 8px 0;
	}

	.submenu a {
		text-decoration: none;
		color: #333;
	}

	nav a {
		text-decoration: none;
		color: forestgreen;
		position: relative;
	}

		nav a:hover::after {
			content: "";
			display: block;
			width: 100%;
			height: 2px;
			background-color: #333;
			position: absolute;
			bottom: -5px;
		}

/* Estilos para el contenido principal */
.main-content {
	display: flex;
	align-items: center;
	padding: 50px;
}

.side-image img {
	max-width: 100%;
	height: auto;
}

.carousel-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 10px 15px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	cursor: pointer;
}

	.carousel-button:first-child {
		left: 10px;
	}

	.carousel-button:last-child {
		right: 10px;
	}

/* Estilos para la imagen centrada */
.centered-text {
	text-align: center;
	margin: 10px 0;
	height: 200px;
	flex-direction: column;
	justify-content: center;
}

.centered-text p {
	font-size: 40px;
}
	.centered-text h2 {
		font-size: 100px;
	}
.gray-text {
	color: #777;
}

.green-text {
	color: #00aa00;
}

.pdf-image {
	height: 75px;
}

/* Estilos para las noticias */
/* Contenedor principal de noticias */
.news-section {
	text-align: center;
	padding: 40px;
  }
  
  /* Contenedor de las tarjetas de noticias */
  .news-cards-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
  }
  .news-card:hover {
    transform: translateY(-20px); /* Mueve ligeramente hacia arriba al hacer hover */
  }
  
  /* Tarjeta de noticia individual */
  .news-card {
	width: 300px;
	background-color: #f5f5f5; /* Fondo gris claro */
	padding: 20px;
	border: 1px solid #ccc; /* Borde más suave */
	border-radius: 10px; /* Bordes redondeados */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sutil sombra */
	text-align: left; /* Alineación a la izquierda */
  }
  
  .news-card img {
	max-width: 100%;
	height: auto;
  }
  
  /* Título de la noticia */
  .news-card h3 {
	margin-top: 10px;
	font-size: 1.2em; /* Tamaño de fuente más grande */
	color: #333;
  }
  
  /* Enlace a la noticia */
  .news-card a {
	display: block;
	margin-top: 10px;
	text-decoration: none;
	color: #007BFF; /* Color azul para enlaces */
	font-weight: bold; /* Texto en negrita */
	transition: color 0.3s; /* Transición suave de color */
  }
  
  .news-card a:hover {
	color: #0056b3; /* Cambio de color al pasar el ratón */
  }
  
  .copyright-section {
    background-color: #333333; /* Color de fondo */
    color: #fff; /* Color de texto */
    text-align: center;
    padding: 10px 0;
  }

/* Estilos para el footer */
footer {
	background-color: grey;
	padding: 10px;
	bottom: 0;
  	left: 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 100px;
}

.footer-section {
	color: white;
	text-align: center;
	border-top: 2px solid #333;
	border-bottom: 2px solid #333;
	padding: 10px 0;
	box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2);
}

	.footer-section h3 {
		font-weight: bold;
	}

	.contact-info, .footer-section a {
		margin: 5px 0;
		color: white;
		text-decoration: none;
	}

/* Estilos para los enlaces de aviso de privacidad */
.privacy-links {
	text-align: center;
	padding: 20px;
	background-color: grey;
	color: white;
}

	.privacy-links a {
		text-decoration: none;
		color: white;
		margin: 0 10px;
	}
/* Estilos para las cards de contacto */
.contact-card-container {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-top: 20px;
  }
  
  .contact-card {
	text-align: center;
	background-color: #fff;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  }
  
  .contact-card img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	margin-bottom: 10px;
  }
  
  .contact-card h4 {
	font-size: 18px;
	margin: 5px 0;
  }
  
  .contact-card p {
	font-size: 14px;
	margin: 5px 0;
  }
  
.laizquierda{
	flex: auto;
}

/* Estilos CSS para el menú vertical */
.category-list {
	list-style-type: none;
	padding: 0;
	margin: 20px;
}

.category-item {
	background-color: #fff;
	border: 1px solid #ddd;
	padding: 10px;
	margin: 10px 0;
}

.category-description {
	color: #666;
}
.container {
    max-width: 600px; /* Establece el ancho máximo del contenedor */
    text-align: center; /* Centra el contenido dentro del contenedor */
    padding: 20px;
	background-color: #00539F;
	border-radius: 15px; /* Agrega bordes redondeados */
}

.list-item {
    margin-bottom: 20px;
	border: 1px solid white;
	background-color: rgb(255, 255, 255);
	border-radius: 15px; /* Agrega bordes redondeados */
}

.list-item:hover {
    margin-bottom: 20px;
	border: 1px solid rgb(175, 175, 175);
	background-color: rgb(175, 175, 175);
	border-radius: 15px; /* Agrega bordes redondeados */
}

.contact-form {
	margin-top: 30px;
	padding: 20px;
	background-color: #f2f2f2;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	margin-left: 200px;
	margin-right: 200px;
  }
  
  .contact-form h2 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #333;
  }
  
  .contact-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #555;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
  }
  
  .contact-form textarea {
	resize: vertical;
	min-height: 100px;
  }
  
  .contact-form button[type="submit"] {
	background-color: #007BFF;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
  }
  
  .contact-form button[type="submit"]:hover {
	background-color: #0056b3;
  }