/* Stylesheet für die Übungswebsite aus ″Einstieg in HTML + CSS″ */
body {

background-attachment:scroll;
/* center bedeutet das von der Mitte ausgegangen wird */
/*background-position: center;*/
margin:0px auto;
font-family: verdana;
}

/* Fine-Tuning: Die Abstände um Logo und Slogan anpassen */
header h1 {
  margin-bottom: 0;
}

header p {
  margin-top: 0;
  align=center;
}

main p {
  margin-top: 0;
  font-size: 20px;
}

img {
    max-width: 100%;
    height: auto;
    border:none;
}


h1 {
    font-size: 18px;
}
h2 {
    font-size: 16px;
}
p {
    font-size: 12px;
}


/* Grundlegende Gestaltung für die Navigation */
nav li {
    display: inline;
    margin-right: 0.5rem;
  }
nav {
    background-color: black;
    color: white;
    padding: 0.5rem;
    margin: 1rem 0;
}
nav ul {
    padding: 0;
    margin: 0;
  }
nav a {
    color: white;
    text-decoration: none;
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  width: 250px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.button:hover {background-color: #3e8e41}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
  }

.button1 {
          left: 30%;
          position: 30%;
          background-color: #4CAF50;
          border-radius: 8px;
          }


/* Grundlegende Gestaltung für den Footer */
footer {
    background-color: black;
    color: white;
    text-align: right;
    padding: 0.5rem;
  }
footer a {
    color: white;
    text-decoration: none;
}

/* Sanftes Scrollen aktivieren */
html {
    scroll-behavior: smooth;
}

/* Grundlegende Gestaltung für den Abschnitt mit den Infoboxen */
.infoboxen {
  background-color: whitesmoke;
  padding: 1rem;
  margin-bottom: 1rem;
}
.infobox {
  text-align: center;
  background-color: lightgrey;
  padding: 1rem;
  margin: 1rem;
}
.Datenschutzbox {
  background-color: lightgrey;
  padding: 1rem;
  margin: 1rem;
}