:root {
  --color-blank: #ffffff;
  --color-black: #000000;
  --color-one: #3d0603; 
  --color-one-background: #1b1d20;
  --color-two-background: rgba(0, 0, 0, 0.50);
  --color-three-background: transparent;
}

body {
  background: var(--color-one-background);
}

img {
  max-width: 100%;
  display: block;
}

.slide {
  max-width: 380px;
  margin: 20px auto;
  display: grid;
  box-shadow: 0 4px 20px 2px var(--color-two-background);
  position: relative;
}

.slide-items {
  position: relative;
  grid-area: 1/1;
  border-radius: 5px;
  overflow: hidden;
}

.slide-items-details {
  width: 100%;
  height: 100%;
}

.slide-items-details-text-intro,
.slide-items-details-text-content {
  max-width: 75%;
  height: auto;
  position: absolute;
  color: var(--color-blank);
  
}

.slide-items-details-text-intro {
  background: var(--color-two-background);
  top: 33%;
  padding: 3%;
  left: 12%;
  margin-right: 12%;
  border-radius: 1rem;
}

.slide-items-details-text-content {
  background: var(--color-one);
  bottom: 10%;
  padding: 0% 3%;
  left: 10%;
  margin-right: 10%;
}

.slide-nav {
  grid-area: 1/1;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
}

.slide-nav button {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: var(--color-black);
  opacity: 0;
}

.slide-items > * {
  position: absolute;
  top: 0px;
  opacity: 0;
  pointer-events: none;
}

.slide-items > .active {
  position: relative;
  opacity: 1;
  pointer-events: initial;
}

.slide-thumb {
  display: flex;
  grid-column: 1 / 3;
}

.slide-thumb > span {
  flex: 1;
  display: block;
  height: 3px;
  background: var(--color-two-background);
  margin: 5px;
  border-radius: 3px;
  overflow: hidden;
}

.slide-thumb > span.active > span.test {
  display: block;
  height: inherit;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  transform: translateX(-100%);
  animation: thumb 30s forwards linear;
}

@keyframes thumb {
  to {
    transform: initial;
  }
}

.btn-slide-pause,
.btn-slide-play {
  position: absolute;
  z-index: 1;
  cursor: pointer;
  right: 1rem;
  
  background-color: var(--color-three-background);
  border: none;
  color: var(--color-blank);
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
}

.btn-slide-pause,
.btn-slide-play {
  top: 2rem;
}

/* .btn-slide-play {
  top: 5rem;
} */

.icon {
  display: inline-block;
  font-size: 14px;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-pause::before {
  content: url(../image/pause_FILL0_wght400_GRAD0_opsz24.svg);
}

.icon-play::before {
  content: url(../image/play_arrow_FILL0_wght400_GRAD0_opsz24.svg);
}

.hidden {
  display: none;
}