@media screen and (min-width: 80rem) {
    #article, .gal {
        padding: 1em;
        max-width: none;
    }
  }
@font-face {
    font-family: "Bianzhidai-Base";
    src: url(fonts/bianzhidai_noBG-Base.woff) format("woff");
}

@font-face {
    font-family: "Bianzhidai-Pearl";
    src: url(fonts/bianzhidai_noBG-Pearl.woff) format("woff");
}

@font-face {
    font-family: "Sono";
    src: url(fonts/Sono-Light.woff2) format("woff2");
    font-style: "Light";
}

@font-face {
    font-family: "Sono";
    src: url(fonts/Sono-ExtraLight.woff2) format("woff2");
    font-style: "Extra light";
}
body {
    display: block;
    font-family: "Sono";
    font-style: "Light";
    margin: 0;
}

header{
    height:19.6vh;
    display:flex;
    align-items:center;
    background:linear-gradient(to bottom,rgb(0, 183, 255), rgba(250, 250, 250, 0));
    color:black;
    padding: 0 10px;
    justify-content:space-between;
    position: sticky;
    top: 0;
}
header h1{
    font-family: "Bianzhidai-Base";
    font-size:3em;
    line-height:19.6vh;
    position:relative;
    font-weight: 400;
}
nav {
    position: relative;
    top:.12em;
}

nav ul{
    list-style-type: none;
    line-height: 1.5em;
}

nav ul ::after{
    content: "";
    clear: both;
    display: table;
}

li a{
    display: block;
    text-decoration: none;
    color: #000;
}

li:hover{
    text-decoration: underline;
}

li a.before:hover{
    cursor: w-resize; 
}
li a.after:hover{
    cursor: e-resize; 
}
li.pastille {
    background-color: rgb(10, 243, 45);
    border-radius: 50%;
    list-style-type: none;
    padding: 1rem;
    text-align: center;
    font-family: 'Sono';
    position: absolute;
    top: 13vh;
    left: 38vw;
    transform: rotate(10deg)
}
main {
    place-self: center;
}
#singleheader {
    position: relative;
    display: inline-block;
    height: 80px;
    padding-top: 20px;
    padding-left: 20px;
    margin-top: 0px;
    z-index: 20;
}
p {
    margin-bottom: 20px;
}

p a{
    color: rgb(0, 183, 255);
    text-decoration: underline;
    cursor: e-resize;
}

.date, .youtube{
    color: rgb(255, 0, 132);
    font-size: 9pt;
    font-family: "Bianzhidai-Base";

}
#singleheader hr {
    display: none;
    margin-bottom: 20px;
}
#article, .gal {
    padding-left: 1em;
    max-width: 45vw;
}
a {
    text-decoration: none;
    color: inherit;
    stroke-width: 10px;
}

.gal img {
    padding: 0;
    width: 100%;
    position: relative;
    margin: 20px 0px 20px 0px;
    box-shadow: 0px 0px 20px rgb(0, 183, 255);
    border-radius: 8px;
}

.gal video{
    padding: 0;
    width: 100%;
    position: relative;
    margin: 20px 0px 20px 0px;
    box-shadow: 0px 0px 20px rgb(0, 183, 255);
    border-radius: 8px; 
}

@media screen and (max-width: 800px) {
    header{
        height:13.6vh;
        padding: 0 10px;
    }
    header h1{
        font-size:1.7em;
        line-height:4.6vh;
    }
   
    nav ul {
        list-style-type: none;
        line-height: 1.2em;
        font-size: 0.8em;
    }
    #article, .gal {
        padding-left: 1em;
        padding-right: 1em;
        max-width: 80vw;
    }
    #article, p{
        justify-content: center;
}
    li.pastille{
        top: 11vh;
        left: 49vw;
    }
}