* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
}

.slider {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 51.8vh;
  overflow: hidden;
  position: relative;
}

.sidebar {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-image 1s ease-in-out;
}

.sidebar ul {
  list-style: disc;
  padding-left: 20px;
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  background: transparent;
  padding: 10px;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.sidebar ul.fade-out {
  opacity: 0;
}

.sidebar ul.fade-in {
  opacity: 1;
}

.sidebar ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

@media (max-width: 480px) {
  .sidebar {
    padding: 15px;
  }

  .sidebar ul li {
    font-size: 14px;
  }
}

.slide-data {
  display: none;
}
