:root{

    --main-brand-color: #e9e6e1;
    --bg-color-logo: #800000;
    --main-text-color: #ffffff;

    --bg-color-1: #f0f0f0;    
    --char-color-1: #2e3744;
    --accent-color-1: #ffffff;

    --bg-color-2: #243848;
    --char-color-2: #f0f0f0;
    --accent-color-2: #b4b4b4;

   /*  --char-color-1: #dfe4ca; */ 

    --navbar-height: 80px;
   
}

*{
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--main-text-color);
}



html{
    height: 100%;
}

body{
    min-height: 100vh;
    background-color: var(--bg-color-logo);
    color: var(--main-text-color);
    }

h2, p{
    /* text-align: center; */
    color: var(--char-color-1);
    padding-bottom: 0.7em;
}   

p .thick{
    font-weight: 600;
    color: #800000;
}

a {
    font-weight: 500;
}

p .day {
    font-weight: 700;
    color: var(--char-color-1);   
}

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{
    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 */
}

header p{
    color: var(--accent-color-1);
}

.header_text{
    width: 850px;
}

.subheading{
    color: var(--main-text-color);    
}











.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{
    height: var(--navbar-height);
    background-color: var(--bg-color-1);
    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(--char-color-1);
    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(--accent-color-1);
}

nav li a{
    height: 100%;           /* regelt die Fläche als Link */
    width: 100%;
    color: var(--char-color-1);
    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;
}

/*
.nav_galery {
    position: fixed;
    z-index: 2;
}
*/

#about_me_section{
    padding: 50px 0;
    background-color: var(--bg-color-1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap-reverse;        /* *** Reihenfolge Bild - Text umkehren */
}

.about_me_container{
    width: 850px;
    max-width: 90%;
}

.about_me_container img{
    width: 850px;
    max-width: calc(90% - 30px);
    border: 15px solid var(--main-text-color);
}

.about_me_container h2{
    color: var(--char-color-1);    
}

.about_me_container p{
    text-align: justify;
    line-height: 175%;
    color: var(--char-color-1);    
}

.about_me_container img{
    margin-bottom: 20px;
}



nav input[type="checkbox"]{         /* nimmt alle inputs in der nav vom Typ checkbox */ 
    display: none;                  /* Checkbox (= kleines Kästchen) unsichtbar schalten */
}

.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 p{
    color: var(--accent-color-1);
    line-height: 125%;

    width: 1050px;

    display: flex;
    justify-content: center;
    align-items: center;

}

footer a{
    color: var(--accent-color-1);
    font-weight: 400;
    text-decoration: none;
    margin: 0 1em;      
}

.uni{               /* datenschutz + impressum */
    color:var(--char-color-1);
    font-weight: 600;
    margin-bottom: 1em;
}

table, th, td {
    border-collapse: separate;
	border-spacing: 1em;
    vertical-align: top;
    overflow: hidden;
    word-break: normal;
}

th, td{
    color:var(--char-color-1);
    font-weight: 400;
    font-size: 16px;  
}

.td_bold {
    font-weight: 600;
}

.vita {
	border-spacing: 0.1em;    
}

i{
    color:var(--char-color-1);
}



@media(max-width: 850px){
    .toggle_button{
        display: flex;
    }
    nav ul{
        height: min-content;
        width: 100%;
        background: var(--bg-color-1);

        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(--accent-color-1);
}

summary {
    padding-left: 1em;
}


[role=button2] {
    font-size: 20px;
    color: #800000;
    font-weight: 600;
    background-color: #EEEEEE;
	margin: 1.2em 0.2em;
    box-shadow: 5px 5px 10px #969696;
    line-height: 2em;
    cursor: pointer;    
}


.ausst_dat {
    float: left;
    width: 9em;	/* width: 100px; */
    margin-left: 0.1em;
}

.ausst_tag {
    font-weight: 600;
    color: var(--char-color-1);    
}

.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: #800000;
}


article {
    background: #ffffff;
    grid-area: main;
    /* padding-right: 1.5em; */
    max-width: 1050px;
    margin: auto;
} 


article p, h3 {
    /* font-size: 16px; */
    line-height: 1.6em;
    color: #363636;
    /* margin: 1.4em 1.2em; */
}

/***/
article p > img {
    float: left;
    margin: 1.5em;
    box-shadow: 5px 5px 10px #969696;  
}