/* common */
@font-face {
  font-family: 'S-CoreDream-5Medium';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.otf') format('opentype'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-4Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.otf') format('opentype'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-5Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Paperlogy';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-7Bold.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-7Bold.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-7Bold.otf') format('opentype'),
        url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy-7Bold.ttf') format('truetype');
}

/*짧은 메인에서 footer가 하단까지 내려가도록*/
html, body{height: 100%;}
.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#container {
  flex: 1;
}
/* 같은 페이지 내 이동 시 #(id)인덱스 사용시 해당 내용이 상단메뉴에 가리지 않게 오프셋 적용*/
#about, #message, #history, #benefits, #service, #experience, #org, #talent, #contact, #venu {
  scroll-margin-top: 80px;
}



body {
  font-family: 'Paperlogy', sans-serif;
  color: white;
  font-size: 20px;
  line-height: 1.5;
}

form {
  font-family: 'Paperlogy', sans-serif;
}

.form-floating {
  margin-bottom: 10px;
}

.form-floating>label {
  color: #b2b2b2;
  font-size: 0.8em;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

#scrollTopBtn i {
  pointer-events: none;
}

.wrap {
  background: url('./../images/main/bg.jpg') no-repeat center center / cover;
}

/* //common */



/* 웹 */

/* header */
#header {
  padding: 20px 20px;
  /*background-color: #0a0a3e;*/
  background-color: #F7F6F4;
}

.header-inner {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-inner h1 {
  margin: 0;
  padding: 0;
}

.header-inner h1 img {
  height: 60px;
  max-height: 80px;
  width: auto;
  display: block;
}


/* 네비게이션 */
.main-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu>li {
  position: relative;
  margin: 0 15px;
}

.main-menu>li>a {
  color: #000;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}
#header.scrolled .main-menu>li>a{
  color: white;
}

/* 서브메뉴 */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  display: none;
  min-width: 180px;
  z-index: 10;
  border-radius: 12px;
  box-shadow: 1px 1px 6px #000;
}

.submenu li {
  margin: 0;
}

.submenu li a {
  display: block;
  padding: 10px 15px;
  color: #303030;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.8em;
}

.submenu li a:hover {
  background-color: #c3553a;
  color: white;
}

/* hover 시 보이게 */
.main-menu>li:hover .submenu {
  display: block;
}

/* 연락처 */
#header.scrolled .contact-info{
  color: white;
}
.contact-info {
  text-align: right;
  color: black;
  font-size: 0.9em;
  line-height: 1.4;
}

.contact-info div:nth-child(1) {
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  font-size: 2em;
  color: black;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 10px;
}


#header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  transition: background-color 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

/* //header */


/* main */
.main {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main div,
.main div img {
  width: 100%;
}

/* //main */

/* sidebar */
.sidebar {
  width: 100%;
  margin: 0 auto;
}

.sidebar .wrap2 {
  width: 100%;
  margin: 0 auto;
}

.sidebar .wrap2 img {
  width: 100%;
}

.sidebar .wrap3 {
  margin: 0 auto;
  width: 100%;
  padding-bottom: 50px;
}
.sidebar .wrap3:nth-child(2n){
  background-color: white;
}
.sidebar .wrap3 div:nth-child(2){

}
.sidebar .wrap3 > div{
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
}

.sidebar#contact form {
  max-width: 1920px;
  padding: 20px;
  margin: 0 auto;
  width: 100%;
}

.sidebar#contact .card-header {
  background-color: #005BAC;
  color: white;
  font-weight: bold;
}

.sidebar#contact .card textarea {
  width: 100%;
  padding: 10px;
  background-color: white;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.8em;
}

.sidebar#contact .card textarea::placeholder {
  color: #b2b2b2;
}

.title {
  color: #E09826;
  font-size: 3rem;
  padding: 100px 30px 30px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.title.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
}
.CeedContent img {
  transition: transform 0.3s ease;
  display: block;
  width: 100%;
}

.CeedContent img:hover {
  transform: scale(1.05);
}
.CeedContent img.no-zoom:hover {
  transform: none;
}

#Clients .CeedContent img {
  animation: zoomInOut 3s ease-in-out infinite;
  transform-origin: center;
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}


/* //sidebar */


/* footer */
#footer {
  background-color: #000;
  font-size: 0.9em;
  color: #9B9B9B;
  padding: 20px 50px;
  position: relative;
  bottom: 0;
  width: 100%;
}

#footer div.d-flex {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1920px;
  margin: 0 auto;
}

#footer div.d-flex div span {
  display: block;
  font-size: 1.3em;
  font-weight: bold;
}

#footer div.d-flex div img {
  width: 100%;
  max-width: 200px;
}

#footer p {
  margin: 0;
  font-size: 1em;
  color: gray;
  text-align: center;
}

.btnArea .btn {
  background-color: #c3553a;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 12px;
  color: #fff;
  padding: 14px;
  max-width: 500px;
  width: 100%;
  margin: 0px auto 100px;
  text-decoration: none;
  display: block;
}

.btnArea a.btn:hover {
  background-color: #b04a3c;
}

/* //footer */


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.btnArea .btn {
  font-size: 1.1em;
}

#person_1_ {
  animation: float 4s ease-in-out infinite;
  transform-origin: center;
}

.svg-bg {
  width: 100vw;
}

.svg-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 1100px;
}



@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

#logo {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 5px #5dc0ff);
  }

  50% {
    filter: drop-shadow(0 0 15px #5dc0ff);
  }
}

#title {
  opacity: 0;
  transform: translateY(20px);
  animation: titleFadeIn 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes titleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#footer div.d-flex div img {
  padding: 10px 0px;
  max-width: 150px;
}
/* //웹 */



/* 반응형 */
.nav-toggle {
  font-size: 2em;
  color: black;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  position: relative;
  padding: 10px;
}


@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .header-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .nav-toggle {
    font-size: 1.8em;
    color: black;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: block;
  }

  h1 {
    flex: 1;
    text-align: center;
  }

  h1 img {
    height: 40px;
    max-height: 60px;
  }

  .contact-info {
    font-size: 0.75em;
    text-align: right;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  #mainNav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease;
    z-index: 105;
    padding: 60px 20px;
  }

  #mainNav.active {
    left: 0;
  }

  .main-menu {
    flex-direction: column;
  }

  .main-menu>li {
    margin: 15px 0;
  }

  .main-menu>li>a {
    font-size: 1.2em;
    padding: 10px;
  }

  .submenu {
    position: static;
    background: transparent;
    display: block;
    padding: 0;
  }

  .submenu li a {
    color: #cfcfcf !important;
    padding-left: 30px;
  }

  .main-menu>li.open .submenu {
    display: block;
  }
  #header{
    padding: 20px;
  }
  #header.scrolled{
    padding: 20px;
  }
  #header nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 105;
  }

  #header nav.active {
    left: 0;
  }
  .header-inner h1 img{
    margin: 0 auto;
    max-height: 60px;
    height: 50px;
  }

  #header nav ul {
    flex-direction: column;
    padding-left: 20px;
  }

  #header nav li {
    margin: 0px 0;
  }

  #header nav a {
    font-size: 1em;
    padding: 4px;
    display: block;
    color: white;
    text-decoration: none;
  }
  .title{
    font-size: 1.4em;
    padding: 30px 10px 10px;
  }
  .sidebar .wrap3 div{
    padding: 4px;
  }
  #footer{
    padding: 20px;
  }
  #footer div.d-flex div img{
    max-width: 80px;
  }
  #footer div.d-flex div span{
    font-size: 1.15em;
  }
}

