/*

####################
table of contents
####################


- 1 - media “normal“
- 1.1 - normal dark
- 2 - media "mobil"
- 2.1 - mobil dark
- 3 - media "tastenhandy"
- 3.1 - hide map for feature phones
- 4 - image slideshow
- 5 - external link
*/







/*
- 1 - media "normal"
*/


body {
  background-color: aliceblue;
}
header {
  font-family: monospace; 
  font-size: 5vh; 
  color: black; 
  text-align: center;
}
h2, h1, h3, h4, h5, h6 {
  font-family: monospace;
  font-size: 3vh;
  color: black;
  text-align: center;
}
a {
  font-family: monospace;
  font-size: 1.5vh; 
  color: black;
  text-align: center; 
  text-decoration: underline;
}
p, t {
  font-family: monospace;
  font-size: 1.5vh;
  color: black;
  text-align: center;
}

hr {
  width: min(max(800px),80%);
  color: black;
}
.wip {
  color: darkred;
}

/*
header 50px
h2 30 px
a, p 16px
*/


/*
- 1.1 - normal dark
*/
@media (prefers-color-scheme: dark) {

  body {
    background-color: #003767;
  }
  header {
    font-family: monospace; 
    font-size: 5vh; 
    color: white; 
    text-align: center;
  }
  h2, h1, h3, h4, h5, h6 {
    font-family: monospace;
    font-size: 3vh;
    color: white;
    text-align: center;
  }
  a {
    font-family: monospace;
    font-size: 1.5vh; 
    color: white;
    text-align: center; 
    text-decoration: underline;
  }
  p, t {
    font-family: monospace;
    font-size: 1.5vh;
    color: white;
    text-align: center;
  }

  hr {
    width: min(max(800px),80%);
    color: white;
  }
  .wip {
    color: yellow;
  }

}


/*
- 2 - media "mobil"
*/

@media only screen and (max-width: 1026px) {
  /* For mobile phones: */
  body {
    background-color: pink;
  }
  header, h2, h1, h3, h4, h5, h6, a, p , t {
    color: black;
    font-family: 'Courier New', Courier, monospace;
  }
  header {
    font-size: 6vw;
  }
  h2, h1, h3, h4, h5, h6 {
    font-size: 4vw;
  }
  a {
    text-decoration: underline;
  }
  p , t, a {
    font-size: 3vw;
  }
  .wip {
    color: darkred;
  }

}


/*
- 2.1 - mobil dark
*/

@media (prefers-color-scheme: dark) {

  @media only screen and (max-width: 1026px) {
    /* For mobile phones: */
    body {
      background-color: #5e0010;
    }
    header, h2, h1, h3, h4, h5, h6, a, p , t {
      color: white;
      font-family: 'Courier New', Courier, monospace;
    }
    header {
      font-size: 6vw;
    }
    h2, h1, h3, h4, h5, h6 {
      font-size: 4vw;
    }
    a {
      text-decoration: underline;
    }
    p , t, a {
      font-size: 3vw;
    }
  }
  .wip {
    color: yellowgreen;
  }

}

/*
- 3 - media "tastenhandy"
*/

@media only screen and (max-width: 300px) {
  /* For feature phones: */
  body {
    background-color: honeydew;
  }
  header, h2, h1, h3, h4, h5, h6, a, p , t {
    color: black;
    font-family: system;
  }
  header {
    font-size: large;
  }
  h2, h1, h3, h4, h5, h6 {
    font-size: medium;
  }
  a {
    text-decoration: underline;
  }
  p , t , a {
    font-size: small;
  }
}



/*
- 3.1 - hide map for feature phones
*/


@media (max-width: 300px) {
    .map2 { display: none; }
    .map1 { display: none; }
    .imgs { display: none; } 
}



/*
- 4 - image slideshow
*/


/* https://codeconvey.com/simple-image-slideshow-in-html/ */


.container {
  margin: 50px auto;
  width: 60vh;
  height: 80vh;
  overflow: hidden;
  border: 10px solid;
  border-top-color: #856036;
  border-left-color: #5d4426;
  border-bottom-color: #856036;
  border-right-color: #5d4426;
  position: relative;
}

.photo {
  position: absolute;
  animation: round 16s infinite;
  opacity: 0;
}

@keyframes round {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
img:nth-child(1) {
  animation-delay: 12s;
}

img:nth-child(2) {
  animation-delay: 8s;
}

img:nth-child(3) {
  animation-delay: 4s;
}

img:nth-child(4) {
  animation-delay: 0s;
}




/*
- 5 - external link
*/


.el {
    display: inline-block;
    position: relative;
}

.el::after {
    content: '';
    background-image: url('external-link.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.5vh;
    height: 1.5vh;
    position: absolute;
    right: -1.75vh;
    top: 50%;
    transform: translateY(-50%);
}


