body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
div.wrapper-nav {
    width: 100%;
    margin: 0 auto;
    z-index: 5;
}

div.wrapper {
    padding: 5px 3%;
    max-width: 820px;
    align-self: center;
}


header {
    margin-bottom: 60px;
}
h1 {
    font-size: 28px;
    margin-bottom: 0;
}
header p {
    border-bottom: 1px solid #949494;
    padding-bottom: 10px;   /* added */
    margin-bottom: 20px;
}
header img {
    width: 100%;
    max-width: max-content;
}

div.wrapper article section {
    margin-bottom: 50px;
    color: #1a1b1b;
}
h1, div.wrapper h2, div.wrapper h3 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
div.wrapper p {
    line-height: 1.5;
}


/* more blogs */
section.otherblogs {
    margin-bottom: 40px;
}
div.grid {
    display: grid;
    gap: 10px;
}
a.theblog {
    display: inline-block;
    text-decoration: none;
    padding: 5px;
}
section.otherblogs h3 {
    text-align: center;
}
a.theblog h5 {
    margin: 0;
    padding: 3px;
    font-size: 0.8em;
}
div.o-img {
    aspect-ratio: 4/2;
    background-size: cover !important;
    box-shadow: 2px 2px #aaa;
}
div.theblog-title {
    border-bottom: 1px solid #999;
    border-left: 3px solid #fff5f0;
    color: #333;
}
/* hover effect */
a.theblog:hover {
    text-decoration: underline #1f1f1f;
    background: #e0e0e0;
    border-radius: 5px;
}





@media screen and (min-width: 680px) {

    h1 {
    font-size: 35px;
    }
    header p {
        margin-bottom: 35px;
        padding-bottom: 20px;
    }
    div.wrapper article {
        font-size: 1.1em;
    }
    div.grid {
        grid-template-columns: 1fr 1fr;
    }
    a.theblog h5 {
        font-size: 1em;
    }
    
}

@media screen and (min-width: 980px) {

    h1 {
        font-size: 40px;
    }
    div.wrapper article {
        font-size: 1.2em;
    }
    
}