@font-face {
    font-family: 'depixelKlein';
    src: url('../assets/fonts/depixel/DePixelKlein.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'depixelHalbfett';
    src: url('../assets/fonts/depixel/DePixelHalbfett.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'pixel32';
    src: url('../assets/fonts/pix32/Pix32.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BrotherSignature';
    src: url('../assets/fonts/brother_signature/Brother-Signature.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --paper: #fbf6ec;
    --paper-edge: #e9dfce;
    --ink: #4d4237;
    --ink-soft: #6b6154;
    --accent: #b4522f;
    --accent-deep: #8f3f23;
    --line: #cfc3ad;
    --shadow: rgba(58, 51, 43, 0.22);
}

::selection {
    background-color: rgb(225, 208, 198);
    color: #ffffff;
  }

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgb(255, 208, 198);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: rgb(255, 255, 255);
}

body {
    font-family: 'depixelKlein', 'pixel32';
    color: rgb(239, 232, 202);
    background-color: rgb(161, 169, 117);
    min-height: 100vh;
    padding: 32px 20px;
    flex-wrap: wrap;
}

h1, h2, h3, h4 {
    font-family: 'BrotherSignature', 'pixel32';
    font-weight: 300;
    text-shadow: #4d4237 2px 2px;
}

h1 {
    font-size: 54px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 38px;
}

h4 {
    font-size: 28px;
}

p {
    color: rgb(82, 46, 24);
    font-family: 'depixelKlein', 'pixel32';
}

.page-footer {
    font-family: 'depixelKlein', 'pixel32';
    text-align: center;
    margin-top: 24px;
    color: rgb(239, 232, 202);
    font-size:12px;
}

.matcha-lace {
    border: var(--border-width) solid transparent;
    --border-width: 13px;
    border-image: url("../assets/resources/border/lace-border-01.png") 15 fill round;
    image-rendering:pixelated;
    background-clip: padding-box;
    padding: 2px;
    width: 900px;
    margin: 5px auto 0 auto;
}

.matcha-lace-inner {
    width: 100%;
    height: 560px;
    border: #ffffff dashed 1px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
}

.matcha-header a {
    color: rgb(255, 251, 234);
    text-shadow: 2px 2px rgb(95, 107, 61);
    text-decoration: 1px dotted wavy;
    text-underline-offset: 2.8px;
    gap: 6px;
    margin: 0 16px 0 16px;
    transition: color 0.2s ease;
    font-size: 12px;
    font-family: 'depixelHalbfett', 'pixel32';
}


.matcha-header a:hover {
    color: rgb(239, 232, 202);
}

.matcha-header img {
    width: 50px;
    position: absolute;
}

.divider {
    height: 0;
    border-bottom: 1px dashed rgb(225, 208, 198);
    margin: 6px 20px 0 0;
}

.left {
    border-right: #4d4237 1px dashed;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px;
    overflow-y: auto;
}

.left a {
    color: rgb(255, 251, 234);
    text-decoration: none;
    gap: 6px;
    display: block;
    margin: 0 5px 0 5px;
    transition: color 0.2s ease;
    font-size: 10px;
    font-family: 'depixelHalbfett', 'pixel32';
}

.right {
    display: flex;
    gap: 10px;
    margin: 24px 0 24px 24px;
    padding: 5px;
    width: 600px;
}

.right iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}