main {
	display: flex;
	flex-direction: column;
	color: var(--primary-color);
}

/* FIRST SECTION */
section:nth-child(1) {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

section:nth-child(1) h1 {
	width: 100%;
	font-size: 4rem;
	font-weight: 600;
	margin: 3rem auto 2rem auto;
	text-align: center;
}

section:nth-child(1) .intro {
	width: 100%;
	margin: 1rem auto 1rem auto;
	display: flex;
	flex-direction: column;
}

section:nth-child(1) .intro p {
	width: 80%;
	font-size: 2rem;
	text-align: justify;
	margin: 0 auto 3rem auto;
}

section:nth-child(1) .intro .links {
	width: 40%;
	min-height: 5rem;
	margin: 0 auto 3rem auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

section:nth-child(1) .intro .links a {
	font-size: 2rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--primary-color);
	margin: auto;
	padding: 0 0.5rem 0 0.5rem;
	border: 0.1rem solid var(--primary-color);
	box-shadow: -0.5rem 0.5rem 0 var(--primary-color);
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

section:nth-child(1) .intro .links a:hover {
	transform: translate(0.5rem, -0.5rem);
	box-shadow: -1rem 1rem 0 var(--primary-color);
}

/* SECOND SECTION */

section:nth-child(2) {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-top: 0.1rem solid var(--primary-color);
}

section:nth-child(2) h1 {
	width: 100%;
	font-size: 4rem;
	font-weight: 600;
	margin: 3rem auto 2rem auto;
	text-align: center;
}

section:nth-child(2) .skills {
	width: 60%;
	height: 75rem;
	margin: 4rem auto 0 2rem;
	display: flex;
	flex-direction: column;
}

section:nth-child(2) .skills {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	align-items: center;
	justify-content: center;
	margin: 0 0 5rem 0;
	padding: 1rem;
}

section:nth-child(2) .skills li {
	min-width: 30rem;
	max-width: 30rem;
	min-height: 25rem;
	padding: 2rem;
	margin: 1rem;
	border: 0.1rem solid var(--primary-color);
	box-shadow: -1rem 1rem 0 var(--primary-color);
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

section:nth-child(2) .skills li:hover {
	transform: translate(0.5rem, -0.5rem);
	box-shadow: -1.5rem 1.5rem 0 var(--primary-color);
}

section:nth-child(2) .skills li .icon {
	width: 5rem;
	margin: 0 0 1rem 0;
}

section:nth-child(2) .skills .title {
	font-size: 2rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
}

section:nth-child(2) .skills .title:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.2rem;
	text-underline-offset: 0.3rem;
}

section:nth-child(2) .skills .abstract {
	font-size: 1.5rem;
	margin: 0 0 1rem 0;
}

section:nth-child(2) .skills li .wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 2rem 0 0 0;
}

section:nth-child(2) .skills li .wrapper .logo {
	height: 8rem;
}

@media (orientation: portrait) {
	section:nth-child(1) .intro .links {
		width: 100%;
		min-height: 20rem;
		margin: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}