@charset "UTF-8";
:root {
  --theme-color: red;
  --theme-color-2: #FF6666;
  --contrast-color: #F5F1E7;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: 'Helvetia Neue', 'Arial', sans-serif;
    font-size: 1em;
    background: white;
}

h1 {
    text-align: center;
    max-width: 800px;
    margin: 0px auto;
    padding: 60px 5px 20px 5px;
    font-weight: 700;
    font-size: 2.6em;
    line-height: 1.2em;
}

h2 {
    color: var(--theme-color);
    margin: 0;
    font-size: 1em;
    margin-top:10px;
    text-align: center;
    max-width: 300px;
}

h3 {
    color: var(--theme-color);
    margin: 0;
    font-size: 1.5em;
    font-style: italic;
}

.buch h1 {
    text-align: left;
    padding: 0px;
    margin: 0px;
}

h4 {
    font-size:1.5em;
    text-align: left;
    margin: 20px 0px;
}

.logo {
    height: 100px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10vw;
}

.left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.left p {
    font-weight: 800;
    font-size: 1.2em;
}

.header summary{
    all: unset;
    display: block;
    list-style: none;
}

.header summary a{
    padding: 0px 15px;
}

.header details {
    all: unset;
    display: block;
}

.header details div {
    display: none;
}

.header details:hover {
}

.block {
    background: var(--contrast-color);
    width: 80vw;
    padding-bottom: 60px;
    margin: 0 auto 60px auto;
    border-radius: 7px;
}

.in-block-text {
    text-align: center;
    margin: 0 auto;
    padding: 60px 0px 0px 0px;
}

.center-text p{
    padding:15px;
    max-width: 800px;
    margin: 0 auto;
}

details summary::-webkit-details-marker {
  display:none;
}

a {
    color: black;
    font-style: italic;
}

a:hover {
    font-style: underline;
}

.flex-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px;
}

.flex-box img{
    max-width: 300px;
    max-height: 400px;
    border-radius: 10px;
}

.flex-box p {
    text-align: center;
}

.flex-box a {
    text-decoration: none;
}
.elevate div:hover {
    background: white;
    box-shadow:0px 0px 16px 5px rgba(130,130,130,0.33);
    transition-duration: 200ms;
}

.info {
    background: white;
    border-radius: 35px;
    padding: 0px 15px;
    text-align: center;
}

.button {
    font-weight: 700;
    background: var(--theme-color);
    border-radius: 10px;
    padding: 0px 15px;
    text-align: center;
    color: white;
    font-style: normal;
    text-decoration: none;
}

.button:hover {
    background: var(--theme-color-2);
}

.button-light {
    font-weight: 700;
    background: white;
    border: 1px solid var(--theme-color);
    border-radius: 10px;
    padding: 0px 15px;
    text-align: center;
    color: var(--theme-color);
    font-style: normal;
    text-decoration: none;
}

.button-light:hover {
    background: var(--theme-color-2);
    color: white;
    border-color: #520075;
}

.leistung {
    max-width: 25vw;
    min-width: 300px;
    background: white;
    border-radius: 10px;
    padding: 15px;
}

blockquote {
    background: white;
    max-width: 800px;
    padding: 20px;
    margin: 10px auto;
    font-style: italic;
    border-radius: 10px;
    font-family: 'Courier-New', monospace;
}

.buch p {
    text-align: left;
}

.buch {
    align-items: flex-start!important;
}

input{
    background:var(--contrast-color);
    border-radius:15px;
    width: 100%;
    margin:10px;
}

.books {
    max-height:490px;
    overflow: hidden;
    padding: 15px;
    border-radius: 12px;
    max-width:300px;
}

.buchtext {
    max-width: 70%;
}

@media only screen and (max-width: 900px) {
    h1 {
        font-size: 1.7em!important;
    }
    
    .flex-box img{
        height: 190px;
        border-radius: 10px;
    }
    
    h2 {
        max-width: 190px;
    }
}

@media only screen and (max-width: 650px) {
    
    .block {
        padding:20px;
    }
    
    .buchtext {
        max-width: 90%;
    }
    
    .books {
        max-width:150px;
    }
    
    .ungerade {
        background:white;
        
    }
    
    .header summary a{
        display: none;
    }
    
    .header details div {
        display: block;
        color: black;
    }
    
    .header summary::before{
        content: "☰";
        font-weight: bold;
        font-size: 1.2em;
    }
    
    .header details[open] {
        z-index: 2;
        position: fixed;
        width:100%;
        height: 100%;
        top: 0px;
        left 0px;
        font-size: 1.1em;
        background: var(--contrast-color);
        padding:20px;
    }
    
    .header details div a {
        margin: 20px;
    }
    
}
