@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'SinchonRhapsody';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2503@1.0/SinchonRhapsody.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Ownglyph_ParkDaHyun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/Ownglyph_ParkDaHyun.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GowunDodum-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunDodum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Arita-dotum-Medium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Arita-dotum-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Godo';
    font-style: normal;
    font-weight: 400;
    src: url('//fastly.jsdelivr.net/korean-webfonts/1/corps/godo/Godo/GodoM.woff2') format('woff2'), url('//fastly.jsdelivr.net/korean-webfonts/1/corps/godo/Godo/GodoM.woff') format('woff');
  }
  
  @font-face {
    font-family: 'Godo';
    font-style: normal;
    font-weight: 700;
    src: url('//fastly.jsdelivr.net/korean-webfonts/1/corps/godo/Godo/GodoB.woff2') format('woff2'), url('//fastly.jsdelivr.net/korean-webfonts/1/corps/godo/Godo/GodoB.woff') format('woff');
  }
  
  .godo * {
   font-family: 'Godo', sans-serif;
  }


html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: mintcream;
   /* padding: 50px;*/
    font-family: 'Pretendard-Regular';
}
#container{
   /* margin: 0 auto;*/
   min-height: 100vh;
   display: flex;
   flex-direction: column;
    /*width: 1700px;*/
}
.contents{
    flex: 1;

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
header{
    width: 100%;
    height: 100px;
}
nav{
    float: right;
    width: 900px;
    height: 100px;
    padding-top: 40px;
}
#top_menu > li{
    float: left;
    position: relative;
    font-family: 'Pretendard-Regular';
}
#top_menu > li > a{
    display: block;
    padding: 20px 50px;
    color: darkslategray;
    font-size: 1.1em;
    font-weight: 600;
    transition: transform 0.15s;
}
#top_menu > li > a:hover{
    color: lightseagreen;
    text-shadow: 0 -1px darkslategray;
    transform: scale(1.1);
}
footer{
    width: 100%;
    background-color: rgb(224, 224, 224);
    /*position: relative;*/
    /*left: 0;*/
    /*bottom: 0;*/
    color: darkgray;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.5em;
    padding: 20px;
}
#bt_text li {
    font-family: 'Arita-dotum-Medium';
}
h2{
    font-size: 2em;
    text-align: center;
    color: #808D7C;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3em;
    margin-top: 20px;
    font-family: 'GowunDodum-Regular';
}
.guide-text{
    font-size: 0.8em;
    text-align: center;
    font-family: 'GowunDodum-Regular';
    color: #9a9e99;
    margin-top: 20px;
}
.main_text{
    width: 100%;
    height: 200px;
    margin: 10px auto;
    text-align: center;
    margin-top: 50px;
    font-family: 'SinchonRhapsody';
}
.main_text > p{
    font-size: 1.2em;
    color: lightgrey;
    letter-spacing: 0.4em;
    animation: ani_title 4s;
    font-family: 'Ownglyph_ParkDaHyun';
}
.main_text > h1{
    font-size: 4em;
    letter-spacing: 0.5em;
    color: darkslategray;
    margin-top: 20px;
    animation: ani_title 4s;
}
.main_img{
    width: 100%;
    height: 400px;
    text-align: center;
    margin-bottom: 50px;
}
.main_img > img{
    width: 30%;
    height: auto;
    
}
.ct_text{
    color: cadetblue;
    font-weight: bold;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    margin: 50px;
    font-family: 'GowunDodum-Regular';
}
.ct_box{
    width: 400px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 40px;
    color: #999;
    margin: 20px auto;
    text-align: center;
    box-shadow: rgba(4, 75, 28, 0.06) 0px 2px 4px 0px inset;
}
.ct_box > p{
    font-size: 1.2em;
    line-height: 2em;
    font-family: 'Arita-dotum-Medium';
}
.ct_img{
    width: 500px;
    padding: 50px;
    margin: 20px auto;
    text-align: center;
}
.ct_img > img{
    width: 100%;
    height: auto;
}
.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px;
    height: 720px;
    padding: auto;
}
.left{
    grid-row: span 4;
    margin: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.left > img{
    width: 300px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 20px;
}
.about_text{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    color: #333;
    width: 350px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    line-height: 20px;
    font-family: 'GowunDodum-Regular';
}
h4{
    display: block;
    padding: 5px;
    font-size: 1.1em;
    font-weight: bold;
}
.vision{
    color: cadetblue;
    font-size: 20px;
    line-height: 35px;
    font-weight: bold;
    margin: 30px;
    text-align: center;
    font-family: 'GowunDodum-Regular';
}
.right{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    color: #333;
}
.right > h3{
    font-size: 1.2em;
    padding-bottom: 15px;
    
}
.right > p{
    line-height: 2em;
    padding-left: 15px;
    font-family: 'Arita-dotum-Medium';
}
.skill {
    float: left; /* 그대로 둬도 되지만 position은 보통 함께 쓰지 않음 */
  }
  
  .skill > ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .skill > ul > li {
    flex: none;         /* flex 비율 분배 안 하게 */
    padding: 0;
    margin: 0;
  }
  
  .skill > ul > li > img {
    width: 60px;       /* 원하는 고정 크기 */
    height: auto;
    display: block;
  }
#work{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.work_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3개씩 정렬 */
    gap: 1px; /* 각 항목 사이 간격 */
    padding: 0;
    margin: 0 auto;
    max-width: 1000px; /* 중앙 정렬을 위한 너비 제한 */
    list-style: none;
    justify-items: center;
    justify-content: center;     /* 가로 중앙 정렬 */
    align-items: center;         /* 세로 정렬을 위해 추가 (선택사항) */
    text-align: center;
    max-width: 800px;       
    
}
.work_list > li{
    padding: 10;
    margin: 30px;
    overflow: hidden;
    flex-basis: calc(33.333% - 20px);
    position: relative;
    border-radius: 15px;
    width: 300px;
    height: 300px;
}
.work_list a{
    width: 800px;
    margin: 0px auto;
    text-align: center;
}
.work_list > img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 200px;
    left: 100px;
}
.work_list .caption{
    position: absolute;
    top: 200px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.6s ease-in-out;
    z-index: 10;
    margin: 0px auto;
    text-align: center;
    padding: 20px;
    
}
.work_list li:hover .caption{
    opacity: 1;
    transform: translateY(-200px);
}
.cp_title{
    color: azure;
    font-size: 1.3em;
    text-align: center;
    font-family: 'Arita-dotum-Medium';
    
}
.caption > p{
    color: azure;
    text-align: center;
    font-size: 1.0em;
    line-height: 2em;
    padding-top: 20px;
    font-family: 'Arita-dotum-Medium';
}




/*모달창을 띄워서 보여주는 work */
.work2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.image-box{
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin: 30px;
}
.image-box img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}
.image-box .hover-img{
    opacity: 0;
}
.image-box:hover .hover-img{
    opacity: 1;
}
.image-box:hover {
    transform: scale(1.05);
}
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.modal-content {
    background-color: aliceblue;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid rgb(174, 230, 197);
    width: 90%;
    max-width: 800px;
}
.modal-content img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.close {
    color: rgb(174, 230, 197);
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}
.close:hover, .close:focus{
    color: rgb(118, 161, 136);
    text-decoration: none;
    cursor: pointer;
}
iframe{
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 1200px;
    height: 800px;
}
.container {
    display: flex;
  flex-direction: column;
  justify-content: center;   /* 세로 가운데 */
  align-items: center;       /* 가로 가운데 */
  min-height: 100vh;
  background-color: #f9f9f9; /* 필요 시 배경색 */
}

  /* 제목 스타일 */
.gongmo_title {
    font-size: 36px;
    color: #000000;
    margin-top: -40px;  
    margin-bottom: 40px;
    text-align: center;
  }
  /* 영상 스타일 */
.promo_video {
    display: block;
  margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .container2 {
    display: flex;
  flex-direction: column;
  justify-content: center;   /* 세로 가운데 */
  align-items: center;       /* 가로 가운데 */
  min-height: 100vh;
  background-color: #f9f9f9; /* 필요 시 배경색 */
  }
  .dacu_title {
    font-size: 36px;
    color: #000000;
    margin-top: -40px;  
    margin-bottom: 40px;
    text-align: center;
  }
  .dacu_video{
        display: block;
      margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  .container3 {display: flex;
    flex-direction: column;
    justify-content: center;   /* 세로 가운데 */
    align-items: center;       /* 가로 가운데 */
    min-height: 100vh;
    background-color: #f9f9f9; /* 필요 시 배경색 */
    }
    .report1_title{
        font-size: 36px;
    color: #000000;
    margin-top: -40px;  
    margin-bottom: 40px;
    text-align: center;
    }
    .report1_video{
        display: block;
      margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    }
    .container4{ display: flex;      
        flex-direction: column;
    justify-content: center;   /* 세로 가운데 */
    align-items: center;       /* 가로 가운데 */
    min-height: 100vh;
    background-color: #f9f9f9; /* 필요 시 배경색 */
    }
    .report2_title{
    font-size: 36px;
    color: #000000;
    margin-top: -40px;  
    margin-bottom: 40px;
    text-align: center;
    }
    .report2_video{
        display: block;
      margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    }
    .container5{
        display: flex;      
        flex-direction: column;
    justify-content: center;   /* 세로 가운데 */
    align-items: center;       /* 가로 가운데 */
    min-height: 100vh;
    background-color: #f9f9f9; /* 필요 시 배경색 */
    }
    .info_title{
        font-size: 36px;
    color: #000000;
    margin-top: -40px;  
    margin-bottom: 40px;
    text-align: center;
    }
    .info_video{
        display: block;
      margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    .container6{
        display: flex;
        flex-direction: column;
        justify-content: center;  /* 세로 가운데 */
        align-items: center;      /* 가로 가운데 */
        min-height: 100vh;
        position: relative;       /* ✅ z-index 기준 잡기 */
    }
    .figma_title {
        font-size: 36px;
  color: #000000;
  margin-top: 10px;            /* ✅ 너무 위로 안 밀리게 */
  margin-bottom: 9px;
  text-align: center;
  position: relative;       /* ✅ z-index 적용 가능하게 */
  z-index: 10;              /* ✅ iframe보다 위로 */
  padding: 10px;
  border-radius: 8px;
      }
    .figma_iframe {display: block;
        margin: 0 auto;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 1;
        position: relative;       /* z-index 동작을 위해 */
      }
      .container7{
        display: flex;
        flex-direction: column;
        justify-content: center;  
        align-items: center;      
        min-height: 100vh;
        position: relative;   
      }
      .digital_title{  font-size: 36px;
        color: #000000;
        margin-top: 10px;            /* ✅ 너무 위로 안 밀리게 */
        margin-bottom: 80px;
        text-align: center;
        position: relative;       /* ✅ z-index 적용 가능하게 */
        z-index: 10;              /* ✅ iframe보다 위로 */
        padding: 10px;
        border-radius: 8px;
      }
      .digital_video{
        display: block;
        width: 1280px;
      margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      }
      .container8{
        display: flex;
        flex-direction: column;
        justify-content: center;  
        align-items: center;      
        min-height: 100vh;
        position: relative;   
      }
      .port_title{
        font-size: 36px;
    color: #000000;
    margin-top: -40px;  
    margin-bottom: 40px;
    text-align: center;
    }
      .port_video{
        display: block;
        margin: 0 auto; /* 혹시라도 기존 CSS 영향 있을 때 대비 */
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      }
@keyframes ani_title {
    from{opacity: 0.0;}
    to{opacity: 1.0;}
}