body {
    background-image: url(assets/static/backgroundimage2.png);
    background-repeat: no-repeat;
    background-color: #e5cab8;
    background-position: 98% bottom;
    background-size: 550px;
    background-attachment: fixed;
    color: #4d2f1c;
    font-family: hack, sans-serif;
    font-size: 14px;
    padding: 0px;
    line-height: 1.15;
}

li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h2 {
    margin: 0px;
    display: inline-block;
}

a {
    border: 1px solid transparent;
    margin: 0px;
    text-decoration: none;
    color: #eaa3f1;
    cursor: cell;
}

/*
a:hover {
    border: 1px solid transparent;
    border-image: url("") 1 repeat;
    background-color: transparent;
}
*/

/* table generics */
table {
    width: 100%;
    font-size: 14px;
}

td, th {
    text-align: left;
    padding: 4px;
    background-color: #8a6240;
}

.tableheader {
    border-bottom: 1px dotted #808080;
    /*
    background: url('assets/static/sidebarimage1.jpg');
    background-size: 700px 1000px;
    */
}

/* about me list */
.aboutmelist {
    background-color: #8a6240;
    color: #e5cab8;
    border: 3px solid #4d2f1c;
}

.aboutmelist th {
    width: 250px;
    padding: 4px;
    border: 1px solid #eaa3f1;
}

.aboutmelist td {
    padding: 4px;
    border: 1px solid #eaa3f1;
}

/* main content of page */
.main {
    width: 700px;
    padding: 12px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 194px;
    min-height: calc(100% - 32px);
}

/*
.main > br {
    margin: -5px;
}
*/

.landingimg {
    margin-right: 12px;
    box-shadow: 1px 1px 1px 1px #eaa3f1;
}

footer {
    text-align: left;
    font-size: 12px;
}

footer > hr {
    border-style: none;
    border-width: 1 0 0 0;
}

footer > img {
    height: 40px;
    width: 95px;
    background: linear-gradient(-45deg, #e5cab8 40%, #8a6240 50%, #e5cab8 60%);
    background-size: 300%;
    background-position-x: 100%;
    animation: shimmer 2s infinite linear;
    box-shadow: 1px 1px 1px 1px #4d2f1c; 
}

@keyframes shimmer {
    from {
        background-position-x: 100%;
    }
    
    to {
       background-position-x: 0%
    }
}

/* sidenav */
.sidebar {
    width: 160px;
    height: 100%;
    padding: 16px;
    top: 0;
    left: 0;
    color: #eaa3f1;
    background-image: url(assets/static/sidebarimage2.jpg);
    background-size: 250px;
    background-color: #a18c7b;
    background-repeat: repeat-y;
    /* background-size: 100% auto;
    overflow-x: hidden; */
    box-shadow: 2px 2px 5px #eaa3f1;
    animation-name: sidebarcolor;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    font-size: 16px;
    text-shadow: 
        -1px -1px 0px #4d2f1c,
        -1px 1px 0px #8a6240,
        1px -1px 0px #8a6240,
        1px 1px 0px #4d2f1c;
    display: inline-block;
    position: fixed;
    text-align: left;
}

@keyframes sidebarcolor {
    0% {box-shadow: 5px 5px 5px #eaa3f1;}
    50% {box-shadow: 3px 3px 5px #4d2f1c;}
}

.sidebar .title {
    font-family: "Kenia", sans-serif;
    font-weight: 100;
    font-size: 28px;
    margin-bottom: 5px;
    text-align: left;
    text-shadow: 
        -1px -1px 0px #4d2f1c,
        -1px 1px 0px #8a6240,
        1px -1px 0px #8a6240,
        1px 1px 0px #4d2f1c;
}

.sidebar hr {
    border-style: none;
    border-width: 1px 0 0 0;
}


.sidebar a {
    color: #e5cab8;
}

/*
.sidebar a:hover {
    color: ;
    text-shadow: ;
}
*/

.sidebar li {
    padding-bottom: 3px;
}


.sidebar .bottom-left {
    position: fixed;
    bottom: 45px;
    left: 20px;
    z-index: 1;
    font-family: "Rampart One", sans-serif; /* replace later maybe*/
    font-weight: 400;
    font-style: normal;
}

/* top page image */
.pageimage {
    margin-bottom: 10px;
    pointer-events: none;
    width: 700px;
    height: 100px;
    /*box-shadow: 2px 2px 3px #f4e8e0, 5px 5px 3px #6d431d;*/
}

/* blog */
.blogpost_container {
    padding: 3px;
    margin-bottom: 3px;
    width: 694px;
    overflow: hidden;
    display: inline-block;
}

.post_wrapper {
    clear: both;
    color: #4d2f1c;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    background-color: #8a6240;
    margin-bottom: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.post_info {
    color: #1e5122 !important;
    font-style: normal;
}

.blog_image {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* zenkyoku */
.infodropdown {
    margin: auto;
    margin-bottom: 20px;
    width: 90%;
}

.albumtable {
    background-color: #8a6240;
    color: #e5cab8;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

details {
    color: #e5cab8;
    background-color: #4d2f1c;
    overflow: hidden;
    padding: 5px;
    border-radius: 3px;
}

/*
details > .albumdesc {
    cursor: pointer;
}
*/

details > summary {
    list-style-type: '>';
    padding-right: 5px;
}

details[open] > summary {
    list-style-type: 'v';
    padding-right: 5px;
}

.art {
    height: 150px;
    width: 150px;
    padding: 0px;
    vertical-align: top;
    background-color: #8a6240;
}

.art img {
    box-shadow: 4px 4px 2px #4d2f1c;
}

.tracks {
    vertical-align: top;
    padding-left: 10px;
    background-color: #8a6240;
    /*background-image: url(assets/static/sidebarimage1.jpg);*/
    /*animated dash offset*/
}

.tracks hr {
    border-style: dotted;
    margin-top: 3px;
    margin-bottom: 3px;
    color: #e5cab8;
}

/* kouji */
.koujiimage {
    width: 500px;
    height: 500px;

}

/* project landing page */
.project-container {
    width: 100%;
    /*background-image: url(assets/static/sidebarimage1.jpg);*/
}

.project-preview {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex; /* flexibly place elements under this object */
    flex-direction: row;
    margin-top: 5px;
    margin-bottom: 5px; 
    align-items: center;
    overflow: hidden;
    border: none;
    background-color: #4d2f1c;
}

.preview-image {
    height: 100px;
    width: 100px;
    aspect-ratio: 1;
    padding-right: 5px;
}

.preview-details {
    display: flex;
    flex-direction: column;
    padding-left: 8px;
    justify-content: center;
    min-width: 0px;
    flex: 1;
    color: #e5cab8;
}

.preview-title {
    margin: 2px;
    font-size: 16px;
}

.preview-desc {
    margin: 2px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: "... ";
    min-width: 0;
    width: 95%;
}

.preview-date {
    margin: 2px;
    font-size: 10px;
    color: #eaa3f1;
}

.preview-tags {
    margin: 2px;
    font-size: 10px;
    color: #eaa3f1;
}

/* project page */
.project-content {

}

.project-content hr {
    size: 2px; 
    color: #eaa3f1; 
    background-color: transparent; 
    border: 1px dotted #4d2f1c;
    border-style: none none dotted;
}

.project-content li {
    list-style-type: circle; 
    margin: 0; 
    padding: 2px;
}

.project-title {
    padding-bottom: 10px;
}

.four-image-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

.four-image-block img {
    width: 100%;
    height: auto;
}

.project-wide-image {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.youtube-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 10px;
    position: relative;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}