body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  background: black;
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 200px;
  height: 280px;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.7s;
}

.image-container span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: rotateY(calc(var(--i) * 36deg)) translateZ(400px);
}

.image-container span img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.btn-container {
  
  height: 750px;
  position:absolute;
  width: 80%;
}

.btn {
  position:relative;
  bottom: -80px;
  background: crimson;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#prev {
  left: 20%;
}

#next {
  right: 20%;
}

.btn:hover {
  filter: brightness(1.5);
}


.navbar-wrapper {
  /* font-size: 62.5%; */
  width: 100%;
  height: 160vh; 
  /* height: 50vh;  */
  /* background: #eccc68; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar { 
  width: 20rem;
  height: 20rem;/* 
  background-color: #fd7272; */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transform: scale(0) rotate(-180deg);
  transition: transfrom 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0) 0.23;
}

.change .navbar {
  transform: scale(1) rotate(0);
  transition: all 1s;
}

.navbar-link {
  position: absolute;
}

.navbar-link i {
  font-size: 2.5rem;
  color: #ec0f0f;
  transition: color 0.3s;
}

.navbar-link:hover i {
  color: #222;
}

.navbar-link:nth-child(1) {
  top: 2rem;
}

.navbar-link:nth-child(2) {
  top: 6rem;
  right: 2rem;
}

.navbar-link:nth-child(3) {
  bottom: 6rem;
  right: 2rem;
}

.navbar-link:nth-child(4) {
  bottom: 2rem;
}

.navbar-link:nth-child(5) {
  bottom: 6rem;
  left: 2rem;
}

.navbar-link:nth-child(6) {
  top: 6rem;
  left: 2rem;
}

.navbar-btn {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background: #4a69bd;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.navbar-btn i { 
  font-size: 2rem;
  color: #fff;
  transition: transform 0.5s;
}

.change .navbar-btn i {
  transform: rotate(45deg);
}
