/**
*  Publish Foundation theme
*  Copyright (c) John Sundell 2019
*  MIT license, see LICENSE file for details
*/

:root {
    --pacific: #1d5962;
    --white: #FAF9FA;
    --dark: #0C2231;
    --dark-surface: #102E42;
    --freezing-vapor: #d6e9f5;
    --pico-ivory: #fdf1e7;
    
}

@font-face {
    font-family: 'bariolregular';
    src: url('../fonts/Bariol-Regular-Webfont/bariol_regular-webfont.eot');
    src: url('../fonts/Bariol-Regular-Webfont/bariol_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Bariol-Regular-Webfont/bariol_regular-webfont.woff2') format('woff2'),
         url('../fonts/Bariol-Regular-Webfont/bariol_regular-webfont.woff') format('woff'),
         url('../fonts/Bariol-Regular-Webfont/bariol_regular-webfont.ttf') format('truetype'),
         url('../fonts/Bariol-Regular-Webfont/bariol_regular-webfont.svg#bariolregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* noto-serif-regular - latin */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  src: local('Noto Serif'), local('NotoSerif'),
       url('../fonts/noto-serif-v8-latin/noto-serif-v8-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/noto-serif-v8-latin/noto-serif-v8-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* noto-serif-regular - latin */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  src: local('Noto Sans TC Regular'), local('NotoSansTC-Regular'),
       url('../fonts/noto-sans-tc-v10-latin_chinese-traditional/noto-sans-tc-v10-latin_chinese-traditional-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/noto-sans-tc-v10-latin_chinese-traditional/noto-sans-tc-v10-latin_chinese-traditional-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

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

body {
    background: var(--pico-ivory);
    color: var(--pacific);
    font-family: bariolregular, "Noto Sans TC";
    text-align: center;
}

.wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

header {
    background-color: var(--white);
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

header a {
    text-decoration: none;
}

header .site-name {
    font-size: 1.5em;
    color: var(--pacific);
    font-weight: bold;
}

header .logo-img {
    width: 80px;
    height: 80px;
}

.podcast img {
    height: 40px;
    border-radius: 0px;
    display: inline-block;
    margin: 16px;
}

nav {
    margin-top: 20px;
}

nav li {
    display: inline-block;
    margin: 0 7px;
    line-height: 1.5em;
}

nav li a.selected {
    text-decoration: underline;
}

h1 {
    margin-bottom: 24px;
    font-size: 2.4em;
}

h2 {
    margin: 24px 0;
    font-size: 1.6em;
}

h3 {
    margin: 16px 0;
    font-size: 1.3em;
}

p {
    margin-bottom: 36px;
    font-weight: 100;
    font-size: 1.0em;
    line-height: 1.6;
    font-family: "Noto Sans TC";
    
}

a {
    color: inherit;
}

hr {
    margin: 24px;
    opacity: 0.5;
}

blockquote {
    position: relative;
    padding-left: 1em;
    border-left: 0.2em solid #333;
    font-weight: 100;
    margin-top: 1em;
    margin-bottom: 1em;
    font-style: italic;
    font-size: 1.1em;
  
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    max-height: 25em;
    margin-top: 32px;
    margin-bottom: 32px;
    border-radius: 16px;
}

.description {
    margin-bottom: 40px;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: var(--white);
    margin-bottom: 20px;
}

.item-list > li:last-child {
    margin-bottom: 0;
}

.item-list h1 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.item-list p {
    margin-bottom: 0;
}

.tag-list {
    margin-bottom: 15px;
}

.tag-list li,
.tag {
    display: inline-block;
    background-color: #000;
    color: #ddd;
    padding: 4px 6px;
    border-radius: 5px;
    margin-right: 5px;
}

.tag-list a,
.tag a {
    text-decoration: none;
}

.item-page .tag-list {
    display: inline-block;
}

.content {
    margin-bottom: 40px;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

.all-tags li {
    font-size: 1.4em;
    margin-right: 10px;
    padding: 6px 10px;
}

footer {
    color: var(--pacific);
    opacity: 0.8;
    font-family: bariolregular;
}

footer p {
    line-height: 1.0;
}



@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
}

iframe {
    border-width: 0px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.likecoin-button {
  position: relative;
  width: 100%;
  max-width: 485px;
  max-height: 240px;
  margin: 0 auto;
}
.likecoin-button > div {
  padding-top: 49.48454%;
}
.likecoin-button > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.likecoin-button .likecoin-embed .like-rewards-button .likecoin-embed__like-countt {
    color: var(--pacific);
}

.likecoin-button .like-button-stats__text-logo {
    fill: var(--dark);
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-surface);
    }

    body,
    header .site-name {
        color: var(--white);
    }
    
    footer {
        color: var(--white);
    }

    .item-list > li {
        background-color: var(--pacific);
    }

    header {
        background-color: var(--dark);
    }
    
    blockquote {
        border-left: 0.2em solid var(--white);
    }
    
    .likecoin-embed .like-rewards-button .likecoin-embed__like-count {
        color: var(--white);
    }
    
    .like-button-stats__text-logo {
        fill: var(--white);
    }
}
