/* Seitenspezifische Elemente, die nicht in der allgemeinen style.css vorkommen oder
Elemente in dieser überschreiben */


/* HTML-Elemente */

main {
    max-width: 700px;
}

h1 {
    font-size: 1.15rem;
    text-decoration: none;
    padding-top: 0.5rem;
}

h2 {
    font-weight: bold;
    font-size: 1rem;
}

article p {
    text-align: justify;
}

li {
  margin-left: 1.15rem;
}


/* spezifische Klassen und IDs */

/* .zitatblock {
    font-family: Calisto, Times, serif;
    margin-top: 1.8rem;
    margin-bottom: 1.0rem;
    font-size: 1.05rem;
} */

/* .zitat {
    font-style: italic;
    padding-left: 1rem;
    padding-bottom: 0;
    margin-bottom: 0;
    border-left: 4px groove;
} */

/* #zitat1, #zitat3 {
    padding-top: 0;
} */

/* #zitat2 {
    padding-top: 0.5rem;
} */

/* .zitatquelle {
    padding-top: 0.75rem;
    font-size: 0.8rem;
} */

/* .beschreibung {
    text-align: left;
} */

/* .aufzaehlungcontainer {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
    gap: 1rem 2.5rem;
} */

.stempel {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-evenly;
} 

.stempel img {
    height: 6rem;
}

.link_unterstrichen a { 
    text-decoration: underline;
    color: #000;
}
.link_unterstrichen a:hover {
    text-decoration: none;
    font-weight: normal;
}

/* --- Beginn Overlay --- */

.overlay_komplett {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 2;
}

.overlay_inhalt {
    border: 5px solid #FFE097;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    background-color: #FDF9CE;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    max-height: 90%;
    overflow: auto;
  }
  

  /* Button für die rechte obere Ecke

  .overlay_x1 {
    position: absolute;
    display: block;
    right: 10px;
    top: 10px; 
    background-color: white;
    width: 8rem;
    height: 2rem;
    cursor: pointer;
    margin-bottom: 19px;
  }
*/

/* overlay_text v1

  .overlay_text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    top: 50%;
    left: 50%;
  }

  .overlay_text p {
    line-height: 1.2;
    padding-bottom: 0.75rem;
    padding-left: 8rem;
    padding-right: 8rem;
  }
*/

/* overlay_text linksbündig, 15% vom Rand des äußeren div */

.overlay_text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    margin-left: 15%;
    margin-right: 15%;
    text-align: left;
}

.overlay_text p {
    line-height: 1.2;
    padding-bottom: 0.75rem;
    padding-left: 8rem;
    padding-right: 8rem;
}

  
  .overlay_ueberschrift {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    /* padding-left: 1rem; */
    padding-right: 1rem;
}

.overlay_x2 {
    background-color: white;
    width: 8rem;
    height: 2rem;
    cursor: pointer;
    margin-bottom: 2rem;
    display: none;
    
  }

  .overlay_x3 {
    background-color: white;
    width: 8rem;
    height: 2rem;
    cursor: pointer;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

.link_overlaybox {
    white-space: nowrap;
}

.link_overlaybox a { 
    text-decoration: none;
    font-weight: bolder;
    color: #000;
}

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

/* --- Ende Overlay --- */



 /* für die Startseite müssen die Media Queries angepasst werden, da der Inhaltsbereich breiter ist als auf den anderen Seiten! */
 
 /* Media Queries */   
 
 @media only screen and (max-width: 1360px) {


    .seitenbild {
        display: none;
    }

    main {
        padding: 0 10px 0 10px;
        margin: auto;
    }

 }

 @media only screen and (max-width: 940px) {

    h1 {
        padding-top: 1.5rem;    
    }

    .haupt-container {
        flex-direction: column;
        padding-top: 10px;
    }

    .overlay_inhalt {
        width: 80%;
        height: 80%;
        overflow: scroll;
    }

    .overlay_text {
        font-size: 1rem;
    }

    .overlay_text p {
        padding-left: 1rem;
        padding-right: 1rem;
      }

    .overlay_ueberschrift {
        font-size: 1.1rem;
        padding-bottom: 0.2rem;
    }

    .overlay_x2 {
        display: inline;
      }

    /* Mobile Navigation */
    .mobile-nav-button {
        display: inline-block;
        color: black;
        background-color: white;
        width: 68px;
        height: 23px;
        margin-left: 10px;
        cursor: pointer;
        background-image: url("../bilder/menueButton.jpg");
        background-size: auto;
      }

    .menue-inhalt {
        display: none;
      }

    nav {
        min-width: 320px;
        max-width: 100%;
    }
    
    nav:hover .menue-inhalt {
        display: flex;
        flex-wrap: wrap;
    }

    nav ul {
        margin-left: 10px;
        margin-top: 10px;
    }

    nav ul li {
        margin-left: 0px;
        width: 150px;
    }

    main {
        padding: 1rem 10px 0 10px;
        margin: auto;
    }
    
}
