:root {
    --font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
    --background-color: #fffff8;
}


[data-theme=light],
:root:not([data-theme=dark]) {
    --background-color: #fffff8;
    --color: #000000;
    --primary: #2c6700;
    --primary-height: #429205;
}

header h1 {
    margin-bottom: 0.5rem;
}

body > main {
    padding-top: 0;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}


header h2 {
    font-size: 1.5rem;
    color: gray;
    margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
    --font-weight: 500;
}

#story h1 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}


summary {
    position: relative;
}

details p {
    padding-left: 4.7rem;
}

details summary::after {
    content: "";
    position: absolute;
    /* Adjust the values below to move the ::after element */
    top: 1.1rem;
    right: 0.2rem;
    width: 2rem;
    height: 1.5rem;
    background-size: 2rem;
    rotate: 90deg;
}

details:hover summary::after{
    --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

details[open] > summary::after {
    transform: rotate(-270deg);
}

details {
    border-bottom: 2px solid #f0f0e9;
}

details:hover {
    cursor: pointer;
}

p {
    font-size: 0.9rem;
    padding: 0.5rem;
    margin: 0;
}

summary img {
    float: left;
    max-width: 4rem;
    margin-right: 0.5rem;
    padding: 0.05rem;
}

summary h2 {
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.6rem 1.7rem 0.4rem 0;
    margin: 0 0 0 4.7rem;
}

summary h3 {
    font-size: 0.9rem;
    color: grey;
    padding-bottom: 0.3rem;
    padding-right: 2.7rem;
    margin: 0 0 0 4.7rem;
}

.visit-btn {
    float: right;
    width: auto;
    padding: 0.6rem;
    margin: 0 3rem 0 0;
}

details {
    margin: 0;
    padding: 0.1rem 0;
    min-height: 4.25rem;
}

details:hover {
    background-color: #f5f5f0
;
}

.with-border{
    border-style: solid;
    border-color: #838383;
    max-width: 40%;
}

.img-left {
    float: left;
    border-top: 1rem;
    width: 50%;
}
.img-right {
    border-top: 1rem;
    float: right;
    width: 45%;
}
.content-img {
    display: block;
    margin: auto;
    border-radius: 0.3rem;
}

.fake-window-dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.fake-window-container {
    border: 3px solid #f1f1f1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    max-width: calc(min(25rem, 80%));
    display: block;
    /*margin: auto;*/
    margin-left: 4.7rem;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.fake-window-top {
    padding: 0 0 0 5px;
    background: #f1f1f1;
    border-radius: 0;
}

.fake-window-content img {
    width: 100%;
}

.rounded {
    border-radius: 0.3rem;
}

.visit-link {
    font-size: 1.2rem;
    font-weight: 300;
    padding-left: 0.2rem;
}
