* {
    --column: 16em;
}
html {
    box-sizing: border-box;
    overflow: visible;
    margin: 0;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-color: rgb(38, 33, 29);
    color: rgb(201,187,167);
    overflow: visible;
    font-family: Monaco, Lucida Grande, Courier New, ui-monospace;
    font-size: 0.9em;
}
body.light {
    background-color: rgb(255, 224, 181);
    color: rgb(38, 33, 29);
}
    body.noscroll {
            overflow: hidden;
    }
header {
    margin: inherit;
    width: inherit;
    padding: 4em 0 2em;
    min-width: 320px;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    gap: 1em;
}
a {
    text-decoration: none;
    display: inline-block;
    color: rgb(115,108,96);
}
a.light {
    color: rgb(115,108,96);
}
a:hover {
    text-decoration: underline;
}
a:not([href]) {
    opacity: 0.3;
}
p {
    font-family: inherit;
    padding: 0;
    margin: 0 0 1em 0;
}
pre {
    font-family: inherit;
    padding: 0;
    margin: 0 0 1em 0;
}
.card {
    display: block;
    padding: 1em;
    width: auto;
    min-width: 0;
}
.card_1 {
    display: grid; 
    grid-template-rows: auto 200px;
    align-content: end;
    text-align: left;
    max-width: 250px;
}
.card_2 {
    display: grid; 
    grid-template-rows: auto 200px;
    align-content: end;
    padding: 0.5em;
}
.card_c {
    width: var(--column);
    background-color: rgb(24, 21, 18);
    margin: 10px;
}
.card_c.light {
    background-color: rgb(255, 242, 224);
}

main {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.card img {
    display: block;
    cursor: pointer;
    margin-bottom: 0.5em;
    opacity: 1;
    max-width: 100%;
    padding: 2px;
    /* transition: opacity 5s; */
}
.card img[src=""],
.card img:not([src]){
    opacity: 0;
}
.dida {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.flap span{
    display: block;
    max-width: 600px;
}
.hidden {
    display: none;
}
.mono {
    font-family: Courier New, ui-monospace;
    font-size: 12px;
}
h3 {
    text-align: center;
    margin: 0 0 10px 0;
    font-size: 20px;
    color: rgb(229,178,93);
}
h3.light {
    color: rgb(138,101,82);
}
.mini {
    text-align: left;
    margin-bottom: 0;
    font-size: 12px;
}
.footer {
    text-align: center;
    margin: 10px 0 10px 0;
    font-size: 10px;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    max-height: 80vh;
    max-width: 80vw;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
.modal-close:hover {
        color: rgb(244,173,87);
}
