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

body {
    font-family: monospace;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-size: 16px;
}

h1 {
    font-size: 48px;
    margin-bottom: 0;
}

a, a:visited {
    color: #ff0000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.girl-1 {
    width: 84px;
    margin: 0 -17px -89px 0;
}

.girl-2 {
    width: 84px;
    margin: 0 0 -71px 51px;
}

#footer {
    margin-top: auto;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Tiny5', monospace;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    cursor: default;
}

#logo {
    position: absolute;
    z-index: 100;
    right: 0;
    top: 0;
    margin: 0;
    font-size: 24px;
}

img {
    width: 512px;
    max-width: 100%;
    height: auto;
}

.single img {
    width: 690px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Tiny5', monospace;
    font-weight: 400;
    color: #ff0000;
}

h1 {
    font-size: 39px;
    margin: 15px 0;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 18px;
}

p,
ul {
    font-size: 16px;
    font-family: monospace;
}

a,
a:visited {
    color: #ff0000;
    background: black;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #000000;
    padding: 0 5px;
}

a:hover {
    color: black;
    background: #ff0000;
    outline: 1px solid #ff0000;
}

a:focus {
    outline: 1px solid #ff0000;
    color: black;
    background: #ff0000;
}

ul {
    list-style: none;
    padding: 0;
}

.grid {
    column-count: 4;
    column-gap: 0px;
}

.page {
    font-family: monospace;
}

footer {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
}

/* footer a,
footer a:visited,
.page a,
.page a:visited,
.piece-detail a,
.piece-detail a:visited {
    color: #ff0000;
} */

/* Wallet actions */
#wallet-actions {
    margin: 1rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Modals */
.modal-outer {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.modal-bg {
    background: black;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.modal-wrap {
    position: relative;
    z-index: 2;
}

.modal {
    width: 300px;
    text-align: left;
    padding: 15px;
    border: 1px solid;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal button {
    width: 100%;
    margin: 5px 0;
}

p.modal-msg {
    margin: 5px 0;
}

p.modal-notice {
    margin: 0 0 15px;
}

.modal h3 {
    font-size: 39px;
    margin: 0 0 10px;
}

/* Buttons */
button {
    background-color: #000000;
    color: #ff0000;
    border: 1px solid #ffffff;
    padding: 5px 10px;
    cursor: pointer;
    font-family: monospace;
    font-size: 16px;
    line-height: 21px;
}

button:hover,
button:focus,
button:active {
    background-color: #ff0000;
    color: #000000;
    border-color: #000000;
    outline: 1px solid #ff0000;
}

/* Forms */
input,
textarea,
select {
    background: #000000;
    color: #ff0000;
    border: 1px solid #ffffff;
    padding: 5px 10px;
    font-family: monospace;
    font-size: 16px;
    line-height: 21.3px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 1px solid #ff0000;
    border-color: #ff0000;
    outline-offset: 1px;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #ffffff;
}

/* Custom checkbox */
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    line-height: 1;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox .checkmark {
    width: 16px;
    height: 16px;
    background: #000000;
    border: 1px solid #ffffff;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    flex: 0 0 16px;
    min-width: 16px;
    min-height: 16px;
    line-height: 0;
}

.checkbox .checkmark:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    background: #ff0000;
    display: none;
}

.checkbox input[type="checkbox"]:checked+.checkmark:after {
    display: block;
}

.checkbox input[type="checkbox"]:focus+.checkmark {
    outline: 1px solid #ff0000;
    border-color: #ff0000;
    outline-offset: 1px;
}

/* Misc */
.error {
    color: #ff0000;
}

.success {
    color: #00ff00;
}

label.checkbox {
    font-size: 15px;
}

.single-nft-image-link:hover {
    background-color: #000000;
}

/* Readable Text */
label.checkbox,
.modal-notice,
.modal-msg {
    font-family: monospace;
}

@media all and (max-width: 1424px) {
    .grid {
        column-count: 3;
    }
}

@media all and (max-width: 1024px) {
    .grid {
        column-count: 2;
    }
}

@media all and (max-width: 768px) {
    .grid {
        column-count: 1;
    }
}

@media all and (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
}