@keyframes diagonalMove {
  0% {
    width: 100vw;
    height: 100vh;
    transform: translate(100vw, -100vh);
    opacity: 0.6;
  }

  100% {
    width: 144px;
    height: 100px;
    opacity: 1;
  }
}

@keyframes showClear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.camera-wrap {
  width: 100%;
  height: 100vh; 
  position: relative;
}

.region-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 80vw;
  height: 80vw;
  margin-left: 10vw;
  top: 20vh;
}

.footer {
  position: absolute;
  width: 100%;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 0;
  left: 0;
  z-index: 999;

  .img-wrap {
    gap: 36px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .img-box {
    width: 144px;
    height: 200px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 4px solid #fff;
    color: #fff;
    font-size: 30px;
    position: relative;

    .text {
      position: absolute;
      display: inline-block;
      width:120px;
      height: 80px;
      top: 50%;
      left: 50%;
      margin-left: -60px;
      margin-top: -40px;
      text-align: center;
      line-height: 80px;
      z-index: 999;
    } 
    &.active {
      border: 4px solid #fed700;
    }
  }
}

.thumb-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.img-thumb {
  animation: diagonalMove 0.1s ease-in forwards;
}

.clear-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 9999;
  animation: showClear 0.2s ease-in forwards;
}

.photo-icon {
  width: 100px;
  height: 100px;
  margin-top: 40px;
}

.next-btn { 
  position: absolute;
  z-index: 9999;
  bottom: 100px;
  border-radius: 40px;
  right: 60px;
}