p {
    font-family: "Patrick Hand", cursive;
}

header h1 {
    font-family: "Love Ya Like A Sister", cursive;
    font-weight: 400;
    font-size: 3em;

    background-color: #FFF6ED;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0px 8px #C5553F;
}

header {
    background-image: url(images/blogheader.svg);
    background-size: cover;
    align-items: center;
    justify-content: center;
    position: relative;
}

header img {
    width: 230px;
    position: absolute;
    bottom: -72px;
    right: 20px;
}

body {
    background-color: #EED5C6;
}

nav {
    background-color: #2B0000;
    padding: 1em;
}

ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: auto;
    justify-content: center;
    align-items: center;
    align-content: stretch;
}

ul li a {
    color: #FFF6ED;
    padding: 1em;
    text-decoration: none;
    font-family: "Patrick Hand", cursive;
    flex: 1;
    width: 100%;
    padding: 0 30px 0 30px;
}

h1 {
    text-align: center;
    margin: 1.5em;
}

article {
    background-color: #FFF6ED;
    padding: 1.5em;
    border-radius: 10px;
    position: relative;
    box-shadow: 7px 8px #C5553F;
}

main {
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 1.5em;
}

article a {
    color: #FFF6ED;
    background-color: #C5553F;
    border-radius: 5px;
    padding: 0.6em;
    text-decoration: none;

    position: absolute;
    bottom: 1.5em; 
    right: 1.5em;
}

article p {
    padding-bottom: 2em;
}

a {
    font-family: "Patrick Hand", cursive;
}

.thumbnail {
    object-fit: cover;
    width: 100%;
    height: 10em;
    border-radius: 5px;    
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 5px;
    grid-template-areas: 
    "a a a a"
    "b b b b"
    "c c c c";
    padding: 1em;   
    height: 15em;
}

.a {
    background-image: url(images/blog1imgthumb.jpg);
    background-size: cover;
}

.b {
    background-image: url(images/blog2imgthumb.jpg);
    background-size: cover;
}

.c {
    background-image: url(images/blog3imgthumb.jpg);
    background-size: cover;
}

.d {
    background-image: url(images/blog4imgthumb.jpg);
    background-size: cover;
}

.e {
    background-image: url(images/blog5imgthumb.jpg);
    background-size: cover;
}

.thumb-header {
    grid-area: a;
    margin: 0;
    font-size: 1.75em;
    vertical-align: top;
    font-family: "Love Ya Like A Sister", cursive;
    text-shadow: -1px -1px 0 #FFF6ED, 1px -1px 0 #FFF6ED, -1px 1px 0 #FFF6ED, 1px 1px 0 #FFF6ED;
}

time {
    grid-area: c;
    text-align: right;
    vertical-align: bottom;
    display: flex;
    align-items: flex-end;
    justify-content: end;
    font-family: "Patrick Hand", cursive;
    font-weight: 800;
    text-shadow: -1px -1px 0 #FFF6ED, 1px -1px 0 #FFF6ED, -1px 1px 0 #FFF6ED, 1px 1px 0 #FFF6ED;
}

footer {
    display: flex;
    background-color: #2B0000;
    padding: 1em;
    color: #FFF6ED;
    justify-content: space-between;
}

footer p {
    padding: 0;
    margin: 0;
}

footer a, footer a:visited {
    color: #C5553F;
    text-decoration: none;
}

/* POST CSS */

.post {
    padding: 0;
    gap: 0;
    flex-direction: column-reverse;
}

.post article {
    border-radius: 0;
    box-shadow: 0 0;
}

.post h2 {
    font-family: "Love Ya Like A Sister", cursive;
    margin: 0;
    font-size: 2em;
}

.post h3 {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

.post p {
    margin-top: 0;
    padding-bottom: 0.25em;
}

.post time {
    font-weight: 400;
    text-align: left;
    justify-content: start;
    padding-bottom: 1em;
}

.post ul {
    list-style-type: disc;
    display: contents;
    list-style-position: inside;
}

.post ul li a {
    background-color: transparent;
    color: #C5553F;
    position: static;
    padding: 0;
}

.post p a {
    background-color: transparent;
    color: #C5553F;
    position: static;
    padding: 0;
}

@media only screen and (min-width: 600px) {
    header img {
        width: 350px;
        position: absolute;
        bottom: -72px;
        right: 100px;
        max-width: 1200px;
    }

    #home {
        display: grid;
        grid-template-columns: auto auto auto;
        max-width: 1200px;
        margin: auto;
    }

    nav ul li {
        justify-content: space-between;
        gap: 20px;
    }

    .grid {
        height: 12em;
    }
    
    .post {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 1000px;
        margin: auto;
    }

    .post img {
        object-fit: cover;
        justify-content: center;
        display: flex;
        width: 100%;
        height: 100%;
    }
}