/* CSS Document */
* {
    font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";

}
body {
  font-family: "Lato", sans-serif;
  transition: background-color .5s;
  background-color: rgba(74,72,72,1.00); 
}
footer{
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,50%);
    align-items: center;
    padding: 5px;
    margin: 5px;
    background-color:rgba(10,102,10,0.50);
    font-size: 10px;
    color: white;
}
.head{
    position:relative;
    width: 80%;
    padding: 15px;
    margin: 5px 5px 5px 40px;
    background-color:rgba(36,36,36,0.68);
    color: white;
}
/*.centered {
  z-index: 1;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}
*/
.centered{
    position: sticky;
    top: 0px;
   
}
.container{
    padding: 5px;
    margin: 5px;
    color: antiquewhite;
}
.foto{
    z-index: -1;
    max-width: 1024px;
    max-height: 1024px;
    border: 10px;
    border-color: white;
    border-style: solid;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,10%);
    margin: 10px;
}

/*Phone*/
@media (max-width:767px){
    *{font-size: 10px}
    footer{font-size: 4pt}
    .foto{max-width: 80%}

}
/*Bildschirme-Tablets*/
@media (min-width:768px) and (max-width:1024px){
    *{font-size: 12px}
     footer{font-size: 6pt}
    .foto{max-width: 90%}
}
/*grosse Bildschirme-Desktop*/
@media (min-width:1025px){
    
}
/* TEXT FADE SETTINGS */

.txt-bgr{
    background-color: rgba(59,74,111,0.70);
    border-radius: 30px;
    padding: 40px;
}
    .overlay {
      position: relative;
      left: 50%;
      bottom: 0;
      transform: translate(-50%,100%);
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.00);
      color: white;
      font-size: 2rem;
    }

    .fade-text-lg {
      opacity: 0;
      animation: fadeOutSlow 180s ease-in-out forwards;
    }
    @keyframes fadeOutSlow {
      0% { opacity: 0; }
      20% { opacity: 1; }
      95% { opacity: 1; }
      100% { opacity: 0; }
    }


    .fade-text {
      opacity: 0;
      animation: fadeInOut 15s ease-in-out forwards;
    }

    @keyframes fadeInOut {
      0% { opacity: 0; }
      25% { opacity: 1; }
      75% { opacity: 1; }
      100% { opacity: 0; }
    }
/* SideNav Settings*/

.sidenav {
        z-index: 2;
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color:rgba(0,15,107,0.40);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
        z-index: 2;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
        z-index: 2;
  color: #f1f1f1;
}

.sidenav .closebtn {
        z-index: 2;
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 20px;
  margin-left: 30px;
}

#main {
        z-index: 1;
  transition: margin-left .5s;
  padding: 16px;
 position: fixed;
    top: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}