body {
    background: #969696;
    background: linear-gradient(0deg,rgb(206, 206, 206) 0%, rgb(249, 249, 249) 50%, rgba(245, 245, 245, 1) 100%);
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body * {
    font-family: Arial, Helvetica, sans-serif;
}

#body {
    padding: 0;
    margin: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 15px;
    background: #a83636;
    background: linear-gradient(180deg, rgba(168, 54, 54, 1) 0%, rgba(217, 65, 65, 1) 100%);
    aspect-ratio: 4;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 7%;
}

#banner {
    aspect-ratio: 2.2787456446;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 30%;
}

nav {
    border: 1px solid lightgray;
    padding: 5px;
    border-radius: 5px;
    background-color: #969696;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
}

nav button {
    margin: 5px;
}

section {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); 
    
    overflow: auto;
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    background-color: lightgray;
   
    padding: 15px;
    border: 1px solid gray;
    border-radius: 10px;

    /*
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    */

    /* column-count: 2;      
    column-gap: 20px;    
    width: 100%;
    margin: 0 auto; */
}

#section {
    column-count: 2;      
    column-gap: 15px;    
    width: 100%;
    margin: 0 auto;
}

footer {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    background: #a83636;
    background: linear-gradient(0deg, rgba(168, 54, 54, 1) 0%, rgba(217, 65, 65, 1) 100%);
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    bottom: 0;
    width: 100%;
}

/* POSTBODY */

.postGroup {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid gray;
    background: #ffffff;
    background: linear-gradient(0deg, rgb(243, 243, 243) 0%, rgb(243, 243, 243) 50%, rgba(255, 255, 255, 1) 100%);
    display: inline-block;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    background: #ffffff;
}

.postTitle {
    padding: 5px;
}

.postBody {
    padding: 5px;
}

.postImage {
    width: 100%;
    height: auto;
}

.postFooter {
    margin: 0;
    padding: 5px;
}

hr {
    width: 100%;
    height: 1px;
}

/* Poster */

#postMakerGroup {
    top: 0;
    left: 0;
    border-radius: 5px;
    border: 1px solid gray;
    box-sizing: border-box;
    padding: 15px;
    background-color: white;
    position: fixed;
    display: flex;
    flex-direction: column;
}

#postMakerGroup * {
    margin: 5px;
}

#bodyTextInput {
    width: 96%;
    resize: vertical;
}

/* MOBILE */

@media (max-width: 1024px) {

    #body {
        font-size: 0.9rem;
        width: 95%;
    }

    #section {
        column-count: 2;      
        column-gap: 20px;    
        width: 100%;
        margin: 0 auto;
    }

}
