:root{

    --main-bg-color: #f0f0f0;
    --main-text-color: #243848;
    --main-accent-color: #ffffff;
    
    --bg-color-logo: #800000;
    --text-color-logo: #ffffff;
    
    --menu-bg-color: #f0f0f0;
    --menu-text-color: #2e3744;
    --menu-bg-hover-color: #ffffff;
    --menu-text-hover-color: #800000;    

    --bg-color-2: #243848;
    --char-color-2: #f0f0f0;
    --accent-color-2: #b4b4b4;

    --navbar-height: 80px;
    --shadow: 0 .2em 0.4em rgba(0, 0, 0, .5);   
}

*{
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html{
    height: 100%;
}

body{
    min-height: 100vh;
    color: var(--main-text-color);
    }

h2, p{
    /* text-align: center; */
    color: var(--menu-text-color);
    padding-bottom: 0.7em;
}   

p .accent{
    font-weight: 600;
    color: #800000;
}

a {
    font-weight: 500;
}

p .day {
    font-weight: 700;
    color: var(--menu-text-color);   
}

h1{
    font-size: 38px;
    font-weight: 600;
    line-height: 115%;
    padding-bottom: 1em;
}

h2{
    font-size: 32px;
    font-weight: 600;
    line-height: 115%;
    margin-top: 1.4em;
}

h3{
    font-size: 28px;
    font-weight: 600;
    line-height: 115%;
}

h4{
    font-size: 24px;
    font-weight: 400;
}


/****** header ******/

header{
    padding: 90px 25px 0 15px;
    display: flex;              /* *** Inhalte jetzt nebeneinander */
    justify-content: center;
    align-items: center;
    gap: 50px;                  /* *** Abstand zwischen Text und Bild */
    flex-wrap: wrap;            /* *** Erzeugt Umbruch - Text und Bilder untereinander */
    background-color: var(--bg-color-logo);
    color: var(--text-color-logo);
}

header p{
    color: var(--main-accent-color);
    padding-left: 3em;
}

.header_text{
    width: 850px;
}

.subheading{
    color: var(--char-color-2);    
}


.square_logo{
    height: 250px;
    width: 150px;
    width: 100%;    
}

.square{
    height: 130px;
    width: 800px;    

    max-height: 80vw;           /* *** beeinflusst gleichbleibendes Verhältnis B:H) */
    max-width: 80vw;
    
    overflow: hidden;           /* *** Bild-Überstände werden abgeschnitten */

    display: flex;              /* *** Bild zentrieren */
    justify-content: center;
    align-items: center;
}

/******************** nav ***************************************/


nav{
    height: var(--navbar-height);
    background-color: var(--menu-bg-color);
    border-bottom: 1px solid var(--bg-color-logo);
    display: flex;                      /* vertikale Menü-Zentrierung */
    justify-content: space-between;     /* erzeugt Abstand zwischen Logo (links) und Menü (ist jetzt rechts) */
    align-items: center;                /* vertikale Logo-Zentrierung */

    position: fixed;
    width: 100%;
    z-index: 1;

}

.nav_logo{
    margin-left: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    font-variant: small-caps;
    color: var(--menu-text-color);
    text-decoration: none;
}
nav ul{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;    
}

nav li{
    height: 100%;
    width: 150px;
    text-align: center;
    position: relative;       
}

nav li:hover{
    background: var(--menu-bg-hover-color);
    color: var(--menu-text-hover-color);
}

nav li a{
    height: 100%;           /* regelt die Fläche als Link */
    width: 100%;
    color: var(--menu-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;    
}

.zurueck{
    color: var(--bg-color-logo);
    border-right: 1px solid var(--accent-color-2);
    font-weight: 600;
}

/****** section about me ******/
#about_me_section{
    padding: 50px 0;
    background-color: var(--main-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap-reverse;        /* *** Reihenfolge Bild - Text umkehren */
}

.about_me_container{
    width: 1050px;
    max-width: 90%;
}

.about_me_container img{
    width: 850px;
    max-width: calc(90% - 30px);
    border: 15px solid var(--main-accent-color);
}

.about_me_container h2{
    color: var(--menu-text-color);    
}

.about_me_container p{
    text-align: justify;
    line-height: 175%;
    color: var(--menu-text-color);    
}

.about_me_container img{
    margin-bottom: 20px;
}

/****** Ende section about me ******/

nav input[type="checkbox"]{         /* nimmt alle inputs in der nav vom Typ checkbox */ 
    display: none;                  /* Checkbox (= kleines Kästchen) unsichtbar schalten */
}

/****** Hamburger-Button ******/
.toggle_button{                     
    width: 30px;
    height: 23px;

    position: absolute;
    top: 25px;
    right: 25px;

    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar{
    height: 4px;
    width: 100%;
    background-color: var(--bg-color-2);
    border-radius: 100px;
}

/****** footer ******/

footer {
    background-color: var(--bg-color-logo);

}

footer p{
    color: var(--main-accent-color);
    line-height: 125%;

    display: flex;
    justify-content: center;
    align-items: center;

}

footer a{
    font-weight: 400;
    text-decoration: none;
    margin: 0 1em;
    color: var(--char-color-2);      
}

.uni{               /* datenschutz + impressum */
    color:var(--menu-text-color);
    font-weight: 600;
    margin-bottom: 1em;
}



@media(max-width: 850px){
    .toggle_button{
        display: flex;
    }

    nav ul{
        height: min-content;
        width: 100%;
        background: var(--main-bg-color);

        display: none;         /* hier unsichtbar - sichtbar wenn checked */
        position: absolute;
        top: var(--navbar-height);
    }

    nav li{
        height: min-content;
        width: 100%;

    }

    nav ul a{
        padding: 30px 0;
    }

    #toggle_button:checked ~ ul{
        display: block;         /* Nav-Links untereinander setzen */
    }
}


/* *********** Ausstellungen *********** */
details {
    background-color: var(--main-accent-color);
}

summary {
    padding-left: 1em;
}


[role=button2] {
    font-size: 20px;
    color: var(--bg-color-logo);
    font-weight: 600;
    background-color: #EEEEEE;
	margin: 1.2em 0.2em;
    box-shadow: var(--shadow);
    line-height: 2em;
    cursor: pointer;    
}


.ausst_dat {
    float: left;
    width: 9em;	/* width: 100px; */
    margin-left: 0.1em;
}

.ausst_tag {
    font-weight: 600;
    color: var(--menu-text-color);    
}

.ausst_bild {
	padding: 0;
    max-width: 85%;
    height: auto;
}

.autor {
    color: #686868;
    font-size: 10px;
    float: right;  
}

.einz_li {
    padding-left: 12em;	/* padding-left: 120px;  */
}

button:focus,
button:hover {
	box-shadow: 0 .3em 0.6em rgba(0, 0, 0, .8);
}

button.weiter {
	background-color: var(--bg-color-logo);
}

