* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: sans-serif;
      background-color: #222222;
    }
    .topbar {
        background-color: #222;
        color: #fff;
        font-size: 12px;
        padding: 12px 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 3px solid #fccc08;
    }
    
    .topbar-mo {
        background-color: #222;
        color: #fff;
        font-size: 12px;
        padding: 12px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 3px solid #fccc08;
        display: none;
    }

    .topbar-mo span {
        color: #fccc08;
        font-weight: bold;
        margin-right: 12px;
      }
    
    .topbar span {
        color: #fccc08;
        font-weight: bold;
        margin-right: 12px;
      }
    
    .topbar a {
        color: #ffffff;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
    }
    
    .topbar img {
        width: 14px;
        height: 14px;
        fill: #ccc;
        margin-bottom: 3px;
    }

header {
  background-color: #ffd530;
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 100;
}

.header-mo{
    display: none;
}

.icon-img {
    width: 32px;
    object-fit: contain;
  }

.logo {
  height: 40px;
  object-fit: contain;
  display: flex;
  align-items: center;
  margin-right: 45px;
}

.logo img {
  width: 100%;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-right: auto;
  position: relative;
}

/* 드롭다운 메뉴 스타일 */
.nav-item {
  position: relative;
}

nav a {
  font-size: 20px;
  color: #373737;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 10px 0;
}

nav span{
    color: #163e85;
    font-weight: bold;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 15px 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  font-size: 14px;
  color: #373737;
  padding: 8px 20px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background-color: #ffd530;
  color: #373737;
}


    .main {
      width: 100%;
      max-width: 2000px;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
    }

    .main img {
      width: 2000px;
      height: auto;
    }

    .main-mo {
        width: 100%;
        max-width:720px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    
    .main-mo img {
        height: 100%;
      }  

    .main-mo{
        display: none;
    }

    .text-overlay {
      position: absolute;
      top: 34%;
      left: 8%;
      color: white;
      max-width: 800px;
    }
    .text-overlay h1 {
      font-size: 76px;
      font-weight: 900;
      color: #ffd600;
    }
    .text-overlay h2 {
      font-size: 43px;
      font-weight: 600;
      margin: 8px 0;
      color: #ffd600;
    }
    .text-overlay h3 {
        font-size: 24px;
        line-height: 35px;
        font-weight: 350;
        margin: 20px 0;
        color: #ffffff;
      }
    .text-overlay span {
        font-size: 24px;
        font-weight: 350;
        line-height: 60px;
        color: #ffffff;
      }

    .text-overlay h4 {
        font-size: 20px;
        font-weight: 350;
        line-height: 60px;        
        color: #ffffff;
      }

    .text-overlay p {
      font-size: 30px;
      line-height: 42px;
      margin-bottom: 40px;
    }

    .menu-toggle a{
      display: flex;
      align-items: center;
      font-weight: bold;
      gap: 10px;
      font-size: 14px;
      color: #373737;
    }

    .menu-toggle img{
     width:16px;
     margin-bottom: 2px;
    }

    .social-icons {
      position: absolute;
      top: 40%;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1rem;
      background: #222222;
      padding: 0.8rem;
    }

    .social-icons a {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .social-icons img{
        width: 20px;
    }
    
  /* 푸터 */ 
    footer {
              position: fixed;
              bottom: 0;
              left: 0;
              width: 100%;
              background: #222;
              color: #999;
              display: flex;
              justify-content: space-between;
              align-items: flex-start;
              padding: 30px 50px;
              font-size: 12px;
              line-height: 20px;
              z-index: 10; /* 이미지 위에 오도록 */
              border-top-right-radius: 50px;
              }
 
  .footer-content {
              width: 100%;
              display: flex;
              justify-content: space-between;
              align-items: flex-start;
           }
           
  .footer-left {
             display: flex;
             flex-direction: column;
             width: 100%;
           }
 
  .footer-left .footwe-top {
             margin-bottom: 14px;
             display: flex;
             justify-content: space-between;
             align-items: center;
             width: 100%;
           }
 
  .footer-left .footwe-top .left {
             display: flex;
             align-items: center;
           }
 
  .footer-left .footwe-top .left a {
             margin-right: 14px;
             font-size: 14px;
             color: #fff;
             text-decoration: none;
           }
 
  .footer-left .footwe-top .right a {
             color: #797979;
             text-decoration: none;
             display: flex;
             align-items: center;
             gap: 5px;
           }
 
  .footer-left .footwe-top .right span {
             font-size: 14px;
             color: #797979;
           }
           
  .footer-left a:hover {
             text-decoration: underline;
           }
/* 사이드 메뉴 스타일 */
.side-menu {
position: fixed;
top: 0;
right: -300px;
width: 280px;
height: 100%;
background-color: #ffd530;
z-index: 1000;
transition: right 0.3s ease-in-out;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
overflow-y: auto;
}

.side-menu.active {
right: 0;
}

.side-menu-header {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 20px;
background-color: #ffd530;
}

.close-btn {
cursor: pointer;
}

.close-btn img {
width: 24px;
height: 24px;
}

.side-nav {
display: flex;
flex-direction: column;
padding: 20px;
}

.side-nav-item {
}

.side-nav > .side-nav-item > a {
font-size: 18px;
color: #373737;
text-decoration: none;
font-weight: bold;
padding: 15px 0;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}

.side-nav > .side-nav-item > a span {
color: #000000;
font-weight: bold;
}

.side-nav-item .toggle-icon {
font-size: 12px;
color: #000000;
transition: transform 0.3s ease;
}

.side-nav-item.active .toggle-icon {
transform: rotate(180deg);
}

.side-nav-item .toggle-icon {
font-size: 14px;
transition: transform 0.3s ease;
}

.side-nav-item.active .toggle-icon {
transform: rotate(180deg);
}

.side-submenu {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}

.side-nav-item.active .side-submenu {
max-height: 300px;
}

.side-submenu a {
font-size: 14px;
color: #373737;
text-decoration: none;
font-weight: 500;
padding: 10px 20px;
display: block;
}

.side-submenu a:hover {
background-color: rgba(255, 255, 255, 0.2);
}

.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
display: none;
}

.overlay.active {
display: block;
}


  
  @media screen and (min-width: 2000px) and (max-width: 3000px) {
    .main img {
      width: 100vw;       /* 브라우저 전체 너비를 꽉 채움 */
      /* 비율 유지 */
      object-fit: cover;  /* 꽉 채우되 비율 유지하면서 잘릴 수 있음 */
    }
  
    .main {
      max-width: none;

      
    }
      
  .social-icons a {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .social-icons img{
          width: 20px;
      }
  }

  @media screen and (max-width: 890px) {
    
    nav a {
        font-size: 16px;
        color: #373737;
        text-decoration: none;
        font-weight: bold;
      }
}



  @media screen and (max-width: 680px) {
    .topbar-mo{
        display: block;
    }
    .topbar{
        display:none;
    }
    
    header{
        display:none;
    }
    
    .header-mo {
        background-color: #ffd530;
        width: 100%;
        padding: 30px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;

    }
    
    .main-mo{
        display: block;
    }

    .main{
        display:none;
    }

    .logo {
        margin: 0 auto;
    }
    
    .text-overlay {
        position: absolute;
        top: 46%;
        left: 6%;
        color: white;
        max-width: 700px;
      }
    .text-overlay h1 {
        font-size: 61px;
        font-weight: 900;
        color: #ffd600;
      }
    .text-overlay h2 {
        font-size: 33px;
        font-weight: 600;

        color: #ffd600;
      }
    .text-overlay h3 {
          font-size: 19px;
          line-height: 27px;
          font-weight: 350;
          margin: 20px 0;
          color: #ffffff;
        }
    .text-overlay span {
          font-size: 19px;
          font-weight: 350;
          line-height: 50px;
          color: #ffffff;
        }
  
    .text-overlay h4 {
          font-size: 16px;
          font-weight: 350;
          line-height: 20px;        
          color: #ffffff;
        }
  
    .text-overlay p {
        font-size: 23px;
        line-height: 32px;
        margin-bottom: 20px;
      }
    
    footer {
        padding: 30px 30px;

        }

    }

    