:root {
  --words: "cut citrus fruits.";
}

body {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(to bottom right, #333, #000);
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-family: sans-serif;
}

p {
  margin: 10px 0 0 0;
  color: gray;
  line-height: 100%;
  font-size: 12px;
  position: absolute;
  text-align: center;
  width: 100%;
}

#slider_box {
  width: 100%;
  max-width: 1000px;
  height: fit-content;
  overflow: hidden;
  box-sizing: border-box;
  border: 1rem solid #222;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  font-size: 0;
}

li {
  position: relative;
  width: calc(100% / 8);
  height: auto;
  text-align: center;
  display: inline-block;
}

img {
  width: 100%;
  cursor: pointer;
}

.second_ul {
  width: 100%;
  height: min(50vh, 50vw);
  overflow-x: scroll;
  white-space: nowrap;
}

.second_ul::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  opacity: 0;
}

.second_ul li {
  width: min(50vh, 50vw);
  overflow: hidden;
}

.second_ul img {
  width: 100%;
  filter: blur(5px);
  opacity: 0.25;
  transition: 1s;
}

.in_focus img {
  filter: blur(0px) !important;
  opacity: 1 !important;
  cursor: unset !important;
}

.in_focus:after {
  content: var(--words);
  max-width: 50%;
  text-align: left;
  white-space: normal;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 5px 0 0 5px;
  color: #333;
  position: absolute;
  right: 0;
  bottom: 5px;
  font-size: 12px;
  transform: translateX(100%);
  animation: show_focus_after 0.5s linear 0.5s forwards;
}

@keyframes show_focus_after {
  100% {
    transform: translateX(0%);
  }
}