
body {
    background-color: #c5bea2;
    background-image: url("/images/papertexture.jpg"),url("/images/papertexture_lowres.jpg");
    background-repeat: repeat-y;
    background-size: 100% auto;
    text-align: center;
    font-family: 'Special Elite', cursive, "Times New Roman", Times, serif;
}

.year {
    text-align: left;
}

.text {
    text-align: left;
    font-size: 1.3em;
    line-height: 1.5em;
    letter-spacing: 0.05em;
}

.date {
    text-align: left;
    font-weight: bold;
}

.entry {
    margin-bottom: 54px;
}
h1 {
    font-size: 2.4em;
}

.title {
    margin-top: 20%;
    margin-bottom: 20%;
    line-height: 1.3em;
    font-family: 'Special Elite', cursive !important;
}
.author {
    margin-bottom: 0px;
    font-size: 2.2em;
}

.lifespan{
    margin-top: 0px;
}

#settings-btn {
    height:40px;
    width:40px;
    left:0;
    top:0;
    background-image: url("/images/font.svg");
    background-size: contain;
    margin: 15px;
    opacity: 0.7;
}

#donate-btn {
    height:40px;
    width:40px;
    right:0;
    bottom:0;
    background-image: url("/images/beer.svg");
    background-size: contain;
}

#fontoggler {
    width:50px;
    height:50px;
    background-image: url("/images/typewriter.svg");
    background-size: cover;
    margin-left: 10px;
    margin-top: 5px;
}
#size-slider {
    width:80%;
}

#language-switch {
    width:35px;
    height:35px;
    background-size: cover;
}


#settings-menu {
    top:0;
    right:0;
    left:0;
    display: inline-flex;
}

.title_secondary {
    text-align: left;
    margin-bottom: 10%;
}

.container {
    margin-left:5px;
    margin-right:5px;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:not(#jens_sund){
    text-decoration-thickness: 0.1em;
}

.date_quickswitch {
    text-decoration: none;
    font-size: 2em;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.spoiler { 
    color: black; 
    background-color:black;
    text-decoration: none;
}

.spoiler:hover { 
    background-color:rgba(255, 255, 255, 0); 
}
#ui-id-1{
    width: 200px;
    height: 50px;
    top: 5px !important;
    left: 00px !important;
    color: black;
    background-color: rgba(0, 0, 0, 0);
    margin-left:5px;
    padding-left:50px;
    z-index:0;
    pointer-events: none;
}
.ui-tooltip {
    background-color: rgba(0, 0, 0, 0.76);
    color: white;
    text-align: center;
    line-height: 25px;
    max-width: 85%;
    margin-left: 15px;
    margin-right:15px;
}
.ui-tooltip img {
    max-width: 100%;
    display: block;
}
.ui-widget.ui-widget-content {
    border: 0px;
}
footer {
    position: relative;
    padding: 0px 15px 10px 10px;
}

footer *
{
    display: inline-block;
    width:auto;
}

.footer_left{
    position:absolute;
    left:10px;
    bottom: 0px;
}
.footer_middle {
    line-height:1.4em;
}
.footer_right{
    position:absolute;
    right: 10px;
    bottom: 0px;
}

#rss-link{
    line-height: 3em;
}

#date-picker{
    background-color: rgba(0, 0, 0, 0);
    height: 50px;
    width: 200px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    border: solid 2px black;
    border-radius: 8px;
}
#missing-day-text{
    font-family: Georgia, serif;
    font-style: italic;
}
#portrait {
    width:80%;
}
#table-plan{
    width:90%;
}
h3{
    width:fit-content;
}
.shadow {
    box-shadow: 5px 5px 20px 9px rgba(0,0,0,0.74);
}
#book_cover{
    max-width: 50%;
    box-shadow: 5px 5px 20px 9px rgba(0,0,0,0.74);
}
@media screen and (min-width: 700px) {
    .container {
        margin-left: 30%;
        margin-right: 30%;
    }

    h1 {
        font-size: 2.5vw;
    }
    #missing-day-text{
        font-family: 'Times New Roman', serif;
    }
    .landscape {
        width : 400px !important;
    }

    #book_cover {
        float: left;
        margin-left: -250px;
        margin-top: -100px;
    }
    #book_cover:hover{
       transform: scale(1.1);
    }
    #portrait {
        position: fixed;
        right: 0px;
        width: 20%;
        bottom: 0px;
        max-width: 330px;
    }
    #table-plan{
        width: 70%;
    }
    .text {
        font-size: 1.5rem;
        line-height: 1.5em;
        letter-spacing: 0.05em;
    }
    .title {
        margin-top: 10%;
        margin-bottom: 10%;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently */
    }
    .title_secondary {
        margin-bottom: 3%;
    }

    #settings-btn {
        position: absolute;
    }
}

@media (prefers-color-scheme: dark) {
    .text   { color:black;}
}