/* Mobile Device */
/* 768px 미만 해상도의 모바일 기기를 위한 코드를 작성한다. 모든 해상도에서 이 코드가 실행됨. 미디어 쿼리를 지원하지 않는 모바일 기기를 위해 미디어 쿼리 구문을 사용하지 않는다.*/
@media all and (max-width:500px) {
	.years {
		margin: 0px 12px 0px 12px;
	}
	.months-last {
		margin: 0px 12px 0px 42px;
		width: 95%;
		height: 20px;
		border-left: 1px solid #D93535;
		padding: 29px 0px 0px 0px;
	}
	.months {
		margin: 0px 12px 0px 42px;
		width: 90%;
		/*height: 345px;*/
		border-left: 1px solid #D93535;
		padding: 29px 0px 0px 0px;
		opacity: 0;
		font-size: 1.01rem;
	}
	.years-span {
		font-size: 18px;
		font-weight: bold;
		position: absolute;
		top: 1px;
		left: 20px;
	}
	.historyone {
		margin: 1px 12px 0px 12px;
		width: 100%;
	}
	.histroyimg {
		margin: 12px 12px 0px 0px;
	}
	.histroyimg > img,
	.histroyimg > picture > img {
		margin: 0px 12px 0px 12px;
		width: 70%;
	}
	.year-div {
		/* border-radius: 50%; */
		/* background-color: #D93535; */
		/* 연도 배지를 이미지 대신 CSS 로 그립니다 (연도가 늘어나도 이미지 준비 불필요) */
		background-color: #cb171d;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100px;
		height: 35px;
		color: white;
		/* padding-top: 4px; */
		margin-left: 3px;
		position: relative;
	}
	.year-div .year-num {
		font-family: 'Noto Sans KR', sans-serif;
		font-size: 19px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0.5px;
		color: #ffffff;
		-webkit-user-select: none;
		user-select: none;
	}
	.month-div {
		background-color: #D93535;
		width: 6px;
		height: 5px;
		border-radius: 50%;
		/* margin: auto; */
		margin-top: 11px;
		margin-left: -2.6px;
		/* align-items: center; */
	}
}

/* All Device */
/* 모든 해상도를 위한 공통 코드를 작성한다. 모든 해상도에서 이 코드가 실행됨.*/

/* Tablet Device */
@media all and (min-width:500px) and (max-width:1023px) {
	/*  사용자 해상도가 768px 이상이고 1024px 이하일 때 이 코드가 실행됨. 아이패드 또는 비교적 작은 해상도의 랩탑이나 데스크톱에 대응하는 코드를 작성한다.*/
	.years {
		margin: 0px 20px 0px 20px;
	}
	.months-last {
		margin: 0px 20px 0px 42px;
		width: 95%;
		height: 20px;
		border-left: 1px solid #D93535;
		padding: 29px 0px 0px 0px;
	}
	.months {
		margin: 0px 20px 0px 42px;
		width: 95%;
		/*height: 345px;*/
		border-left: 1px solid #D93535;
		padding: 29px 0px 0px 0px;
		opacity: 0;
		font-size: 1.1rem;
	}
	.years-span {
		font-size: 18px;
		font-weight: bold;
		position: absolute;
		top: 0px;
		left: 21px;
	}
	.historyone {
		margin: 0px 0px 0px 10px;
		width: 100%;
	}
	.histroyimg {
		margin: 20px 20px 0px 20px;
	}
	.histroyimg > img,
	.histroyimg > picture > img {
		margin: 0px 20px 0px 20px;
		width: 60%;
	}
	.year-div {
		/* border-radius: 50%; */
		/* background-color: #D93535; */
		/* 연도 배지를 이미지 대신 CSS 로 그립니다 (연도가 늘어나도 이미지 준비 불필요) */
		background-color: #cb171d;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100px;
		height: 35px;
		color: white;
		/* padding-top: 4px; */
		margin-left: 0px;
		position: relative;
	}
	.year-div .year-num {
		font-family: 'Noto Sans KR', sans-serif;
		font-size: 19px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0.5px;
		color: #ffffff;
		-webkit-user-select: none;
		user-select: none;
	}
	.month-div {
		background-color: #D93535;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		/* margin: auto; */
		margin-top: 12px;
		margin-left: -2.8px;
		/* align-items: center; */
	}
}

/* Desktop Device */
@media all and (min-width:1024px) {
	/*  사용자 해상도가 1025px 이상일 때 이 코드가 실행됨. 1025px 이상의 랩탑 또는 데스크톱에 대응하는 코드를 작성한다.*/
	.years {
		margin: 0px 20px 0px 20px;
	}
	.months-last {
		margin: 0px 20px 0px 20px;
		width: 95%;
		height: 20px;
		border-left: 1px solid #000000;
		padding: 29px 0px 0px 0px;
	}
	.months {
		margin: 0px 20px 0px 20px;
		width: 95%;
		/*height: 345px;*/
		border-left: 1px solid #000000;
		padding: 29px 0px 0px 0px;
		opacity: 0;
		font-size: 1.1rem;
	}
	.histroytxt {
		font-size: 18px;
	}
	.months sapn {
		font-size: 18px;
	}
	.years-span {
		font-size: 1.3rem;
		font-weight: bold;
		margin-left: 8px;
		color: white;
		position: absolute;
		top: -2px;
		left: 8px;
	}
	.historyone {
		margin: 0px 0px 0px 25px;
		width: 100%;
	}
	.histroyimg {
		margin: 20px 20px 0px 20px;
	}
	.histroyimg > img,
	.histroyimg > picture > img {
		margin: 0px 20px 0px 20px;
		width: 60%;
	}
	.year-div {
		/* border-radius: 50%; */
		/* background-color: #D93535; */
		/* 연도 배지를 이미지 대신 CSS 로 그립니다 (연도가 늘어나도 이미지 준비 불필요) */
		background-color: #cb171d;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100px;
		height: 35px;
		color: white;
		/* padding-top: 4px; */
		padding-left: -20px;
		margin-left: -20px;
		position: relative;
	}
	.year-div .year-num {
		font-family: 'Noto Sans KR', sans-serif;
		font-size: 19px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0.5px;
		color: #ffffff;
		-webkit-user-select: none;
		user-select: none;
	}
	.month-div {
		background-color: #D93535;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		/* margin: auto; */
		margin-top: 12px;
		margin-left: -2.8px;
		/* align-items: center; */
	}
}

.fadeon {
	animation: fadein 2s linear 1 normal forwards;
	-moz-animation: fadein 2s linear 1 normal forwards; /* Firefox */
	-webkit-animation: fadein 2s linear 1 normal forwards;
	/* Safari and Chrome */
	-o-animation: fadein 2s linear 1 normal forwards; /* Opera */
}

@keyframes fadein {from { opacity:0;
	
}

to {
	opacity: 1;
}

}
@-moz-keyframes fadein { /* Firefox */ from { opacity:0;
	
}

to {
	opacity: 1;
}

}
@-webkit-keyframes fadein { /* Safari and Chrome */ from { opacity:0;
	
}

to {
	opacity: 1;
}

}
@-o-keyframes fadein { /* Opera */ from { opacity:0;
	
}

to {
	opacity: 1;
}
}