.pop-up {
  width: 20em;
  height: 15em;
  padding: auto;
  padding-top: 3em;
  border-radius: 0.8em;
  text-align: center;
  position: fixed;
  top: 100vh;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  background-color: rgb(17, 25, 39);
  box-shadow: 0 0em 2em rgb(17, 25, 40);
  transition:
    opacity 0.4s ease-in-out,
    top 0.4s ease-in-out,
    transform 0.4s ease-in-out;
}

.pop-up.active {
  opacity: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.exit-button {
  background-color: rgb(24, 42, 71);
  margin: 0.5em;
  padding: 0.3em;
  border-radius: 0.3em;
  box-sizing: border-box;
  float: right;
  width: 1.6em;
  height: 1.6em;
  transition: background-color 0.3s;
}

.exit-button:hover {
  background-color: #286aa7;
}

.fa-x {
  color: white;
  margin-top: 0.0625em;
  font-size: 0.8em;
}

.pop-up-text {
  padding-top: 1em;
  margin: 10%;
  font-size: 1.2em;
}
.mr-2 {
  z-index: 1; /* Set a higher z-index value */
  margin-left: 5%;
  text-decoration: underline;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  word-spacing: 0.08em;
  letter-spacing: 0.007em;
  color: white;
  transition: font-size 0.3s ease; /* Add a smooth transition effect */
}

.mr-2:hover {
  font-size: 1.1em;
  color: rgb(63, 225, 217);
}

.signin-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.signin-popup.hidden {
  display: none;
}

.popup-content {
  background: rgba(17, 25, 35, 0.95);
  color: white;
  padding: 30px 35px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.popup-content h2 {
  margin-bottom: 10px;
}

.popup-content p {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.popup-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #174867;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.popup-btn:hover {
  background: #286aa7;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}
