
.justified {
  text-align: justify;
  text-align-last: center;
}

#toast{
  visibility: hidden;
  opacity: 0;
  min-width: 260px;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 12px 18px;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
  font-size: 15px;
}

#toast.show{
  visibility: visible;
  opacity: 1;
}

#supporter-toast {
  visibility: hidden;
  opacity: 0;
  min-width: 260px;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 12px 18px;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
  font-size: 15px;
}

#supporter-toast.show {
  opacity: 1;
  visibility: visible;
}


.circle-img {
  width: 70%;           
   aspect-ratio: 1 / 1; 
  border-radius: 50%;       /* makes the circle */
  border: 6px solid var(--text); /* orange border like your example */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* crops image inside circle */
  background-color: #f6e6cc; /* optional beige background */
  margin: 0 auto 1rem auto;  /* center + spacing */
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* makes image fill circle */
}

/* Container */
.dropdown {
  position: relative;
  list-style: none;
}

/* The toggle button */
.dropdown-toggle {
  display: inline-block;
  cursor: pointer;
}

/* Dropdown container */
.dropdown {
  position: relative;
  list-style: none;
}

/* Dropdown content box */
.dropdown-box {
  display: none;

  border: 2px solid var(--text);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);

  width: 60vw;
  min-width: 300px;

    /* --- Center across the screen --- */
  left: 0;
  right: 0;
  margin: auto;

  top: 110%;                 /* below the button */
}

/* Show on click/toggle */
.dropdown.open .dropdown-box {
  display: block;
}

#footer {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Grid for the impressum items */
#footer .impressum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 columns */
  gap: 2rem 3rem;                    /* row-gap / column-gap */
  width: 100%;
  max-width: 700px;                  /* optional for better look */
  margin-bottom: 2rem;
}

/* On mobile → 1 column */
@media (max-width: 600px) {
  #footer .impressum-grid {
    grid-template-columns: 1fr;
  }
}

.impressum-item h3 {
  text-decoration: underline;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.impressum-item p {
  margin: 0;
  font-weight: 600;
}

.impressum-item a {
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

/* Instagram icon area */
#footer ul.icons {
  padding: 0;
  list-style: none;
  margin-top: 1rem;
}

#footer ul.icons li {
  display: inline-block;
}

#footer .icon {
  font-size: 2rem;
}

.dropdown-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0%;
}

.dropdown-img img {
  width: 100%;        /* nice fixed size */
  height: auto;
  padding: 0%;
  object-fit: contain;
  pointer-events: none; /* prevents weird click behavior */
}

/* The floating dropdown box */
#dropdown-global {
  display: none;
  position: fixed;            /* 🔥 fixed to page, not <li> */
  top: 110px;                 /* adjust depending on header height */
  left: 50%;
  transform: translateX(-50%);

  width: 80vw;                /* centered full width */
  max-width: 800px;
  padding: 0%;

  background: white;
  border: 2px solid var(--text);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* When active */
#dropdown-global.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
