@font-face {
  font-family: 'IMFellDWPica';
  src: url('./fonts/IM_Fell_DW_Pica/IMFellDWPica-Italic.ttf') format('truetype'),
       url('./fonts/IM_Fell_DW_Pica/IMFellDWPica-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'junicode';
  src: url('./fonts/junicode.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html{
  margin:0;
  padding:0;
}

body {
  font-family: 'IMFellDWPica', serif; /* für normalen Text */
  margin:0;
  padding:0;
  overflow-x:hidden;
}

.background-image {
  background-image: url('./images/background.png');
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:-100;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  min-height:100vh;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1rem 10rem;
  box-sizing: border-box;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; /* position relative für ::before */
  font-family: 'junicode', serif; /* für normalen Text */  
}

.container::before {
  content: "";
  background-image: url('./images/background.png');
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(10px); /* blur auf ::before anwenden */
  filter: blur(50px); /* blur auf ::before anwenden */
  z-index: -1; /* hinter allen anderen Elementen positionieren */
}
main{
	text-align:center;
}

#logo {
  width: 25rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  margin-top: 0;
  margin-bottom: 30px;
  text-shadow: 2px 2px #000;
  display:none;
}

h2 {
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 30px;
}

p {
  font-size: 1.2em;
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.5;
}

a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #f0e68c;
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
}

input[type="submit"] {
  background-color: #ffd700;
  color: #1d3557;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

input[type="submit"]:hover {
  background-color: #f0e68c;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .container {
    padding: 20px;
  }
  #logo {
    width: 15rem;
  }
  h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  p {
    font-size: 1em;
    margin-bottom: 15px;
  }
  input,
  textarea {
    padding: 8px;
    margin-bottom: 15px;
  }
  input[type="submit"] {
    font-size: 1em;
  }
}

.facebook-icon-container {
  border: 2px solid red;
  display: inline-block;
  padding: 5px; /* kleinerer Innenabstand */
}

.facebook-icon-container {
  display: inline-block;
  border: none; /* keine Umrandung mehr */
  position:relative;
margin-top:2rem;
}

.facebook-icon-container img {
	width:4rem;
  border: none; /* keine Umrandung mehr */
	transition:0.2s;
}
.facebook-icon-container:hover img {
	filter:brightness(1.4);	
	transition:0.2s;
}







/* Grundlegende Stile für den Footer */
/* Stil für den Footer */
/* Stil für den Footer */
footer {
  background-color: #25274d; /* Dunkelblau */
background-color:#475644;
  padding: 20px;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.2);
  font-family: 'junicode', serif; /* für normalen Text */
}

/* Stil für den Inhalt des Footers */
.footer-content {
  text-align:center;
  margin:0.25rem 2rem;
}
.footer-text{
	text-align:center;
	margin:0px auto;
	color:#fff;
	font-size:0.8rem;
}

/* Stil für die Buttons zum Öffnen und Schließen des Infobereichs */
.toggle-info {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease-out;
}

.toggle-info:hover {
  background-color: #3E8E41;
}

/* Stil für den Infobereich */
.info-wrapper {
  width: 100%;
}

.info {
  max-height: none;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin: 0 10px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  background-color: #fff;
  color:black;
  text-align:center;
}

.info h4, .info h5 {
  margin-top: 10px;
  font-size: 1.2em;
  margin-bottom: 0px;
}

.info p {
  margin: 10px 0;
  text-align:center;
  font-size:0.9em;
  margin:0 auto;
}

.info a {
  color: #4CAF50;
  text-decoration: none;
  border-bottom: 1px solid #4CAF50;
}

.info a:hover {
  border-bottom: none;
}





.img-umbruch{
	float:right;
	width:20rem;
	max-width:100%;
	margin-left:1rem;
	margin-bottom:1rem;
}
hr{
	margin:3rem auto;
	display:block;
	border:1px solid #fff;
}


/* Stil für das Kontaktformular */
#contact-form {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#contact-form h3 {
  text-align: center;
  color: #333;
  font-weight: bold;
}

#contact-form label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
  color: #555;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
  border-color: #28a745;
  outline: none;
}

#contact-form textarea {
  resize: vertical;
}

#contact-form button[type="submit"] {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
  margin-top: 20px;
}

#contact-form button[type="submit"]:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

#contact-form button[type="submit"]:active {
  background-color: #1e7e34;
  transform: translateY(1px);
}

#form-messages {
  margin-top: 20px;
  text-align: center;
  color: #d9534f;
  font-weight: bold;
}
