* {
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  background-color: #f4f3ee;
}

h1 {
  color: white;
  background-color: #8a817c;
  padding: 2px;
  border: 2px #e0afa0 solid;
  margin-bottom: 3px;
}

#sticky {
  position: sticky;
  top: 0;
}
/* Damit bleibt das Menü immer sichtbar im oberen Bildschirmrand*/

h2 {
  color: white;
  background-color: #8a817c;
  border: 2px #e0afa0 solid;
  padding: 2px;
  margin-bottom: 0px;
}

p {
  margin-top: 10px;
}

h3 {
  color: rgb(0, 0, 0);
}

a:hover {
  color: white;
}
/* In der Desktop-Ansicht werden die Links weiß beim hovern*/

nav {
  display: flex; /* oder display: grid */
  flex-wrap: wrap;
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  justify-content: space-between;
  justify-content: left;
  background-color: #bcb8b1;
  border: 2px #e0afa0 solid;
}
/* Menü oben ist eine Flexbox */

.a-menu {
  color: white;
  align-items: left;
  margin: 3px;
  background-color: #8a817c;
  padding: 5px;
  display: inline-block;
  width: fit-content;
}
/* Klassen im Menü ansprechen bzw. die einzelnen Menü-Elemente */

img {
  border-radius: 50%;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  margin-top: 20px;
}

th {
  border: 1px black solid;
  width: max-content;
  text-align: left;
  font-weight: bold;
  padding: 2px;
  text-decoration: underline;
}

td {
  text-align: left;
  padding: 2px;
  border: 1px black solid;
}

tr:nth-child(even) {
  background-color: #bcb8b1;
}

.footer-nav {
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  background-color: #f4f3ee;
  height: 30px;
  border: 1px black solid;
}
/* Footer-Menü ist eine Flexbox, Inhalte werden gleichmäßig auf
die Breite verteilt */

.Bild1 {
  width: 80%;
  max-width: 400px;
  min-width: 200px;
  margin: 10px auto;
  display: block;
}

.Formular {
  background-color: #bcb8b1;
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid #8a817c;
  border-radius: 3px;
}

button {
  background-color: #e0afa0;
  border-radius: 2px;
  border: 0.5px solid black;
  padding: 5px;
  margin: 5px;
  width: 20%;
  cursor: pointer;
}

.Biografie2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* Damit "Interessen" und "Was ich nicht mag" nebeneinander stehen;
section wird von einem div umschlossen*/

/* CSS für die Skill Bar */
.container {
  width: 100%; /* Full width */
  background-color: #ddd; /* Grey background */
}
.skills {
  text-align: right; /* Right-align text */
  padding-top: 2px; /* Add top padding */
  padding-bottom: 2px; /* Add bottom padding */
  color: white; /* White text color */
}
.html {
  width: 90%;
  background-color: #04aa6d;
} /* Green */
.css {
  width: 70%;
  background-color: #2196f3;
} /* Blue */
.js {
  width: 20%;
  background-color: #f44336;
} /* Red */

@media (max-width: 520px) {
  h1 {
    font-size: 20px;
  }
}
/*Bis 520px ist die Schriftgröße 20px groß*/

@media (min-width: 370px) {
  nav {
    display: block;
  }
}

@media (min-width: 1000px) {
  .Biografie1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
/* Wenn das Display mind. 1000px Breite hat, verwandle Biografie1 in
ein grid und packe Biografie 2 daneben, das div-tag umschließt auch
Biografie 2, deshalb springt Biografie2 dann neben Biografie1 */
