/* CSS for history page that looks like old newspaper */

.newspaper {
    color: #1e0d0d;
    background-color: #f6efe2;
    margin: 1ex;
    padding: 0;
    font-family: serif;
    font-size: medium;
    z-index: 25;
}

@font-face {
    font-family: KlaberFraktur;
    src: url(../font/KlaberFraktur.ttf) format('truetype');
}

.newspaper h1 {
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: KlaberFraktur;
    font-weight: normal;
    font-size: 250%;
}
.newspaper h1.nosub {
    border-bottom: 3px solid black;
}
.newspaper h2 {
    font-size: small;
    text-align: center;
    margin: 0;
    padding: 0;
}

.newspaper nav {
    text-align: center;
    border-top: 3px solid black;
    border-bottom: 1px dotted black;
    margin: 0;
    margin-top: 1ex;
    margin-bottom: 1ex;
    padding: 1ex;
    text-transform: uppercase;
}

.newspaper h3 {
    margin: 0;
    padding: 0;
    padding-bottom: 1ex;
}

.newspaper p {
    margin: 0;
    padding: 0;
    padding-bottom: 1ex;
}

.newspaper ul, .newspaper ol {
    margin: 0;
    padding: 0;
    margin-left: 3ex;
    margin-bottom: 1ex;
    padding-bottom: 1ex;
}

.newspaper li {
    margin-bottom: 2mm;
}

.newspaper .band {
    /* border: 1px solid blue; */
    border-bottom: 1px dotted black;
}

.newspaper .article {
    margin: 0;
    margin-top: 1ex;
    margin-bottom: 1ex;
    /* border-bottom: 1px dotted black;
    padding-bottom: 1ex; */
}

.newspaper .article .more {
    text-decoration: underline;
    float: right;
    cursor: pointer;
}

.newspaper .article .date {
    opacity: 0.5;
    text-align: right;
}

.newspaper .article .comment {
    display: block;
    box-sizing: border-box;
    min-height: 4em;
    width: 100%;
    resize: vertical;
}

.newspaper .article .submit {
    min-height: 1cm;
    margin-right: 1ex;
    float: none;
}

.newspaper .article .button {
    min-width: 1.5cm;
    min-height: 1.5cm;
}

.newspaper .clear {
    clear: both;
}

.newspaper hr {
    margin: 0;
    padding: 0;
    padding-bottom: 1ex;
    clear: both;
    height: 1px;
    border: 0;
    border-top: 1px dotted black;
}
.newspaper hr.thick {
    border-top: 3px solid black;
}

.newspaper .price {
    font-weight: bold;
    display: block;
}

.newspaper button {
    float: right;
    min-width: 3em;
    min-height: 3em;
    margin: 1px;
}

.closeButton {
    position: absolute;
    background-color: transparent;
    border: 0 solid red;
    right: 1ex;
    min-width: 1cm;
    min-height: 1cm;
}

.newspaper table {
    border-collapse: collapse;
}
.newspaper tr:hover {
    background-color: #e6dfd2;
}

.newspaper select {
    display: block;
    width: 100%;
    min-height: 1cm;
}

/* Pixel intro screen */
.newspaper.intro-screen {
    background-color: #14122a;
    color: #e8e6ff;
    border: 3px solid #6a67ff;
    box-shadow: 0 0 0 3px #2a2764, 0 0 18px rgba(0, 0, 0, 0.45);
    font-family: "Courier New", monospace;
    letter-spacing: 0.2px;
}

.newspaper.intro-screen .closeButton {
    color: #d8d6ff;
    right: 0.6rem;
    top: 0.35rem;
    font-size: 1.1rem;
    min-width: auto;
    min-height: auto;
    padding: 0.2rem 0.45rem;
}

.newspaper.intro-screen h1 {
    text-align: left;
    font-family: "Courier New", monospace;
    font-size: 1.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    padding: 0.6rem 0.9rem;
    border-bottom: 2px solid #3a367d;
}

.newspaper.intro-screen .intro-actions {
    position: absolute;
    right: 2.6rem;
    top: 0.5rem;
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.newspaper.intro-screen .intro-actions a,
.newspaper.intro-screen .intro-actions button {
    font-family: "Courier New", monospace;
    font-size: 0.82rem;
    text-transform: uppercase;
    color: #ecebff;
    text-decoration: none;
    border: 2px solid #5f5bce;
    background: #24214f;
    padding: 0.28rem 0.55rem;
    line-height: 1.1;
    cursor: pointer;
    float: none;
    min-width: auto;
    min-height: auto;
    margin: 0;
}

.newspaper.intro-screen .intro-actions button {
    font-weight: bold;
    color: #1c193e;
    background: #8efaa0;
    border-color: #55d06d;
}

.newspaper.intro-screen nav {
    border-top: 0;
    border-bottom: 1px solid #3a367d;
    margin: 0;
    padding: 0.5rem 0.9rem 0.55rem;
    color: #b8b4ff;
    text-align: left;
    letter-spacing: 0.5px;
}

.newspaper.intro-screen .intro-hero {
    margin: 0.8rem 0 1rem;
    padding: 0.65rem 0.9rem 0.75rem;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff8a6;
    text-shadow: 3px 3px 0 #423f91, 6px 6px 0 #201e4a;
    border-top: 1px solid #3a367d;
    border-bottom: 1px solid #3a367d;
    background: linear-gradient(180deg, rgba(56, 50, 122, 0.35) 0%, rgba(28, 25, 62, 0.15) 100%);
}

.newspaper.intro-screen h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 0.8rem;
}

.newspaper.intro-screen p {
    color: #d6d3ff;
    line-height: 1.45;
}

.newspaper.intro-screen .intro-character-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.newspaper.intro-screen .intro-character-card {
    border: 2px solid #5f5bce;
    background: #221f4b;
    color: #f6f5ff;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    float: none;
    min-width: auto;
    min-height: auto;
    margin: 0;
}

.newspaper.intro-screen .intro-character-card:hover {
    border-color: #8f8bff;
    background: #2b2760;
}

.newspaper.intro-screen .intro-character-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.6px;
}

/* Intro window after pressing Start Game */
.newspaper.ghosttown-intro {
    background: #173117;
    color: #e8f3d7;
    border: 3px solid #4d8f4d;
    box-shadow: 0 0 0 3px #1b3a1b, 0 0 20px rgba(0, 0, 0, 0.5);
    font-family: "Lucida Console", Monaco, monospace;
}

.newspaper.ghosttown-intro h1 {
    text-align: left;
    margin: 0;
    padding: 0.7rem 1rem 0.6rem;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff7a5;
    border-bottom: 1px solid #3d703d;
    text-shadow:
      2px 0 0 #2e5d2e,
      0 2px 0 #2e5d2e,
      4px 0 0 #1a341a,
      0 4px 0 #1a341a;
}

.newspaper.ghosttown-intro .closeButton {
    color: #dff2c8;
}

.newspaper.ghosttown-intro nav {
    color: #c8e9b5;
    border-top-color: #3d703d;
    border-bottom-color: #3d703d;
}

.newspaper.ghosttown-intro h3,
.newspaper.ghosttown-intro p {
    color: #e8f3d7;
}

@media (max-width: 720px) {
    .newspaper.intro-screen .intro-hero {
        font-size: 2rem;
    }
}

