/* ------------------------------ */
/* ADJUST || CHANGE CHILD ELEMENT */
/*     div class="" style=""      */
/*    CHANGE "box-in-layout"      */
/* ------------------------------ */

.boxed {
  background-color: var(--content-background-color);
  outline: var(--default-outline);
  border: var(--default-border);
  font-size: var(--font-size);
}

/* ---------------- */
/* CONTENT - "box1" */
/* ---------------- */

.main-content {
  /* Box */
  margin: 25px;
  height: 94%;

  /* Box Style */
  outline: none;
  background-color: var(--background-color);

  /* Text */
  font-size: 400px;
  text-align: center;
}

/* ------------- */
/* TABS - "box2" */
/* ------------- */

.tabs-container {
  /* Flex */
  display: flex;
  position: relative;

  /* Text Style */
  padding: 20px;
}

.tab-name {
  /* Box - Each Tab Button */
  box-sizing: border-box;
  height: 38px;
  padding: 10px 14.1px;
  margin-left: 4px;

  /* Style */
  background: #2833b6;

  /* Rounds Edges */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tab-name h5 {
  text-decoration: underline;
}

.tab-content {
  /* Box */
  box-sizing: border-box;
  position: absolute;

  /* Exterior Content */
  width: 93%;
  height: 76%;
  top: 53px;
  left: 24px;

  /* Rounding */
  border-radius: 5px;

  /* Interior */
  padding: 20px;

  /* Scroll Fix */
  overflow-y: scroll;

  /* Style */
  background: var(--background-color);

  /* Overlap Fix */
  opacity: 0;
  z-index: 0;
}

/* --------------- */
/* SLIDER - "box6" */
/* --------------- */

/* Slider */
:root {
  --width: 100px;
  --height: 57px;
  --quantity: 10;
}

.slider {
  width: 100%;
  height: var(--height);
  overflow: hidden;

  /* Box Style */
  background-image: url(img/tiles/design4.gif);
  background-size: cover;
  border: none;
  outline: none;
}

.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  animation-delay: calc((var(--position) - 10) * (10s / var(--quantity)));
}

.slider .list .item img {
  width: 100%;
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

.item:hover {
  animation-play-state: paused !important;
  z-index: 1;
  cursor: pointer;
  cursor: url("img/cursor/a-hanekuri01.gif"), auto;
}

/* ---------------- */
/* SLIDER - EFFECTS */
/* ---------------- */

.list {
  height: 100%;
}

/* Ensure proper positioning and stacking */
.custom-cursor {
  pointer-events: none;
}

/* Make images ignore hover events for cursor */
.item img {
  pointer-events: auto; /* But still allow image interactions */
}

/* Add visual feedback during debugging */
.item:hover {
  outline: 2px solid transparent;
}

.item:hover > img {
  outline: 2px solid red; /* Shows which specific item is hovered */
}
