@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,400;0,800;1,100;1,400;1,800&display=swap');

:root {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: #36393f;
	color: aliceblue;
	font-family: 'Montserrat', sans-serif;
}

#hamburger-open, #hamburger-close{
	display: none;
}

#nav ul {
	list-style: none;
	text-align: center;
	margin-top: 20px;
}

#nav li {
	display: inline;
	margin: 10px;
	padding: 10px;
	transition: all 1s, background-color 0.3s;
}

#nav a {
	padding: 10px;
}

#nav li:hover {
	text-decoration: underline;
	background-color: #5bc4c4;
}

#nav a {
	color: inherit;
	text-decoration: none;
}

#card {
	position: relative;
	top: 25vh;
	width: 25vw;
	margin: auto;
	text-align: center;
	font-weight: 800;
	font-size: 24px;
}

#card img {
	max-height: 250px;
	border-radius: 50%;
}

#nickname {
	color: #5bc4c4;
}

#nickname:before, #nickname:after {
	content: "\"";
}

#card ul {
	list-style: none;
	padding: 0;
}

#card li {
	display: inline;
}

#card a {
	text-decoration: none;
	color: inherit;
}

#card i {
	padding: 10px;
	transition: margin 1s, transform 1s, text-shadow 1s;
}

#card i:hover {
	margin: 0 10px 0 10px;
	/*font-size: larger;*/
	transform: scale(150%);
	text-shadow: 1px 1px 5px #5bc4c4,
				-1px -1px 5px #5bc4c4;
}

#wave {
	position: relative;
	top: 50vh;
}

#content {
	position: relative;
	top: 50vh;
	background-color: #5f646e;
	padding: 50px;
}

#content > div {
	border: 1px solid;
	border-radius: 50px;
	padding: 50px;
	margin-bottom: 20px;
}

#content h1 {
	text-align: center;
	text-decoration: #5bc4c4 underline;
}

.experience h2:before, .education h2:before {
	font-family: "Font Awesome 6 Pro", serif;
	content: "\f058";
	color: #5bc4c4;
	margin-right: 10px;
}

.education .no-check:before {
	content: "";
	margin-right: 0;
}

.education .no-check i {
	margin-right: 10px;
}

.experience a, .education a {
	color: inherit;
}

.experience .date, .education .date {
	font-weight: 100;
}

.flexContainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.project {
	border: 1px solid #5bc4c4;
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	background-color: #565b62;
	width: 20%;
	transition: transform 1s, box-shadow 1s;
}

.project:hover {
	transform: scale(1.1);
	box-shadow: inset 2px 2px 5px #5bc4c4,
				7px 5px 3px darkslategrey;
}

.skill {
	border: 1px solid #5bc4c4;
	border-radius: 20px;
	padding: 10px;
	text-align: center;
	background-color: #565b62;
	transition: transform 1s, box-shadow 1s;
	user-select: none;
}

.skill:hover {
	transform: scale(1.1);
	box-shadow: inset 2px 2px 5px #5bc4c4,
	7px 5px 3px darkslategrey;
}

#note {
	position: absolute;
	bottom: 1px;
	left: 10px;
}

/* For mobile users */
@media all and (orientation: portrait) {
	body {
		overflow-x: hidden;
	}

	#note {
		display: none;
	}

	#hamburger-open, #hamburger-close {
		position: absolute;
		top: 2%;
		left: 2%;
		font-size: 4vh;
	}

	#hamburger-open {
		display: block;
	}

	#hamburger-close {
		display: none;
	}

	#nav ul {
		padding-left: 0;
	}

	#nav li {
		display: block;
		width: 100%;
		height: 50px;
		margin: 0;
		padding-left: 0;
		padding-right: 0;
		border: 1px solid #5f646e;
	}

	#nav {
		display: none;
		height: auto;
		transform: translate(0, 5vh);
	}

	#card {
		top: 10vh;
		width: 100vw;
	}

	#content {
		top: 10vh;
		padding-left: 0;
		padding-right: 0;
	}

	#content > div {
		border-left: 0;
		border-right: 0;
		border-radius: 0;
		box-shadow: 0 -5px 10px #2e3036,
					0 5px 10px #2e3036;
		margin-top: 5%;
	}

	#content > div > h1:first-child {
		color: #ff9d68;
	}

	hr {
		width: 100vw;
	}

	#content hr {
		transform: translate(-20px, 0);
	}

	.project {
		width: 100%;
		margin: 10px 0 10px 0;
	}

	.skill {
		width: 25%;
		margin: 10px 0 10px 0;
	}

	#content > div {
		padding: 20px;
	}

	#content h1 {
		font-size: 24px;
	}

	#content .experience h2, #content .education h2 {
		font-size: 20px;
	}

	#content .experience .date, #content .education .date {
		font-size: 16px;
	}

	#content .experience .no-check, #content .education .no-check {
		font-size: 16px;
	}
}