*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-clr: white;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-clr: #121212;
  }
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: black;
}

.frame {
  width: 500px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  position: relative;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 1000ms ease-in-out;
}

img {
  width: 500px;
  height: 500px;
  border-radius: 10px;
  object-fit: cover;
}

#next,
#prev {
  cursor: pointer;
  margin: 1em;
  width: 50px;
  height: 50px;
}

.nav {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.nav button {
  cursor: pointer;
  height: 12px;
  width: 12px;
  border: none;
  border-radius: 50%;
  padding: 0;
  transition: transform 300ms ease-in-out;
  background-color: white;
}

.nav button:hover,
.nav button.active {
  transform: scale(2);
}
