*, *::before, *::after {
  box-sizing: border-box;
}

* {
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: url("/assets/bg.jpg") center/cover no-repeat;
  background-color: #0A0A0D;
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="%23FFF" stroke="%23000" stroke-width="2" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z"%3E%3C/path%3E%3C/svg%3E'), auto;
}

/*.about-me{*/
/*  font-family: "Geist", sans-serif;*/
/*  font-size: 50px;*/
/*  color: var(--white-color);*/
/*}*/

.work{
  padding-top: 46px;
}

.works-container{
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  display: flex;
}

.works-container.disable{
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.open-work{
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: none;
  padding-top: 46px;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}

.open-work.active{
  opacity: 1;
  display: flex;
  transition: opacity 0.3s ease-in-out;
  background: none;
  border: none;
  pointer-events: auto;
}

.open-work-header{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  border-radius: 16px;
  border: 1px solid var(--dark-color-10);
  background-color: var(--dark-color-60);
  padding: 12px;
  gap: 24px;
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-size: 18px;
  color: var(--white-color);
}

.view-all {
  width: fit-content;
  height: 36px;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--dark-pink-90);
  background: none;
  transition: all 0.2s ease-in-out;
  display: flex;
  gap: 8px;
  text-decoration: none;

}

.view-all:hover {
  background-color: var(--dark-pink-10);
  transition: all 0.2s ease-in-out;
}

.open-work-container{
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--dark-color-10);
  background-color: var(--dark-color-60);
  padding: 24px;
  gap: 32px;
  display: flex;
  flex-direction: column;

  .open-work-top{
    display: flex;
    gap: 16px;
    flex-direction: column;
  }

  .open-work-name{
    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    font-size: 20px;
    color: var(--white-color);
  }

  .open-work-description{
    font-family: "Geist", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--white-color-60);
    display: flex;
    width: 100%;
    gap: 6px;
  }

  .dot{
    color: var(--white-color-20);
  }

  .line{
    width: 100%;
    height: 2px;
    border-radius: 100px;
    background-color: var(--dark-pink-10);
  }

  img{
    width: 100%;
    height: 342px;
    border-radius: 8px;
    border: 1px solid var(--dark-color-10);
  }

  .open-work-section{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .open-work-title{
    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    font-size: 18px;
    color: var(--white-color);
  }

  .open-work-subtitle, .open-work-fraze{
    font-family: "Geist", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--white-color-60);
  }
}

.works-navigator{
  width: 100%;
  height: 96px;
  border-radius: 16px;
  border: 1px solid var(--dark-color-10);
  background-color: var(--dark-color-60);
  padding: 24px;
  gap: 96px;
  display: flex;
  justify-content: space-between;
}

.previous{
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

.next{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-content: flex-end;
  text-align: end;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

.nav-btn{
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--white-color-60);
}

.work-name{
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--white-color-80);
}

.bullet-anim {
  transform: translateX(400px);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.bullet-anim.active {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

@media screen and (max-width: 508px) {
  .work{
    padding-top: 0;
  }

  .open-work{
    padding: 0 0 64px 0;
  }

  .open-work-container img{
    height: 225px;
  }

  .bullet-anim {
    transform: translateX(200px);
  }
}