/* SETUP */

:root {
    --page-width: 225px;
}

#grid {
    display: table;
    margin: 0px;
    overflow: hidden;
}

.entry {
    border: none;
    width: var(--page-width);
    height: 225px;
    overflow: hidden;
    display: inline-block;
}

.property > p, .value > p {
    margin-top: 0px;
    margin-bottom: 0px;
}

#header {
    position: sticky;
    top: 0;
    width: auto;
    height: 64px;
    padding: 16px;
    background-color: #dc134c;
}

#sitelogo {
    width: 256px;
    margin: 0;
    display: block;
    float: left;
}

#dllogo {
    fill: white;
    float: left;
}

#sitetitle {
    display: block;
    float: left;
    margin-left: 0.5rem;
}

body {
    font-family: 'M Plus 1 Code', monospace;
    margin: auto;
    display: block;
    line-height: 0;
    font-size: 0;
    overflow-y: scroll;
    background-color: black;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

nav {
    font-size: 16px;
    color: white;
    line-height: 1;
    text-align: right;
    position: absolute;
    right: 16px;
    top: 40px;
}

nav > a {
    margin-left: 32px;
}

/* GRID OBJECTS */

* {
    font-family: 'M Plus 1 Code', monospace;
}
  
.name_eng {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: white;
    text-align: right;
    line-height: 1;
}
  
.name_jpn {
    font-family: 'M Plus 1 Code', sans-serif;
    margin: 0;
    position: relative;
    font-size: 13.5px;
    font-weight: 600;
    color: white;
    line-height: 1;
}
  
.property {
    font-family: 'M Plus 1 Code', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 9pt;
    color: white;
    text-align: right;
    float: left;
}
  
.value {
    font-weight: 700;
    font-size: 9pt;
    color: white;
    text-align: left;
    float: right;
    margin-left: 1em;
}
  
.property > p, .value > p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

.shell {
    width: var(--page-width);
    height: 225px;
    background-color: black;
    --padding: 0px;
    padding: var(--padding);
    box-shadow: inset 0 0 0 var(--padding) black;
}

.shell:hover {
    background-color: #dc134c;
}
  
.rir {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 32px;
    height: 32px;
    box-shadow: 1px 1px 0px 2px black;
    z-index: 2;
}
  
.art_wrapper {
    width: 200px;
    height: 200px;
    position: relative;
    float: left;
    --art-padding: 10px;
    padding: var(--art-padding);
}
  
.box_art { 
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    
    max-width: 200px;
    max-height: 200px;
}

.text_wrapper {
    width: 200px;
    height: 200px;
  /*background-color: white;*/
    position: absolute;
    --text-padding: 5px;
    padding: var(--text-padding);
    line-height: 0.5;
    z-index: 1;
    opacity: 0;
}

.text_wrapper:hover{
    opacity: 85%;
    background-color: #dc134c;
}

.text_wrapper:hover p{
    opacity: 100%;
}
  
.text_set {
    position: absolute;
    right: var(--text-padding);
    bottom: var(--text-padding);
}
  
hr {
    color: #bbb;
    margin-top: 4px;
    margin-bottom: 4px;
}