/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Main CSS */
body {
    font-family: 'plex-mono', sans-serif;
    background-color: #f2f2f2;
}

p {
    margin-bottom: 30px;
}

a {
    color: inherit;
    text-decoration: none;
    font-family: 'plex-bold';
}

a.text {
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.25s;
}

a.text:hover {
    border-bottom: 2px solid #2d2d2d;
}

a.icon {
    background-position: center;
    background-size: cover;
    display: inline-block;
    width: 25px;
    height: 25px;
}

a.icon.linkedin {
    background-image: url('../logos/linkedin.svg');
}

a.icon.x {
    background-image: url('../logos/x-twitter.svg');
}

a.icon.github {
    background-image: url('../logos/github.svg');
}

a.icon.mastodon {
    background-image: url('../logos/mastodon.svg');
}

a.icon.bluesky {
    background-image: url('../logos/bluesky.svg');
}

a.icon.hraew {
    background-image: url('../logos/hraew-logo-light.svg');
}

a.icon.hraew-deorc {
    background-image: url('../logos/hraew-logo-dark.svg');
}

a.icon.hraew-bearht {
    background-image: url('../logos/hraew-logo-light.svg');
}

table {
    margin: 0 0 1.5em;
    width: 100%;
    max-width: 100%;
}

table thead th {
    font-family: 'plex-bold';
    text-align: left;
}

table th, table td {
    padding: 0.5em;
}

table tbody tr:nth-of-type(odd) {
    background-color: #DADADA
}

pre {
    font-family: "plex-light",monospace;
    background-color: #DADADA;
    color: #000;
    padding: 20px;
    margin-bottom: 1em;
}

code {
    max-width: 100%;
    overflow-x: auto;
}

h2 {
    font-size: 2em;
}

#lim, body, html {
    height: 100%;
    line-height: 150%;
    min-width: 490px;
}

#lim-header {
    position: relative;
    height: calc(100% - 120px);
    z-index: 4
}

#lim-image {
    background-color: #000000;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50%;
}

#lim-detail {
    position: absolute;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    width: 100%;
    font-size: 40px;
}

#lim-detail.deorc {
    color: #2d2d2d;
}

#lim-detail.bearht {
    color: #f2f2f2;
}

#logo, #lim-name {
    padding-left: 40px;
    padding-right: 40px;
    font-family: 'plex-condensed';
}

#logo a {
    width: 61.2px;
    height: 50px;
    background-size: contain;
    display: block;
}

.deorc #logo a {
    background-image: url('../logos/seoduzir-logo-dark.svg');
}

.bearht #logo a {
    background-image: url('../logos/seoduzir-logo-light.svg');
}

#lim-side-content {
    width: 200px;
    margin-right: 40px;
}

#lim-side-content .project-activity {
    margin-bottom: 20px;
}

#lim-side-content .activity-line {
    display: flex;
    justify-content: space-between;
}

#lim-side-content .faereld-area {
    font-family: 'plex-thin', monospace;
    width: 40px;
}

.faereld-bar {
    width: calc(100% - 40px);
}

.faereld-bar progress {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0px;
  height: 16px;
  background-color: transparent;
}

.faereld-bar progress[value]::-webkit-progress-bar  {
  background-color: transparent;
}

.faereld-bar progress[value]::-webkit-progress-value {
  background-color: #2D2D2D;
}

.faereld-bar progress::-moz-progress-bar {
    background-color: #2D2D2D;
}

#heatmap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#heatmap:hover > .square {
    opacity: 0.6;
}

#heatmap:hover > .square:hover {
    opacity: 1;
}

#heatmap .square {
    height: 10px;
    width:  10px;
    margin: 2px;
    position: relative;
}

#heatmap .tooltip {
    position: absolute;
    background-color: #2d2d2d;
    color: #f6f6f6;
    z-index: 999;
    padding: 1em;
    display: none;
    font-family: 'Inconsolata', monospace;
    top: 15px;
}

#heatmap .tooltip-date {
    color: #939393;
}

#heatmap .tooltip-area {
    white-space: nowrap;
}

#heatmap:hover > .square:hover > .tooltip {
    display: grid;
}

#heatmap .no-activity {
    background-color: #ebebeb;
}

#heatmap .low-activity {
    background-color: #a9a9a9;
}

#heatmap .medium-activity {
    background-color: #6B6B6B;
}

#heatmap .high-activity {
    background-color: #2d2d2d;
}

#lim-head {
    font-size: 2em;
    font-family: 'plex-light';
    color: #3b3b3b;
    margin-bottom: 40px;
    line-height: 125%;
    margin-top: -0.2em;
}

#lim-content {
    display: flex;
    padding: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#lim-content .img-container {
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
}

#lim-content .img-container img {
    max-width: 100%;
}

#lim-main-content {
    flex: 1;
}

footer {
    color: #2d2d2d;
    padding-left: 20px;
    padding-right: 20px;
}

footer #footer-wrapper {
    max-width: 1000px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer #externals {
    display: flex;
    align-items: center;
}

footer #externals a.icon {
    margin-right: 15px;
}

footer .minor {
    font-size: 14px;
    color: #ff5f5f;
}

/* Index */

#lim-content.index {
    min-height: calc(100% - 140px);
}

#index-desc {
    margin-bottom: 40px;
}

#index-icon a {
    width: 64px;
    height: 63px;
    margin-bottom: 20px;
}

ul#index-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
	justify-content: space-between;
}

ul#index-list li {
    margin: 0 20px;
    margin-bottom: 20px;
    width: 180px;
}

ul#index-list li a{
    padding: 10px;
    display: block;
}

ul#index-list li a:hover{
    background-color: #dadada;
}

ul#index-list span {
    display: block;
}

ul#index-list .lim-brief {
    font-family: 'plex';
    font-size: 75%;
    margin-top: -5px;
}

/* Exception Page */

#gedwola {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: calc(100% - 60px);
    background-color: #2d2d2d;
    color: #f2f2f2;
}

#gedwola-logo img {
    width: 200px;
}

#gedwola-message {
    margin-top: 1em;
    font-size: 4em;
}

/* Decorators */

strong {
    font-family: 'plex-bold';
}

em {
    font-style: italic;
}

.gast {
    opacity: 0.5;
}

.regol {
    font-family: 'Inconsolata', monospace;
    background-color: #DADADA;
    color: #000;
    padding: 2px;
}
