body {
    background-color: #EEEEEE;
    font-family: inter;
    color: #202427;
}

body .katex {
    font-family: Katex_SansSerif,sans-serif;
}

header {
    background-color: #333333;
    padding: 10px 10px 6px;
}

footer {
    background-color: #858687;
    color: #CCCCCC;
    padding: 4px;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    font-family: "Barlow";
}

/* common */
h1, h2, h3, h4 {
    font-family: "Barlow";
    margin: 0;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

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

a {
    color: inherit;
    text-decoration: inherit; /* no underline */
}

button {
    border: 2px solid #067e72;
    background-color: #0AA899;
    color: #EEEEEE;
    padding: 10px 16px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #0eb5a4;
}

button.secondary {
    border: 2px solid #0AA899;
    background-color: #EEEEEE;
    color: #0AA899;
}

button.secondary:hover {
    background-color: #F9F9F9;
}

button.barebone {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    line-height: 0;
    cursor: pointer;
    color: inherit;
}

select {
    background-color: #EEE;
}

/* Icons */
svg.icon {
    color: inherit;
    width: 24px;
    height: 24px;
}

svg.icon.x18 {
    width: 18px;
    height: 18px;
}

svg.icon.x16 {
    width: 16px;
    height: 16px;
}


/* Logo */
.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-icon {
    height: 36px;
    margin-right: 10px;
}

.logo-text {
    height: 28px;
}

/* Main */
main {
    display: flex;
    justify-content: center;
    background: rgba(10, 168, 153, 0.15);
    padding: 50px 10px;
}



/* Article */
article {
    width: 100%;
    max-width: 500px;
}

article h1 {
    text-align: center;
    margin-bottom: 30px;
}

article h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #067e72;
}

/* Search */
.search-box {
    display: flex;
}

.search {
    flex-grow: 1;
    padding-left: 6px;
}

.search::-webkit-search-cancel-button {
    display: none;
}

.search-box button {
    margin-left: -2px;
}

.search:focus-within {
    outline: 2px solid #067e72;
}

/* Aside */
aside {
    display: flex;
    justify-content: center;
    padding: 20px 10px;
}

aside h3 {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

aside .popular-questions {
    width: 100%;
    max-width: 500px;
}

/* Rich List */
.rich-list {
    margin-top: 6px;
}

.rich-list .list-item {
    border: 1px solid #CCCCCC;
    padding: 6px 10px;
    margin-top: 6px;
    background-color: #DDDDDD;
}

.rich-list a {
    display: flex;
    align-items: center;
}

.rich-list img.thumbnail {
    width: 42px;
    height: 42px;
    margin-right: 10px;
}

.rich-list .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    margin-bottom: 4px;
}

.rich-list .subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: #067e72;
}

a.contact-us {
    border-bottom: 1px dotted;
}


/* Media Query for Mobile Devices */
@media (max-width: 500px) {

    body article {
        max-width: unset;
    }
}
