:root {
    display: flex;
    justify-content: center;
}

main {
    width: 50vw;
}



#feed {}

.post {
    border-top: 1px solid #ccc;
    padding: .5em 1em;
}

/*Popup*/
#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 250, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popupContent {
    background-color: rgb(250, 250, 250);
    padding: 1em;
}

#popup button {
    border: none;
    background-color: transparent;
}

#popup textarea {
    width: 40vw;
    height: 30vh;
}

/*Header*/
header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* keeps h1 centered */
    position: relative;
    margin-bottom: 1em;
}

header h1 {
    text-align: center;
    margin: 0;
}

header button {
    position: absolute;
    right: 0;
    border: none;
    background-color: transparent;
    font-size: 3em;
    align-items: center;
    justify-content: center;
}

button:hover {
    cursor: pointer;
}