html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard Variable'!important;
    font-size: 62.5%;
    font-size: 18px;
    overflow-x: hidden;
}

:root {
    --swiper-theme-color: #32b16c!important;
}

header {
    backdrop-filter: blur(10px);
    height: 63px;
    position: fixed;
    z-index: 5;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
}

.nav-up {
    top: -65px;
}

.btn-group-fab {
  position: fixed;
  width: 50px;
  height: auto;
  right: 20px; bottom: 20px;
}
.btn-group-fab div {
  position: relative; width: 100%;
  height: auto;
}
.btn-group-fab .btn {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  display: block;
  margin-bottom: 4px;
  width: 40px; height: 40px;
  margin: 4px auto;
}
.btn-group-fab .btn-main {
  width: 50px; height: 50px;
  right: 50%; margin-right: -25px;
  z-index: 9;
}
.btn-group-fab .btn-sub {
  bottom: 0; z-index: 8;
  right: 50%;
  margin-right: -20px;
  -webkit-transition: all 2s;
  transition: all 0.5s;
}
.btn-group-fab.active .btn-sub:nth-child(2) {
  bottom: 60px;
}
.btn-group-fab.active .btn-sub:nth-child(3) {
  bottom: 110px;
}
.btn-group-fab.active .btn-sub:nth-child(4) {
  bottom: 160px;
}
.btn-group-fab .btn-sub:nth-child(5) {
  bottom: 210px;
}

.home {
    height: 280vh;
}

.haenaedaContainer {
    /* hide fixed overflow contents */
    clip: rect(0, auto, auto, 0);
  
    /* does not work if overflow = visible */
    overflow: hidden;
  
    /* only works with absolute positioning */
    position: absolute;
  
    /* Make sure containers are full-width and height */
    height: 100vh;
    left: 0;
    width: 100%;
    
    
    /* safari hack */
    -webkit-mask-image: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 100%);
}

.secondContainer {
    height: 200vh!important;
}

.centerCanvas {
    margin: 0;
    z-index: 6;
    height: 100vh!important; 
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 

    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */

    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

#c { 
    z-index: 6;
    width: 95vh;
    height: 65vh;
    border: 0.5rem solid rgba(240, 240, 240);
    max-width: 80%;
}

.container_solid {
    background: white;
    
    /* position this container at the top of its parent element */
    top: 0;
}

.secondContainerOpacity {
    background: white;
    position: relative;
    z-index: 3;
}

.title_wrapper {
    position: fixed;
    display: block;  
    margin: auto;
    width: 100%;
    /* center the text wrapper vertically */
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .title_wrapper h1 {
    text-align: center;
    font-size: 9vw;
    text-align: center;
    font-weight: 920;
    place-content: center;
    display: grid;
  }

  .container_solid .title_wrapper h1 {
    /* the text background */
    background: url(https://haenaeda.com/cdn/files/background-landing.jpg);
    background-size: cover;
    background-position: center;
    
    /* clip the text is possible */
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    
    /* fallback text color */
    color: black;
  }

  .container_image {
    /* Grab a free image from unsplash */
    background-image: url(https://haenaeda.com/cdn/files/background-landing.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    
    /* position the second container below the first container */
    top: 100vh;
}
@supports ( -webkit-touch-callout : none) {
    .container_image {
        background-attachment:scroll;
    }
}

  .container_image .title_wrapper h1 {
    color: white;
  }

  .nav {
    width: 100%;
    position: fixed;
    line-height: 65px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    height: 63px;
    position: fixed;
    z-index: 5;
    top: 0;
    transition: top 0.2s ease-in-out;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 2rem;
}

.nav div.logo a {
    text-decoration: none;
    font-weight: 920;
    color: #000;
    font-size: 1.5rem;
}

.nav div.logo a:hover {
    color: #32b16c;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: black;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
    color: #32b16c;
}

.firstSection {
    height: 100vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.imageTransitionSection {
    height: 60vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.subtext {
    color: rgba(160, 160, 160);
}

.bemsimage {
    padding-left: 0!important;
}

.pwmimage {
    padding-right: 0!important;
    margin-top: 0!important;
}

.swiper {
    width: 500px;
    height: 400px;
    z-index: 20!important;
    max-width: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    max-width: 100%;
  }

  .swiper-slide img {
    display: block;
    width: 500px;
    height: 400px;
    object-fit: contain;
    max-width: 100%;
  }

  .swiper {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2332b16c'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;
  }

  .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2332b16c'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")!important;
}

.carousel-indicators [data-bs-target] {
    background-color: #32b16c!important;
}

.centerDiv {
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.imageTextSection {
    height: 50vh;
    margin-top: 10%;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: center;
}

.videoSection {
    height: 100vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.beforeAfterSection {
    height: 100vh;
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox; 
    display: flex; 
 
    -webkit-box-align: center; 
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* 수직 정렬 */
 
    -webkit-box-pack: center;
    -moz-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; /* 수평 정렬 */
}

.developerVideo {
    width: 75vh;
    z-index: 6;
}

.alignRight {
    text-align: right;
}

.responsiveBr {
    display: none;
}

.navTrigger {
    display: none;
}

.nav {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.myH1 {
    font-size: 40px;
    font-weight: 700;
    display: flex;
    color: rgba(40, 40, 40);
}

.companyVision {
    font-size: 70px;
    font-weight: 900;
    max-width: 100%;
}

.more {
    position: absolute;
    font-size: 40px;
    z-index: 5;
    text-decoration: none;
    color: #32b16c;
}

.headerText {
    font-size: 25px;
    font-weight: 500;
    color: #32b16c;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.responsiveSecond {
    display: flex;
}

.home-sec {
    padding-top: 64px;
    padding-bottom: 80px;
    z-index: 6;
  }
  .before-after {
    background: #283593;
  }
  .home-col {
    width: 100%;
    max-width: 1024px;
    padding-left: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .home-sec h2 {
    text-align: center;
  }
  .before-after .container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: col-resize;
    box-shadow: 0 12px 24px 0;
    min-height: 300px;
  }
  .before-after .before {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 4px solid #b6b6b6;
    box-sizing: border-box;
  }
  .before-after .before img {
    display: flex;
    height: 100%;
  }

#footer {
    display: flex;
    background-color: #E6E6E6;
    color: #616161;
    max-width: 100%;
}

.footerDiv {
    padding: 60px;
}

.footerLogo {
    font-weight: 900;
    font-size: 23px;
    padding-bottom: 10px;
}

.footerLogoCompany {
    padding-top: 10px;
    font-weight: 500;
    font-size: 14px;
    color: #858484;
}

.footerText {
    font-size: 13px;
    font-weight: 500;
    color: #616161;
    position: relative;
    z-index: 6;
    text-decoration: none;
}

/* .sec-text {
    color: #32b16c;
    position: relative;
}

.sec-text:before {
    content: "";
    z-index: 1;
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    border-left: 2px solid #32b16c;
    animation: animate 1.8s steps(3) infinite;
}
@keyframes animate{
    40%, 60%{
        left: 100%;
    }
    100%{
        left: 0%;
    }
}

.thirdText {
    position: relative;
    z-index: 3;
} */

.hidden {
    opacity:0;
}

.alignLeft {
    justify-content: center;
    align-items: center;
}

.textWrap {
    position: relative;
}

.coverImageLaptop {
    width: 100vw;
    height: 1999px;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
}

.wrap {
    width: 84vh;
    display: flex;
    flex-wrap: nowrap;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .div-container {
        margin: 0;
    }
    .container {
        margin: 0;
    }
    .companyVision {
        font-size: 7vw;
    }
    .more {
        font-size: 4.5vw;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #fff;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
    .companyVision {
        font-size: 6vw;
    }
    .more {
        font-size: 4.5vw;
    }
    .myH1 {
        font-size: 30px;
    }
    .headerText {
        font-size: 17px;
    }
    .secondSection {
        display: block;
    }
    .responsiveBr {
        display: block;
    }
    .imageTextSection {
        display: block;
    }
    .responsiveSecond {
        display: none;
    }
    #footer {
        height: 400px;
    }
    .imageTextSection {
        height: 100vh!important;
        max-width: 100%!important;
    }
    .swiper {
        max-width: 100%!important;
        width: 80vw;
    }
    .swiper-slide img {
        max-width: 100%!important;
    }
    .thirdSection {
        margin-left: 0!important;
    }
    #c {
        width: 40vh;
        height: 40vh;
    }
    .coverImageLaptop {
        height: 200px;
        margin-bottom: 10rem;
    }
    .coverImageText {
        margin-left: 10%;
    }
    .partnerImage {
        height: 10px;
    }
    
}

@media screen and (max-width: 992px) {
    .bemsimage {
        padding-left: calc(var(--bs-gutter-x) * .5)!important;
    }
    .pwmimage {
        padding-right: calc(var(--bs-gutter-x) * .5)!important;
        margin-top: var(--bs-gutter-y)!important;
    }
    .haenaedaDesign {
        margin-bottom: 10rem;
    }
    .haenaedaControlPanelProduction {
        margin-bottom: 5rem;
    }
    .haenaedaConstructionImage {
        margin-top: 0!important;
    }
    .haenaedaConstructionImageDiv {
        margin-bottom: 10rem!important;
    }
    .BEMS {
        margin-bottom: 5rem;
    }
}

@media (min-width: 1400px) {
    .carousel {
        max-width: 780px!important;
    }
}

.dropup .hide-toggle.dropdown-toggle::after {
    display: none !important;
  }

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 5!important;
}






/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin-top: 20px;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: black;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

