@charset "UTF-8";

/* Lecture style */
.lecture{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	margin: 0rem 0rem;
	padding: 10px;
	box-sizing: border-box;
}

.lecture__item{
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 47%;
	height: auto;
	text-align: center;
	border-radius: 1.5rem;
	box-shadow: 1px 2px 3px 1px #eee;
	border: 1px solid #ddd;
	padding: 1rem;
	box-sizing: border-box;
	font-family: 'Nanum';
}

.lecture__item a:hover{
	text-decoration: underline;
}

.lecture__top{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.lecture__status{
	width: 100px;
	height: 50px;
	padding-top: 15px;
	background-color: #009688;
	border-radius: 3rem;
	font-family: 'Nanum';
}

.lecture__status span{
	font-weight: bold;
	color: white;
	letter-spacing: 3px;
}

.lecture__target{
	width: 110px;
	height: 30px;
	padding-top: 15px;
	font-weight: bold;
	font-size: 0.8rem;
}

.lecture__subject{
	padding: 13px 0px;
	/* overflow: hidden; */
	text-overflow: ellipsis;
	font-size: 1rem;
}

.lecture__subject a{
	padding: 20px;
}

.lecture__subject span, dt, dd {
	font-weight: bold;
	letter-spacing: 1px;
}

.lecture__info{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 15px 10px 0px 10px;
	border-top: 2px dashed lightgray;
}

.lecture__info dl{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.lecture__info dt{
	text-align: left;
}

.lecture__info dd{
	text-align: right;
}

.lecture__info dt, dd{
	font-size: 0.8rem;
}

.chart{
	width: 70%;
	height: 20px;
	border-radius: 0.3rem;
	background-color: lightgray;
}

.deadline{
	background-color: #ebebeb;
	opacity: 0.5;
}

.bar{
	width: 0px;
	height: 20px;
	border-radius: 0.3rem;
	background-color: lightcoral;
	animation: growBar 1.5s ease-out forwards;
}

.noData{
	width: 100%;
	display: flex;
	justify-content: center;
	height: 100px;
	background-color: #ebebeb;
}

@keyframes growBar {
	0% {
		width: 0%;
	}
}

@media screen and (max-width: 700px){
	.lecture__item{
		width: 100%;
	}
}