/*mainVisual*/

#mainVisual{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
#mainVisual iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;         /* 넓이 기준으로 */
    aspect-ratio: 16 / 9; /* 16:9 비율 유지 */
    transform: translate(-50%, -50%);
    z-index: -1;
    border: none;
}
#mainVisual .visualtxt{
    position: absolute;
    bottom: 45%;
    left: 0;
    width: 100%;
    z-index: 1;
    color: #fff;
    overflow: hidden;
}
#mainVisual .visualtxt .inner{
    position: relative;
    top: 200px;
    transition: 1.5s;
}
#mainVisual .visualtxt .inner.active{
    top: 0;

}
#mainVisual .visualtxt p{
    font-size: 30px;
    margin-top: 10px;
}
#mainVisual .visualtxt span{
    color: #9900ff;
}
#contents .container {width: 1200px; margin: 0 auto;}
#contents .scroll {
    position: absolute; bottom: 40px; left: 50%; 
    transform: translatex(-50%);
    z-index: 2;
    display: inline-block;
    color: #fff;
    transition: opacity .3s;
}
#contents .scroll:hover {opacity:.5;}
#contents #section11 a span {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    bottom: 5px;
    height: 40px;
    top: -50px;
    left: 50%;
    overflow: hidden;
    position: absolute;
    transform: translateX(-50%);
    width: 4px;    

}
#contents #section11 a span::before {
    animation: pill 3.5s linear infinite;
    background-image: linear-gradient(to top, #fff 30%, #9900ff 70%);
    border-radius: 2px;
    content: '';
    display: block;
    height: 40px;
    left: 0;
    position: absolute;
    width: 4px;  
}
@keyframes line {
    0% {
        height: 0;
        top: 16px;
    }
    50% {
        height: 0;
        top: 16px;
    }
    55% {
        height: 5px;
        top: 16px;
    }
    100% {
        height: 30px;
        top: 66px
    }
}
@keyframes circle {
    0% {
        height: 0;
        top: 0;
        width: 0;
    }
    50% {
        height: 16px;
        top: 0;
        width: 16px;
    }
    55% {
        height: 16px;
        top: 0;
        width: 16px;
    }
    100% {
        height: 0;
        top: 66px;
        width: 0;
    }
}
@keyframes pill {
    0% { top: -40px; }
    50% { top: 0; }
    100% { top: 50px }
}

/*mainContent*/

#mainContent{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #000;
}
#mainContent .background{
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: Translate(-50%, -50%);
    object-fit: cover;
}
#mainContent .background img{
    width: 105%;
    height: 100%;
    transform: translateX(0px);
    transition: all 7s ease-in-out;
    opacity: 0.6;
    object-fit: cover;
}

#mainContent .background.scale-up img {
    transform: TranslateX(-70px);
}

#mainContent .mainContenttxt{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    color: #fff;
}
#mainContent .mainContenttxt .inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}
#mainContent .mainContenttxt .inner p{
    font-size: 30px;
}
#mainContent .mainContenttxt .inner h3{
    font-size: 60px;
    margin: 50px 0 20px;
}
#mainContent .mainContenttxt .inner span{
    font-size: 25px;
}
#mainContent .mainContenttxt .inner a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3rem 1.5rem 3rem;
    box-sizing: border-box;
    border-radius: 3px;
    width: 15rem;
    height: 4rem;
    color: #fff;
    background: #9900ff;
    margin-top: 50px;
    font-size: 20px;
}
#mainContent .mainContenttxt .inner a:hover{
    background: #fff;
    color: #9900ff;
    transition: 1s;
}


/*loop-container*/
.loop-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #000;
    color: #fff;
    padding: 50px 0;
    font-size: 60px;
    font-weight: bold;
    position: relative;
    opacity: 0.7;
  }
  
  .loop-text {
    display: inline-block;
    animation: scrollLoop 50s linear infinite;
  }
  
  @keyframes scrollLoop {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  .loop-text span {
    display: inline-block;
    margin-right: 40px;
  }



/*Technology*/
#technology-section {
    position: relative;
    height: auto;
    background: #fff;
    padding: 250px 0 1200px;
}
#technology-section .smart-moisture-text{
    font-size: 60px;
}
#technology-section .inner{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.animation-image{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.animation-image .technology-img-box{
    width: 1200px;
    position: absolute;
    top: 300px;
    left: 0;
    right: 0;
    margin: auto;

}
#technology-section .box{
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
}
#technology-section img{
    width: 1200px;
}
.animation-image .technology-img-box h3{
    font-size: 30px;
    margin: 50px 0 10px;
    font-weight: 600;
}
.animation-image .technology-img-box p{
    font-size: 18px;
    color: #333;
}

#technology-section a{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem 3rem 1.5rem 3rem;
    box-sizing: border-box;
    border-radius: 3px;
    width: 18rem;
    height: 4rem;
    color: #fff;
    background: #9900ff;
    margin-top: 80px;
    font-size: 20px;
}
#technology-section a:hover{
    background: #fff;
    color: #9900ff;
    transition: 1s;
    border: 1px solid #9900ff;
}
#technology-section ul{
    display: flex;
    margin-top: 80px;
}
#technology-section ul li{
    border-top: 6px solid #333;
    margin-right: 20px;
    width: calc(100% / 3 - 60px);
    padding-top: 20px;
}
#technology-section ul li:last-child{
    margin-right: 0;
}
#technology-section ul li h4{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
#technology-section ul li p{
    font-size: 16px;
}

/*contact*/

  .contact-section {
    background: #000;
    padding: 120px 0px;
    font-family: 'Noto Sans KR', sans-serif;
  }
  
  .contact-wrapper {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  }
  
  .contact-wrapper h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    border-left: 5px solid #9900ff;
    padding-left: 15px;
  }
  
  .form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
  }
  
  textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  button {
    display: block;
    width: 100%;
    background: #9900ff;
    color: white;
    font-size: 18px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  button:hover {
    background: #7a00cc;
  }

  .rolling-text {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
    font-size: 50px;
    margin: 50px 0;
  }
  #keyword {
    display: inline-block;
    transition: opacity 0.3s ease;
    color: #9900ff;
  }

/*quick-menu*/

  .quick-menu {
    position: fixed;
    bottom: 300px;
    right: 75px;
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    transform: rotate(270deg);
    transform-origin: right top;
  
    background: #9900ff;
    clip-path: polygon(90% 0, 100% 26%, 100% 100%, 0 100%, 0 0);
    color: #FFF;
  
    z-index: 100;
    opacity: 1;
    pointer-events: auto;
  
    transition: all 0.3s ease;
  }
  .quick-menu span{
    padding-left: 10px;
  }
  
  /* 마우스 호버 시 효과 */
  .quick-menu:hover {
    filter: brightness(1.1);
    transform: rotate(270deg) scale(1.05);
  }
