@charset "utf-8";

.hands-wrap {
    width: 100%;
    height: auto;
    padding: 10px;
}
.hands {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hands img {
    width: 100%;
    object-fit: cover;
    display: block;
}
.left {
    position: relative;
    top: 0;
    left: -70%;
    transform: rotate(-45deg);
    transition: 0.8s ease-out;
    opacity: 0;
}
.right {
    position: absolute;
    top: 0;
    right: -100%;
    transition: 1.2s ease-in-out;
    opacity: 0;
}

.left.active { left: 0; transform: rotate(0); opacity: 1;}
.right.active { right: -70%; top: 100px; opacity: 1;}


/* 모바일(기본값)-333333 */
.wrapper {
    top: 0;
}
/*★메인배경*/
.index-main {
    height: 100vh;
    /* justify-content: flex-start; */
}

.index-main h2,
.index-main p, 
.index-main h3 {
    z-index: 1;
}
#snow {
    position: absolute;
    top: 0;
    left: 0;
/*    left: -100;*/
/*    opacity: 0;*/
    transition: 1.5s ease-in-out;
}
.house {
    background-color: transparent;
    background-image: url(../img/index/index_snowhouse.png);
    background-repeat: no-repeat;    
    background-position: bottom right;
    background-size: 140%;
    height: 100vh;
    position: relative;
}

.article {
    width: 100%;
    height: auto;
    padding: 10px;
    font-weight: bold;
    line-height: 1.5;
    position: relative;
    left: 0;
    top: 0;
}

.article h2 {
    font-size: 1.3rem;
    opacity: 0;
    margin-top: 50px;

}

.article h2 span {
    font-size: 2rem;
    color: #ecbf8b;
}

.article .under {
    background-color: hotpink;
    width: 25px;
    height: 8px;
    display: flex;
    position: absolute;
    opacity: 0;
    margin-top: 40px;
    margin-left: 2px;
}

.article p {
    font-size: 1rem;
    opacity: 0;
    margin-top: 30px;
}

.article img {
    width: 100%;
    object-fit: cover;
    opacity: 0;
    margin-top: 20px;
}

#txtAnimation3 {
    width: 100%;
    height: auto;
    padding: 10px;
    font-weight: bold;
    line-height: 1.5;
    position: relative;
    left: 0;
    top: 0;
    opacity: 0;
} 


.contact {
  text-align: center;
  padding: 140px 20px;
}

.contact-title {
  font-size: 28px;
  font-weight: 600;
  color: #111;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.contact-links a {
  margin: 0 12px;
  font-size: 14px;
  color: #111;
  position: relative;
}

.contact-links a::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 0.3s ease;
}

.contact-links a:hover::after {
  width: 100%;
}
.header-container {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}
.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 0;
}
.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
}
@media screen and (min-width: 600px) {
    .right.active { top: 250px}
}

/* 타블렛-333333 */
@media screen and (min-width: 1024px) {

    .hands-wrap {
        width: 80%;
    }
    #txtAnimation1 {
        margin-top: 50px;
    }
    #txtAnimation3 {
        margin-bottom: 50px;
    }
    .house {
        background-size: 100%;
        height: 110vh;
    }
}

@media screen and (min-width: 2000px) {
    .house {
        height: 130vh;
    }
}

