form {
  display: flex;
  flex-direction: column;
  align-items: center;
} 
#popupScrollWrapper {
  position: fixed;          /* Fixed to stack over the SVG */
  top: 5vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;            /* Higher than #prompt */
  max-height: 70vh;         /* Limit height for scrolling */
  width: 30vw;              /* Match max-width of #prompt */
  height:70vw;
  overflow-y: auto;         /* Scrollable content */
  background-color: white;  /* Matches popup background */
  border-radius: 1em;
  padding: 1em;
  box-sizing: border-box;
  background: palevioletred;
  display: none;
}
.input {
  border: none;
  border-bottom: 2px solid black;
  background: transparent;
  padding: 0.5em 0;
  font-size: 1em;
  width: 80vw;
  height: 2.5em;
  outline: none;
}
#prompt {
  position: fixed;
  top: 18vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: white;
  padding: 1.5em;
  border-radius: 1em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 80vw;
  font-size: clamp(14px, 2vw, 18px);
}
#popupPay {
  position: fixed;
  top: 18vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: white;
  padding: 1.5em;
  text-align: center;
  max-width: 80vw;
  font-size: clamp(14px, 2vw, 18px);
}
#names {
  width: 38.2vw;
}

#namesdiv {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.nameSeparators {
  display: flex;
  justify-content: center;
}

.input:focus {
  border-bottom: 2px solid palevioletred;
}

.input[type="submit"]:focus {
  background-color: palevioletred;
  color: white;
}

.input[type="submit"] {
  background-color: transparent;
  color: black;
  font-size: 1em;
  border: 2px solid black;
  padding: 0.5em 0;
  width: 80vw;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#nav a {
  position: relative;
  text-decoration: none;
  color: white;
  z-index: 1;
}

#nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #ee0653;
  transition: all 0.5s;
  z-index: -1;
}

#nav a:hover::before {
  width: 100%;
}



#socials {
  display: flex;
  gap: 20px;
}

#socials a{
  background-color: white;
  padding: 1em;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  place-item: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

#socials a svg{
  height: 32px;
}

#socials a::before {
  content: attr(data-social);
  position: absolute;
  left: 50%;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -30px) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
  white-space: nowrap;
}

#socials a:hover{
  background-color: var(--accent-color);
  fill: white;
}

#socials a::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent-color);
  transform: translate(-50%, 0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

#socials a:hover::before {
  transform: translate(-50%, -65px) rotate(0);
  opacity: 1;
}

#socials a:hover::after {
  transform: translate(-50%, -42px) rotate(0);
  opacity: 1;
}
