:root {
	--color-gray-light-1: #f8f8f8;
	--color-gray-light-2: #e9e9e9;
	--color-gray-light-3: #dedede;
	--color-gray-dark-1: #545454;
	--color-gray-dark-2: #737373;
	--color-gray-dark-3: #9a9a9a;
	--color-blue-dark-1: #00387f;
	--color-tiffany: #00a6a6;
	--profile-theme: #4682bf;
	--timeline-circle-theme: #14253e;
	
	--pgbar-length: 100%;

	--MATH-PI: 3.1415px;
	--percent: 100;
}

html {
	font-size: 100%;
    font-family: 'PT Sans', sans-serif;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
	margin: 0;
	padding: 3rem 1rem;
	min-height: 100vh;
	background-color: var(--color-gray-light-3);
}

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

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}


p {
    margin: 1em;
    line-height: 1.4em;
}

/*
a:hover {
	background-image: linear-gradient(to top,#5591cec0 100%,#fff 0);
	background-image: linear-gradient(to top,rgb(158, 244, 158) 100%,#fff 0);
}*/

ul {
    padding-inline-start: 0;
}

ul ul{
	padding-inline-start: 3em;
}

li{
	margin: 0;
	padding: 0;
}

.specialization, .specialization_DT, .specialization_notfinished{
	list-style-type: none;
	margin: 0.5em;
}

.course_standalone, .course_specialization, .week{
	list-style-type: none;
	margin: 2% 2% 5% 2%;
}

.course_notfinished{
	list-style-type: disc;
	margin: 0.5em;
	color:red;
}

#courses{
	padding-right: 10%;
}

#counter{
	font-family: 'PT Sans', sans-serif;
	font-size: 0.8rem;
}

.timeline-block ul li img {
    width: 23px;
    float: left;
    margin-right: 1%;
}

.timeline-block ul li img:hover {
	transform: scale(1.2);
}

footer i:hover{
	transform: scale(1.2);
}

footer {
    background-color:#1d3557;
    width: 100%;
    /*padding: 1%;*/
    /*margin-top: 2%;*/
    
	background-color: rgb(158, 244, 158);
	border: 2px solid #4CAF50;
    /*background: linear-gradient(145deg, rgba(51,155,158,1) 0%, rgba(104,204,152,1) 100%);*/
    color:white;
    text-align: center;
	list-style-type: none;
	
}

footer li{
	list-style-type: none;
	margin-left:1em;
	text-align: center;
	
}

footer ul{
	
	display: inline-flex;
	text-align: center;
	
}

/* footer span{
	
	display: inline-flex;
	text-align: center;
	margin-bottom:1em;
} */

footer .logo {
    margin-bottom: 20px;
}

footer .logo h1 {
    font-size: 24px;
    color: var(--blue3);
    position: absolute;
    top: 10px;
    left: 42px;
    font-family: "Courier New", Courier, monospace;

}

footer .logo {
    position: relative;
    margin: auto;
    width: 100%;

}

footer .logo img {
    width: 40px;
	
}

footer .logo img:hover {
    transform: scale(1.2);
}

.footer_logo {
    cursor: pointer;
    width: 30px;
}

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



footer nav ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

footer nav ul a i{
    font-size: 1.7rem;
}

footer nav ul li:hover {
    transform: scale(1.3);
}

footer article {
    font-size: 1em;
    text-align: center;
    /* font-family: "Courier New", Courier, monospace; */
    font-family: 'Victor Mono', monospace;
}

.wrapper {
	margin: 0 auto;
	max-width: 70rem;
	background-color: var(--color-gray-light-2);
	display: flex;
	box-shadow: 0px 0px 15px 4px #b3b3b3;
}

.intro {
	flex: 0 0 350px;
	background-color: var(--color-gray-light-1);
	box-shadow: 5px 0px 15px 0px #b3b3b3;
	z-index: 5;
}
.profile {
	position: relative;
	background-color: var(--profile-theme);
	padding: 2rem 1rem;
	margin-bottom: 50px;
	text-align: center;
	user-select: none;
}
.profile::after {
	content: " ";
	position: absolute;
	left: 0;
	bottom: -15px;
	width: 100%;
	height: 30px;
	background-color: var(--profile-theme);
	transform: skewY(-5deg);
}
.photo img {
	width: 80%;
	border-radius: 50%;
}
.bio .name {
	font-size: 1.5rem;
	text-align: center;
	color: var(--color-gray-light-1);
	margin: 0;
	margin-top: 1rem;
}
.bio .profession {
	font-size: 1rem;
	text-align: center;
	color: var(--color-gray-light-1);
	margin: 0;
}

.intro-section {
	padding: 0 1rem;
	color: var(--color-gray-dark-1);
	
}
.intro-section .title {
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: underline;
	text-decoration-thickness: 20%; 
}
.about .paragraph {
	text-align: justify;
}
.info-section {
	margin: 1rem 0;
}
.info-section span {
	position: relative;
	transition: all 0.3s;
}
.info-section i {
	color: var(--profile-theme);
	width: 20px;
	height: 20px;
}

.link a {
	text-decoration: none;
	color: inherit;
}

.link span::after {
	position: absolute;
	content: '';
	left: 50%;
	bottom: -3px;
	width: 0;
	height: 2px;
	background-color: var(--profile-theme);
	transition: width 0.3s;
	/*transition-timing-function: cubic-bezier(.64,.51,.16,.86);*/
	transition-timing-function: cubic-bezier(.92,.57,.33,1.02);
	transform: translate(-50%, 0);
}

.link span:hover {
	color: var(--profile-theme);
}
.link span:hover::after {
	width: 100%;
}

/* Detail section overall setting*/
.detail {
	flex: 1 0 0;
	background-color: white;
	padding: 2rem;
}
.detail:hover > .detail-section:not(:hover) {
	opacity: 0.3;
}
.detail-section {
	transition: all 0.3s;
}
.detail-section:not(:last-of-type) {
	padding-bottom: 1rem;
}
.detail-title {
	/*position: fixed;*/
    z-index: 1;
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	padding: 2%;
	background-color: rgba(158, 244, 158, 0.9);
	/*background-color: #5591cec0;*/
	border: 2px solid #4CAF50;
	/*z-index: 1;*/
 	/*background-color: #cae8ca;*/
  	/*border: 2px solid #4CAF50;*/
	font-family: Comic Sans MS;
	justify-content:space-between;
	width: 100%;
}

.detail-section > .detail-content {
	padding: 1.5rem;
	padding-left: 2rem;
	user-select: none;
	font-size: 0.9rem;
}

.detail-section.edu > .detail-content {
	padding-left: calc(1.5rem + 10px);
	
}

.title-icon + span {
	font-size: 1.2rem;
	transition: all 0.3s;
}
.title-icon {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	margin-right: 1rem;
	width: 2rem;
	height: 2rem;
	background-color: var(--profile-theme);
	border-radius: 50%;
	transition: all 0.3s;
}
.title-icon i {
	color: white;
	line-height: 1rem;
	font-size: 1rem;
	text-align: center;
}
.detail-section:hover .title-icon {
	transform: scale(1.2);
	margin-right: 1.2rem;
}
.detail-section:hover .title-icon + span {
	letter-spacing: 1.5px;
}

/* time line block in education section */
.timeline-block {
	position: relative;
	padding-left: 30px;
}
.timeline-block:not(:last-of-type) {
	margin-bottom: 1rem;	
}
.timeline-block h1 {
	font-size: 1.2rem;
	margin: 2% 2% 5% 2%;
	transition: all 0.3s;
}
.timeline-block p {
	font-size: 1em;
	margin: 1em;
}

.timeline-block details p {
	font-size: 0.7em;
	margin: 1em;
}

.timeline-block details li {
	font-size: 0.7em;
	margin: 1em;
}

.timeline-block summary {
	font-size: 1em;
	margin: 0.5em;
}

.timeline-block time {
	font-size: 0.8rem;
	color: var(--color-gray-dark-2);
}
.timeline-block::before {
	position: absolute;
	content: '';
	width: 15px;
	height: 15px;
	background-color: white;
	border: 3px solid var(--timeline-circle-theme);
	border-radius: 50%;
	left: -10px;
	top: -5px;
}
.timeline-block::after {
	position: absolute;
	content: '';
	width: 3px;
	height: 100%;
	background-color: var(--timeline-circle-theme);
	left: -1px;
	top: 13px;
}
.timeline-block:hover h1 {
	color: var(--color-tiffany);
}
.timeline-block:hover::before {
	animation: circle 1.2s infinite;
}

/* Programming skills section */
.pg-list, .tool-list, .favor-list {
	padding: 0;
	list-style: none;
}
.pg-list > li {	
	margin: 1rem 0;
	display: flex;
	align-items: center;
}
.sb-skeleton {
	position: relative;
	flex: 1 0 auto;
	height: 2px;
	background-color: var(--color-gray-dark-3);
}
.pg-list > li > span {
	flex: 0 0 100px;
}
.sb-skeleton > .skillbar {
	position: absolute;
	left: 0;
	top: -1px;
	width: var(--pgbar-length);
	height: 4px;
	background-color: var(--profile-theme);
}
.tool-list {
	list-style: none;
	display: flex;
	justify-content: space-between;
}
.tool-list > li {
	position: relative;
	text-align: center;
	flex: 0 0 25%;
}
.tool-list > li > svg {
	position: relative;
	fill: transparent;
	width: 95%;
	transform: rotate(-90deg);
}
.tool-list > li > svg > circle {
	stroke-width: 1px;
	stroke: #cdcdcd;
}
.tool-list > li > svg > circle.cbar {
	stroke-width: 3px;
	stroke: var(--profile-theme);
	stroke-linecap: round;
	stroke-dashoffset: 0;
	stroke-dasharray: calc(var(--MATH-PI) * 45 * 2);
	transition: all 0.8s;
	transition-timing-function: cubic-bezier(.64,.51,.16,.86);
}
.tool-list > li:hover > svg > circle.cbar {
	stroke-width: 4px;
	stroke: var(--color-tiffany);
	stroke-dashoffset: calc(var(--MATH-PI) * 45 * 2 * (1 - var(--percent)));
}
.tool-list > li > .tl-name,
.tool-list > li > .tl-exp {
	position: absolute;
	left: 50%;
	color: var(--color-gray-dark-1);
}
.tool-list > li > .tl-name {
	top: 50%;
	font-size: 1.2rem;
	transform: translate(-50%, -50%);
}
.tool-list > li > .tl-exp {	
	top: calc(50% + 1.4rem);
	font-size: 1rem;
	transform: translate(-50%, -50%);
}
/* Interests Section */
.outer-frame {
	border: 1px solid var(--color-gray-dark-3);
	border-radius: 5px;
}
.favor-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
}
.favor-list > li {
	display: flex;
	flex: 1 0 0;
	align-items: center;
	justify-content: baseline;
	flex-direction: column;
	color: var(--profile-theme);
	padding: 1rem 0;
	transition: all 0.3s;
}
.favor-list > li > i {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 40px;
	width: 50px;
	height: 50px;
}
.favor-list > li:hover {
	transform: scale(1.2);
	color: var(--color-tiffany);
}
.favor-list > li > span {
	letter-spacing: 1px;
}

@keyframes circle {
  0% {
    box-shadow: 0 0 0 0px rgba(51, 52, 57, 1);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(51, 52, 57, 0);
  }
}

/************ Tablet Size Styles *************/
@media only screen and (min-width: 760px) {
	#courses{
		padding-right: 10%;
	}
	
	#counter{
		font-family: 'PT Sans', sans-serif;
		font-size: 1rem;
	}
	
	.detail-section > .detail-content {
		
		font-size: 1rem;
	}

	.timeline-block h1 {
		margin: 1% 1% 2% 1%;
	}

	.course_standalone, .course_specialization, .week {
		margin: 1% 1% 2% 1%;
	}

	.course_notfinished{
		margin: 1% 1% 2% 1%;
	}
}

/************ Desktop Size Styles *************/
@media only screen and (min-width: 1200px) {
	.title-icon {
		width: 3rem;
		height: 3rem;
	}

	.title-icon i {
		line-height: 1.5rem;
		font-size: 1.5rem;

	}

	#courses{
		padding-right: 35%;
		font-size: 1.4rem;
	}
	
	#counter{
		font-family: 'PT Sans', sans-serif;
		font-size: 1.1rem;
	}
	
	.detail-section > .detail-content {
		
		font-size: 1rem;
	}

	.timeline-block h1 {
		margin: 1% 1% 2% 1%;
	}

	.course_standalone, .course_specialization, .week {
		margin: 1% 1% 2% 1%;
	}

	.course_notfinished{
		margin: 1% 1% 2% 1%;
	}

	footer article {
		font-size: 1.1em;
	}

	.footer_logo {
		width: 40px;
	}

	footer nav ul a i {
		font-size: 2rem;
	}

	footer .logo img {
		width: 50px;
	}
	

}

@media only screen and (min-width: 1500px) {
	footer article {
		font-size: 1.2em;
	}

	footer .logo img {
		width: 70px;
	}
}

