html {
    min-width: 370px;
}

body {
    background: #333139;
    margin: 20px;
}

#ext-wrapper {
    padding: 0;
    display: inline-block;
}

#lang-select {
    position: absolute;
    top: 0;
    z-index: 1;
    font-size: 10pt;
    font-family: "Jockey One";
}

#lang-select > a {
    background-color: #333139;
    color: #e9e2df;
    padding: 0.3em;
    border-radius: 5px;
}

#lang-select > a:hover, #lang-select > a:active {
    background-color: #1598d0;
}

header {
    padding: 20px 0 20px 0;
    color: #333139;
    font-family: "Jockey One";
    position: relative;
}

header .caption {
    font-size: 25pt;
    height: 1em;
    line-height: 1em;
}

header small {
    font-size: 10pt;
    margin: 0;
    padding: 0;
    display: block;
}

header .time {
    text-align: right;
    font-size: 10pt;
    margin-top: -1.5em;
}

header #external-links {
    float: right;
    height: 25px;
    display: flex;
    margin-top: 6px;
    gap: 10px;
}

.tumblr-profile-badge {
    height: 26px;
    width: 26px;
    border-radius: 14px;
    background-color: rgb(0.8, 0.8, 0.8);
}

.tumblr-profile-badge > img {
    width: 16px;
    height: 16px;
    padding: 5px;
}

#ext-wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 140px;
    background: #e9e2df;
    background-image: radial-gradient(circle farthest-corner at 35% 20%, #e9e2df 20%, #e7d1f3);
    top: 0;
    left: 0;
    z-index: -1;
    box-sizing: border-box;
    border-bottom-style: solid;
    border-image: url("/images/DashLine_Segment.svg") 0 0 100% 0 / 0 0 5px repeat;
}

.column-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 1;
    transform: translateZ(1px);
    -webkit-transform: translateZ(1px);
}

.column-container > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-container > div > .small-pair {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.portfolio-item {
    width: 350px;
    height: 200px;
    padding: 0;
    border: solid 2px #343138;
    box-sizing: border-box;
    position: relative;
}

.portfolio-item.small {
    width: 170px;
    height: 95px;
}

.portfolio-item .tag-list {
    top: 0;
    right: 0;
    position: absolute;
    font-size: 7pt;
}

.portfolio-item .tag {
    margin: 2px 0.05em;
    background: #ff812f;
    border-radius: 2px;
    padding: 1px 0.5em;
    display: inline-block;
}

.cover {
    height: 100%;
    text-align: center;
    display:block;
    cursor:pointer;
    color: white;
    background: #091133;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    font-family: 'Jockey One', sans-serif;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

.cover .content {
    width: 100%;
    height: 100%;
    color: transparent;
    transition: color 0.3s, background-color 0.3s, transform 0.2s;
    -o-transition: color 0.3s, background-color 0.3s, -o-transform 0.2s;
    -webkit-transition: color 0.3s, background-color 0.3s, -webkit-transform 0.2s;
    -moz-transition: color 0.3s, background-color 0.3s, -moz-transform 0.2s;
    transform: scale(1.12, 1.12);
    -o-transform: scale(1.12, 1.12);
    -webkit-transform: scale(1.12, 1.12);
    -moz-transform: scale(1.12, 1.12);
}

.cover .content h2 {
    font-size: 20pt;
    padding-top: 1.5em;
    margin-top: 0;
}

.cover .content {
    font-size: 12pt;
}

.small .cover .content h2 {
    font-size: 10pt;
}

.small .cover .content {
    font-size: 8pt;
}

.content:hover {
    background: rgb(125 118 136 / 50%);
    backdrop-filter: blur(2px);
    color: #e9e2df;
    transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
}

.content:active {
    background: rgba(0, 0, 0, 0.7);
    color: #eee;
    transition-duration: 0s;
    -o-transition-duration: 0s;
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
}

#sources {
    display: none;
}

a {
    text-decoration: none;
}

footer {
    height: 120px;
}

@media (max-width: 420px) {
    header .caption {
        font-size: 25pt;
    }

    header .desc {
        font-size: 10pt;
    }

    header #goto-top {
        bottom: 100px;
    }

    footer {
        height: 160px;
    }
}


