html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background-color: #740A03;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* HELL YAAAA */

header{

    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #280905;    
}

header h1{

    font-size: 28px;
    color: white;
    margin: 5px;
}

.nav{

    display: flex;
    flex-direction: row;
    gap: 15px;  
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.nav a{

    color: #E6501B;
    text-decoration: none;
    font-size: 20px;
}

.nav ul{

    display: flex;
    flex-direction: row;
    gap: 15px;
}

.nav .create{

    padding: 2px;
    border-radius: 5px;
    border: 2px solid black;
    background-color: #E6501B;
    color: white;
} 

.searchbar{

    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-bottom: 20px;
}

.searchbar form button{

    padding: 10px;
    border-radius: 0px 5px 5px 0px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
}

.searchbar form input{

    margin-top: 15px;
    width: 250px;
    padding: 10px;
    border-radius: 5px 0px 0px 5px;
    border: 2px solid black;
}

img{

    width: 200px;
    height: 180px;
    display: block;
    margin: 0 auto;
    border-radius: 30px;
}

.posts li{

    background-color: #E6501B;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;
    color: black;
    text-decoration: none;
}

.posts a{

    color: black;
    text-decoration: none;
}

.posts p{

    display: flex;
    justify-self: center;
    align-items: center;
    background-color: #982598;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;
    font-size: 50px;

}

.categories li{

    background-color: #E6501B;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
}

.categories p{

    display: flex;
    justify-self: center;
    align-items: center;
    background-color: #982598;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;

}

.categories a{

    color: black;
    text-decoration: none;
}

.story h1{

    display: flex;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 5px;
}

.story p{

    display: flex;
    justify-self: center;
    align-items: center;
    background-color: #982598;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;

}

.one-post{
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
}

.one-post h1{

    display: flex;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.create-post{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
}

.create-post h2{

    display: flex;
    padding: 20px;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.create-post form{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.create-post form textarea{

    width: 250px;
    height: 80px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    resize: none;
    outline: none;
}

.create-post form button{

    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
}

.create-post select{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border-radius: 30px;
  border: 2px solid black;
  cursor: pointer;
  font-weight: 700;
  padding: 10px;
  background-color: #C3110C;
  outline: none;
}

select:hover,
select:focus {
  background: #740A03;
}

option {

    background-color: transparent;
    color: white;
    font-weight: bold;
    border: 0px;
    outline: none;
}


.create-post p{

    display: flex;
    justify-self: center;
    align-items: center;
    background-color: #982598;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;

}

.changes{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 50px;
    gap: 20px;
}

.edit {

    display: flex;
    width: 200px;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
    text-decoration: none;
    font-size: 32px;
    font-family: serif;
}

.delete {

    display: flex;
    width: 215px;
    height: 48px;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
    text-decoration: none;
    font-size: 32px;
    font-family: serif;
}

.comment {

    display: flex;
    width: 200px;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
    text-decoration: none;
    font-size: 32px;
    font-family: serif;
}

.back {

    display: flex;
    width: 200px;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
    text-decoration: none;
    font-size: 32px;
    font-family: serif;
}

.create-comment{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
}

.create-comment h2{

    display: flex;
    padding: 20px;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.create-comment form{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.create-comment form textarea{

    width: 250px;
    height: 80px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    resize: none;
    outline: none;
}

.create-comment form input{

    width: 250px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    outline: none;
}

.create-comment form button{

    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
}

.comments-view{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
}

.comments-view h2{

    display: flex;
    padding: 20px;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.comments-view p{

    display: flex;
    justify-self: center;
    align-items: center;
    background-color: #982598;
    margin: 5px;
    padding: 10px;
    border-radius: 10px;

}

.comments-view ul{

    display: flex;
    flex-direction: row;
    gap: 15px;
}

.comments-view li{

    display: flex;
    flex-direction: column;
    background-color: grey;
    margin: 10px;
    padding: 5px;
    border-radius: 10px;
    color: black;
    text-decoration: none;
}

.comment-author{

    font-size: 20px;
    font-weight: bold;
    color: white;
}

.comment-text{

    margin-top: 10px;
    font-size: 16px;
    color: white;
}

.comment-date{

    margin-top: 10px;
    font-size: 12px;
    color: black;
}

.com-changes{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 5px;
    gap: 5px;
}

.com-changes a{

    display: flex;
    width: 100px;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #982598;
    text-decoration: none;
    font-size: 16px;
    font-family: serif;
}

.com-changes button {

    display: flex;
    width: 100px;
    height: 31px;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #982598;
    text-decoration: none;
    font-size: 16px;
    font-family: serif; 
}

.edit-comment{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 15px;
}

.edit-comment h2{

    display: flex;
    padding: 20px;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.edit-comment form{

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.edit-comment form textarea{

    width: 250px;
    height: 80px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    resize: none;
    outline: none;
}

.edit-comment form button{

    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    cursor: pointer;
    color: white;
    background-color: #C3110C;
}

.edit-comment form input{

    width: 250px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    outline: none;
}

