@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Serif+Display:ital@0;1&family=Frijole&family=Nunito:wght@400;700&family=Oswald:wght@200;300;400;500;600;700&family=Raleway&family=Timmana&display=swap');

@font-face {
	font-family: "DMSerif";
	src: url(./public/fonts/DMSerifDisplay-Regular.ttf);
}


main {
	margin-left: 120px;
	margin-right: 120px;
}

.section-header {
	text-align: center;
}

.section-header {
	/*width: 500px;*/
	color: #40407a;
	margin: 10px auto;
	line-height: 1.5;
}

.section-title {
	font-size: 2.5rem;
}

.line {
	width: 260px;
	background: #2c2c54;
	height: 3px;
	margin: auto;
}

.line span {
	display: block;
	width: 140px;
	height: 4px;
	background-color: #f39c12;
	margin: auto;
	position: relative;
	bottom: 0.5px;
}

.idiomas {
	background: #2C3A47;
	border: 1px dotted beige;
	border-radius: 10px 60px 10px 60px;
	padding: 15px;
	display: flex;
	justify-content: space-around;
	margin-bottom: 40px;
}

/*.idiomas h1 {
	color: #fff;
	font-size: 4rem;
}*/

h2 {
	font-size: 2rem;
}

.ofrece {
    font-size: 14px;
}

.idiomas img {
	border: 1px solid #ff793f;
	border-radius: 10px;
}

td, th {
	border: 2px solid #d1ccc0;
	padding: 10px;
	font-weight: 600;
}

th {
	letter-spacing: 3px;
	background: #4b6584;
	color: #fff;
}

.ocre {
	background: #F8EFBA;
}

table {
	border-collapse: collapse;
	background: #f7f1e3;
	box-shadow: 5px 5px 11px 4px #48557282;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 40px;
}

.notes {
	text-align: center;
}

.esp-idiomas {
	color: #fff;
	background: #2C3A47;
	border: 1px dotted beige;
	border-radius: 60px 10px 60px 10px;
	padding: 15px;
	display: flex;
	justify-content: space-around;
	margin-bottom: 40px;
}

.esp-idiomas p {
	margin-left: 15px;
	font-size: 1.4rem;
}

/* Medias quieries */

@media only screen and (max-width: 1440px) {
	
	.container {
		width: 100%;
		padding: 0 20px;
	}

	main {
		text-align: left;
		margin: 10px 40px 20px 40px;
	}

	.idiomas {
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 10px;
		padding: 15px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		margin-bottom: 40px;
}

	.langues {
		color: #30336b;
		font-size: 1.4rem;
		margin-bottom: 20px;
	}

	.idiomas h1 {
		color: #fff;
		font-size: 3rem;
	}

	.idiomas img {
		border: 1px solid #ff793f;
		border-radius: 10px;
	}

	h2 {
		font-size: 1.8rem;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		background: #f7f1e3;
		box-shadow: 5px 5px 11px 4px #48557282;
		margin: auto;
		margin-top: 30px;
		margin-bottom: 40px;
	}

	td, th {
		border: 2px solid #d1ccc0;
		padding: 5px;
		font-size: 1rem;
		font-weight: 600;
	}

	th {
		font-size: 1rem;
		letter-spacing: 2px;
		background: #4b6584;
		color: #fff;
	}

	.ofrece {
		font-size: 1.1rem;
	}

	.notes {
		text-align: left;
		margin-bottom: 1.3rem;
		font-weight: 400;
	}

	.esp-idiomas {
		margin: auto;
		color: #fff;
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 60px 60px 10px 10px;
		padding: 10px;
		display: flex;
		align-items: center;
		margin-bottom: 40px;
	}

	.esp-idiomas p{
		font-size: 1.2rem;
	}
}

@media only screen and (max-width: 768px) {
	
	.container {
		width: 100%;
		padding: 0 20px;
	}

	main {
		text-align: left;
		margin: 10px 40px 20px 40px;
	}

	.idiomas {
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 10px;
		padding: 15px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		margin-bottom: 40px;
}

	.langues {
		color: red;
		font-size: 1.4rem;
		margin-bottom: 20px;
	}

	.idiomas h1 {
		color: #fff;
		font-size: 3rem;
	}

	.idiomas img {
		border: 1px solid #ff793f;
		border-radius: 10px;
	}

	h2 {
		font-size: 1.8rem;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		background: #f7f1e3;
		box-shadow: 5px 5px 11px 4px #48557282;
		margin: auto;
		margin-top: 30px;
		margin-bottom: 40px;
	}

	td, th {
		border: 2px solid #d1ccc0;
		padding: 5px;
		font-size: 1rem;
		font-weight: 300;
	}

	th {
		font-size: 1rem;
		letter-spacing: 2px;
		background: #4b6584;
		color: #fff;
	}

	.ofrece {
		font-size: 1.1rem;
	}

	.notes {
		text-align: left;
		margin-bottom: 1.3rem;
		font-weight: 400;
	}

	.esp-idiomas {
		margin: auto;
		color: #fff;
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 60px 60px 10px 10px;
		padding: 10px;
		display: flex;
		align-items: center;
		margin-bottom: 40px;
	}

	.esp-idiomas p{
		font-size: 1.2rem;
	}
}

@media only screen and (max-width: 600px) {
	
	.container {
		width: 100%;
		padding: 0 20px;
	}

	main {
		text-align: left;
		margin: 10px 40px 20px 40px;
	}

	.idiomas {
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 10px;
		padding: 15px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		margin-bottom: 40px;
}

	.langues {
		color: red;
		font-size: 1rem;
		margin-bottom: 20px;
	}

	.idiomas h1 {
		color: #fff;
		font-size: 2.2rem;
	}

	.idiomas img {
		width: 40%;
		border: 1px solid #ff793f;
		border-radius: 10px;
	}

	h2 {
		font-size: 1.8rem;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		background: #f7f1e3;
		box-shadow: 5px 5px 11px 4px #48557282;
		margin: auto;
		margin-top: 30px;
		margin-bottom: 40px;
	}

	td, th {
		border: 2px solid #d1ccc0;
		padding: 5px;
		font-size: 0.8rem;
		font-weight: 300;
	}

	th {
		font-size: 0.8rem;
		letter-spacing: 1px;
		background: #4b6584;
		color: #fff;
	}

	.notes {
		text-align: left;
		margin-bottom: 0.8rem;
		font-weight: 400;
	}

	.esp-idiomas {
		margin: auto;
		color: #fff;
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 60px 60px 10px 10px;
		padding: 8px;
		display: flex;
		/*flex-direction: column;*/
		align-items: center;
		flex-wrap: wrap;
		margin-bottom: 40px;
	}

	.esp-idiomas p{
		font-size: 1.1rem;
	}
}

@media only screen and (max-width: 375px) {
	
	.container {
		width: 100%;
		padding: 0 20px;
	}

	main {
		text-align: left;
		margin: 10px 40px 20px 40px;
	}

	.idiomas {
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 10px;
		padding: 15px;
		display: flex;
		justify-content: space-around;
		align-items: center;
		margin-bottom: 40px;
}

	.langues {
		color: red;
		font-size: 1rem;
		margin-bottom: 20px;
	}

	.idiomas h1 {
		color: #fff;
		font-size: 1.6rem;
	}

	.idiomas img {
		width: 40%;
		border: 1px solid #ff793f;
		border-radius: 10px;
	}

	h2 {
		font-size: 1.5rem;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		background: #f7f1e3;
		box-shadow: 5px 5px 11px 4px #48557282;
		margin: auto;
		margin-top: 30px;
		margin-bottom: 40px;
	}

	td, th {
		border: 2px solid #d1ccc0;
		padding: 5px;
		font-size: 0.5rem;
		font-weight: 300;
	}

	th {
		font-size: 0.6rem;
		letter-spacing: 1px;
		background: #4b6584;
		color: #fff;
	}

	.notes {
		text-align: left;
		margin-bottom: 0.8rem;
		font-weight: 400;
	}

	.esp-idiomas {
		margin: auto;
		color: #fff;
		background: #2C3A47;
		border: 1px dotted beige;
		border-radius: 60px 60px 10px 10px;
		padding: 8px;
		display: flex;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
		margin-bottom: 40px;
	}

	.esp-idiomas p{
		font-size: 1.0rem;
	}

}