@font-face
{
    font-family: headingFont;
    src: url(../fonts/Allura-Regular.ttf);
}

@font-face
{
    font-family: guestbookFont;
    src: url(../fonts/NothingYouCouldDo.ttf);
}

*
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, serif;
}

body:before
{
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;

    background: #F7A933;
    background: -webkit-linear-gradient(45deg, #B3DCED 0%, #F7A933 70%, #BCE0EE 100%);
    background: -o-linear-gradient(45deg, #B3DCED 0%, #F7A933 70%, #BCE0EE 100%);
    background: -moz-linear-gradient(45deg, #B3DCED 0%, #F7A933 70%, #BCE0EE 100%);
    background: linear-gradient(45deg, #B3DCED 0%, #F7A933 70%, #BCE0EE 100%);

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.center
{
    margin-left: auto;
    margin-right: auto;
}

.centerText
{
    text-align: center;
}

.italic
{
    font-style: italic;
}

.small
{
    font-size: 0.8em;
}

.error
{
    color: red;
}

.bold
{
    font-weight: bold;
}

.scrollContainer
{
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0 1.5em;
}

.main
{
    position: relative;
    max-width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header
{
    position: relative;
    height: 6em;
    padding: 1em 0;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 2em;
}

footer
{
    padding: 2em;
    margin-top: auto;
}

.logo
{
    font-family: headingFont, serif;
    font-size: 4em;
    vertical-align: top;
}

h2
{
    margin: 2em 0 0 0;
    font-size: 2em;
    font-family: headingFont, serif;
}

h2:first-child
{
    margin-top: 0;
}

h3
{

}

.logo a:link, .logo a:hover, .logo a:active, .logo a:visited
{
    color: black;
    text-decoration: none;
}

.cat
{
    display: inline-block;
    height: 4em;
}

#menuButton
{
    display: none;
}

#menuContainer
{
    float: left;
    width: 15em;
}

#menuContainer nav
{
    background-color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 0.5em;
}

.menu
{
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 1.3em;
    text-align: initial;
}

.menu .entry
{
    cursor: pointer;
    padding: 0.2em 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    gap: 0.25em;
}

.menu .entry a
{
    color: initial;
    text-decoration: none;
}

.menu .entry:hover
{
    text-decoration: underline;
}

.menu .entry .footprint
{
    visibility: hidden;
    height: 1em;
}

.menu.katzenpsychologie .entry.katzenpsychologie .footprint,
.menu.tiersitting .entry.tiersitting .footprint,
.menu.beschaeftigungstherapie .entry.beschaeftigungstherapie .footprint,
.menu.kontakt .entry.kontakt .footprint,
.menu.ueber-mich .entry.ueber-mich .footprint,
.menu.gaestebuch .entry.gaestebuch .footprint,
.menu.geranstaltungen .entry.veranstaltungen .footprint,
.menu.futterspende .entry.futterspende .footprint,
.menu.empfehlenswertes .entry.empfehlenswertes .footprint,
.menu.medien .entry.medien .footprint
{
    visibility: visible;
}

.atn
{
    display: inline-block;
    width: 75%;
    margin-top: 20px;
}

.atn img
{
    background-color: white;
    border-radius: 50%;
    max-width: 100%;
}

/* ===== Buch Werbung ===== */
.katzenGedanken.werbung
{
    display: block;
    text-decoration: none;
    color: initial;
    text-align: center;
    font-size: 1.2em;
    background-color: #faa811;
    padding: 10px;
    border-radius: 10px;
    box-shadow: -10px 10px 10px gray;
}

.katzenGedanken.werbung .imgContainer
{
    position: relative;
}

.katzenGedanken.werbung .price
{
    background-color: #ff3a3a;
    width: 4em;
    height: 4em;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: absolute;
    font-size: 16px;
    top: -5%;
    right: -5%;
    rotate: -30deg;
}

#menuContainer .katzenGedanken.werbung
{
    margin-top: 5em;
}

#menuContainer .katzenGedanken.werbung img
{
    width: 100%;
}

main .content .katzenGedanken.werbung
{
    display: none;
    width: 100%;
    height: 12em;
    margin: 3em 0;
}

main .content .katzenGedanken.werbung .imgContainer
{
    height: 100%;
    float: left;
    margin-right: 1em;
}

main .content .katzenGedanken.werbung img
{
    height: 100%;
}

main .content .katzenGedanken.werbung .price
{
    font-size: 0.5em;
}

/* ===== content ===== */
main > *:first-child
{
    margin-top: 0;
}

.heading
{
    font-family: headingFont, serif;
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.contentContainer
{
    display: flex;
    align-items: flex-start;
}

main
{
    padding-left: 2em;
    width: calc(100% - 15em);
    position: relative;
}

/* ========== home ========== */
main.startseite
{
    font-size: 1.5em;
    padding: 0;
    width: 100%;
    float: initial;
}

main.startseite .container
{
    margin-bottom: 3em;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    color: initial;
    text-decoration: none;
    position: relative;
}

main.startseite .container > *
{
    width: 50%;
}

main.startseite .container .text h2
{
    margin: 0;
}

main.startseite .container .text:after
{
    content: "mehr erfahren";
    display: inline-block;
    font-size: 0.8em;
    border: 1px solid black;
    padding: 0.5em;
    margin-top: 1em;
    border-radius: 10px;
}

main.startseite .container:hover .text:after
{
    background-color: black;
    color: orange;
}

main.startseite .container .rabattContainer
{
    position: relative;
    display: flex;
    overflow: hidden;
}

main.startseite .container .rabattContainer .rabatt
{
    position: absolute;
    right: -35%;
    bottom: 10%;
    background-color: #ff3a3a;
    text-align: center;
    font-weight: bold;
    font-size: 2em;
    padding: 10px;
    width: 100%;
    rotate: -45deg;
}

/* ========== Katzenpsychologie ========== */
.priceList
{
    border-collapse: collapse;
    border: none;
}

.priceList tr
{
    border-bottom: 1px solid black;
}

.priceList tr:last-child
{
    border: none;
}

.priceList td
{
    vertical-align: top;
    padding-top: 5px;
    padding-bottom: 5px;
}

.priceList td:first-child
{
    padding-right: 1em;
}

.priceList td:last-child
{
    white-space: nowrap;
}

main.katzenpsychologie h3
{
    margin-bottom: 0;
    margin-top: 2em;
}

main.katzenpsychologie h4
{
    margin-bottom: -0.5em;
}

main.katzenpsychologie #kostenrechner .priceList tr:last-child td:last-child
{
    text-decoration-line: underline;
    text-decoration-style: double;
}

main.katzenpsychologie .addressInput
{
    margin-top: -0.5em;
    margin-bottom: 0.5em;
}

main.katzenpsychologie .question
{
    display: flex;
    align-items: center;
    gap: 1em;
}

main.katzenpsychologie .question img
{
    max-width: 20%;
}

main.katzenpsychologie .question p
{
    font-size: 1.3em;
}

main.katzenpsychologie .question:last-child
{
    margin-bottom: 2em;
}

/* ========== Kontakt ========== */
main.kontakt .contactData
{
    display: inline-block;
    vertical-align: top;
}

main.kontakt .contactData
{
    margin-right: 2em;
}

main.kontakt img
{
    width: 40%;
    max-width: 300px;
    min-width: 200px;
}

/* ========== über Mich ========== */
main.ueber-mich .cite .text
{
    margin: 0;
    width: 50%;
    color: green;
    font-size: 1.5em;
    font-style: italic;
    vertical-align: top;
    display: inline-block;
}

main.ueber-mich .cite .text span
{
    font-size: 0.5em;
}

main.ueber-mich .cite img
{
    display: inline-block;
    width: 40%;
    float: right;
}

main.ueber-mich .imgContainer
{
    position: relative;
    width: 100%;
}

main.ueber-mich .imgContainer img
{
    position: relative;
    width: 30%;
    height: auto;
    cursor: zoom-in;
    float: right;
    top: 2em;
}

main.ueber-mich li.nostyle
{
    list-style: none;
}

/* ========== Gästebuch ========== */
main.gaestebuch .newEntry
{
    margin: 0 0 1.5em 0;
}

main.gaestebuch #GuestBookInputSection
{
    position: relative;
    width: 90%;
}

main.gaestebuch #GuestBookInputSection #privacyWarning,
main.gaestebuch #GuestBookInputSection #GuestBookForm
{
    display: none;
}

main.gaestebuch #GuestBookInputSection #guestbookInput
{
    border: 1px solid black;
    resize: none;
    height: 10em;
    width: 100%;
    font-size: 1em;
    padding: 5px;
}

main.gaestebuch #GuestBookForm .formInputFooter
{
    width: 100%;
    display: flex;
}

main.gaestebuch #GuestBookForm .formInputFooter > *
{
    width: 50%;
}

main.gaestebuch #GuestBookForm .formInputFooter > span
{
    text-align: right;
}

main.gaestebuch #GuestBookForm button
{
    margin-left: 0.5em;
    margin-top: 0.5em;
}

main.gaestebuch #errorLabel
{
    display: none;
    font-weight: bold;
}

main.gaestebuch #errorLabel.visible
{
    display: block;
}

main.gaestebuch #GuestBookEntryList
{
    list-style: none;
    padding: 0 1em 0 0;
}

main.gaestebuch #GuestBookEntryList .entry
{
    overflow: auto;
    margin-bottom: 1.5em;
}

main.gaestebuch #GuestBookEntryList .entry:after
{
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    margin-top: 1.5em;

    background-image: -webkit-linear-gradient(left, transparent 10%, black 40%, black 60%, transparent 90%);
    background-image: -moz-linear-gradient(left, transparent 0%, black 30%, black 70%, transparent 100%);
    background-image: -o-linear-gradient(left, transparent 0%, black 30%, black 70%, transparent 100%);
    background: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
}

main.gaestebuch #GuestBookEntryList .entry .message,
main.gaestebuch #GuestBookInputSection #guestbookInput
{
    font-family: guestbookFont, serif;
    white-space: pre-line;
    margin: 0;
}

main.gaestebuch #GuestBookInputSection #guestbookInput
{
    margin-bottom: 0.5em;
}

main.gaestebuch #GuestBookEntryList .entry footer
{
    overflow: auto;
}

main.gaestebuch #GuestBookEntryList .entry footer .time
{
    float: right;
}

main.gaestebuch .resultFrame
{
    width: 1px;
    height: 1px;
    padding: 0;
    border: none;
    position: fixed;
    left: -10px;
}

/* ========== Veranstaltungen ========== */
main.veranstaltungen table
{
    table-layout: fixed;
    text-align: left;
    width: 100%;
    border-collapse: collapse;
}

main.veranstaltungen table th:first-child
{
    width: 60%;
}

main.veranstaltungen th, main.veranstaltungen td
{
    border-bottom: 1px solid black;
    padding: 0.5em 0;
}

/* ========== Tiersitting ========== */
main.tiersitting img.tiertaxi
{
    width: 35%;
    float: right;
}

main.tiersitting #tiersittingKostenrechner .priceList tr:last-child td:last-child
{
    text-decoration-line: underline;
    text-decoration-style: double;
}

main.tiersitting .weihnachten-ausgebucht
{
    background-image: url("/images/Weihnachten.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    text-align: center;
    color: white;
    padding: 15% 45% 15% 10%;
}

/* ========== Futterspenden ========== */
main.futterspende .katzentatzenLogo
{
    float: right;
    margin-left: 1em;
}

/* ========== Futterspenden ========== */
main.empfehlenswertes h3
{
    margin-top: 3em;
}

main.empfehlenswertes p
{
    margin: 0.5em 0;
}

/* ======== MOBILE ======== */
@media only screen and (max-width: 1000px)
{
    main.tiersitting .weihnachten-ausgebucht
    {
        padding: 10% 40% 10% 5%;
    }
}

@media only screen and (max-width: 875px)
{
    main.tiersitting .weihnachten-ausgebucht
    {
        padding: 5% 30% 5% 5%;
    }
}

@media only screen and (max-width: 750px)
{
    #menuButton
    {
        display: block;
        position: absolute;
        right: 0;
        z-index: 1;
        padding: 0.5em;
    }

    #menuContainer nav
    {
        position: absolute;
        width: 100%;
        float: initial;
    }

    #menuContainer,
    #menuContainer .werbung
    {
        display: none;
    }

    .menu
    {
        width: 100%;
    }

    .menu .entry
    {
        font-size: 1.6em;
    }

    .atn
    {
        position: absolute;
        width: 30%;
        max-width: 200px;
        right: 0;
        bottom: 0;
        margin: 0.5em;
    }

    main
    {
        width: 100%;
        font-size: 1.3em;
        display: block;
        padding-left: 0;
    }

    main.startseite
    {
        font-size: 1.2em;
    }

    main.katzenpsychologie .question p
    {
        font-size: 1em;
    }

    main .content .katzenGedanken.werbung
    {
        display: block;
    }

    main.tiersitting .weihnachten-ausgebucht
    {
        background-image: url("/images/Weihnachten2.jpg");
        padding: 10% 5% 10% 10%;
    }
}

@media only screen and (max-width: 600px)
{
    main.startseite
    {
        font-size: 1.5em;
    }

    main.startseite .container
    {
        flex-direction: column;
    }

    main.startseite .container > *
    {
        width: 100%
    }

    main.gaestebuch #GuestBookInputSection .formInputFooter > *
    {
        width: auto;
        float: initial;
    }

    main.gaestebuch #GuestBookInputSection #GuestBookCharactersLeft,
    main.gaestebuch #GuestBookInputSection button
    {
        float: initial;
    }

    main.gaestebuch #GuestBookInputSection button.submitButton
    {
        float: left;
        margin-left: 0;
    }
}

@media only screen and (max-width: 500px)
{
    body
    {
        font-size: 0.9em;
    }

    main.katzenpsychologie .question img
    {
        display: none;
    }
}

@media only screen and (max-width: 450px)
{
    body
    {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 400px)
{
    body
    {
        font-size: 0.7em;
    }

    main.startseite .book
    {
        grid-template-columns: auto;
        gap: 2em;
    }

    main.startseite .book > img
    {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 3;
        grid-row-end: 4;
    }

    main.startseite .book .description
    {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    main.startseite .book .amazonLink
    {
        grid-column-start: 1;
        grid-column-end: 2;
    }
}

@media only screen and (max-width: 350px)
{
    body
    {
        font-size: 0.65em;
    }
}

@media only screen and (max-width: 320px)
{
    body
    {
        font-size: 0.6em;
    }
}