:root {
    --bkgndcolor: white;
    --generalcolor: rgb(32, 32, 32);
    --navfont: 'Verdana', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    --padding: 20px;
    --gap: 20px;
    --borderradius: 20px;
    --outline: 1px solid var(--generalcolor);
    --transitiontime: 0.2s;
    --navwidth: 200px;
    --linkcolor: rgb(89, 114, 240);
    --outlinehover: 4px solid var(--hovercolor);
    --hovercolor: rgb(244, 100, 38);

  }

a{
    text-decoration: none;
    color: var(--generalcolor)
}

.nametext {
    font-size: 24px;
    font-family:var(--navfont);
    color: var(--generalcolor);
    font-weight: bold;
}

#letterose, #lettermy, #letterpiegel {
    transition: var(--transitiontime);
    transition-timing-function: ease-in-out;
    font-size: 0px;
    opacity: 0;
}


.booklink {
    color: var(--linkcolor)
}
.booklink:hover {
    color: var(--hovercolor);
}

.largetext {
    font-size: 24px;
    font-family:var(--navfont);
    color: var(--generalcolor);
}

.largetextbold {
    font-size: 24px;
    font-family:var(--navfont);
    color: var(--generalcolor);
    font-weight: bold;
}

.mediumtext {
    font-size: 18px;
    font-family:var(--navfont);
    color: var(--generalcolor);
}

.headertext {
    font-size: 22px;
    font-family:var(--navfont);
    color: var(--generalcolor);
    font-weight: bold;
}

html {
    background-color: var(--bkgndcolor);
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
}

body {
    margin: 0px;
    width: 100%;
    padding-top: 0px;
    height: auto;
    max-width: 2200px;
}

#mobilenavbarcontainer {
    display: none;
}

#navbarcontainer {
    width: calc(100% - 40px);
    padding-top: 20px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    transition: var(--transitiontime);
    transition-timing-function: ease-in-out;
    position: fixed;
    top: 0px;
    z-index: 10;
    left: 0px;
    padding-left: 20px;
    padding-right: 20px;
}

.navitem {
    width: var(--navwidth);
    min-width: var(--navwidth);
    height: 100%;
    background-color: var(--bkgndcolor);
    overflow: hidden;
    transition: height 0.2s;
    transition-timing-function: ease-in-out;
    border-radius: var(--borderradius);
    outline: var(--outline);

}

.navitem:hover {
    outline: var(--outlinehover)
}

.navitemtext {
    width: 100%;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
}

.navitemimagecontainer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--padding);
}

.navitemimage {
    width: calc(100% - var(--padding) - var(--padding));
    height: auto;

}

.namecontainer {
    width: 100%;
    height: 100%;
    background-color: var(--bkgndcolor);
    outline: var(--outline);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: var(--borderradius)
}

#namedescription {
    width: calc(100% - var(--padding) - var(--padding));
    max-width: 400px;
    height: auto;
    line-height: 30px;
    text-align: center;
}

#generalcontainer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#contentcontainer {
    width: 60%;
    max-width: 1000px;
    height: auto;
    display: flex;
    flex-direction: column;
}

#illustrationcontainer {
    width: 100%;
    height: calc(100% - 120px);
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 60px;
    z-index: -1;
    overflow: hidden;
    max-width: 2200px;}

.illustrationcolumn {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


.illustration {
    width: 60%;
    height: auto;
    min-width: 130px;
    display: none;
}

.illustration4 {
    display: block;
}

.sectioncontainer {
    padding-top: 100px;
    width: 100%;
    height: auto;
    display: none;
    padding-bottom: 60px;
    min-height: calc(100vh - 160px);
}

#about {
    display: block;
}

#navcover {
    width: 60%;
    left: 20%;
    height: 61px;
    background-color: var(--bkgndcolor);
    top: 0px;
    position: fixed;
    z-index: 3;
}
#navcover2 {
    width: 50%;
    left: 25%;
    height: 40px;
    background-color: var(--bkgndcolor);
    top: 0px;
    position: fixed;
    z-index: 5;
}

.sectiontitle {
    width: 100%;
    height: auto;
    text-align: center;
    height: 40px;
    line-height: 40px;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 0px;
    top: 60px;
    transition: var(--transitiontime);
    transition-timing-function: ease-in-out;
    z-index: 4;
    font-weight: bold;
}

.sectionitem {
    position: relative;
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    font-family:var(--navfont);
    color: var(--generalcolor);
    text-align: center;
    line-height: 40px;
    z-index: 2;
}

.sectiontext {
    line-height: 36px;
}

.descriptiontext {
    width: calc(100% - 120px);
    margin-left: 60px;
    font-family:var(--navfont);
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 40px;
}

.quote {
    font-style: italic;
}

.sticky {
    position: sticky;
    background-color: var(--bkgndcolor);
    top: 120px;
}

.sectionitemlink {
    display: block;
    border-radius: var(--borderradius);
}

.sectionitemlink:hover {
    background-color: var(--hovercolor);
    color: var(--bkgndcolor);
}

.inlinesectionitemlink {
    color: var(--linkcolor);
}

.inlinesectionitemlink:hover {
    color: var(--hovercolor);
    outline: none;
}

.spacer {
    width: 100%;
    height: 30px;
}

.bold {
    font-weight: bold;
}

#footer {
    width: 100%;
    position: relative;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid black;
    background-color: var(--bkgndcolor);
    z-index: 0;
}

.footertext {
    width: auto;
    font-family: var(--navfont);
    font-size: 14px;
    text-align: center;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footerimage {
    width: auto;
    height: 40px;
    padding: 8px;
}

.signature {
    text-align: right;
    padding-right: 20px;
}
.copyright {
    text-align: left;
    padding-left: 20px;
}

.giacomo {
    position: absolute;
    width: 150px;
    height: 150px;
    bottom: 60px;
    left: 50%;
    margin: 0px 0 0 -75px;
    backface-visibility: hidden;
    z-index: 2;
    pointer-events: none;
  }



@media only screen and (max-width: 1200px) {
    #navbarcontainer {
        display: none;
    }

    #hamburgercontainer {
        position: absolute;
        width: 40px;
        height: 40px;
        right: 0px;
        cursor: pointer;
        transition: 0.2s;
    }

    .hamburgertop {
        top: 11px;
        left: 5px;
        width: 20px;
        height: 2px;
        background-color: black;
        position: absolute;
        transition: 0.2s;
    }    
    .hamburgermiddle {
        top: 19px;
        left: 5px;
        width: 20px;
        height: 2px;
        background-color: black;
        position: absolute;
        transition: 0.2s;
    }    
    .hamburgerbottom {
        bottom: 11px;
        left: 5px;
        width: 20px;
        height: 2px;
        background-color: black;
        position: absolute;
        transition: 0.2s;
    }    

    #mobilenavbarcontainer {
        width: calc(100% - 40px);
        height: 40px;
        background-color: var(--bkgndcolor);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 20px;
        margin-left: 20px;
        z-index: 10;
        overflow: hidden;
        transition: var(--transitiontime);
        transition-timing-function: ease-in-out;
        outline: var(--outline);
        border-radius: var(--borderradius);
    }

    #mobilenavbar {
        width: calc(100% - 2px);
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #mobilenavcover {
        width: 100%;
        height: 61px;
        background-color: var(--bkgndcolor);
        top: 0px;
        position: fixed;
        z-index: 5;
        left: 0px;
    }

    #mobilename {
        height: 40px;
        width: 100%;
        line-height: 40px;
        text-align: center;
    }

    #mobilenamedescription {
        height: auto;
        max-width: 400px;
        width: calc(100% - var(--padding) - var(--padding));
        text-align: center;
    }

    #mobileletterose, #mobilelettermy, #mobileletterpiegel {
        transition: var(--transitiontime);
        transition-timing-function: ease-in-out;
        opacity: 0;
        font-size: 0px;
    }

    #mobilenavitemcontainer {
        display: flex;
        justify-content: center;
        flex-direction: row;
        align-items: center;
        width: calc(100% - var(--padding) - var(--padding));
        height: auto;
        padding-top: 40px;
        padding-bottom: 20px;
        gap: var(--gap);
    }

    .mobilenavitem {
        width: 50%;
        height: auto;
        outline: var(--outline);
        border-radius: 10px;
    }

    .mobilenavitem:hover {
        outline: var(--outlinehover)
    }

    .mobileflexbox {
        width: 50%;
        height: auto;
        display: flex;
        flex-direction: row;
        gap: var(--gap);
        align-items: center;
        justify-content: center;
    }

    .navitemimage {
        width: calc(100% - var(--padding) - var(--padding));
        height: auto;
        padding-bottom:20px;
    }

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

        #mobilenavitemcontainer {
            flex-direction: column;
        }
        .mobileflexbox {
            max-width: 400px;
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: row;
            gap: var(--gap);
            align-items: center;
            justify-content: center;
        }
        #illustrationcontainer {
            display: none;
        }
        #contentcontainer {
            width: 100%;
        }

        .descriptiontext {
            width: calc(100% - 40px);
            margin-left: 20px;
            font-family:var(--navfont);
            font-size: 18px;
            line-height: 24px;
            padding-bottom: 40px;
        }
    }
}

@media only screen and (max-width: 430px) {
.footertext {
    font-size: 12px;
}
}