@import "/root.css";

body {
    margin: 0px;
    background-color: var(--albertunruh-color);
}

.guest-book {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-flow: column wrap;
}

@media only screen and (max-width: 800px) {
    .guest-book {
        width: 95%;
    }
}

.guest-book > a {
    height: 0px;
}

.guest-book > .bubble > a,
.explanation a {
    color: inherit;
}

.guest-book > .bubble > a:hover,
.explanation a:hover {
    text-decoration: none;
}

.guest-book > .bubble {
    border-radius: 1em;
    padding: 0.25em 0.75em;
    margin: 0.0625em;
    max-width: 69%;
    color: color-mix(in srgb, var(--albertunruh-color) 10%, #000 90%);
}

.guest-book > .bubble.friend {
    align-self: flex-start;
    background-color: color-mix(in srgb, var(--accent-color) 70%, var(--albertunruh-color) 30%);
    margin-left: 2em;
    margin-top: 0;
}
.guest-book > .bubble.me {
    align-self: flex-end;
    background-color: color-mix(in srgb, var(--accent-color) 80%, var(--albertunruh-color) 20%);
}

.guest-book > .bubble:not(.first):not(.middle) { margin-bottom: 0.5em; }

.guest-book > .bubble.friend.first { border-bottom-left-radius: 0.1em; }
.guest-book > .bubble.friend.last {
    border-top-left-radius: 0.1em;
}
.guest-book > .bubble.friend.middle {
    border-bottom-left-radius: 0.1em;
    border-top-left-radius: 0.1em;
}

.guest-book > .bubble.me.first { border-bottom-right-radius: 0.1em; }
.guest-book > .bubble.me.last { border-top-right-radius: 0.1em; }
.guest-book > .bubble.me.middle {
    border-bottom-right-radius: 0.1em;
    border-top-right-radius: 0.1em;
}

.profile {
    height: 1.625em;
    width: 1.625em;
    border-radius: 50%;
}

#tutorial,
#close-tutorial,
#participate:target {
    display: none;
}

#participate:target ~ #tutorial,
#participate:target ~ #close-tutorial {
    display: inherit;
}

#participate,
#close-tutorial {
    font-style: italic;
    text-decoration: none;
}

#close-tutorial {
    padding-bottom: 1em;
}

iframe.wkdaFM {
    width: 400px;
    height: 192px;
    border: 0px;
}
