*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.flash-container {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 50px;
}

.flash-message {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeOut 0.5s ease 14.5s forwards;
}

.flash-message.success {
  background-color: #28a745;
}

.flash-message.error,
.flash-message.danger {
  background-color: #dc3545;
}

.flash-message.warning {
  background-color: #ffc107;
  color: black;
}

/* fade out animation */
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
}

/* Page background */
.area {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
  
  .background_objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* optional: prevents blocking clicks */
    z-index: 0;
  }

.main-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.transparent_box {
  width: min(600px, calc(100vw - 24px));
  max-width: 100%;
  margin: 50px auto 0;
  background-color: rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
  padding: 50px 35px;
  z-index: 1;
}

.transparent_box * {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  letter-spacing: 0.5px;
  outline: none;
  border: none;
  text-shadow: 2px 2px 4px #000000;
}

/* Global typography */
a {
  color: #FFF;
}

h1 {
  font-size: 60px;
  text-align: center;
  color: #FFF;
  line-height: 70px;
  font-family: 'Bree Serif', serif;
}

h3 {
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: #FFF;
  text-shadow: 2px 2px 4px #000000;
}

h3 a {
  color: #FFF;
}

p {
  text-align: center;
}

@media (max-width: 768px) {
  .transparent_box {
    width: min(600px, calc(100vw - 16px));
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


