* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  background: #222;
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(119,121,9,0.8) 5%, rgba(255,255,255,1) 100%);
  margin: 0;
  width: 100%;
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2em;
}



footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: white;
  width: 100%;
}


.contact-image {
  border-radius: 50%;
  object-fit: cover;
  width: 250px;
  height: 350px;
  margin: 20px;
}

.footer-image {
  border-radius: 30%;
  object-fit: cover;
  width: 500px;
  height: 400px;
  margin: 20px;
}

.footer-area {
  align-items: center;
  justify-content: center;
  display: flex;
}

/* ------ timeline  ------ */
.timeline-entry { 
  padding: 10px;
  margin: 10px;
}

.table-timeline-icon {
  width: 40%;
  height: 60px;
  text-align: right;
  padding-right: 10px;
}
.timeline-icon {
  width: 50px;
  height: 50px;
}

.timeline-text {
  display: flex;
  align-items: center;
  height: 60px;
}

/* ------ navigation ------ */
.title-page {
  padding-left: 10px;
  padding-right: 10px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
  padding: 5px;
  top: 0;
  width: 100%;
  z-index: 1000; /* ensure it is above other elements */
  background: white;
}

nav h4 {
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 10px;
}

nav a {
  border-radius: 20px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  display: inline;
  justify-content: center;
}
nav ul li a {
  display: inline-block;
  color: black;
  text-align: center;
  vertical-align: middle;
  justify-content: center;
  padding: 14px 20px;
  text-decoration: none;
  height: 100%;
}

nav ul li a:hover {
  background-color: #ddd;
  color: black;
}

nav .menu-icon {
  display: none;
  font-size: 2em;
  color: white;
  text-shadow: 
  1px 1px 0px black,  /* rechter Rand */
  -1px -1px 0px black, /* linker Rand */
  1px -1px 0px black,  /* unterer Rand */
  -1px 1px 0px black;  /* oberer Rand */
}

.left {
  font-size: 1.5em;
}

.right {
  display: flex;
}

.right a {
  color: black;
  text-decoration: none;
  font-size: 1.1em;
}

.right a:hover {
  text-decoration: underline;
}

/* ------ title picture ------ */
header {
  overflow: hidden;
}
.title-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.title-pic {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ------ arrow / scroll down ------ */
.scroll-hint {
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%);

  text-align: center;
  cursor: pointer;
  color: #fff;
  text-shadow: 
  1px 1px 0px black,  /* rechter Rand */
  -1px -1px 0px black, /* linker Rand */
  1px -1px 0px black,  /* unterer Rand */
  -1px 1px 0px black;  /* oberer Rand */
}
.scroll-hint p {
  font-style: italic;
}
.scroll-arrow {
  font-size: 40px;
  animation: bounce 1.5s infinite;
}

/* Die Hüpf-Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}


/* ------ sections ------ */
sections {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;

  margin: 0;
}
section {
  width: 100%;
  padding: 20px;
  margin: 10px;
  max-width: 800px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 { /* section title*/
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  font-family: 'Great Vibes', cursive;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

section h3 {
  text-align: center;
  margin: 10px;
  margin-top: 20px;
}


section p {
  text-align: center;
  font-size: 1.2em;
  padding: 10px;
  color: #666;
}


section iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.highlight {
  color: darkred !important;
}



/* ------------------------------------------ Tablet ------------------------------------------ */

@media (max-width: 1000px) {

  section iframe {
    width: 100%;
  }

  h1 {
    font-size: 1.4em;
    text-shadow: 
    1px 1px 0px black,  /* rechter Rand */
    -1px -1px 0px black, /* linker Rand */
    1px -1px 0px black,  /* unterer Rand */
    -1px 1px 0px black;  /* oberer Rand */
  }

  .scroll-hint {
    top: 85%;
  }

  /* ------ navigation------ */
  nav {
    color: white;
    position: absolute;
    background: none;
  }


  nav .menu-icon {
    display: block;
    text-align: right
  }

  nav .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  nav .nav-links.active {
    display: flex;
  }

  nav .nav-links.active ~ .menu-icon {
    text-align: left;
}

  nav ul li {
    border: 2px solid white;
    border-radius: 5px;
    margin: 5px 10px;
  }

  nav ul li a {
    color: white;
  }

  nav ul {
    padding-left: 10px;
  }

  .right {
    border-radius: 10px 0 0 10px;
    padding: 10px;
  }
  .right a {
    color: white;
  }
}


/* ------------------------------------------ Smartphone ------------------------------------------ */

@media (max-width: 480px) {

  section iframe {
    width: 100%;
  }

  .scroll-hint {
    display: none;
  }
  
  h1 {  /* website title */
    font-size: 1em;
    text-shadow: 
    1px 1px 0px black,  /* rechter Rand */
    -1px -1px 0px black, /* linker Rand */
    1px -1px 0px black,  /* unterer Rand */
    -1px 1px 0px black;  /* oberer Rand */
  }

  /* ------ title page ------ */
  .home {
    height: 50vh;
  }


  /* ------ navigation------ */
  nav {
    color: white;
    position: absolute;
    background: none;
  }

  nav h4 {
    font-size: 0.7em;
  }
  
  nav .menu-icon {
    display: block;
    text-align: right;
  }

  nav ul li {
    border: 2px solid white;
    border-radius: 5px;
    margin: 5px 10px;
  }
  
  nav ul li a {
    color: white;
  }
  
  nav ul {
    padding-left: 10px;
  }

  .right {
    border-radius: 10px 0 0 10px;
    padding: 10px;
  }

  .right a {
    color: white;
  }
}

