/* Basic styling for popup */

#login-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

/* Popup content styling */

.popup-content {
  background: #fff;
  margin-top: 10px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: 80%;
  max-width: 500px;
  margin: auto;
}

/* Show popup by changing display and opacity */

@media (min-width: 1440px) {
  .popup-content {
    max-width: 1000px;
  }
}

@media (min-width: 1024px) {
  .popup-content {
    max-width: 800px;
  }
}

#login-popup.show {
  display: flex;
  opacity: 1;
}

#login-popup.hide {
  opacity: 0;
}

