body{
	background: var(--bg-color);
    color: var(--text-color);
}

.container{
	width: 100%;
	/* height: 100; */
	/* position: relative; */
	display: flex;
}

.main{
    width: 100%;
	margin-top: 0 auto;
	padding-top: 50px;
	padding-bottom: 50px;
	/* height: 100%; */
	/* position: fixed;
	bottom: 0;
	right: 0; */
}

.inner{
	width: 1200px;
	height: 100%;
	margin-top: 50px;
    margin: 0 auto;
	/* display: flex; */
	align-items: center;
}

@media screen and (max-width: 1280px) {
	.inner{
		width: 1000px;
	}
}



.title{
	margin-bottom: 20px;
}

.title p{
	color: #959595;
}

.title h2{
	color: #505050;
	font-size: 24px;
	font-weight: 700;
}

.main .box-wrapper .top, .main .box-wrapper{
	width: 100%;
}

.top {
	display: flex;
	width: 100%;
	margin-bottom: 24px;
	gap: 24px;
}



.main .box-wrapper .top{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	justify-content: space-between;
	position: relative;
}

@media screen and (max-width: 1024px) {
	.main .box-wrapper .top{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		position: relative;
	}
	
}


.main .box-wrapper .bottom{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 24px;
}

@media (max-width: 1024px){
	.main .box-wrapper .bottom{
		display: flex;
		flex-direction: column;
	}
}

.main .inner .top .left-box{
	grid-column: span 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;

}




.main .inner .bottom .left-box{
	/* display: flex;
	flex-wrap: wrap;
	flex-direction: row; */
	width: 99.8%;
	
}

@media (max-width: 768px) {
	.main .inner .bottom .right-box .box:nth-child(3){
		margin-bottom: 30px;
	}
	
}



.main .inner .bottom .right-box{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 1024px){
	.main .inner .bottom .right-box{
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 768px){
	.main .inner .bottom .right-box{
		width: 100%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 24px;
	}
}



.main .inner .box{
	/* width: 48%; */
	/* width: 250px; */
	height: 200px;
	background-color: var(--box-bg);
	border-radius: 20px;
	box-shadow: 0 0 20px var(--box-shadow);
	/* margin: 10px 0; */
}

.main .inner .bottom .left-box .box{
	width: 100%;
	height: 400px;
}

@media (max-width: 768px){
	.main .inner .bottom .left-box .box{
		width: 100%;
		height: 273px;
	}
}

.main .inner .box.red {
	background-color: red;
}

.main .inner .box.red h5 {
	color : #FFF;
}

.main .inner .box.red p {
	color : #FFF;
}

.p10{
	/* width: 33vw; */
	height: 400px;
	padding: 35px 10px;
}

.main .inner .box h5{
	border-bottom: 2px solid var(--border-color);
	color: var(--text-color);
	text-align: center;
	padding: 5px 0;
}

.main .inner .box p{
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: var(--text-color);
	display: flex;
	align-items: center;
	height: calc(100% - 38px);
	padding: 10px;
}

.main .inner .box p span{
	margin: 0 auto;
	text-align: center;
}

.main .inner .chart-wrapper{
	width: 100%;
	height: 424px;
	display: flex;
	align-items: center;     /* 세로 중앙 */
	justify-content: center; /* 가로 중앙 */
  margin: 0 auto;
  padding: 20px;
  position: relative;
  background-color: var(--box-bg);
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media screen and (max-width: 1024px) {
	.main .inner .top .left-box{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	
	}
}

@media (max-width: 767px) {
	.main .inner .top .left-box{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 24px;
	
	}
  }


/* .main .inner .chart-box{
	position: relative;
	margin: 0 auto;
	width: 320px;
	height: 320px;
	background-color: var(--center-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	box-shadow: 0 0 3px 7px #d9d9d9;
} */

.chart-box {
	width: 320px;
	height: 320px;
	margin: 0 auto;
	background-color: var(--center-bg);
	border-radius: 50%;
	box-shadow: 0 0 3px 7px #d9d9d9;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.chart {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  }
  
/* .main .inner .chart-box .chart p{
	position: absolute;
	top: 42%;
	text-align: center;
	width: 100%;
	color: var(--center-text);
} */

.chart p {
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--center-text);
	font-size: 14px;
  }
  

/* .main .inner .chart-box .chart .input-div.on{
	position: absolute;
	top: 95px;
	margin: 0 auto;
	left: 0;
	right: 0;
	text-align: center;
} */

.input-div,
.input-div.on {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.input-div {
	top: 60%;
  }
  
  .input-div.on {
	bottom: 25px;
	margin-top: 10px;
  }
  
  .input-div input {
	width: 60px;
	text-align: center;
  }


/* .main .inner .chart-box .center-wrapper .center-content{
	text-align: center;
	
} */

.center-content {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
  }
  
  .chart {
	width: 100%;
	height: 100%;
	position: relative;
  }
  


.main .inner .bottom_wrap{
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
.main .inner .bottom_wrap > .box{
    width: 60%;
    height: 270px;
}
.main .inner .bottom_wrap > .box .chart{
    padding: 10px 20px;
}
.main .inner .bottom_inner{
    width: 38%;
    display: flex;
    justify-content: space-between;
    margin-left: 2%;
}



.box.pink p{
    color: #f15660 !important;
}






.box .line_chart{
    width: 100%;
	height: 400px;
    padding: 0 20px;
    position: absolute;
    bottom: 0;
    right: 0%;
}

/* GRAPH - 1 */
.box #graph-1 {
  stroke: var(--accent-color);
  stroke-width: 1;
  fill: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  -moz-animation: lineani 1.3s linear forwards;
  -webkit-animation: lineani 1.3s linear forwards;
  animation: lineani 1.3s linear forwards;
  opacity: .7;
}

.box #poly-1 {
  fill: none;
}

.box #graph-2 {
    stroke: #954ce9;
    stroke-width: 1;
    fill: transparent;
    stroke-linecap: round;
    stroke-linejoin: round;
    -moz-animation: lineani 1.3s linear forwards;
    -webkit-animation: lineani 1.3s linear forwards;
    animation: lineani 1.3s linear forwards;
  }

  #poly-2 {
    fill:  none;
  }

@-moz-keyframes lineani {
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes lineani {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes lineani {
  to {
    stroke-dashoffset: 0;
  }
}

.box .charts-container {
  width: 100%;
  max-width: 1024px;
  display: inline-block;
}

.box .charts {
  position: relative;
  float: right;
  position: relative;
  width: 100%;
  height: auto;
}

.input-div {
    width: 200px;
    position: absolute;
    top: 95px;
    left: 63px;
    text-align: center;
    display: none;
}

.input-div.on {
    display: block;
}

.input-div span {
    color: #FFF;
}

.input-div input {
    background-color: #FFF;
    padding: 10px 5px;
    border-radius: 5px;
    width: 70px;
}

.input-div button {
    background-color: #FFF;
    padding: 7px 5px;
    border-radius: 5px;
    margin: 0 5px;
}

#cancle_btn {
    margin: 0;
}

/* @media (max-width: 1440px){
	.inner{
		width: 1200px;
	}

	

	.main .inner .box{
		height: 200px;
	}
} */

@media (max-width: 1024px){
	.inner{
		width: 600px;
		margin: 0 auto;
	}

	.main .inner .box p{
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.inner{
		max-width: 400px;
		margin: 0 auto;
		padding: 0 16px;
	}
  }

