@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+SC&family=Roboto:wght@500&display=swap');

:root {
	--height-cmp: 420px;
	--width-cmp: 100%;
	--display-moduls: block;
	--mrg-tabs: 0px;
	--height-banner: 150px;
	--width-md-tmn: 110px;
	--mrg-banner:0;
	--font-size-btn: .8em;
	--width-image-mdls: 250px;
	--font-size-dsc: .9em;
}

* {
	margin: 0;

}

/* body */
.ctn-main {
	width: 95%;
	margin: 10px auto;
}

/* banner */
.ctn-banner {
	width: 100%;
	height: auto;
}

.ctn-banner__img {
	width: 100%;
	height: var(--height-banner);
	margin-top: var(--mrg-banner);
	object-fit: cover;
}

/* contendor campus Alejandro*/
.ctn-title-cmp {
	width: 95%;
	height: auto;
	margin: 10px auto;
	text-align: center;

}

.ctn-title-cmp {
	margin: 5px auto;
	padding: 3px;
	width: var(--width-title);
	height: var(--height-title);
	text-align: center;
	background: linear-gradient(180deg, #3489c6, #235478, #3489c6);
	border-radius: 15px 15px 0px 0px;
	margin-bottom: -15px;
}

.title-cmp {
	font-size: 1.5em;
	color: #fff;
	text-shadow: 1px 2px 2px black;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

.ctn-cmp {
	width: var(--width-cmp);
	margin: 10px auto;
	text-align: center;
	height: var(--height-cmp);
	background-color: #599edb6b;
	border-radius: 0px 0px 15px 15px;
	margin-bottom: 5px;
}

.ctn-text-info {
	font-weight: bold;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1.2em;
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
	margin-top: 15px;
	text-align: center;
}

/* Contenedor materias David*/
.ctn-modl1 {
	display: var(--display-moduls);
}

.ctn-title {
	width: 85%;
	margin: 40px auto;
	text-align: center;
	padding: 5px;
	border-radius: 5px;
	background: linear-gradient(180deg, #3489c6, #235478, #3489c6);
}

.title-cour {
	font-family: 'Encode Sans SC', sans-serif;
	letter-spacing: 1px;
	font-weight: bold;
	font-size: 2em;
	color: #fff;
	display: inline-block;
}

.sem__buttons {
	width: 100%;
	height: auto;
	margin: 0;
	text-align: center;

}

.tabs {
	display: inline-flex;
	list-style: none;
	height: auto;
	margin-bottom: var(--mrg-tabs);
}
.md-tmn{
	width: var(--width-md-tmn);
	align-items: center;
}
.button {
	text-decoration: none;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	color: rgb(0, 0, 0);
	padding: 10px;
	font-size: var(--font-size-btn);
	font-weight: bold;
	font-family: 'Nunito', sans-serif;
	border-style: none;
	cursor: pointer;
	margin: 0 5px;
	background-color: rgb(179, 176, 174);
	letter-spacing: 1.5px;
}

.active {
	background: linear-gradient(180deg, #3489c6, #235478, #3489c6);
	color: white;
	box-shadow: 3px 0px 5px rgb(125, 125, 125);
	border-top: 2px solid #3489c6;
	border-left: 2px solid #3489c6;
	border-right: 2px solid #3489c6;
	border-bottom: none;
}

.sem__container {
	position: relative;
	width: 100%;
	height: auto;
	margin: 15px auto;
	margin-top: 0 !important;
	background-color: #aaa8a83c;
	border-radius: 10px 10px 10px 10px;
	border: 1px solid #3489c6;
	box-shadow: 7px 8px 3px gray;
}

.ctn-gbl-dsc {
	margin: 5px 10px 5px 10px;
	display: inline-flex;
	border-bottom: 1px solid grey;
}

.ctn-img-dsc {
	margin: 5px 0px 5px 0px;
	justify-content: center;
}

.sem__curs {
	display: block;
	width: 100%;
	height: auto;
	margin-left: 15px;
	display: inline-block;
}

.sem__image {
	border-radius: 10px;
	width: var(--width-image-mdls);
	height: auto;
	object-fit: cover;
	box-shadow: 3px 5px 3px rgba(0, 0, 0, 0.476);
}

.sem__title {
	font-weight: bold;
	font-family: 'Roboto', sans-serif;
	font-size: 1.2em;
	width: auto;
	height: auto;
	display: block;
	line-height: 2;
	color: #235478;
}

.sem__descrip {
	display: inline-block;
	width: 100%;
	height: 110px;
	font-size: var(--font-size-dsc);
	font-family: 'Noto Sans JP', sans-serif;

}

@media screen and (min-width: 320px) {
	:root {
		--display-moduls: none;
		--height-cmp: 480px;
	}
}

@media screen and (min-width: 360px) {
	:root {

		--height-cmp: 420px;
		--height-title: 50px;
		--display-moduls: none;
	}
}

@media screen and (min-width: 375px) {
	:root {

		--height-cmp: 380px;
		--display-moduls: none;
	}
}

@media screen and (min-width: 414px) {
	:root {

		--height-cmp: 380px;
		--display-moduls: none;
	}
}

@media screen and (min-width: 480px) {
	:root {

		--height-cmp: 300px;
		--display-moduls: none;
	}

}

@media screen and (min-width: 720px) {
	:root {

		--height-cmp: 200px;
		--display-moduls: block;
		--mrg-tabs: 10px;
		--height-banner: 200px;
	}
}

@media screen and (min-width: 768px) {
	:root {

		--height-cmp: 200px;
		--height-title: 40px;
		--height-banner: 220px;
		--mrg-banner: 150px;
	}
}
@media screen and (min-width: 800px){
	:root{
		--width-md-tmn: 120px;
		--mrg-banner: 150px;
	}
}

@media screen and (min-width: 1024px) {
	:root {

		--height-cmp: 170px;
		--width-cmp: 85%;
		--width-title: 85%;
		--mrg-banner: 150px;
		--height-banner: 300px;
		--width-md-tmn: 150px;
		--font-size-btn: 1.2em;
		--width-image-mdls: 350px;
		--font-size-dsc: 1.1em;
	}
}

@media screen and (min-width: 1280px) {
	:root {

		--height-cmp: 140px;
		--width-cmp: 85%;
		--width-md-tmn: 180px;	
		--font-size-btn: 1.7em;
		--font-size-dsc: 1.2em;
	}

}

@media screen and (min-width: 1300px) {
	:root {

		--height-cmp: 140px;
		--width-cmp: 85%;
		--width-image-mdls: 400px;
	}
}

@media screen and (min-width: 1366px) {
	:root {

		--height-cmp: 120px;
		--width-cmp: 85%;
	}
}

@media screen and (min-width: 1600px) {
	:root {

		--height-cmp: 130px;
		--width-cmp: 85%;
		--mrg-banner: 155px;
		--width-md-tmn: 220px;
	}
}

@media screen and (min-width: 1900px) {
	:root {

		--height-cmp: 100px;
		--width-cmp: 85%;
		--width-md-tmn: 250px;
		--height-banner: 400px;
	}	

}