body {
    width: 100%;
    height: 100%;
    margin: 0 0 0 0;
    background-color: darkcyan;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    width: fit-content;
    background-color: gray;
    border: 5px outset gray;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    padding: 3px 3px 3px 3px;
    
}

header {
    background-color: lightgray;
    border: 5px outset lightgray;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

button {
    font-family: Arial, Helvetica, sans-serif;
    background-color: lightgray;
    border: 5px outset lightgray;
    border-radius: 5px;
    padding: 3px 3px 3px 3px;
    margin: 5px 5px 5px 5px ;
}

button:hover {
    border-style: inset;
    background-color: darkcyan;
}

main {
    align-self: stretch;
    height: fit-content;
    background-color: whitesmoke;
    border: 5px outset whitesmoke;
    border-radius: 5px;
    margin: 5px 5px 5px 5px;
}

footer {
    background-color: lightgray;
    border: 5px outset lightgray;
    border-radius: 5px;
}

footer p {
    width:fit-content;
    font-family: monospace;
    background-color: darkcyan;
    border: 5px inset lightgray;
    border-radius: 5px;
    padding: 2px 2px 2px 2px;
    margin: 3px 3px 3px 3px ;
}

.post {
    width: 250px;
    height: 200px;
    background-color: darkcyan;
    border: 5px inset whitesmoke;
    border-radius: 5px;
    margin: 5px 5px 5px 5px;
}

main.flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.post img { 
    width: 250px;
    height: 150px;
}

.a-post {
    color: black;
    text-decoration: none;
    text-align: center;
    text-align-last: center;
    margin: 1px 1px 1px 1px;
}

.post p {
    margin: 1px 1px 1px 1px;
}

h1.message {
    background-color: darkcyan;
    border: 5px inset whitesmoke;
    border-radius: 5px;
    padding: 3px 3px 3px 3px;
    font-family: monospace;
    text-align: center;
    text-align-last: center;
}

.grid-container {
    display: grid;
    gap: 10px;
    padding: 3px 3px 3px 3px;
}

.sidebar {
    background-color: antiquewhite;
    border: 5px outset antiquewhite;
    border-radius: 5px;
    grid-column-start: 3;
    grid-row: 1 / span 3;
}

.grid-container h1.message {
    width: 95%;
    grid-column: 1 / span 2;
    justify-self: center;
}

.grid-container p {
    grid-column: 1 / span 2;
    grid-row: 2 / span 3;
}
