html {
    font-family: Roboto, sans-serif;
    background-color: whitesmoke;
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.wrapper {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

header, main, footer {
    padding: 0 20px;
}

footer div {
    border-top: dashed 2px lightgray;
    padding: 20px 20px;
    color: grey;
}

footer a {
    color: grey;
}

footer a:hover {
    color: lightgrey;
}

footer div span {
    float: right;
}

@media (min-width: 600px) {
    header, main, footer {
        padding: 0 10%;
    }
}

@media (min-width: 900px) {
    header, main, footer {
        padding: 0 20%;
    }
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

nav a {
    color: black;
    text-decoration: none;
}

nav a.current {
    text-decoration: underline;
}

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

.post {
    border-top: dashed 2px lightgray;
    padding: 20px 20px;
}

.post-body {
    background-color: rgb(252,252,252);
    border: solid 1px lightgrey;
    padding: 10px 20px;
    border-radius: 10px;
}

.post a {
    color:black;
    text-decoration: none;
}

.post a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    color: grey;
}

.pagination a {
    color: black;
    text-decoration: none;
}

.pagination a.current {
    text-decoration: underline;
}

.pagination a:hover {
    text-decoration: underline;
}


.text-center {
    text-align: center;
}