@charset "utf-8";



body, input, textarea, select, button, table {
  font-family: "Pretendard Variable", Pretendard, 'Poppins', 'Noto Sans KR', 'Open Sans', '나눔바른고딕', NanumBarunGothic, ng, '맑은 고딕', 'Malgun Gothic', '애플 SD 산돌고딕 Neo', 'Apple SD Gothic Neo', AppleGothic, sans-serif;
 	font-size: 1rem;
}


.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}



/*------------- sub -------------*/
.sub-header {
	position: relative;
	display: flex;
	align-items: center;	
	height: 400px;
	background-color: #eee;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../img/subtop.jpg);
}
.sub-header:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .3);
}	
.sub-header h1 {
	position: relative;
}




/*------------- main -------------*/


.section-carousel {
	position: relative;
}
.section-carousel:before {
	content: '';
	position: absolute;
	top: 50%;
	bottom: 0;
	width: 100%;
	background-color: #10182A;
}
.section-swiper .swiper-slide {
	display: block;
	text-align: left;
}	




#owl-zine .item {
	background-color: #fff;
}
#owl-zine.owl-carousel .caption {
	padding: 2rem 2rem;
}
#owl-zine.owl-carousel h5 {
	margin-bottom: 1.5rem;
	font-weight: bold;
}
#owl-zine.owl-carousel p {
	font-size: 15px;
	color: #888;
}	
#owl-zine.owl-carousel .owl-nav button.owl-next, 
#owl-zine.owl-carousel .owl-nav button.owl-prev {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	background-color: #fff;
	border-radius: 50%;
}
#owl-zine.owl-carousel .owl-nav button.owl-next {
	left: auto;
	right: -4rem;
}
#owl-zine.owl-carousel .owl-nav button.owl-prev {
	right: auto;
	left: -4rem;
}




.section-block .item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2rem;
	min-height: 250px;
	background-color: #E9E9E9;
	transition: all .3s ease;
}
.section-block .item h5 {
	line-height: 1.6;
}
.section-block .item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
}	
.section-block .item i {
	transition: all .3s ease;
}
.section-block .item:hover i {
	transform: rotate(90deg);
}
.section-block .item.active h5,
.section-block .item.active a,
.section-block .item:hover h5,
.section-block .item:hover a {
	color: #fff;
}
.section-block .item.active:hover {
	background-color: #E9E9E9;
}	
.section-block .item.active:hover h5,
.section-block .item.active:hover a {
	color: #1f4669;
}

.bg-img-cover.dark:after {
	background-color: rgba(0, 0, 0, .5);
}	


.infinite-carousel {
	position: relative;
	margin-inline: auto;
	height: 60px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
	mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
	mask-image: linear-gradient(
	to right,
	rgba(0, 0, 0, 0),
	rgba(0, 0, 0, 1) 20%,
	rgba(0, 0, 0, 1) 80%,
	rgba(0, 0, 0, 0)
	);	
}
.infinite-carousel .item {
	position: absolute;
	left: max(calc(200px * var(--logo-img-num)), 100%);
	animation-name: infiniteCarousel;
	animation-duration: 30s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-direction: reverse;
	animation-delay: -15s;
}
/* duration * delay * -1 */
/* 30s / 8 * (8 - x) * -1 */
.infinite-carousel .item1 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 1) * -1);}
.infinite-carousel .item2 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 2) * -1);}
.infinite-carousel .item3 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 3) * -1);}
.infinite-carousel .item4 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 4) * -1);}
.infinite-carousel .item5 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 5) * -1);}
.infinite-carousel .item6 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 6) * -1);}
.infinite-carousel .item7 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 7) * -1);}
.infinite-carousel .item8 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 8) * -1);}
.infinite-carousel .item9 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 9) * -1);}
.infinite-carousel .item10 {animation-delay: calc(30s / var(--logo-img-num) * (var(--logo-img-num) - 10) * -1);}

@keyframes infiniteCarousel {
	0% {
		left: -200px;
	}
}




/*------------- footer -------------*/
footer {
	background-color: #EBEBEB;
}
footer .nav a {
	font-size: .9rem;
	color: #111;
}
footer .nav li:first-child a {
	padding-left: 0;
}
footer .footer-content {
	font-size: .9rem;
    color: #999;
    line-height: 1.6;
}

footer .copyright {
	font-size: .8rem;
	color: rgba(0, 0, 0, .4);
}


#scollTop {
    display: none;
    position: fixed;
    right: 2rem;
    bottom: 4rem;
	width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
    z-index: 99;
}
#scollTop .scroll-icon {
    width: 20px;
    height: 20px;
    text-align: center;
    color: #fff;
}


/*------------- media query -------------*/




@media(max-width: 767px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
	footer .footer-content {
		font-size: .8rem;
	}
}