/* General reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Estilos generales */
.pageIn_container {
	display: grid;
	grid-template-columns: 60% 40%;
	gap: 20px;
	width: 100%;
	padding: 20px;
	min-height: 100vh;
}

/* Contenedor izquierdo (pageIn_header) */
.pageIn_header {
	display: grid;
	grid-template-rows: auto auto auto auto;
	/* gap: 20px; */
}

/* Menú principal con 5 ítems */
.pageIn_menu {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.pageIn_menuItem {
	flex: 1;
	width: 100%;
	height: 137px;
	background-color: #4BA791;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #ddd;
	padding: 10px;
}

/* Estructura de los bloques Objetivo, Audiencia, Temario */
.pageIn_objective,
.pageIn_audience,
.pageIn_syllabus {
	padding: 15px;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	flex-wrap: wrap;
	/*min-height: 270px;
	 background-color: #f5f5f5;
	border: 1px solid #ddd; */
}
.adoc {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.pageIn_objective h2,
.pageIn_audience h2,
.pageIn_syllabus h2 {
	width: 100%;
	margin-bottom: 15px;
	text-align: left;
}

.pageIn_objective img,
.pageIn_audience img,
.pageIn_syllabus img {
	width: 130px;
	height: 130px;
	margin-right: 15px;
}

.pageIn_objective p,
.pageIn_audience p,
.pageIn_syllabus p {
	text-align: justify;
}

/* Contenedor derecho (pageIn_header2) */
.pageIn_header2 {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pageIn_menuLarge {
	width: 100%;
	height: 410px;
	background-color: #4BA791;
	border: 1px solid #4BA791;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px;
}

.pageIn_menuLarge a {
	text-decoration: none;
	color: black;
	text-align: center;
}
.justMovil {
	display: none;
	background-color: #4BA791;
	justify-content: center;
	align-items: center;
	border: 2px solid #ddd;
	padding: 10px;
}
#menu7.pageIn_menuLarge {
	border-radius: 0 0 0 100px;
}
.m7 {
	border-radius: 0 0 50px 0;
}
.pageIn_interna {
	margin-top: 15px;
}
.parrafo {
	padding: 10px 15px 0;
}
.parrafo h3 {
	text-align: left;
	font-weight: bold;
	color: #4BA791;
}

/* Estilos para móviles (a partir de 768px) */
@media (max-width: 768px) {
	.justMovil {
		display: flex;
	}
	.pageIn_container {
		/* grid-template-columns: 1fr 1fr; */
		/* grid-template-rows: auto auto auto auto; */
		grid-template-rows: auto;
	}

	.pageIn_header {
		grid-column: 1 / span 2;
		display: grid;
		grid-template-rows: auto;
	}

	.pageIn_menu {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.pageIn_menuItem {
		width: 100%;
		max-width: 167px;
		min-width: 100px;
		height: 137px;
	}

	/* Ajustar los divs del contenido */
	.pageIn_header2,
	.pageIn_objective,
	.pageIn_audience,
	.pageIn_syllabus {
		grid-column: 2 / span 2;
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	/* Ajustar la estructura de los bloques de texto */
	.pageIn_menuLarge {
		display: none;
		width: 100%;
		max-width: 167px;
		height: 137px;
	}
	.pageIn_interna {
		grid-column: 2 / span 2;
		display: flex;
		flex-direction: column;
		gap: 15px;
	}
	.adoc {
		flex-wrap: wrap;
	}
}
