*, *::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;
}

.thoughts {
  padding-top: 46px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  display: flex;
}

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

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

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

.open-thought-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);
}

.open-thought-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-thought-top{
    display: flex;
    gap: 16px;
    flex-direction: column;
  }

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

  .open-thought-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-thought-section{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

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

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

  .thoughts-info{
    width: 100%;
    height: fit-content;
    border-radius: 8px;
    border: 1px solid var(--dark-color-10);
    padding: 16px;
    background-color: var(--dark-color-10);
    font-family: "Geist", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--white-color-60);

    .target{
      color: var(--white-color);
      text-decoration: underline;
    }
  }
}

.thoughts-navigator{
  width: 100%;
  height: fit-content;
  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);
}

.thought-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;
}

.progress-bar{
  width: 288px;
  height: 36px;
  border-radius: 100px;
  background-color: var(--dark-color-60);
  border: 1px solid var(--dark-color-10);
  padding: 6px;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player{
  width: 24px;
  height: 24px;

  image{
    width: 100%;
    height: 100%;
  }
}

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

  .thoughts{
    padding-top: 0;
  }

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

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

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