@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');
html {
  scroll-behavior: smooth;
}

/* Grundfarben */
body {
	background-color: #f8f9fa;
	font-family: 'Verdana', sans-serif;
	color: #005E9C;
}

h1 {
	font-family: 'Commissioner', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
}

h2 {
	font-family: 'Commissioner', sans-serif;
	font-weight: 800;
	font-size: -5px;
/*	text-transform: uppercase;  */
	color: #005E9C;
}

.bg-light {
		background-color: #f3f1f6!important;
}

/* Header */
header {
  background-image: url('greifensee.jpg'); /* Optionales Hintergrundbild */
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

td {
	font-weight: normal;
}

a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #005fa3;
  text-decoration: underline;
}

a:visited {
  color: #004080;
}

a:active {
  color: #cc0000;
}

.sticky-logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: white; /* Optional: für Kontrast */
  padding: 0;
  width: 100%; 
}

.container {
	padding-top: 70px;
}

.logo-container {
  text-align: center;
  /* border-bottom: 1px solid #ccc; */
}

.rundbild { /* Blaueierli */
  position: fixed;
	top: 12px;
	right: 16px;
	width: 64px;
	height: 64px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1001;
}

.mini-rundbild { /* Blaueierli im Menu drin */
	margin-top: -30px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	z-index: 1002;
}

.lead {
	color: orange;
	font-weight: 700;
}

.daysLeft {
	color: orange;
	font-weight: 600;
}

.side-menu-right {
  position: fixed;
  top: 24px;
  right: -200px;
  width: 200px;
  /* height: 100%; */
  background-color: #e6f7ff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 10px 16px 10px 8px;;
  transition: right 0.6s ease;
  z-index: 1050;
}

.side-menu-right.open {
  right: 0;
}

.side-menu-right .nav-link {
  color: #005E9C;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: left;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  float: right;
  color: #005E9C;
}


/* Smartphones */
@media (max-width: 576px) {
  body { font-size: 14px; }
  .display-1 {
	font-size: 20pt;
  }
  .rundbild { /* Blaueierli */
	top: 12px;
	right: 16px;
	width: 42px;
	height: 42px;
  }
  .side-menu-right {
	top: 24px;
  }
}

@media (max-width: 766px) {
  body { font-size: 14px; }
  .display-1 {
	font-size: 24pt;
  }
  .rundbild { /* Blaueierli */
	top: 18px;
	right: 20px;
	width: 84px;
	height: 84px;
  }
  .side-menu-right {
	top: 32px;
  }
}

/* Tablets */
@media (min-width: 768px) {
  body { font-size: 16px; }
  h1, .display-1 {
	font-size: 32pt;
  }
  .rundbild { /* Blaueierli */
	top: 32px;
	right: 30px;
	width: 104px;
	height: 104px;
  }
  .side-menu-right {
	top: 48px;
  }
}

/* Desktops */
@media (min-width: 992px) {
  body { font-size: 18px; }
  h1, .display-1 {
	font-size: 42pt;
  }
  .rundbild { /* Blaueierli */
	top: 48px;
	right: 40px;
	width: 120px;
	height: 120px;
  }
  .side-menu-right {
	top: 64px;
  }
}


/* Countdown */
.fs-5 {
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  background-color: #0077cc;
  border-color: #0077cc;
}
.btn-primary:hover {
  background-color: #005fa3;
  border-color: #005fa3;
}

/* Spendenformular */
form input, form button {
  border-radius: 5px;
}

/* Twint QR */
img.img-fluid {
  border: 1px solid #ccc;
  padding: 5px;
  background-color: white;
}

/* Medien-Grid */
.ratio iframe {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  font-size: 0.9em;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  .btn {
    font-size: 1rem;
  }
}

img:hover {
  transform: scale(1.02);
  transition: 0.3s ease-in-out;
}

.btn-payrexx {
	display: inline-block;
	width: auto;
	padding: 6px 20px 6px 20px;
	font-size: 23px;
	font-weight: 300;
	white-space: inherit;
	background-color: #19b8f2;
	border: 0;
	outline: 0;
	text-decoration: none;
	color: #005E9C;
	border-radius: 3px;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	-o-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
}
.btn-payrexx:focus, .btn-payrexx:hover {
	background-color: #99cc33;
	color: #005E9C;
}

.teilnehmerzahlen {
	 text-align: right;
	 width: 100%; 
}
