@media screen and (min-width: 80rem) {
    #article, .gal {
        padding: 1em;
        max-width: none;
    }
  }

:root{
    --main-color: rgb(140, 0, 255);
}

@font-face {
    font-family: "Tribalium";
    src: url(fonts/TribaliumNeue-Poster.woff) format("woff");
    font-style: "Poster";
}
@font-face {
    font-family: "Garamond";
    src: url(fonts/GaramondBE-Swash.woff2) format("woff2");
    font-style: "Italic";
    font-feature-settings: "liga" 1;
}

body {
    display: block;
    font-family: "Garamond";
    font-style: "Italic";
    color:black;
    margin: 0;
    font-feature-settings: "liga"1;
    cursor:default;
}

header{
    height:19.6vh;
    display:flex;
    align-items:center;
    padding: 0 20px;
    justify-content:space-between;
    position: sticky;
    top: 0;
}
header h1{
    font-family: "Tribalium";
    color: var(--main-color);
    font-size:4em;
    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.pastille {
  color: var(--main-color);
    list-style-type: none;
    text-align: center;
    position: absolute;
    font-size: 1.2vw;
    top: 5vh;
    left: 20vw;
    transform: rotate(10deg);
    text-decoration: none;
}

main {
    place-self: center;
    font-size: 1.2vw;
}

#singleheader {
    position: relative;
    display: inline-block;
    height: 80px;
    padding-top: 20px;
    padding-left: 20px;
    margin-top: 0px;
    z-index: 20;
    list-style-type: circle;
}

p {
    margin-bottom: 20px;
}

p a{
    color: var(--main-color);
    text-decoration: none;
}

p a:hover{
    text-decoration: underline;
}

#article a:hover{
    text-decoration: underline;
}

.date, .youtube{
    color:rgb(140, 0, 255);
    font-family: "Garamond";

}
#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(140, 0, 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:10vh;
        padding: 0 10px;
    }
    header h1{
        font-size:2em;
        line-height:4vh;
    }
   
    nav ul {
        font-size: 0.7em;
    }

    main {    
    font-size: 0.7em;
}
    #article, .gal, #singleheader {
        padding-left: 1em;
        padding-right: 1em;
        max-width: 80vw;
    }

    li.pastille{
        top: 4vh;
        left: 35vw;
        font-size: 1em;
    }

}