html,
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: sans-serif;
  overflow: hidden;
}

#slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 96px); /* odejmujemy wysokość monitBar */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #444;
  z-index: 1;
  overflow: hidden;
}

#slideshow img {
  width: 1920px;
  height: 980px;
  object-fit: contain;
}

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

  100% {
    transform: translateX(-100%);
  }
}

#monitBar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 98px;
  display: flex;
  align-items: center;
  padding: 6px 20px;
  box-sizing: border-box;
  border-top: 2px solid #444;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  font-size: 1.2em;
  font-weight: bold;
}

#monitLogo {
  width: 80px;
  height: 80px;
  margin-right: 16px;
  flex-shrink: 0;
  min-width: 80px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}

#monitContainer {
  width: calc(100% - 80px);
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  padding: 18px 0;
  box-sizing: border-box;
  font-size: 1.2em;
  font-weight: bold;
  position: relative;
  float: left;
}

#monitText {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  flex-grow: 1;
  color: #000;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  left: 100%;
  will-change: transform;
  animation: marquee 20s linear infinite;
  font-size: 32px;
  line-height: 32px;
}


.fade-in {
  animation: fadeIn 1s ease-in forwards;
}

.fade-out {
  animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}