/* Global */

:root {
	/* Color */
	--color-white: #fafafa;
	--color-light-white: #ffffff;
	--color-dark-white: #efefef;
	--color-pink: #fe918d;
	--color-dark-pink: #ff6863;
	--color-dark-grey: #495057;
	--color-grey: #616161;
	--color-light-grey: #7c7979;
	--color-comment-grey: #f1f3f5;
	--color-blue: #73aace;
	--color-yellow: #fff7d1;
	--color-orange: #feb546;
	--color-black: #000000;
	--color-green: #12b886;
	--color-dark-green: #005b4f;
	--color-deep-green: #0ca678;

	/* Font size */
	--font-large: 48px;
	--font-medium: 28px;
	--font-regular: 18px;
	--font-small: 16px;
	--font-micro: 14px;

	/* Font weight */
	--weight-bold: 700;
	--weight-semi-bold: 600;
	--weight-regular: 400;

	/* Size */
	--size-border-radius: 4px;

	/* Animation */
	--animation-duration: 150ms;
}

/* Size */

/* Universal tags */
* {
	box-sizing: border-box;
	font-family: 'Noto Sans KR', sans-serif;
}

body {
	margin: 0;
	cursor: default;
}

a {
	text-decoration: none;
	color: var(--color-black);
}

ul {
	list-style: none;
	padding-left: 0px;
}

li {
	list-style: none;
}

button {
	background-color: transparent;
	cursor: pointer;
	border: none;
	outline: none;
	padding: 0;
}

/* Typography */

h1 {
	font-size: var(--font-large);
	font-weight: var(--weight-bold);
	color: var(--color-black);
	margin: 16px 0px;
	text-align: center;
}

h2 {
	font-size: var(--font-medium);
	font-weight: var(--weight-semi-bold);
	color: var(--color-black);
	margin: 8px 0;
}

h3 {
	font-size: var(--font-regular);
	font-weight: var(--weight-regular);
	color: var(--color-black);
	margin: 8px 0;
}

p {
	font-size: var(--font-regular);
	font-weight: var(--weight-regular);
	color: var(--color-black);
	margin: 4px 0;
}

/* Header  */
#header {
	position: fixed;
	width: 100%;
	height: 3.5em;
	color: var(--color-black);
	background-color: var(--color-light-white);
	padding: 5px;
	z-index: 1;
	border-bottom: 1px solid var(--color-dark-white);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1000px;
	margin: auto;
}

.header__logo {
	font-size: var(--font-medium);
	font-weight: var(--weight-semi-bold);
}

.header__link {
	color: var(--color-dark-green);
}

/* Home */
#home {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	background-color: var(--color-white);
	padding: 40px;
	padding-top: 100px;
	text-align: center;
}

.home__title,
.home__description {
	color: var(--color-black);
}

.home__contact {
	color: var(--color-green);
	font-size: var(--font-regular);
	font-weight: var(--weight-bold);
	margin: 24px;
	padding: 8px 12px;
	border-radius: 4px;
	transition: all 100ms ease;
}

.home__contact:hover {
	transform: scale(1.1);
}

/* Section common */
.section {
	padding: 50px;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.section__container {
	max-width: 1000px;
	margin: auto;
}

/* About */

.about__description {
	width: 100%;
	display: flex;
	justify-content: center;
	line-height: 2em;
}

.about__avatar {
	width: 300px;
	height: 300px;
	padding-right: 1em;
}

.skills {
	width: 100%;
	max-width: 900px;
}
.skill {
	border-left: 2px solid var(--color-green);
}
.skill-list {
	padding-left: 1em;
	display: flex;
}

.skill-item {
	color: var(--color-light-grey);
	flex: 0 0 10rem;
}

.about__schools {
	width: 100%;
	margin-top: 3em;
}

.divider-vertical {
	background: var(--color-green);
	width: 2px;
	height: 8rem;
	margin-top: 2rem;
}

.divider-horizontal {
	background: var(--color-green);
	width: 5em;
	height: 2px;
	margin-top: 2rem;
}

.job {
	display: flex;
	align-items: center;
	margin: 10px 0;
}
.job__description {
	margin: 0 16px;
	text-align: left;
}

.job__name,
.job__period {
	color: var(--color-light-grey);
}

.job__name {
	font-size: var(--font-small);
}

.job__period {
	font-size: var(--font-micro);
}

/* work */

.work__container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 800px;
	max-width: 800px;
	margin-bottom: 4em;
	margin-top: 4em;
	/* border: 1px solid var(--color-light-grey); */
}

.project {
	display: flex;
	margin-top: 3em;
}

.project__img {
	width: 500px;
	height: 300px;
}

.project__description {
	font-weight: 300;
}

.description__list {
	color: var(--color-light-grey);
	padding-bottom: 5px;
}

.description__list:before {
	content: '•';
	color: var(--color-deep-green);
	display: inline-block;
	width: 1.3em;
	margin-left: 1em;
}

.description__list-stack {
	color: var(--color-light-grey);
	padding-bottom: 5px;
	margin-left: 1em;
}

.description__list-stack:before {
	content: '•';
	color: var(--color-deep-green);
	display: inline-block;
	width: 1.3em;
}

.description__link {
	font-size: var(--font-micro);
	margin-left: 1em;
	padding-top: 1em;
}

.project__header {
	margin-left: 3em;
	font-weight: bold;
}

.project__comment {
	width: 100%;
	margin-top: 3em;
	padding: 1em;
	background-color: var(--color-comment-grey);
	border-left: 2px solid var(--color-deep-green);
}

/* Contact */

#contact {
	background-color: var(--color-white);
}

.contact__title,
.contact__email,
.contact__right {
	color: var(--color-dark-grey);
}

.contact__title {
	margin: 32px 0;
}

.contact__links {
	display: flex;
	justify-content: space-between;
	width: 400px;
	font-size: var(--font-large);
	margin: 24px 0;
}

.contact__links i:hover {
	transform: scale(1.1);
	color: var(--color-green);
	transition: all var(--animation-duration) ease-in;
}

.link {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.link__header {
	font-size: 0.5em;
}

/* Scroll */
.arrow-up {
	position: fixed;
	bottom: 50px;
	right: 50px;
	width: 30px;
	height: 30px;
	font-size: 15px;
	color: var(--color-white);
	background-color: var(--color-green);
	border-radius: 1em;
	opacity: 0;
	pointer-events: none;
	transition: all 300ms ease-in;
}

.arrow-up.visible {
	opacity: 1;
	pointer-events: auto;
}
@media screen and (max-width: 768px) {
	:root {
		/* Font size */
		--font-large: 30px;
		--font-medium: 18px;
		--font-regular: 16px;
		--font-small: 14px;
		--font-micro: 12px;
	}

	#header {
		background-color: var(--color-light-white);
	}

	.header__container {
		padding: 0.4em;
	}

	.header__link {
		color: var(--color-dark-green);
	}

	.section {
		padding: 16px;
		padding-top: 40px;
	}

	.about__description {
		flex-direction: column;
		align-items: center;
	}

	.skills {
		margin-top: 3em;
	}

	.project {
		flex-direction: column;
		align-items: center;
	}

	.insta {
		width: 360px;
	}

	.project__comment {
		width: 350px;
	}

	.contact__links {
		width: 300px;
	}

	.arrow-up {
		width: 50px;
		height: 50px;
		font-size: 30px;
		line-height: 50px;
		right: 16px;
		bottom: 16px;
	}
}
