/* back icon */
.back-icon {
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
}

/* general */
body {
    position: relative;
    font-family: SeoulNamsan, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f7f7;;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    padding: 10px 0;
    z-index: 100;
}

/* main content */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

h1 {
    width: 320px;
    color: #272737;
    text-align: center;
    font-family: Advercase Demo;
    font-size: 36px;
    margin-bottom: 40px;
}

/* buttons */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 264px;
    justify-content: center;
    align-items: center;
}

.payment-button {
    border-radius: 20px;
    background: #282E4C;
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    width: 100%;
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effect */
}
.payment-button:hover {
    background-color: #3a3f63;
    border-color: #3a3f63;
    transform: scale(1.05); /* Slightly enlarge the button */
}

/* star decoration */
.star {
    position: absolute;
}

.star img {
    width: 65px;
    height: 65px;
}


#star1 {
    top: 15%;
    left: 80%;
}

#star2 {
    top: 85%;
    left: 10%;
}

/* navigation bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background-color: #3E3E53;
    padding: 10px;
    border-radius: 21px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  
  .nav-item {
    position: relative;
    transition: transform 0.3s ease-out;
  }
  
  .nav-item img {
    width: 24px;
    transition: transform 0.3s ease-out;
  }
  
  .nav-item.active {
    transform: translateY(-20px); /* Lift active icon */
  }
  
  .nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* Start with scale of 0 */
    width: 50px;
    height: 50px;
    background-color: #3E3E53; /* Circle color */
    border-radius: 50%;
    z-index: -1; /* Places the circle behind the icon */
    transition: transform 2s ease-out; /* Smooth expansion */
  }
  
  .nav-item.active::before {
    transform: translate(-50%, -50%) scale(1); /* Expands the circle smoothly */
  }

    /* Media queries */
@media screen and (min-width: 400px) {
    .bottom-nav {
      max-width: 1080px;
    }