.slide {
  font-family: sans-serif;
  margin: 20px;
}

.slide.paused {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  touch-action: manipulation;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1 {
  text-align: center;
  font-size: 2rem;
  color: var(--verde-principal);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

#slide {
  display: grid;
  border-radius: 4px;
  overflow: hidden;
  margin: 20px auto;
  max-width: 1000px;
  
}

#slide-elements {
  display: grid;
  grid-area: 1/1;
}

#slide-elements>* {
  grid-area: 1/1;
  opacity: 0;
  visibility: none;
}

#slide-elements>.active {
  opacity: 1;
  visibility: visible;
}

#slide-controls {
  grid-area: 1/1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

#slide-controls button {
  opacity: 0;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#slide-thumb {
  display: flex;
  position: absolute;
  width: 100%;
  pointer-events: none;
}

#slide-thumb>span {
  flex: 1;
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  margin: 5px;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}

#slide-thumb .thumb-item.active {
  display: block;
  height: inherit;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  transform: translateX(-100%);
  animation: thumb forwards linear running;
}

#slide-thumb .thumb-item.paused {
  animation-play-state: paused;
}

@keyframes thumb {
  to {
    transform: initial;
  }
}
.noticia{
  padding: .5rem 1rem;
  z-index: 1000;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  border-radius: 4px;
  background: rgba(46, 125, 50, 0.8);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.noticia:hover{
  background-color: #2E7D32;
}
.slideNoticia{
  position: relative;
}