@import url("base.css");

.canvas-3d {
  display: none;
}

.work {
  position: relative;
  width: 100%;
  height: 100vh;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-item {
  position: relative;
  flex: 1;
  margin: 20px;
  border: 1px solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
}

.estate-skill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 3vw;
  background: rgba(0, 0, 0, 0.8);
}

.corpora-skill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 3vw;
  background: rgba(0, 0, 0, 0.8);
}

.skill>span {
  margin: 10px;
  opacity: 0;
}

.estate:hover .estate-skill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 3vw;
  background: rgba(0, 0, 0, 0.8);
}


.corpora:hover .corpora-skill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 3vw;
  background: rgba(0, 0, 0, 0.8);
}

.estate:hover .skill-flex {
  opacity: 1;
  animation: bounceInLeft-1 1s;
}

.estate:hover .skill-grid {
  opacity: 1;
  animation: bounceInLeft-2 1.3s;
}

.corpora:hover .skill-js {
  opacity: 1;
  animation: bounceInLeft-1 1s;
}

.corpora:hover .skill-jquery {
  opacity: 1;
  animation: bounceInLeft-2 1.3s;
}

@keyframes bounceInLeft-1 {

  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-200px, 0, 0);
    transform: translate3d(-200px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

  }
}

@keyframes bounceInLeft-2 {

  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-270px, 0, 0);
    transform: translate3d(-270px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

  }
}

@media only screen and (max-width: 1000px) {
  .canvas-3d {
    display: none;
  }

  .work {
    position: relative;
    width: 100%;
    height: 100vh;
  }

  .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: grey; */
  }

  .container-item {
    position: relative;
    width: 75%;
    margin: 20px;
    border: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  video {
    width: 100%;
  }

  .estate-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }

  .corpora-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }

  .skill>span {
    margin: 10px;
    opacity: 0;
  }

  .estate:hover .estate-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }


  .corpora:hover .corpora-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }

  .estate:hover .skill-flex {
    opacity: 1;
    animation: bounceInLeft-1 1s;
  }

  .estate:hover .skill-grid {
    opacity: 1;
    animation: bounceInLeft-2 1.3s;
  }

  .corpora:hover .skill-js {
    opacity: 1;
    animation: bounceInLeft-1 1s;
  }

  .corpora:hover .skill-jquery {
    opacity: 1;
    animation: bounceInLeft-2 1.3s;
  }

  @keyframes bounceInLeft-1 {

    from,
    60%,
    75%,
    90%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
      opacity: 0;
      -webkit-transform: translate3d(-150px, 0, 0);
      transform: translate3d(-150px, 0, 0);
    }

    60% {
      opacity: 1;
      -webkit-transform: translate3d(25px, 0, 0);
      transform: translate3d(25px, 0, 0);
    }

    75% {
      -webkit-transform: translate3d(-10px, 0, 0);
      transform: translate3d(-10px, 0, 0);
    }

    90% {
      -webkit-transform: translate3d(5px, 0, 0);
      transform: translate3d(5px, 0, 0);
    }

    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);

    }
  }

  @keyframes bounceInLeft-2 {

    from,
    60%,
    75%,
    90%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
      opacity: 0;
      -webkit-transform: translate3d(-250px, 0, 0);
      transform: translate3d(-250px, 0, 0);
    }

    60% {
      opacity: 1;
      -webkit-transform: translate3d(25px, 0, 0);
      transform: translate3d(25px, 0, 0);
    }

    75% {
      -webkit-transform: translate3d(-10px, 0, 0);
      transform: translate3d(-10px, 0, 0);
    }

    90% {
      -webkit-transform: translate3d(5px, 0, 0);
      transform: translate3d(5px, 0, 0);
    }

    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);

    }
  }
}

@media only screen and (max-width: 700px) {
  .canvas-3d {
    display: none;
  }

  .work {
    position: relative;
    width: 100%;
    height: 100vh;
  }

  .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: grey; */
  }

  .container-item {
    position: relative;
    width: 75%;
    margin: 20px;
    border: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  video {
    width: 100%;
  }

  .estate-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }

  .corpora-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }

  .skill>span {
    margin: 10px;
    opacity: 0;
  }

  .estate:hover .estate-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }


  .corpora:hover .corpora-skill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3vw;
    background: rgba(0, 0, 0, 0.8);
  }

  .estate:hover .skill-flex {
    opacity: 1;
    animation: bounceInLeft-1 1s;
  }

  .estate:hover .skill-grid {
    opacity: 1;
    animation: bounceInLeft-2 1.3s;
  }

  .corpora:hover .skill-js {
    opacity: 1;
    animation: bounceInLeft-1 1s;
  }

  .corpora:hover .skill-jquery {
    opacity: 1;
    animation: bounceInLeft-2 1.3s;
  }

  @keyframes bounceInLeft-1 {

    from,
    60%,
    75%,
    90%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
      opacity: 0;
      -webkit-transform: translate3d(-120px, 0, 0);
      transform: translate3d(-120px, 0, 0);
    }

    60% {
      opacity: 1;
      -webkit-transform: translate3d(25px, 0, 0);
      transform: translate3d(25px, 0, 0);
    }

    75% {
      -webkit-transform: translate3d(-10px, 0, 0);
      transform: translate3d(-10px, 0, 0);
    }

    90% {
      -webkit-transform: translate3d(5px, 0, 0);
      transform: translate3d(5px, 0, 0);
    }

    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);

    }
  }

  @keyframes bounceInLeft-2 {

    from,
    60%,
    75%,
    90%,
    to {
      -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
      opacity: 0;
      -webkit-transform: translate3d(-180px, 0, 0);
      transform: translate3d(-180px, 0, 0);
    }

    60% {
      opacity: 1;
      -webkit-transform: translate3d(25px, 0, 0);
      transform: translate3d(25px, 0, 0);
    }

    75% {
      -webkit-transform: translate3d(-10px, 0, 0);
      transform: translate3d(-10px, 0, 0);
    }

    90% {
      -webkit-transform: translate3d(5px, 0, 0);
      transform: translate3d(5px, 0, 0);
    }

    to {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);

    }
  }
}


.container-work{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
.title{
  color: #ffffff;
}