/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5dc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

/* Buttons */
button {
    font-family: inherit;
    font-size: 100%;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Forms */
input, textarea, select {
    font-family: inherit;
    font-size: 100%;
    border: none;
    outline: none;
}

textarea {
    resize: vertical;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B3410;
}

/* Selection */
::selection {
    background: #2C5F2D;
    color: #fff;
}

::-moz-selection {
    background: #2C5F2D;
    color: #fff;
}

/* Mobile optimization */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}


