/* ========================================================= */
/* ========================= reset ========================= */
/* ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

ul, ol {
	list-style-type: none;
}

a {
	color: black;
}

a:hover {
	text-decoration: none;
}

a:focus {
    outline: none !important;
}

.img {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
}

img {
	display: block;
}

/* ========================================================= */
/* ======================== desktop ======================== */
/* ========================================================= */
/* =============== generic =============== */
html {
	font-family: 'Barlow', sans-serif;
}

.section,
.container,
.column,
.footer .social {
	display: flex;
}

.section {
	padding-left: 30px;
	padding-right: 30px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

/* =============== header =============== */
.header {
	padding-top: 15px;
	padding-bottom: 15px;
	height: 110px;
}

.header .logo-uni .img {
	width: 93px;
}

.header .logo-uni .img img {
	width: 100%;
}

/* =============== main =============== */
.main,
.main .container {
	flex-flow: column wrap;
	align-items: center;
}

.main {
	justify-content: center;
	height: calc(100vh - 300px); /* Screen height - (header + footer) heights */
}

.main .visual {
	width: 570px;
}

.main .visual img {
	padding-right: 17%;
}

.main .text {
	margin-top: 50px;
	text-align: center;
}

.main .text .primary {
	font-size: 2.5rem;
	line-height: 3.1rem;
}

.main .text .secondary {
	margin-top: 1rem;
	font-weight: normal;
	font-size: 1.5rem;
	line-height: 2.1rem;
}

/* =============== footer =============== */
.footer {
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-end;
	height: 190px;
	padding-bottom: 30px;
	background-image: url(images/footer.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

.footer .copyright {
	padding-bottom: 10px;
}

.footer .social {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
}

.footer .social .item {
	margin-left: 10px;
}

.footer .social .item:first-child {
	margin-left: 0;
}

.footer .social .item .img {
	width: 40px;
	height: 40px;
}

.footer .social .item .img.facebook img {
	width: 13px;
}

.footer .social .item .img.twitter img {
	width: 28px;
}

.footer .social .item .img.linkedin img {
	width: 21px;
}

.footer .social .item .img.instagram img {
	width: 27px;
}

.footer .social .item .img.youtube img {
	width: 28px;
}

/* ========================================================= */
/* ============ desktop tablet - small height ============== */
/* ============= width > 767px height < 999px ============== */
/* ========================================================= */
@media screen and (min-width: 768px) and (max-height: 999px) {
	.main .visual {
		width: 400px;
	}

	.main .text {
		margin-top: 30px;
	}

	.main .text .primary {
		font-size: 2rem;
		line-height: 2.5rem;
	}

	.main .text .secondary {
		margin-top: 0.5rem;
		font-size: 1.3rem;
		line-height: 1.8rem;
	}
}

/* ========================================================= */
/* ================ tablet - width < 940px ================= */
/* ========================================================= */
@media screen and (max-width: 939px) {
	.main .visual {
		width: 500px;
	}

	.main .text .primary {
		font-size: 2.2rem;
		line-height: 2.7rem;
	}

	.main .text .secondary {
		font-size: 1.3rem;
		line-height: 1.9rem;
	}
}

/* ========================================================= */
/* ================ mobile - width < 768px ================= */
/* ========================================================= */
@media screen and (max-width: 767px) {
	.main {
		height: calc(100vh - 270px);
	}
	
	.main .visual {
		width: 95%;
	}

	.main .text {
		margin-top: 30px;
	}

	.main .text .primary {
		font-size: 1.3rem;
		line-height: 1.5rem;
	}

	.main .text .primary br {
		display: none;
	}

	.main .text .secondary {
		margin-top: .5rem;
		font-size: 1.1rem;
		line-height: 1.4rem;
	}

	.footer {
		flex-flow: column wrap;
		justify-content: flex-end;
		align-items: flex-start;
		height: 160px;
		padding-bottom: 20px;
		background-position: 15% top;
	}

	.footer .copyright {
		margin-left: 11px;
		padding-bottom: 5px;
	}

}

/* ========================================================= */
/* ================ mobile - width < 390px ================= */
/* ========================================================= */
@media screen and (max-width: 389px) {
	.main .visual {
		width: 75%;
	}
}

/* ========================================================= */
/* ================ mobile - width < 321px ================= */
/* ========================================================= */
@media screen and (max-width: 374px) {
	.main .visual {
		width: 60%;
	}

	.main .text {
		margin-top: 13px;
	}

	.main .text .primary {
		font-size: 1rem;
		line-height: 1.3rem;
	}

	.main .text .secondary {
		margin-top: 0;
		font-size: .9rem;
		line-height: 1.2rem;
	}
}

/* ========================================================= */
/* ===================== tablet mobile ===================== */
/* ============ height < 500 px width > 939px  ============= */
/* ========================================================= */
@media screen and (max-height: 499px) and (max-width: 939px) {
	.container {
		max-width: none;
	}
	
	.header {
		height: 95px;
		padding-bottom: 0;
	}

	.main {
		height: calc(100vh - 215px);
	}

	.main .container {
		flex-flow: row wrap;
		width: 100%;
	}

	.main .visual {
		width: 30%;
	}

	.main .visual img {
		width: 90%;
		padding-right: 15%;
	}

	.main .text {
		margin-top: 0;
		width: 70%;
		text-align: left;
	}

	.main .text .primary {
		font-size: 1.5rem;
		line-height: 1.8rem;
	}

	.main .text .primary br {
		display: none;
	}

	.main .text .secondary {
		margin-top: 0;
		font-size: 1rem;
		line-height: 1.3rem;
	}	

	.footer {
		height: 120px;
		padding-bottom: 10px;
		background-position: 0 top;
	}
}