@font-face {
  font-family: a-light;
  src: url(../../assets/fonts/a_light.ttf);
}

@font-face {
  font-family: a-go;
  src: url(../../assets/fonts/a_go.ttf);
}

@font-face {
  font-family: a-ggok;
  src: url(../../assets/fonts/a_ggok.ttf);
}

@font-face {
  font-family: a-taebek;
  src: url(../../assets/fonts/a_taebek.ttf);
}

@font-face {
  font-family: a-digital;
  src: url(../../assets/fonts/a_digital.ttf);
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 8000px;
  width: 100vw;
  background: linear-gradient(180deg, #bedaf0, #98024c, purple, black);
}

/* progress bar */

.progress {
  position: fixed;
  width: 4px;
  height: 140px;
  top: 40%;
  left: 20px;
  z-index: 9998;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.3);
}

.progressBar {
  position: absolute;
  width: 4px;
  height: 0;
  /* top: 0;
  left: 0; */
  background: white;
  z-index: 9999;
  border-radius: 5px;
  transition: all 0.3s ease-out;
}

/* Loading */
.loading {
  display: none;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: #333;
  z-index: 10000;
  opacity: 0.9;
  text-align: center;
}

.loading.active {
  display: block;
}

.loader {
  font-size: 10px;
  margin: 250px auto;
  text-indent: -9999em;
  width: 20em;
  height: 20em;
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(
    left,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  background: -webkit-linear-gradient(
    left,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(
    left,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  background: linear-gradient(
    to right,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #333;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.loading span {
  color: white;
  font-size: 2rem;
  font-family: 'a-light';
  font-weight: 700;
  animation: flash 2s infinite;
}

/* page 1 */

.page1 {
  height: 100vh;
}

.logo {
  position: absolute;
  font-size: 150px;
  font-family: a-taebek;
  color: rgb(255, 81, 0);
  top: calc(50% - 200px);
  left: calc(50% - 400px);
  z-index: 9994;
  animation: motion 2s cubic-bezier(0.9, -0.165, 0.15, 1.135) infinite alternate;
}

/* font logo animation */
@keyframes motion {
  0% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

.cover {
  position: absolute;
  background: black;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
}

.p1_img_rock1 {
  position: absolute;
  width: 900px;
  bottom: 0;
  left: 0;
}

.p1_img_rock2 {
  position: absolute;
  width: 500px;
  bottom: 0;
  right: 0;
}

.p1_background_leaf {
  position: absolute;
  background: url(../../assets/images/leaf_bg.png);
  background-size: 100vw 100vh;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
}

.p1_img_leaf3 {
  position: absolute;
  top: 70px;
  left: 150px;
  width: 400px;
  z-index: 9995;
  transition: all 0.1s ease-in;
}

.p1_img_leaf4 {
  position: absolute;
  width: 200px;
  right: 400px;
  top: -50px;
  z-index: 9996;
  transition: all 0.1s ease-in;
}

.p1_img_left_leaf {
  position: absolute;
  top: 0;
  left: -30px;
  width: 300px;
  transition: all 100ms ease-in;
}

.p1_img_right_leaf {
  position: absolute;
  top: 0;
  right: -30px;
  width: 300px;
  transition: all 100ms ease-in;
}

/* page2 */

.page2 {
  height: 100vh;
  position: relative;
}
.p2_img_container {
  text-align: center;
}
.p2_img_top {
  background: url(../../assets/images/top_leaf.png) no-repeat center center;
  width: 100vw;
  height: 100vh;
  background-size: 100vw 100vh;
  background-attachment: fixed;
  /* z-index: 100; */
}

.p2_profile_img {
  position: absolute;
  top: 200px;
  left: calc(50% - 150px);
  width: 300px;
  height: 300px;
  padding: 5px;
  border: 1px solid #eee;
  border-radius: 50%;
  z-index: 101;
}

.slide_in {
  opacity: 0;
  transition: all 0.7s;
}

.slide_in.active {
  opacity: 1;
  animation: fadeInUp 0.5s;
}

.p2_profile_text {
  position: absolute;
  text-align: center;
  width: 500px;
  height: 500px;
  top: 550px;
  left: calc(50% - 250px);
}

.p2_profile_info {
  font-size: 1.2rem;
  border: 1px solid #eee;
  border-radius: 5px;
}

.p2_profile_info:hover {
  background-color: rgba(255, 255, 255, 0.1);
  animation: pulse 0.5s;
}

.p2_profile_info p {
  color: white;
  font-family: 'a-go';
}

.p2_profile_record_container {
  width: 1566px;
  display: flex;
  position: absolute;
  top: 700px;
  left: calc(50% - 792px);
}

.p2_profile_record {
  padding: 50px;
  width: 500px;
  border: 1px solid #eee;
  border-radius: 5px;
  margin-left: 20px;
  transition: all 0.3s;
}

.p2_profile_record:hover {
  background-color: rgba(255, 255, 255, 0.1);
  animation: pulse 0.5s;
}

.p2_profile_record span {
  color: rgb(255, 255, 255);
  font-family: 'a-light';
  font-size: 1.2rem;
  line-height: 50px;
}

/* Page3 Cloud */

.cloud_container {
  position: relative;
}

.cloud_container img {
  position: absolute;
  width: 400px;
  top: 0;
  left: 0;
}

.cloud_container img:nth-child(1) {
  top: -130px;
  left: 1000px;
}

.cloud_container img:nth-child(2) {
  top: 170px;
  left: 500px;
}

.cloud_container img:nth-child(3) {
  width: 707px;
  top: 133px;
  left: 617px;
}

/* page3 */

.page3 {
  height: 100vh;
  position: relative;
}

#p3_container {
  width: 100vh;
  margin: 200px auto 0;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
  float: none;
}

.slide_wrap {
  position: relative;
  width: 600px;
  margin: auto;
  padding-bottom: 30px;
}

.slide_box {
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.slide_content {
  display: table;
  float: left;
  width: 600px;
  height: 600px;
}

.slide_content img {
  width: 600px;
  height: 600px;
}

.slide_btn_box > img {
  position: absolute;
  top: 50%;
  margin-top: -45px;
  background: none;
  border: none;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: all 0.1s linear;
}

.slide_btn_box > img:hover {
  transform: scale(1.2);
}

.slide_btn_prev {
  left: -200px;
}

.slide_btn_next {
  right: -200px;
}

.slide_pagination {
  position: absolute;
  left: 50%;
  bottom: 0;
  list-style: none;
  margin: 0 0 -30px 0;
  padding: 0;
  transform: translateX(-50%);
}

.slide_pagination .dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  overflow: hidden;
  background: #ddd;
  border-radius: 50%;
  transition: 0.3s;
}

.slide_pagination .dot.dot_active {
  background: #333;
}

.slide_pagination .dot a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Page 4 */

.page4 p {
  text-align: center;
  font-size: 5rem;
  font-family: a-digital;
  text-shadow: 2px 2px 2px #333;
  color: white;
}

.p4_skill_icon {
  display: flex;
  justify-content: space-around;
}

.p4_skill_icon img {
  width: 100px;
  height: auto;
  box-shadow: 2px 2px 2px #333;
  padding: 10px;
  border-radius: 50px;
}

.p4_skill_gauge_container {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.p4_skill_gauge_wrapper {
  width: 40px;
  height: 100%;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 2px #333;
}

.p4_skill_gauge {
  /* position: absolute; */
  width: 40px;
  height: 0;
  background: linear-gradient(180deg, #f2994a, #f2c94c);
  border-radius: 10px;
  z-index: 9999;
  transition: all 2s ease-out;
}

.p4_counting_container {
  display: flex;
  justify-content: space-around;
}

.num {
  text-align: center;
  color: white;
  text-shadow: 2px 2px 2px #333;
  font-size: 4rem;
  font-family: a-digital;
  margin-top: 20px;
}

/* page5 */

.image_wrap {
  position: relative;
  height: 1100px;
  overflow-y: hidden;
}

.parallax_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: inherit;
  background-position: top center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  perspective: 300px;
}

.parallax_image:nth-child(1) {
  background-image: url(../../assets/images/p5_0.png);
}

.parallax_image:nth-child(2) {
  background-image: url(../../assets/images/p5_1.png);
}

.parallax_image:nth-child(3) {
  background-image: url(../../assets/images/p5_2.png);
}

.parallax_image:nth-child(4) {
  background-image: url(../../assets/images/p5_3.png);
}

.parallax_image:nth-child(5) {
  background-image: url(../../assets/images/p5_4.png);
}

.parallax_image:nth-child(6) {
  background-image: url(../../assets/images/p5_5.png);
}

.page6 {
  width: 100vw;
  height: 100vh;
}

.page7 {
  width: 100vw;
  height: 100vh;
}

.page8 {
  position: absolute;
  top: 7500px;
  left: 0;
  width: 100vw;
  height: 100vh;
  text-align: center;
}

.page8 .inner_wrap .content_wrap h2 {
  color: white;
  font-size: 8rem;
}

.page8 .inner_wrap .content_wrap p {
  color: white;
  font-size: 3rem;
}

.page8 .inner_wrap .content_wrap a {
  text-decoration: none;
  font-size: 3rem;
  color: white;
}

.page8 .inner_wrap .content_wrap a:hover {
  color: bisque;
}

.page8 .inner_wrap .content_wrap .button {
  border: none;
  border-radius: 5px;
  background-color: #06442f;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.8rem 1.3rem;
}
