* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* width: 100%; */
  /* height: 100vh; */
  background: #eee;
  overflow: hidden;
}

#container {
  opacity: 0;
  position: absolute;
  visibility: hidden;
  /* display: none; */
  width: inherit;
  height: inherit;
  align-items: center;
  justify-content: center;
  transition: opacity .5s;
}

#baner {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('assets/03-min.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: opacity 1s ease-in;
  opacity: 0;
}

#back {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('assets/04-min.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity .2s ease-in;
  pointer-events: auto;
}
#cta {
  display: block;
  position: absolute;
  opacity: 0;
  background-image: url('assets/cta_end.jpg');
  background-size: cover;
  width: 31vw;
  height: 13vw;
  left: 34%;
  top: 83%;
  transform: translate(-50%, -80%);
  transition: opacity 1s;
  pointer-events: none;
  animation-name: txtAnimation;
  animation-duration: .8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
}
#black {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('assets/01-min.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: opacity 1s ease-in;
  background-color: #000000;
}

#header {
  display: flex;
  /* visibility: hidden; */
  position: absolute;
  width: 100%;
  height: 15vh;
  top: 15.5vw;
  right: 4.5vw;
  pointer-events: none;
  align-content: flex-start;
  justify-content: flex-end;
  align-items: flex-start;
}

#texts {
  position: absolute;
  width: 100vw;
  top: 17vh;
  height: 25vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#card {
  /* bottom:0; */
  width: 100vw;
  height: 191.17vw;
  /* position: absolute; */
  user-select: none;
}

#logo {
  width: 13.51vw;
  height: 13.51vw;
  background-image: url('assets/logo.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#txt1 {
  position: relative;
  width: 80vw;
  height: 14.4vw;
  background-size: cover;
  animation-name: txt1Animation;
  animation-duration: .3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
}

@keyframes txt1Animation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

#txt2 {
  position: relative;
  width: 70vw;
  height: 12.17vw;
  background-size: cover;
  top: -14px;
}

.vdo {
  width: 100%;
  height: 100%;
  /* background-color: aqua; */
}

@keyframes handAnimation {
  0% {
    transform: translate(-30%, -80%) rotate(0deg);
  }

  50% {
    transform: translate(-70%, -80%) rotate(10deg);
  }

  100% {
    transform: translate(-30%, -80%) rotate(0deg);
  }
}

@keyframes txtAnimation {
  0% {
    transform: translate(0%, 5%) ;
  }

  50% {
    transform: translate(0%, -10%) ;
  }

  100% {
    transform: translate(0%, 5%) ;
  }
}

#hand {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  background-image: url('assets/hand.png');
  background-size: cover;
  width: 20vw;
  height: 32vw;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -80%);
  transition: opacity 1s;
  pointer-events: none;
  animation-name: handAnimation;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
}
#txt_bottom {
    position: absolute;
    display: flex;
    height: 19%;
    width: 100%;
    bottom: 0px;
    box-sizing: border-box;
    padding: 20px;
    opacity: 0;
    background-color: #000000;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease-in;
}

#txt {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  background-image: url('assets/txt.png');
  background-size: cover;
  width: 71vw;
  height: 23vw;
  /* left: 14%; */
  /* top: 29%; */
  /* transform: translate(-50%, -80%); */
  transition: opacity 1s;
  pointer-events: none;
  animation-name: txtAnimation;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
}

#mobile {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('assets/rotate.gif');
  background-size: 100px 100px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-color: rgb(198, 196, 196);
}

@media screen and (orientation:landscape) {
  #baner {
    display: none;
  }

  #mobile {
    display: block;
  }
}

@media screen and (orientation:portrait) {
  #baner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  #mobile {
    display: none;
  }
}