/**
*  Publish Basic theme
*/

@font-face {
    font-family: 'avenir';
    src: url('fonts/avenir.woff2') format('woff2');
}

@font-face {
    font-family: 'brandon';
    src: url('fonts/brandon.woff2') format('woff2');
}

@font-face {
    font-family: "Times";
    src: url('fonts/times.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/Playfair-Display-Regular.woff') format('woff'),
        url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Thin.woff2')  format('woff2'),
         url('https://fonts.googleapis.com/css2?family=Lato:wght@100&display=swap');
    font-weight: normal;
    font-style: normal;
    font-weight: 100;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

  /* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/Lato-Thin-Ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/Lato-Light.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  /* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/Lato-Light-Ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }


/*
@font-face {
    font-family: 'Libre Caslon';
    src: url('fonts/Libre-Caslon-Regular.woff2') format('woff2'),
        url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text&display=swap');
    font-weight: normal;
    font-style: normal;
}*/


@font-face {
    font-family: 'Uthman Naskh';
    src: local('KFGQPC Uthman Taha Naskh'),
         url(fonts/UthmanTN1.woff2) format('woff2'),
         url(fonts/UthmanTN1.woff) format('woff');
}

@font-face {
    font-family: 'Uthman Naskh';
    font-weight: bold;
    src: local('KFGQPC Uthman Taha Naskh Bold'),local('KFGQPCUthmanTahaNaskh-Bold'),
         url(fonts/UthmanTN1B.woff2) format('woff2'),
         url(fonts/UthmanTN1B.woff) format('woff');
}
@font-face {
    font-family: 'Uthman Hafs';
    src: local('KFGQPC Uthmanic Script HAFS'),
         url(fonts/UthmanicHafs1.woff2) format('woff2'),
         url(fonts/UthmanicHafs1.woff) format('woff');
}

@font-face {
    font-family: 'QPC Symbols';
    src: local('KFGQPC Arabic Symbols 01'),
         url(fonts/Symbols.woff2) format('woff2'),
         url(fonts/Symbols.woff) format('woff');
}

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

body {
    background: #fff;
    color: #000;
    font-family: 'Lato', 'Uthman Naskh';
    text-align: center;
    font-size: 18px;
}

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

.logo {
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    height: 60px;
    
    background-color: #eee;
    border-radius: 50%;
    margin-right: 1em;
}

header {
    background-color: rgb(81,108,169);
}

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

header a {
    text-decoration: none;
}

header .site-name {
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
}

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: 20px;
    font-family: /*'Libre Caslon',*/ 'Playfair Display', 'Uthman Naskh';
    font-size: 2em;
    line-height: 1.33;
    
    border-bottom: 1px solid hsla(0,0%,50%,.33);
}

h1 a {
    text-decoration: none;
}

h2 {
    margin: 20px 0;
}

p {
    margin-bottom: 10px;
    line-height: 1.67;
}

p strong {
    font-family: 'Playfair Display', serif;
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

.item-list > li {
    display: block;
    padding: 20px;
    border-radius: 20px;
    background-color: #eee;
    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: rgb(81,108,169); /*#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;
}

blockquote {
    font-family: 'Uthman Naskh', Arial;
    font-size: 1.22rem;
    
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.7) ;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(25px);

    border-radius: 10px;
    padding: 1em;
    margin: 1.5em;
}

ol li {
    margin: 2em
}

footer {
    color: #8a8a8a;
    font-family: 'avenir';
}

.footer-copyright {
    font-family: 'brandon';
    font-size: 0.8rem;
    margin-top: 20px;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }

    body,
    header .site-name {
        color: #ddd;
    }

    .item-list > li {
        background-color: #333;
    }
}

@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
    
    .logo {
        height: 50px;
        width: 50px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
}

