* {
    margin: 0;
    padding: 0;
}
body {
    max-width: 100%;
    overflow-x:hidden;
    background-color: var(--color_bg);
}
a, a:active, a:focus, a:visited{
    outline: none;
    text-decoration: none;
}
:root {
    --color_bg: #101010;
    --color_blueish: #9CDCFE;
    --color_maintext: #F6F4D2;
    --color_title: #CBDFBD;
    --color_salmon: #F19C79;
}
.salmon {
    color: var(--color_salmon);
}
.blueish {
    color: var(--color_blueish);
}
@font-face {
    font-family:'sora';
    src:url('../fonts/Sora-Regular.woff2') format('woff2');
    font-weight:500;
    font-style:normal;
}
p {
    font-family: 'sora';
    color: var(--color_maintext);
}

hr {
    border: dashed;
    border-width: 4px;
    border-color: #808080;
}
.line {
    height: 6px;
    background: repeating-linear-gradient(to right,#808080 0,#808080 6px,transparent 6px,transparent 12px);
}
.grid3 {
    display: grid;
    grid-template-columns: auto 680px auto;
}

#header {
    justify-items: center;
}
#nametitle {
    grid-column: 2/3;
    margin-top: 20px;
}
#nametitle p {
    font-size: 96px;
    font-weight: 700;
    color: var(--color_title);
}
#nav {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: repeat(3, auto);
    column-gap: 25px;
}
#nav p {
    font-size: 24px;
    font-weight: bold;
}
#nav a:hover p {
    color: var(--color_salmon);
}

.post, .archivepost {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 1fr auto;
}
.post {
    margin-top:40px;
    margin-bottom: 30px;
    row-gap: 30px;
}
.archivepost {
    margin-top: 20px;
    border-width: 2px;
    border-style: dashed;
    border-color: #202020;
}
.archivepost:hover {
    background-color: #202020;
}
.archivelink {
    display:contents;
}
.posttitle {
    justify-self: left;
    align-self: center;
}
.posttitle p {
    color: var(--color_title);
    font-size: 32px;
    font-weight: 700px;
}
.date {
    justify-self: right;
    align-self: center;
    
    font-size: 16px;
}
.blogcontent {
    grid-column: 1/-1;
}
.blogcontent > p {
    margin-bottom: 1em;
}
.blogcontent img {
    margin-bottom: 1em;
}
#nextprev {
    display:grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    margin-top: 20px;
}
#nextprev > a {
    display:contents;
}
#prev {
    grid-column: 1/2;
    justify-self: right;
}
#next {
    grid-column: 2/3;
    justify-self: left;
}

.thumbnail {
    width: 220px;
}
#contact {
    margin-top: 50px;
    grid-column: 2/3;
    justify-self: center;
}
@media screen and (max-width: 810px) {
    #nametitle p {
        font-size: 55px;
    }
    #nav p {
        
        font-size: 20px;
    }
    .posttitle p {
        color: var(--color_title);
        font-size: 20px;
        font-weight: 700px;
    }
    .grid3 {
        grid-template-columns: auto 80% auto;
    }
    .thumbnail {
        width: calc(95% / 3);
    }
}


@media screen and (max-width: 480px) {
    
    #nametitle p {
        font-size: 42px;
    }
    .date {
        font-size: 12px;
    }
    #nav p {
        font-size: 16px;
    }
    .blogcontent p {
        font-size: 13px;
    }
}