body {
    font-family: "Roboto", sans-serif;
    margin: 0;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #fef7e6;
    height: 50px;
    overflow: hidden;
    position: relative;

}

header form {
    position: absolute;
    right: 1rem;
    margin: 0;
}


h1 {
    color: #24A590;
    margin: 0;
    text-wrap: nowrap;
    
}

form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#post-form-submit {
    /* display: flex;
    justify-content: flex-end; */
    /* justify-items: right; */
    background: #F0B846;
    color: white;
    border: none;
    border-radius: 5px;
    width: 120px;
    height: 30px;
    margin-left: 70%;
}


/* Keep all inputs aligned in a column */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 500px;
    margin: 5px;
}

/* style input text boxes */
.text-input-container {
    background: #f3f3f3;
    /* max-width: 400px; */
    padding: 7px;
    border-bottom: 2px solid #999999;
    border-radius: 7px 7px 0px 0px;
}

/* Remove styling from input boxes */
.text-input-container input,
textarea {
    width: 100%;
    /*consider using box-sizing later */
    background: none;
    border: none;
    font-size: 1rem;
    font-family: "Roboto", sans-serif; 
    margin-bottom: 16px;
}

.text-input-container input::placeholder,
textarea::placeholder {
    color: #999999;
}

/* remove outline from input boxes */
.text-input-container input:focus,
textarea:focus {
    outline: none;
    margin-bottom: 0px;
}

/* apply border won the div when input within is focused  */
.text-input-container:focus-within {
    border-bottom: 2px solid #24A590;
}

/* Make the label visible when user clicks in to div */
.text-input-container:focus-within label {
    display: flex;
    font-size: 12px;
    color: #24A590;
    margin-bottom: 2px;
}

/* keep the 2 file uploads net to each other */
.file-uploads-container {
    display: flex;
    justify-content: space-around;
    margin: 10px 0px;
}

.file-upload {
    display: flex;
    align-content: middle;
    gap: 5px;
    color: #666666;
}

/* .file-input-container input {
    display: none;
} */

.file-input-container img {
    width: 17px;
    height: 17px;
}

/* .form-control-file::file-selector-button {
    background: red;
    border: 0;

} */

.form-control-file {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.file-name-display {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    word-break: break-word;
}



.post-log {
    display: felx;
    /* display: flex;
    justify-content: flex-end; */
    /* justify-items: right; */
    background: #999999;
    color: white;
    border: none;
    border-radius: 5px;
    width: 100px;
    height: 20px;

}

.all-posts {
    display: felx;
    background: #999999;
    color: white;
    border: none;
    border-radius: 5px;
    width: 100px;
    height: 20px;
}