/* Tech Stack */
.tech-stack {
  display: flex;
  justify-content: space-around;
  color: white;
  padding: 5px;
  background: rgb(3, 6, 24);
  border: 0.1px solid rgb(133, 76, 230);
  box-shadow: rgba(23, 92, 230, 0.15) 0px 4px 24px;
  border-radius: 16px;
  max-width: 300px;
}

.tech-stack ul,
.frontend_left ul,
.frontend_right ul,
.backend_left ul,
.backend_right ul,
.misc_left ul,
.misc_right ul {
  list-style: none;
  padding: 0;
}

/* Layout */

/* Front Page */

#typewriter-container {
  height: 200px;
  overflow: auto;
  padding: 10px;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrapper {
  transition: all 0.5s;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.card:hover .wrapper {
  transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
  box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
}

.wrapper::before,
.wrapper::after {
  content: "";
  opacity: 0;
  width: 100%;
  height: 80px;
  transition: all 0.5s;
  position: absolute;
  left: 0;
}

.wrapper::before {
  top: 0;
  height: 100%;
  background-image: linear-gradient(
    to top,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}

.wrapper::after {
  bottom: 0;
  opacity: 1;
  background-image: linear-gradient(
    to bottom,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}

.card:hover .wrapper::before,
.wrapper::after {
  opacity: 1;
}

.card:hover .wrapper::after {
  height: 120px;
}

.title-card {
  width: 100%;
  transition: transform 0.5s;
}

.card:hover .title-card {
  transform: translate3d(0%, -50px, 100px);
}

.character {
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  z-index: -1;
}

.card:hover .character {
  opacity: 1;
  transform: translate3d(0%, -30%, 100px);
}

.section-divider {
  width: 80%;
  height: 2px;
  background-color: #ff0000;
  margin: 75px auto 0;
}

@media only screen and (max-width: 786px) {
  .home-short {
    padding-top: 4%;
  }

  .title h2 {
    font-size: 12px;
    font-weight: 800;
  }

  p {
    text-align: center;
  }

  .image {
    width: 95%;
  }
}

@media only screen and (max-width: 480px) {
  .home-short {
    margin-top: 20%;
  }

  .title h2 {
    font-size: 9.5px;
    font-weight: 800;
  }

  p {
    text-align: center;
  }

  .image {
    width: 100%;
  }
}
