* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #444;
  line-height: 1.9;
  background-color: #f3f3f3;
}

.modern-slider {
  padding: 5rem 3rem;
  transition: transform 1s, opacity 1s;
}

.slider {
  max-width: 100rem;
  height: 50rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 2s;
}

.sldr-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sldr-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
}

.sldr-btn-left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.sldr-btn-right {
  right: 6%;
  transform: translate(50%, -50%);
}

.sldr-dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.sldr-dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 0.7rem;
  width: 0.7rem;
  border-radius: 50%;
  margin-right: 1rem;
  cursor: pointer;
  transition: all 0.5s;
}

.sldr-dot:last-child {
  margin: 0;
}

.sldr-dot-active {
  background-color: #fff;
  width: 15px;
  width: 3rem;
  height: 0.7rem;
  border-radius: 3px;
  opacity: 1;
}
