@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,700,900);
@import url(https://fonts.googleapis.com/css?family=Lato:200,300,700,900);
@import url(https://fonts.googleapis.com/css?family=NotoSansTC:300);


/* @font-face {
  font-family: 'Lato';
  src: url('fonts/lato-black-webfont.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-light-webfont.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */

html{
  cursor: none;
  scroll-behavior: smooth;
  font-size: 100%;
}

body{
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Lato;
}

* {
    box-sizing: border-box;
}

a{
  font-size: 1.125rem;
  color: #2E2E2E;
  cursor: none;
  transition: 0.25s ease;
}

a:hover, a:focus, a:active{
  color: #000000;
  text-decoration: none;
}

p{
  font-weight: 200;
  font-size: 1rem;
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

*::selection{
  color: #2E2E2E;
  background-color: #FFFFFF;
}

.cursor {
  position: absolute;
  background: #2b2b2b;
  width: 120px;
  height: 120px;
  border-radius: 100%;
  z-index: 10;
  transition: 0.5s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
      0.2s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
  user-select: none;
  pointer-events: none;
  transform: scale(0.1);
  transform-origin: top left;
  -ms-transform: scale(0.125) translateX(-122.5px) translateY(-122.5px);
  -moz-transform: scale(0.125) translateX(-122.5px) translateY(-122.5px);
  -o-transform: scale(0.125) translateX(-122.5px) translateY(-122.5px);
}

.cursor.active {
  opacity: 1;
  transform-origin: center center;
  transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  background: radial-gradient(circle, rgba(255,222,222,1) 0%, rgba(193,231,246,1) 100%);
  border: transparent;
  mix-blend-mode: multiply;
}

.cursor.active::before {
    opacity: 1;
}

.cursor-follower {
    position: absolute;
    background: rgba(170,170,170, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    z-index: 9;
    transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
        0.4s cubic-bezier(0.75, -1.27, 0.3, 2.33) opacity;
    user-select: none;
    pointer-events: none;
}

.cursor-follower.active{
    opacity: 0.8;
    transform: scale(0);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  transition: all 0.9s cubic-bezier(0.25, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 100px #ffffff;
}

.portrait{
  transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
  position: absolute;
  top: 3%;
  height: 110%;
  width: auto;
  z-index: 2;
  opacity: 0.1;
}

.btn-hover{
  position: relative;
  padding-left: 0;
  transition: 0.3s ease;
}

.btn-hover::before{
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  top: 13px;
  left: 0;
  background-color: #FFFFFF;
  transition: 0.5s ease;
}

.btn-hover:hover{
  padding-left: 30px;
}

.btn-hover:hover::before{
  width: 25px;
}

.btn-general{
  border: 2px solid #222222;
  background-color: transparent;
  font-size: 0.875rem;
  padding: 5px 50px;
}

.btn-works{
  animation: cubic-bezier(0.23, 1, 0.320, 1) 1.4s boom forwards;
  animation-delay: 1.8s;
}

@keyframes boom{
  0%{
    width: 0;
    height: 0;
  }
  60%{
    width: 700px;
    height: 700px;
  }
  100%{
    width: 700px;
    height: 700px;
  }
}

.btn-works.entered{
  animation: ease-in-out 1.2s boom-out forwards; 
}

@keyframes boom-out{
  0%{
    width: 700px;
    height: 700px;
  }
  20%{
    width: 500px;
    height: 500px;
  }
  70%{
    width: 800px;
    height: 800px;
    opacity: 0.5;
  }
  99%{
    width: 1300px;
    height: 1300px;
    opacity: 0;
    visibility: hidden;
  }
  100%{
    width: 0px;
    height: 0px;
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeout{
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}

@keyframes boom-02{
  0%{
    width: 800px;
    height: 800px;
    opacity: 1;
  }
  50%{
    width: 500px;
    height: 500px;
    opacity: 0.3;
  }

  80%{
    width: 200px;
    height: 200px;
    opacity: 0;
  }
  100%{
    width: 270px;
    height: 270px;
    opacity: 1;
  }
}

.btn-about, .btn-contact{
  width: 0px;
}

.btn-about{
  margin-right: 200px;
}

.btn-contact{
  margin-left: 200px;
}

.btn-about.entered{
  animation: cubic-bezier(0.23, 1, 0.320, 1) 0.8s boom-03 forwards;
  animation-delay: 1.2s;
}

.btn-contact.entered{
  animation: cubic-bezier(0.23, 1, 0.320, 1) 0.8s boom-03 forwards;
  animation-delay: 1.2s;
}

@keyframes boom-03{
  0%{
    width: 200px;
    height: 200px;
    opacity: 0;
  }
  100%{
    width: 270px;
    height: 270px;
    opacity: 1;
  }
}

.menu-item{
  font-size: 0;
}

.menu-item.entered{
  animation: cubic-bezier(0.23, 1, 0.320, 1) 0.8s fadein forwards;
  animation-delay: 0.7s;
}

@keyframes fadein{
  0%{
    opacity: 0;
    font-size: 0;
  }
  80%{
    opacity: 0;
    font-size: 1rem;
  }
  100%{
    opacity: 1;
    font-size: 1rem;
  }
}

.portfolio-thumb img:nth-child(2){
  mix-blend-mode: multiply;
}

.line-01{
  width: 2px;
  background-color: #FFFFFF;
  position: absolute;
  top: 5%;
  right: 25%;
  transform: rotate(45deg);
  transform-origin: top center;
  z-index: -2;
  opacity: 0.7;
  transition: 0.6s ease-in-out;
  animation: linear 0.6s drop forwards;
  animation-delay: 1.5s;
}

.line-01.entered{
  animation: 1.3s line-01 forwards;
}

@keyframes line-01{
  0%{
    height: 12%;
    top: 5%;
    right: 25%;
    transform: rotate(45deg);
    opacity: 1;
  }
  25%{
    height: 40%;
    top: 5%;
    right: 25%;
    transform: rotate(45deg);
    opacity: 1;

  }
  40%{
    height: 0%;
    top: 50%;
    right: 50%;
    transform: rotate(45deg);
    opacity: 0;
  }
  100%{
    height: 0%;
    top: 50%;
    right: 50%;
    transform: rotate(45deg);
    opacity: 0;
  }
}

.line-02{
  width: 2px;
  background-color: #FFFFFF;
  position: absolute;
  bottom: 3%;
  left: 30%;
  transform: rotate(45deg);
  transform-origin: bottom center;
  z-index: -2;
  opacity: 0.7;
  transition: 0.6s ease-in-out;
  animation: linear 0.6s drop forwards;
  animation-delay: 1.5s;
}

.line-02.entered{
  animation: 1.3s line-02 forwards;
}

@keyframes line-02{
  0%{
    height: 12%;
    bottom: 3%;
    left: 30%;
    transform: rotate(45deg);
    opacity: 1;
  }
  25%{
    height: 40%;
    bottom: 3%;
    left: 30%;
    transform: rotate(45deg);
    opacity: 1;

  }
  40%{
    height: 0%;
    bottom: 50%;
    left: 50%;
    transform: rotate(45deg);
    opacity: 0;
  }
  100%{
    height: 0%;
    bottom: 50%;
    left: 50%;
    transform: rotate(45deg);
    opacity: 0;

  }
}

@keyframes drop{
  0%{
    height: 0%;
  }
  100%{
    height: 12%;
  }
}

.line-v{
  width: 1px;
  height: 40%;
  background-color: #FFFFFF;
  position: absolute;
  top: 90%;
  right: 60px;
  transition: 0.6s ease-in-out;
  opacity: 0;
  animation: ease 0.3s jumpin forwards;
  animation-delay: 2.4s;
}

.line-v::before{
  content: '香港設計';
  font-family: Noto Sans TC;
  position: absolute;
  top: -100px;
  right: -7px;
  font-size: 0.875rem;
  color: #FFFFFF;
  font-weight: 200;
}

.line-v:hover::before{
  content: 'Based in Hong Kong';
  text-align: right;
}

.quotation-mark{
  width: 90px;
  position: absolute;
  left: 0;
  opacity: 0.85;
}

.line-v.entered{
  height: 0;
}

.line-v.entered::before{
  top: -150px;
  opacity: 0;
  transition: 0.25s ease;
  transition-delay: 0.65s;
}

.full{
  transform: translateX(30%);
}

.flex-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
}

.texture{
  opacity: 0;
  position: fixed;
  background-image: url(../img/noise-bg.jpg);
  width: 100%;
  height: 100vh;
  background-position: right;
  z-index: -9;
  animation: cubic-bezier(0.23, 1, 0.320, 1) 0.3s texture-fadein forwards;
  animation-delay: 1.5s;
}

@keyframes texture-fadein{
  0%{
    opacity: 0;
  }
  80%{
    opacity: 0;
  }
  100%{
    opacity: 0.11;
  }
}

.filter{
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 100%;
  transition: 0.8s ease-in-out;
  z-index: -10;
  animation: ease-in-out 1.4s slidein forwards;
  animation-delay: 0.7s;
}

@keyframes slidein{
  0%{
    left: 100%;
    background: #cecece;
  }
  50%{
    left: 40%;
    background: #cecece;
  }
  90%{
    background: #cecece;
  }
  100%{
    left: 0%;
    background: #cecece;
  }
  }

@keyframes slidein-left{
  0%{
    left: 0;
  }
  100%{
    left: 100%;
  }
  }

.title{
  color: #2E2E2E;
  font-family: Poppins;
  font-size: 3.875em;
  font-weight: 900;
}

.subtitle{
  color: #2E2E2E;
  font-family: Poppins;
  font-size: 1.25rem;
}

.subtitle-animated{
  font-size: 2.25rem;
}

.circle{
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: transparent;
  position: absolute;
  z-index: -2;
  transition: 0.5s;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 100px #ffffff;
}

.circle.blue{
  width: 250px;
  height: 250px;
  position: absolute;
  z-index: -10;
  background: radial-gradient(circle, rgba(255,222,222,1) 0%, rgba(193,231,246,1) 100%);
  top: 0;
  left: 0;
}

/* .circle.fadeout{
  background: transparent;
  box-shadow: 0 0 0 #ffffff;
} */

.email{
  font-size: 1.25rem;
}

.copyright{
  font-size: 1rem;
  margin: 50px 0;
  opacity: 1;
}

.copyright.entered{
  top: -150px;
}

.landing{
  overflow: hidden;
}

.landing.entered{
  overflow: unset;
}

.line{
  width: 1px;
  background-color: #ffffff;
}

.case{
  overflow: hidden;
  animation: scroll-lock 0.1s forwards;
  animation-delay: 2.8s;
}

@keyframes scroll-lock{
  from{
    overflow: hidden;
  }
  to{
    overflow: unset;
  }
}

.logo{
  width: 40px;
  height: auto;
}

.logo-link{
  width: 45px;
  height: auto;
  margin-left: 3px;
  opacity: 0.4;
  transition: 0.2s;
}

.logo-link:hover{
  opacity: 1;
}

.link-wrapper {
  display: flex;
  position: relative;
}

.link {
  cursor: none;
  position: relative;
  white-space: nowrap;
  color: var(--color-text);
}

.link::before,
.link::after {
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.link::before {
  content: '';
}

.link-hover {
  overflow: hidden;
}

.link-hover::before {
  height: 1px;
  top: calc(100% - 2px);
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.6s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.link-hover:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

.link-hover::after {
  content: attr(data-text);
  height: 100%;
  top: 0;
  background: none;
  transform-origin: 100% 50%;
  transform: translate3d(0, 150%, 0);
  transition: transform 0.4s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.link-hover:hover::after {
  transform: translate3d(0, 0, 0);
}

.link-hover span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.5, 0.5, 0.3, 1);
}

.link-hover:hover span {
  transform: translate3d(0, -150%, 0);
}

.dot-1{
  position: fixed;
  top: 20%;
  left: 25%;
  width: 150px;
  height: auto;
  opacity: 0.3;
  z-index: -4;
}

.dot-2{
  position: fixed;
  top: 70%;
  left: 65%;
  width: 180px;
  height: auto;
  opacity: 0.4;
  z-index: -4;
}

.arrow{
  width: 270px;
  height: 15px;
  border-bottom: 2px solid #2E2E2E;
  position: relative;
}

.arrow::before{
  content: '';
  width: 10px;
  height: 2px;
  transform: rotate(45deg);
  position: absolute;
  background-color: #2E2E2E;
  right: -2px;
  bottom: 2px;
}

.arrow::after{
  content: '';
  width: 10px;
  height: 2px;
  transform: rotate(135deg);
  position: absolute;
  background-color: #2E2E2E;
  right: -3px;
  bottom: -4px;
}

.to-right{
  animation: ease-in-out 1.5s to-right infinite;
}

@keyframes to-right{
  0%{
    margin-left:-10px;
    width: 0;
    opacity: 0.7;
  }
  70%{
    margin-left: 0;
    width: 200px;
    opacity: 0.7;
  }
  90%{
    margin-left: 0;
    width: 200px;
    opacity: 0.7;
  }
  95%{
    margin-left: -10px;
    width: 200px;
    opacity: 0;
  }
  100%{
    margin-left: -10px;
    width: 0;
    opacity: 0;
  }
}

.text-justify{
  text-align: justify;
}

.justify-end{
  display: flex;
  justify-content: flex-end;
}



/* id */
#navbar{
  position: fixed;
  z-index: 10;
  width: 100%;
  padding: 30px 40px;
  opacity: 0;
  animation: ease 0.3s jumpin forwards;
  animation-delay: 2.4s;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

#navbar ul li{
  list-style: none;
  padding: 0 15px;
}

#navbar ul li a{
  font-size: 12px;
}

#navbar ul.desktop{
  display: none;
}

#navbar ul.desktop.entered{
  display: flex;
}

#navbar .mobile{
  position: absolute;
  width: 100%;
  height: 100vh;
  text-align: center;
  left: 100%;
  top: 0;
  z-index: -1;
  background-color: #2E2E2E;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.7s ease-in-out;
}

#navbar .mobile ul{
  padding: 0;
}

#navbar .mobile ul li{
  margin: 50px 0;
}

#navbar .mobile ul li a{
  font-size: 2.5rem;
}

#navbar .menu-toggle{
  display: none;
}

#navbar .btn-logo{
  font-size: 19px;
  font-weight: 200;
  font-family: Lato;
  top: 15px;
  left: 15px;
}

#navbar .links .logo-link{
  width: 32px;
  height: 32px;
}

#navbar .links.entered{
  display: none;
}

#wrapper {
  width: 100%;
  height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s ease-in-out;
}

#cover {
  width: 100%;
  height: 100vh;
}

#cover h1{
  color: #2E2E2E;
  font-family: Poppins;
  font-weight: 900;
  font-size: 3.625rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  height: 4.9rem;
}

#cover h1::before{
  content: 'Hi, This is Niko.';
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: 1.3s ease jumpin-01 forwards;
}
  
@keyframes jumpin-01{
  0%{
    opacity: 0;
    transform: translateY(100%);
  }
  50%{
    opacity: 1;
    transform: translateY(0);
  }
  80%{
    opacity: 1;
    transform: translateY(0);
  }
  100%{
    opacity: 0;
    transform: translateY(0);
  }
}

#cover h1::after{
  content: 'Problem-Solving Designer';
  opacity: 0;
  display: flex;
  justify-content: center;
  animation: 1s ease jumpin-02 forwards;
  animation-delay: 1s;
}

@keyframes jumpin-02{
  0%{
    opacity: 0;
    transform: translateY(0);
  }
  100%{
    opacity: 1;
    transform: translateY(-100%);
  }
}

#cover p{
  color: #2E2E2E;
  font-family: Lato;
  font-size: 1.375rem;
  opacity: 0;
  animation: ease 0.3s jumpin forwards;
  animation-delay: 2.2s;
}

#cover .enter{
  z-index: 1;
  opacity: 0;
  animation: ease 0.3s jumpin forwards;
  animation-delay: 1.8s;
}

@keyframes jumpin{
  0%{
    opacity: 0;
    transform: translateY(30px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

#cover .text, #cover p {
  text-align: center;
}

#cover .role::selection{
  background-color: #000000;
}

#cover .text{
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
}

#cover .text.entered{
  animation: cubic-bezier(0.075, 0.82, 0.165, 1) jumpout 1s forwards;
  animation-delay: 0.5s;
}

@keyframes jumpout{
  0%{
    transform: translateX(-50%) translateY(-50%);
    opacity: 1;
    display: block;
  }
  100%{
    transform: translateX(-50%) translateY(-75%);
    opacity: 0;
    display: none;
  }
}

/* @keyframes jumpout{
  0%{
    transform: translateY(0);
    opacity: 1;
    display: block;
  }
  100%{
    transform: translateY(-50px);
    opacity: 0;
    display: none;
  }
} */

#cover .mouse{
  width: 33px;
  height: 50px;
  border: 2px solid #000000;
  border-radius: 30px;
  background-color: transparent;
  display: inline-block;
  margin: 10px;
  transform: translateY(30px);
}

#cover .mouse::before{
  content: '';
  width: 6px;
  height: 6px;
  background-color: #000000;
  border-radius: 50%;
  position: absolute;
  margin: 10px 0px 5px 11px;
  animation: ease blink 0.8s infinite;
}

@keyframes blink{
  from{
    opacity: 0;
    transform: translateY(0px);
  }
  to{
    opacity: 1;
    transform: translateY(7px);
  }
}

#cover .copyright{
  position: absolute;
  bottom: -15px;
  left: 40px;
  font-size: 0.875rem;
}

#about{
  padding: 170px 0 130px 0;
  opacity: 0;
  transition: 1s ease-in-out;
  transition-delay: 0.8s;
}

#about h6{
  padding-left: 16px;
  position: relative;
}

#about h6::before{
  position: absolute;
  content:'';
  height: 100%;
  left: 0;
  width: 6px;
  background-color: #212529;
}

#about.entered{
  margin-top: -100vh;
  opacity: 1;
}

#about .title{
  animation: jump 0.25s forwards;
  animation-delay: 0.6s;
}

@keyframes jump{
  0%{
    transform:translateX(-50px);
  }
  to{
    transform: translateX(0px);
  }
}

#about .quote{
  font-size: 1.6rem;
  font-family: Poppins;
  font-weight: normal;
  position: relative;
  margin-top: 130px;
  text-align: left;
}

#about .text{
  position: relative;
  padding: 50px 0 0 50px;
  text-align: justify;
}

#about .avatar{
  opacity: 0;
  position: absolute;
  width: 100%;
  height: auto;
  border-radius: ;
}

#about .avatar.entered{
  animation: ease-in-out fadein 0.3s forwards;
  animation-delay: 0.8s;
}

#about .img-wrapper{
  width: 300px;
  height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 0 100px;
}

#expertise {
  padding: 140px 0;
}

#expertise img{
  padding: 60px 60px 20px 60px;
  width: 100%;
  height: auto;
  opacity: 0.8;
}

#works{
  padding-top: 130px;
}

#works .fixed{
  z-index: 5;
  transition: 0.4s;
}

#works .project{
  width: 700px;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#works .project::before{
  content: '';
  width: 95%;
  height: 80%;
  max-width: 515px;
  max-height: 600px;
  background-color: rgb(256, 256, 256, 0.45);
  border-radius: 0 150px;
  position: absolute;
  /*box-shadow: 0 0 10px #fcfcfc;*/
  z-index: -1;
  transition: 0.45s;
}

#works .project:hover::before{
  background-color: rgb(256, 256, 256, 0.8);

}

#works .project-description{
  text-align: center;
  z-index: 1;
  position: relative;
}

#works .project-description h5{
  font-size: 1.875rem;
  font-family: Poppins;
  font-weight: 700;
}

#works .project-img{
  width: 500px;
  height: auto;
  position: relative;
  mix-blend-mode: multiply;
  z-index: -1;
}

#works .category{
  display: grid;
  margin-top: 30px;
  font-size: 1rem;
  list-style: none;
  padding:0;
}

#works .website-case{
  display: none;
}

#works .active{
  font-weight: bold;
}

#contact{
  height: 100vh;
  width: 100%;
}

#contact .circle{
  position: relative;
  min-width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #FFF;
}

#contact .circle::before{
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  border-radius: 50%;
  filter: blur(50px);
}

#contact .circle-1, #contact .circle-1::before{
  background: linear-gradient(90deg, #f00, #082);
}

#contact .line{
  height: 40%;
  top: 40%;
  z-index: 2;
}

#case-transition{
  position: fixed;
  z-index: 3;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ease-in-out slideout 1.2s forwards;
  animation-delay: 1.7s;
}

@keyframes slideout{
  from{
    right: 0;
    overflow: hidden;
  }
  to{
    right: 100%;
    overflow: unset;
  }
}

#case-transition::after{
  content: '';
  width: 100%;
  height: 100vh;
  background-color: #DBDBDB;
  position: absolute;
  top: 0;
  left: 0;
  animation: ease-in-out 1s slidein-case forwards;
}

@keyframes slidein-case{
  0%{
    left: 100%;
  }
  50%{
    left: 40%;
    }
  100%{
    left: 0%;
  }
  }

#case-transition::before{
  content: '';
  width: 100%;
  height: 100vh;
  background-color: #FFFFFF;
  position: absolute;
  top:0;
  left:0;
}

#case-transition p{
  font-weight: 900;
  position: absolute;
  z-index: 5;
  opacity: 0;
  animation: ease-in-out jumpin-p 1.4s;
  animation-delay: 0.35s;
}

@keyframes jumpin-p{
  0%{
    opacity: 0;
    transform: translateY(20px);
  }
  30%{
    opacity: 1;
    transform: translateY(0);
  }
  85%{
    opacity: 1;
    transform: translateY(0);
  }
  100%{
    opacity: 0;
    transform: translateY(20px);
  }
}

#case-transition .loading-line{
  z-index: 5;
  position: absolute;
  margin-top: 30px;
  width: 100px;
  height: 1px;
  opacity: 0;
  background-color: #2b2b2b;
  animation: ease-in-out loading-line 1.3s forwards;
}

@keyframes loading-line{
  0%{
    width: 0;
    opacity: 1;
  }
  30%{
    width: 200px;
    opacity: 1;
  }
  90%{
    width: 200px;
    opacity: 1;
  }
  100%{
    width: 200px;
    opacity: 0;
  }
}

#case-cover{
  height: 85vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#case-cover img{
  position: absolute;
  width: 100%;
  height: auto;
}

#case-intro{
  min-height: 20vh;
  width: 100%;
  position: relative;
  padding-top: 100px;
  background-color: #FFFFFF;
  opacity: 0;
  animation: ease-in-out slideright 0.5s forwards;
  animation-delay: 2.3s;
}

@keyframes slideright{
  0%{
    transform: translateX(200px);
    opacity: 0;
  }
  100%{
    transform: translateX(0px);
    opacity: 1;
  }
}

#case-intro table{
  margin-top: 30px;
}

#case-intro table td{
  padding-right: 30px;
}

#case-intro .container{
  /* max-width: 100%; */
  /* padding: 0 40px; */
}

#case-intro .description{
  font-size: 2.65rem;
  text-align: left;
  margin: 50px 0;
}

#case-intro .category a{
  font-size: 15px;
  display: block;
  margin-bottom: 10px;
  margin-left: 10px;
}

#case-intro img{
  width: 120%;
  height: auto;
  right: 0;
}

#case-detail{
  background-color: rgba(245,245,245,0.5);
  text-align: center;
}

#case-detail img{
  width: 100%;
  height: auto;
}

#case-detail .about-project, .outcome{
  margin: 150px 0;
  text-align: left;
}

#case-detail .outcome{
  margin-top: 120px;
}

#case-detail .w-50{
  display: flex;
}

#case-detail .w-50 img{
  width: 50%;
  height: auto;
}

#next{
  padding: 100px 0;
}

#next .subtitle{
  margin-top: 50px;
}

#next .showcase{
  max-width: 500px;
  max-height: 300px;
  overflow: hidden;
}

#next .showcase img{
  width: 100%;
  height: auto;
}

#case-footer{
  margin-top: 100px;
}

#case-footer h2{
  font-size: 2.5rem;
}

#svg-line{
  position: absolute;
}

#error{
  min-height: 100vh;
  text-align: center;
}

#error .title{
  color: #FFFFFF;
}

/* responsive */

@media only screen and (max-width: 991.9px) {
  html{
    font-size: 90%;
  }

  #works .fixed{
    position: relative!important;
  }
  #case-cover{
    height: 60vh;
  }
  
  #works .project-description h5{
  font-size: 1.5rem;
    }
}

@media only screen and (max-width: 767.9px) {
  @keyframes boom{
    0%{
      width: 0;
      height: 0;
    }
    60%{
      width: 450px;
      height: 450px;
    }
    100%{
      width: 450px;
      height: 450px;
    }
  }

  @keyframes boom-out{
    0%{
      width: 450px;
      height: 450px;
    }
    20%{
      width: 350px;
      height: 350px;
    }
    70%{
      width: 550px;
      height: 550px;
      opacity: 0.5;
    }
    99%{
      width: 800px;
      height: 800px;
      opacity: 0;
      visibility: 0;
    }
    100%{
      width: 0px;
      height: 0px;
      opacity: 0;
      visibility: 0;
    }
    
  }

  html{
    font-size: 85%;
  }

  .line-v{
    width: 1px;
    top: 100%;
    right: 20px;
  }
  .title{
    font-size: 2.5rem;
  }
  
  .mobile-center{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .sm-p-0{
  padding: 0;
  }
  
  #navbar {
    position: fixed;
    z-index: 10;
    width: 100%;
    padding: 10px;
  }
  #navbar ul.desktop.entered{
    display: none;
  }
  #navbar .menu-toggle{
    width: 35px;
    height: 22px;
    border: none;
    background-color: transparent;
    position: relative;
    cursor: unset;
  }
  #navbar .menu-toggle:focus{
    outline: 0;
  }
  #navbar .menu-toggle span{
    width: 100%;
    height: 3px;
    background-color: #2E2E2E;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.35s ease;
  }
  #navbar .menu-toggle span:nth-child(2){
    top: 50%;
  }
  #navbar .menu-toggle span:nth-child(3){
    top: 100%;
  }
  #navbar .menu-toggle.active span:nth-child(1){
    transform-origin: left top;
    transform: rotate(41deg);
  }
  #navbar .menu-toggle.active span:nth-child(2){
    width: 0;
  }
  #navbar .menu-toggle.active span:nth-child(3){
    transform-origin: left bottom;
    transform: rotate(-41deg);
  }

  #navbar .menu-toggle.entered{
    display: block;
  }
  #navbar .mobile.active{
    left: 0;
    background-color: #FFFFFF;
  }
  #cover{
    height: 120vh;
  }
  #cover h1{
    height: 2.875rem;
    font-size: 1.75rem;
  }
  #cover p{
    font-size: 16px;
  }
  #cover .copyright {
    bottom: -25px;
    left: 10px;
  }
  #about{
    padding: 100px 0 20px 0;
  }
  #about .img-wrapper{
    max-height: 280px;
    max-width: 220px;
    margin: 30px 0;
    border-radius: 0 100px;
  }
  #about.entered {
    margin-top: -120vh;
    height: unset;
    padding-top: 90px
  }
  #about .text {
    padding: 20px;
  }
  #about .text::before {
    width: 0;
  }
  #expertise{
    padding: 30px 0;
    height: unset;
    padding-top: 80px;
  }
  #expertise img {
    padding: 10px;
    max-width: 150px;
  }
  #works .project{
    height: 460px;
  }
  #works .project::before{
    width: 370px;
    height: 420px;
    border-radius: 0 80px;
  }
  #works .project-img {
    width: 400px;
  }
  #case-cover{
    height: 40vh;
    background: #FFFFFF;
  }
  #case-cover img {
    width:auto;
    height: 120%;
  }
  #case-intro .description{
    font-size: 30px;
    margin-top: 23%;
  }
  #case-intro .description::before{
    top: 3%;
    left: 4px;
  }
  #case-intro img{
    position: fixed;
  }
  #case-detail .about-project, .outcome{
  margin: 3rem 0;
  }

  #case-footer .link-wrapper .subtitle{
    font-size: 1.125rem;
  }
    .counter_wrapper .col-md-4 {
    margin-bottom: 15px;
      
  }
}

@media (pointer: coarse)  {
  .cursor {
      display: none;
  }
  .cursor-follower {
    display: none;
  }
}

.content{
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
