@font-face {
    font-family: 'commune';
    src: url("./fonts/commune-webfont.woff2") format('woff2'),
        url("./fonts/commune-webfont.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    background: #F8F8F6 url("./bg.jpg") repeat 0 0;
}

html, body{
    margin: 0;
    padding: 0;
    font-family: "Noto Sans TC", sans-serif;;
}

#header{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 580px;
    font-family: commune;
    padding-bottom: 30px;
    font-size: 38px;
    margin: 0 auto;
}

#header h1 {
    font-size: 38px;
}
#header > div:first-child{
    padding: 30px 0;
    width: 100%;
    border-bottom: 1px solid #ccc;
    text-align: center;
}
#header a{
    color: black;
    text-decoration: none;
}

nav{
    width: 100%;
    max-width: 580px;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 14px;
    padding: 24px 12px;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
    border-bottom: 1px dashed #ccc;
}

nav > div {
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

nav > div > a {
    color: black;
    text-decoration: none;
}

ul.products{
    display: flex;
    justify-content: center;
}

ul.products > li{
    width: calc(100% - 30px)!important;
    margin: 0!important;
    max-width: 400px!important;
}

#feed {
    text-align: center;
}

.post {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 24px auto 0;
    padding: 0 0 24px;
    border-bottom: 1px dashed rgb(204, 204, 204);
    width: 100%;
    max-width: 580px;
}

.post small {
    font-size: 11px;
}

.post img {
    object-fit: contain;
    margin: 12px 0;
    width: 100%;
}

.post a {
    color: black;
}

.post iframe{
    width: 100%;
}
