@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-size: cover;
  transition-delay: 0.4s ease;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.slider-container {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  height: 70vh;
  width: 70vw;
  position: relative;
  overflow: hidden;
}

.slide {
  opacity: 0;
  height: 100vh;
  width: 100vw;
  background-position: center center;
  background-size: cover;
  position: absolute;
  top: -15vh;
  left: -15vw;
  transition: 0.4s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #fff;
  font-size: 30px;
  padding: 20px;
  border: 2px solid orange;
  cursor: pointer;
}

.arrow:focus {
  outline: none;
}

.left-arrow {
  left: calc(15vw - 68px);
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.right-arrow {
  right: calc(15vw - 68px);
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 580px) {
  .arrow {
    padding: 10px;
  }
  
  .left-arrow {
    left: calc(15vw - 48px);
  }
  
  .right-arrow {
    right: calc(15vw - 48px);
  }
}