@CHARSET "UTF-8";
<style>
@import url(https://fonts.googleapis.com/css?family=Lato:400,700|Montserrat:400,700);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);

/*/ start count stats /*/

section#counter-stats {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  flex-wrap: wrap;
}

.stats-container {
  	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    /* max-width: 900px; */
    margin: 0 auto;
}

.stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    flex: 1 1 calc(15.333% - 13px);
    box-sizing: border-box;
    /* min-width: 200px;
    max-width: 358px; */
    background-color: #ebf5ff;
}

.stats-top {
    width: 45%;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.stats-bottom {
    width: 100%;
    padding: 12px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-direction: row;
}

.stats .fa {
  color: #008080;
  font-size: 17px;
  margin-bottom: 5px;
}

.label {
  font-size: 15px;
   color: black;
   text-align: center;
   padding: 10px 0px;
}

.counting {
  	display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: bold;
    /* font-family: 'Montserrat', sans-serif; */
    line-height: 1;
    color:#4c78f5;
}

.digit-wrapper {
  display: inline-block;
  position: relative;
  /* overflow: hidden; */
  width: 12px; /* 폰트 사이즈에 맞게 */
}

.digit-wrapper span {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  transition: transform 0.4s ease;
  will-change: transform;
}

.unit-text {
  display: inline-block;
  margin-left: 5px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  color:#4c78f5;
}
.stats-container .stats:first-child{border-right:1px #cccccc solid;}
.stats-container .stats:nth-child(2){border-right:1px #cccccc solid;}

@media (max-width: 768px) {
	.stats-container{
		flex-direction: column;
	}
  .stats {
    flex: 1 1 calc(50% - 20px); /* 2개씩 */
    max-width:100%;
  }
  .stats-container .stats:first-child{border-right:0px #cccccc solid;border-bottom:1px #cccccc solid;}
  .stats-container .stats:nth-child(2){border-right:0px #cccccc solid;border-bottom:1px #cccccc solid;}
}

@media (max-width: 480px) {
  .stats {
    flex: 1 1 100%; /* 한 줄씩 */
    max-width:100%;
  }
  .stats .fa {
    font-size: 20px;
  }
  .counting {
    font-size: 20px;
  }
  .digit-wrapper {
    width: 12px;
  }
}

</style>
