/*

Tooplate 2117 Infinite Loop

https://www.tooplate.com/view/2117-infinite-loop

*/

@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

body {
  font-family: "Raleway", sans-serif;
  font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100vw;
  /* 높이를 화면의 전체 너비로 설정 */
  height: 90vh;
  /* 높이를 화면의 전체 높이로 설정 */
}

a {
  transition: all 0.3s ease;
  color: #38B;
}


a:hover,
a:focus {
  text-decoration: none;
  color: #D40;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-activity-img-container {
  width: 100%;
  height: auto;
  /* 원하는 고정 높이로 설정 */
  overflow: hidden;
  /* 이미지가 컨테이너를 벗어나지 않도록 */
}

.tm-activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 이미지를 컨테이너에 맞추기 */
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #37A;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #369;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #38B;
}

/* Navbar */
.tm-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(33, 150, 243, 0.9);
  /* 파란색 배경색 + 투명도 조절 */
  height: 80px;
  /* 높이 조정 */
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* 그림자 효과 추가 */
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.tm-nav-link {
  color: white;
  /* 약간 회색이 섞인 밝은 색 */
  transition: color 0.3s ease;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}


@media (max-width: 768px) {
  .navbar-toggler {
    border: none;
    /* 기존 테두리 제거 */
    padding: 8px 10px;
    /* 패딩 조정 */
    background-color: transparent;
    /* 배경색 투명하게 */
  }

  .navbar-toggler-icon {
    color: white;
    /* 아이콘 색상 */
    font-size: 1.5rem;
    /* 아이콘 크기 */
  }

  .navbar-collapse {
    background-color: black;
    /* 드롭다운 메뉴의 배경색 */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* 상단 테두리 추가 */
    padding: 10px;
    /* 내부 여백 설정 */
  }

  .navbar-nav .nav-link {
    color: white;
    /* 드롭다운 메뉴의 링크 색상 */
    padding: 10px 15px;
    /* 링크의 패딩 설정 */
  }
}



/* iframe */
#iframeContainer {
  position: absolute;
  top: 60px;
  /* 네비게이션 바 높이만큼 여백 설정 */
  width: 100%;
  bottom: 0;
  /* 아래쪽으로 꽉 차도록 설정 */
  overflow: auto;
  /* iframe이 넘칠 경우 스크롤바 표시 */
  z-index: 900;
  /* 네비게이션 바보다 작은 값으로 설정하여 겹치지 않게 함 */
}

.iframe-container {
  width: 100%;
  height: 100%;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Hero */


/* iframe 내용 스크롤바 숨기기 */
iframe::-webkit-scrollbar {
  display: none;
}

/* IE, Edge에서 iframe 내용 스크롤바 숨기기 */
iframe {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#infinite {
  background-color: #222;
  background-image: url(../img/infinite-loop-02.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /* 이미지를 화면에 맞게 조정 */
  background-position: center top;
  /* 이미지를 가운데 정렬하고, 아래쪽으로 위치시킵니다 */
  height: 125vh;
  min-height: 375px;
  position: relative;
}

/* Infinite2 section */
#infinite2 {
  background-color: #222;
  background-image: url(../img/infinite-loop-02.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /* 이미지를 화면에 맞게 조정 */
  background-position: center top;
  /* 이미지를 가운데 정렬하고, 아래쪽으로 위치시킵니다 */
  height: 70px;
  /* 네비게이션 바의 높이에 맞추어 설정 */
  min-height: 70px;
  /* 최소 높이 설정 */
  position: relative;
}

@media (min-height: 600px) and (min-width: 1920px) {
  #infinite {
    background-size: cover;
  }
}

@media (min-height: 830px) {
  #infinite {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #infinite {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #infinite {
    background-position: center -400px;
  }
}

@media (max-height: 499px) {
  #infinite {
    background-position: center -450px;
  }
}

/* CSS 스타일 */
.tm-section-title {
  font-size: 2.5rem;
  /* 타이틀 폰트 크기 */
  font-weight: bold;
  /* 타이틀 폰트 굵기 */
  color: #333;
  /* 타이틀 색상 */
}


.text-center {
  text-align: center;
  /* 텍스트 가운데 정렬 */
}

.mb-4 {
  margin-bottom: 2rem;
  /* 타이틀과 단락 사이의 간격 */
}

.mb-5 {
  margin-bottom: 3rem;
  /* 단락과 다음 요소 사이의 간격 */
}


/* 기본 스타일 */
.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #333;
}

/* 모바일 장치용 스타일 */
@media (max-width: 768px) {
  .tm-hero-text-container-inner {
    margin-top: -20px;
    /* 마진 크기 더 줄이기 */
  }

  .tm-hero-title {
    font-size: 2rem;
    /* 폰트 크기 더 줄이기 */
    text-shadow: 1px 1px 1px #333;
    /* 그림자 크기 줄이기 */
  }

  .tm-hero-subtitle {
    font-size: 1.2rem;
    /* 서브타이틀 폰트 크기 더 줄이기 */
    text-shadow: 1px 1px 1px #333;
    /* 그림자 크기 줄이기 */
  }
}


.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-hero-title {
    font-size: 1.5rem;
    /* 폰트 크기 더 줄이기 */
    text-shadow: 1px 1px 1px #333;
    /* 그림자 크기 줄이기 */
  }

  .tm-hero-subtitle {
    font-size: 0.8rem;
    /* 서브타이틀 폰트 크기 더 줄이기 */
    text-shadow: 1px 1px 1px #333;
    /* 그림자 크기 줄이기 */
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  color: #FFF;
  cursor: pointer;
  background: #357;
  padding: 15px 40px;
  transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: #37A;
  padding: 20px 50px;
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.tm-intro-text {
  font-size: 1.2rem;
}

.tm-icon {
  display: block;
  color: #37A;
}

.tm-continue {
  padding: 20px 0 30px 0;
}

/* Work */

.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
  height: 600px;
  /* 예시로 설정한 높이 */
  display: flex;
  flex-wrap: wrap;
  /* 이미지들이 줄 바꿈할 수 있도록 설정 */
  justify-content: space-around;
  /* 이미지들을 가로 방향으로 중앙 정렬 */
  align-items: center;
  /* 이미지들을 세로 방향으로 중앙 정렬 */
}

.tm-gallery-item {
  width: 100%;
  /* 예시로 설정한 이미지 너비 */
  margin: 15px 0;
  /* 이미지 사이 여백 */
}

.tm-gallery-item img {
  width: 100%;
  /* 이미지 너비 100%로 설정 */
  height: 100%;
  /* 이미지 높이 100%로 설정 */
  object-fit: cover;
  /* 이미지를 컨테이너에 맞게 비율을 유지하며 자르기 */
}



.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #3ba0dd;
}

.tm-testimonials-carousel .slick-dots li button:before {
  color: white;
  opacity: 0.5;
}

.tm-testimonials-carousel .slick-dots li button:hover:before,
.tm-testimonials-carousel .slick-dots li button:focus:before,
.tm-testimonials-carousel .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption>a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption>a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #4a3753;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}


figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #38C;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
  padding-top: 30px;
}

/* Contact */

#contact {
  color: white;
  background-color: #001828;
  background-image: url(../img/contact.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* Add this line to make the background image cover the entire section */
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}


.contact-item {
  margin-left: 20px;
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: #3496d8;
}

.tm-input {
  margin: 0 0 20px 0;
  width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.tm-btn-submit {
  font-size: 0.9em;
  color: #fff;
  background-color: #369;
  width: 50%;
  margin-bottom: 60px;
}

.tm-btn-submit:hover {
  color: #fff;
  background-color: #38B;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.tm-footer {
  position: relative;
  /* relative로 변경 */
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer a {
  color: #fff;
}

.tm-footer a:hover {
  color: #9CF;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #38B;
  text-decoration: none;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 0px;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {

  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 3px;
  }

  .navbar-collapse .nav-link {
    color: #707070;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}



.container {
  width: 80%;
  margin: 0 auto;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  border-radius: 5px;
}

.tab button {
  background-color: #ddd;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.3s;
  border-radius: 5px 5px 0 0;
  margin-right: 2px;
}

.tab button:hover {
  background-color: #bbb;
}

.tab button.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.support-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.support-table th,
.support-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.support-table th {
  background-color: #f2f2f2;
}

.manual-link {
  display: inline-block;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #126d0f;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.program-link {
  display: inline-block;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #6581b9;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.link-link {
  display: inline-block;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #fd7e23;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.mail-link {
  display: inline-block;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #34cefd;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.mail-link:hover {
  background-color: #dbe1e6;
}

.program-link:hover {
  background-color: #97c4ee;
}

.manual-link:hover {
  background-color: #81f387;
}

.link-link:hover {
  background-color: #f1ae56;
}

/* 맨 위로 가기 버튼 스타일 */
.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  z-index: 99;
  transition: background-color 0.3s, opacity 0.3s;
}

.scroll-to-top:hover {
  background-color: #45a049;
}

.visible {
  display: block;
  /* 필요에 따라 block, inline, inline-block 등으로 변경 */
}

.hidden {
  display: none;
}




#iframeContainer {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  /* iframe 컨테이너에서 스크롤바를 숨김 */
}


#iframeContainer iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  /* iframe 내에서 스크롤바를 숨김 */
}

/* 화면 크기에 따라 iframe 크기 조정 */
@media (max-width: 768px) {
  #sectionFrame {
    transform: scale(0.8);
    /* 작은 화면일 때 축소 */
  }
}

#sectionFrame {
  width: 100%;
  height: 100%;
  border: none;
  transform-origin: top left;
  /* 변환의 기준점을 좌상단으로 설정 */
  transform: scale(1);
  /* 초기 크기 1: 원래 크기 */
  transition: transform 0.3s ease;
  /* 변환 애니메이션 설정 */

  /* 브라우저에 따라 스크롤바 숨김 */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;

  /* IE, Edge */
  ::-webkit-scrollbar {
    display: none;
    /* Webkit */
  }
}


/* Webkit 브라우저 (Chrome, Safari 등)에서 iframe 스크롤바 숨김 */
#iframeContainer iframe::-webkit-scrollbar {
  display: none;
}

/* Firefox 브라우저에서 iframe 스크롤바 숨김 */
#iframeContainer iframe {
  scrollbar-width: none;
}

/* IE, Edge 브라우저에서 iframe 스크롤바 숨김 */
#iframeContainer iframe {
  -ms-overflow-style: none;
}