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

body {
  margin: 0;
}


.container {
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  gap: 20px;

  background-image: linear-gradient(to bottom,
        #AD62CA 0%,
        #F8DAB6 50%,
        #DBA9A3 100%);

  padding: 32px 10px;
  align-items: center;
}

.image {
  width: 874px;
  height: 1311px;

  border-radius: 12px;

  box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}




.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.nav {  
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

@media (max-width: 768px) {
  .image {
    width: 620px;
    height: 930px;
  }
}

@media (max-width: 430px) {
  .image {
    width: 330px;
    height: 495px;
  }
}

@media (max-width: 460px) {
  .image {
    width: 290px;
    height: 483px;
  }
}