@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    list-style: none;
}
body {
    font-family: 'Roboto', -apple-system, 'PingFang SC', 'Hiragino Sans GB', sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #1c1a17;
}

.mainscreen {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f3eee6;
}

/*Styling top part*/
.toppart {
    padding: 40px 20px;
    padding-bottom: 20vh;
    background-color: #e98b0c;
    background-image: linear-gradient(180deg, #8a5a1c 0%, #1c1a17 100%);
}

.herotext {
    background: #00000040;
    border-radius: 1rem;
    padding: 20px;
    text-align: center;
    display: block;
    margin: 0 auto;
    max-width: 820px;
}

.toppart .logo {
    width: 60px;
    border-radius: 14px;
    vertical-align: middle;
    margin-right: 1rem;
}

.toppart h1 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0px;
}

.langswitch {
    margin-top: 14px;
}

.langswitch button {
    font: inherit;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: 1px solid #ffffff66;
    border-radius: 999px;
    padding: 4px 14px;
    margin: 0 4px;
    cursor: pointer;
}

.langswitch button.active {
    background: #ff9f0a;
    border-color: #ff9f0a;
    color: #1c1a17;
    font-weight: 600;
}

.mainWrap {
    margin-top: -18vh;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.mainWrap .content {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    max-width: 820px;
    margin: 0 auto;
}

/* Without JavaScript both languages show; with it, only the chosen one. */
.lang-zh .content [lang="en"],
.lang-en .content [lang="zh-Hans"] {
    display: none;
}

.content .date {
    color: #888;
    font-size: 14px;
    text-indent: 0;
    margin-bottom: 12px;
}

.content h3 {
    color: #000;
    margin: 20px 0 8px;
}

.content h4 {
    color: #222;
    margin: 12px 0 6px;
}

.content p {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    text-indent: 20px;
    margin-bottom: 5px;
}

.content .b600 {
    font-weight: bold;
    color: #000;
}

.content li {
    color: #333;
    line-height: 1.6;
    text-indent: 20px;
    margin-bottom: 5px;
}

.content a {
    color: #c56f00;
    word-break: break-all;
}
