@charset "UTF-8";
.bg-light {
  background-color: #A0BEFB !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #FFFFFF;
	padding: 0 20px 0 20px;
	margin: 0 10px 0 10px;
	font-size: 22pt;
	
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #A504F7;
}

.navbar-light .navbar-nav .show > .nav-link, 
.navbar-light .navbar-nav .active > .nav-link, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .nav-link.active {
    color: #7C0220;;
}

.dropdown-toggle::after {
	background-color: #A705A1;
}

.dropdown-menu {
    border-radius: 1.0rem;
	background-color: #A0BEFB;
	}

.dropdown-menu a {
	color: #FFFFFF;
	}

.dropdown-menu a:hover {
	color: #A504F7;
	}

.container-fluid .container h1 {
	margin-top: 100px;
	text-align: center;
	color: #6E30A2;
}

.container-fluid .container h2 {
	margin-top: 0px;
	text-align: center;
	color: #6E30A2;
	font-size: 40pt;
}

.container-fluid .container h3 {
	margin-top: 40px;
	color: #7E6A05;
	text-align: right;
}

.container-fluid .container h4 {
	color: #7E6A05;
	text-align: left;
}

.container-fluid .container .row {
	margin-top: 120px;
}

.row .col-xl-6 #EdgeID {
	margin-top: 50px;
	margin-left: 15px;
}

footer .row .col-xl-6 {
	color: #7E6A05;
}
.container-fluid .container footer {
	margin-top: 50px;
}
footer h4.footer-copyright {
	text-align: center !important;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-size: 20px;
}

div.card-body > p {
   color: #4A6A02;
   margin-top: 0px;
}

.barmenia {
    width: 15%;
    height: auto;
}

.barmenia-zahn {
    width:  50%;
    height: auto;
}

.card {
  margin-bottom: 20px;
}

/* Einheitliche Kartenhöhe */
.card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Kartengitter mit gleicher Höhe */
.row {
  display: flex;
  flex-wrap: wrap;
}

.col-xl-4 {
  display: flex;
  flex-direction: column;
}

.blink-news {
  animation: blinkGrow 3.5s infinite;
  font-weight: normal;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-overlay.hidden {
  display: none;
}

/* Popup Box */
/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay.hidden {
  display: none;
}

/* Reuse of news-box */
.news-box {
  background: #f5f8ff;
  border-left: 5px solid #007BFF;
  padding: 1.5rem;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  animation: fadeIn 0.3s ease;
}

.news-box h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #003366;
}

.news-box p {
  line-height: 1.6;
  margin: 0.8rem 0;
  color: #333;
}

.news-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.news-link:hover {
  background-color: red;
}

.card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


@media screen and (min-width: 720px) {
  .navbar-light .navbar-nav {
    flex-direction: row;
    justify-content: flex-end;
	font-size: 22pt;
  }

  .navbar-light .navbar-nav .nav-link {
    text-align: right;
    padding: 10px 20px;
    margin: 0 20px;
    font-size: 22px;
  }
}

@media screen and (max-width: 719px) {
  .navbar-light .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin: 5px 0;
    font-size: 18px;
    text-align: left;
    width: 100%;
  }

  .navbar-collapse {
    background-color: #A0BEFB; /* Hintergrundfarbe Menü aufklappen */
    padding: 10px;
    border-radius: 10px;
  }

  .navbar-toggler {
    margin-left: auto;
    border-color: #ffffff;
  }
}

/* Responsive: Auf kleinen Geräten Abstand erhöhen */
@media screen and (max-width: 768px) {
  .card {
    margin-bottom: 30px;
  }
}

/* NEWS_BLINK */
@keyframes blinkGrow {
  0% {
    color: white;
    transform: scale(1);
  }
  33% {
    color: #003366; /* Dunkelblau */
    transform: scale(1.2);
  }
  66% {
    color: #28a745; /* Grün */
    transform: scale(1.1);
  }
  100% {
    color: white;
    transform: scale(1);
  }
}
