@font-face { 
	font-family: 'IBM PS-55'; 
	src: url("/fonts/Web437_IBM_PS-55_re.woff");
	font-weight: normal;
	font-style: normal; 
	font-display: swap; 
}

@font-face { 
	font-family: 'Retrogression'; 
	src: url("/fonts/retrogression-regular.ttf") format("truetype"); 
	font-weight: normal;
	font-style: normal; 
	font-display: swap; 
}

/* -- DEFAULTS -- */

:root {
    --background-color: #660808; /* CHANGED FOR MUJI */
    --title-color: #bf6a47;
    --heading-color: #660808; /* CHANGED FOR MUJI */
    --text-color: black; /* CHANGED FOR MUJI */
    --stamp-color: #faf2e1; /* CHANGED FOR MUJI */
    --dotted-border-color: #660808; /* CHANGED FOR MUJI */
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    justify-content: left;
    align-items: center;
    position: relative;

/* -- background -- */
    background-image: url(assets/muji-patch.gif);
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: var(--background-color);

/* -- text -- */
    font-family: 'IBM PS-55', monospace;
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.2em;
}

a {
    color: var(--text-color);
    text-decoration: none;
    font-style: italic;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    font-style: italic;
    font-weight: bold;
}

/* -- stamp design -- */
.postcard {
  --r: 10px; /* control the radius */
  padding: var(--r);
  background: var(--background-color);
  mask: 
    radial-gradient(50% 50%,#0000 66%,#000 67%) round 
     var(--r) var(--r)/calc(2*var(--r)) calc(2*var(--r)), 
    conic-gradient(#000 0 0) content-box;
}

/* -- dot borders -- */
.dotted-header {
    flex-shrink: 0;
    border: 1px dotted var(--dotted-border-color);
    box-shadow: inset 5px 0 0 var(--heading-color);
    padding: 3px;
    padding-left: 8px;
}

.dotted-paragraph {
    flex: 1;
    flex-shrink: 0;
    border-left: 1px dotted var(--dotted-border-color);
    border-bottom: 1px dotted var(--dotted-border-color);
    border-right: 1px dotted var(--dotted-border-color);
    padding: 3px;
    box-sizing: border-box;
}

.dotted-image {
    flex: 1;
    flex-shrink: 0;
    border: 1px dotted var(--dotted-border-color);
    height: 80px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.dotted-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -- WIDGETS -- */

/* -- LANDING -- */

.container {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    height: 400px;
    width: 1000px;
    gap: 15px;
    position: relative;
}

.container-spacer {
    width: 100%;
    height: 220px;
}

.container-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 400px;
    overflow: hidden;
}

.container-changelogs,
.container-status,
.container-links,
.container-image,
.container-desc {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background-color: var(--stamp-color);
    padding-top: 11px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
}

.container-changelogs-heading-text,
.container-status-heading-text,
.container-curios-heading-text,
.container-desc-heading-text {
    font-family: "IBM PS-55" san-serif;
    text-align: left;
    font-size: 1em;
    color: var(--heading-color)
}

.container-changelogs-paragraph-text,
.container-status-paragraph-text,
.container-curios-paragraph-text,
.container-desc-paragraph-text {
    font-family: "IBM PS-55", monospace;
    text-align: left;
    color: var(--text-color);
    overflow-x: hidden;
    overflow-y: scroll;
    padding-left: 5px;
    padding-right: 5px;
}

.container-changelogs {
    height: 80px;
    width: 190px;
}

.container-changelogs-paragraph-text {
    height: 50px;
}

.container-status {
    height: 130px;
    width: 190px;
}

.container-status-paragraph-text {
    height: 100px;
    align-items: center;
}

.container-links {
    flex: 1;
    min-height: 0;
    width: 190px;
    font-weight: bold;
    color: var(--heading-color);
    text-align: center;
}

.container-links a {
    color: var(--background-color);
}

.container-links-text {
    height: 50px;
    padding-top: 7px;
}

.container-image {
    height: 120px;
    width: 260px;
}

.container-desc {
    flex: 1;
    width: 260px;
}

.container-desc-paragraph-text {
    height: 180px;
}

.container-footer {
    height: 30px;
    width: 100%;
    text-align: center;
}

.container-footer-text {
    color: var(--stamp-color);
}

.container-title {
    flex: 1;
    width: 260px;
}

.container-title-text {
    font-family: 'Retrogression';
    font-size: 4em;
    color: var(--stamp-color);
    text-align: right;
    position: absolute;
    top: 45%;
    left: 80%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.container-title-subtitle {
    font-family: 'IBM PS-55', monospace;
    font-size: 0.25em;
    color: var(--stamp-color);
    margin-top: 25px;
}