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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

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;
}

@media only screen and (max-width: 700px) {
  body {
    background-color: #0D1114;
	max-width: 700px;
  }

  .PCHeader {
	display: none;
    }

	.MobileHeader {
	display: contents;
    }

	.header-grid {
	width: 100%;

	position: fixed;
  	bottom: 0;
  	z-index: 99;

	display: grid;
	grid-template-columns: auto; /* logo takes space, nav hugs content */
	text-align: center;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #000000;
	box-shadow: #a1a1a1 0px -3px;
  }

  .name {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 48px;
	color: rgb(255, 255, 255);
	font-family: 'Tw Cen MT', sans-serif;
	padding-top: 3px;
	padding-bottom: 3px;
	border: solid #a1a1a1;
	border-width: 0px 0px 3px 0px;
	background-color: #000000;
  }
  
  .name img {
	height: 60px;
	width: auto;
  }
  
.GridHeader {
	display: flex;
	justify-content: center;
}
  
.link {
	text-decoration: none;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 20px;
	color: rgb(255, 255, 255);
	display: flex;
	align-items: center;
}
  
.link:hover {
	color: rgb(255, 255, 255);
}

.icons {
	height: 40px;
	width: auto;
	padding: 0px 6vw;
	border-radius: 0px;
	text-align: center;
}

.Post {
	margin: auto;
	width: 95%;
	color: white;
	box-shadow: #3A3E41 0px 3px;
	padding-bottom: 20px;
	margin-bottom: 15px;
}

.UserData {
	display: flex;
  	align-items: flex-start;
  	gap: 12px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	padding-bottom: 10px;
	padding-top: 10px;
}

.UserData img, h2{
	margin-right: 10px;
}

.UserData h2{font-size: 20px;}

.profileIMG {
	border-radius: 50%;
	border: 0px solid black;
	height: 60px;
	width: auto;
}

.PostInfo {
	display: flex;
  flex-direction: column;
}

.Meta, .Meta a{
	display: flex;
	gap: 4px;
	align-items: flex-start;
}


.PostTitle {
	padding-top: 5px;
	font-size: 20px;
	font-family: sans-serif; 
}

.PostContent {
	border-radius: 25px;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	
}

.PostContent p, .PostContent img, .PostContent video, .PostContent iframe{
	width: 100%;
	border-radius: 25px;
	font-family: Arial, Helvetica, sans-serif;
	white-space: initial;
	word-wrap: break-word
}

.PostContent iframe{
	width: 100%;
	height: 400px;
	border-radius: 25px;
	font-family: Arial, Helvetica, sans-serif;
	white-space: initial;
	word-wrap: break-word
}

.PostContent img{
	max-height: 1000px;
}

.PostStats {
	font-family: Gill Sans MT,Calibri,sans-serif; 
	margin-top: 15px;
	display: flex;
	justify-content: space-around;
	font-size: 22px;
}

.PostStats i{
	margin-left: 5px;
}

button.like {
	border: none;
	background-color: #0D1114;
	margin: auto;
	padding: 0px;
}

.like i{
	color: white;
	font-size: 22px;
}

.Post a:link, .Post a:hover, .Post a:visited {
	text-decoration: none;
	color: inherit;
}

.sortHeader {
	margin: auto;
	width: 100%;
	padding-bottom: 20px;
	margin-bottom: 15px;
	display: flex;
	justify-content: space-around;
	color: white;
	text-decoration: none;
	box-shadow: #3A3E41 0px 3px;
}

.sortHeader a{
	color: white;
	text-decoration: none;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 21px;
}
  }





@media only screen and (min-width: 701px) {
  body {
    background-color: #0D1114;
  }
    .MobileHeader {
	display: none;
}

.header-grid {
	width: 100%;

	position: fixed;
  	top: 0;
  	z-index: 99;

	display: grid;
	grid-template-columns: 1fr auto; /* logo takes space, nav hugs content */
	align-items: center;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #0D1114;
	box-shadow: #3A3E41 0px 3px;
  }
  
  .name {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 48px;
	color: rgb(255, 255, 255);
	font-family: 'Tw Cen MT', sans-serif;

  }
  
  .name img {
	height: 60px;
	width: auto;
  }
  
.GridHeader {
	display: flex;
	gap: 1.5rem;
}
  
.link {
	text-decoration: none;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 20px;
	color: rgb(255, 255, 255);
	padding-right: 20px;
	display: flex;
	align-items: center;
}
  
.link:hover {
	color: rgb(255, 255, 255);
}

.icons {
	height: 30px;
	width: auto;
	padding-right: 8px;
	border-radius: 0px;
}

.Post {
	margin: auto;
	width: 50%;
	color: white;
	box-shadow: #3A3E41 0px 3px;
	padding-bottom: 20px;
	margin-bottom: 15px;
}

.UserData {
	display: flex;
  	align-items: flex-start;
  	gap: 12px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	padding-bottom: 10px;
	padding-top: 10px;
}

.UserData img, h2{
	margin-right: 10px;
}

.UserData h2{font-size: 20px;}

.profileIMG {
	border-radius: 50%;
	border: 0px solid black;
	height: 60px;
	width: auto;
}

.PostInfo {
	display: flex;
  flex-direction: column;
}

.Meta, .Meta a{
	display: flex;
	gap: 4px;
	align-items: flex-start;
}


.PostTitle {
	padding-top: 5px;
	font-size: 20px;
	font-family: sans-serif; 
}

.PostContent {
	border-radius: 25px;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	
}

.PostContent p, .PostContent img, .PostContent video, .PostContent iframe{
	width: 100%;
	border-radius: 25px;
	font-family: Arial, Helvetica, sans-serif;
	white-space: initial;
	word-wrap: break-word
}

.PostContent iframe{
	width: 100%;
	height: 400px;
	border-radius: 25px;
	font-family: Arial, Helvetica, sans-serif;
	white-space: initial;
	word-wrap: break-word
}

.PostContent img{
	max-height: 1000px;
}

.PostStats {
	font-family: Gill Sans MT,Calibri,sans-serif; 
	margin-top: 15px;
	display: flex;
	justify-content: space-around;
}

.PostStats i{
	margin-left: 5px;
}

.UserProfile {
	background-color: #000000;
	color: white;
	margin: auto;
	width: 50%;
	color: white;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 20px;
}

.UsernameImg{
	display: flex;
	align-items: end;
}

.Username {
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 32px;
	margin-bottom: 10px;
}

.Bio {
	margin-left: 30px;
	margin-top: 20px;
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 50px;
	width: 90%;
	white-space: initial;
	word-wrap: break-word
}

.AccountType {
	margin-left: 30px;
	margin-top: 20px;
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 15px;
}

.CreationDate {
	color: #b2b2b2;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 20px;
}

.ProfilePicture {
	width: 15%;
	margin-right: 20px;
	border-radius: 50%;
}

.LoginForm {
	background-color: #000000;
	color: white;
	margin: auto;
	width: 50%;
	color: white;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 20px;
}

.errordetect {
	color: white;
}

.PostHistory {
	color: white;
	font-size: 30px;
	margin: auto;
	width: 50%;
	margin-top: 25px;
	margin-bottom: 30px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.hidden {
	display: none;
}

.deletebutton {
	margin-top: 20px;
	background-color: black;
	border: lightpink 2px solid;
	border-radius: 15px;
	color: lightpink;
}

.UsernameLogin {
	color: white;
	margin-top: 15px;
	margin-bottom: 15px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 18px;
}

.PasswordLogin {
	color: white;
	margin-top: 15px;
	margin-bottom: 15px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 18px;
}

.LoginForm input[type=text], .LoginForm input[type=password]{
	background-color: #000000 !important;
	color: white;
	border: none;
  	border-bottom: 2px solid rgb(255, 255, 255);
}

.loginheader {
	font-family: 'Tw Cen MT', sans-serif;
	color: white;
	font-size: 30px;
}

.LoginForm input[type=submit]{
	margin-top: 10px;
	font-size: 18px;
	background-color: #0D1114;
	border: rgb(255, 255, 255) 2px solid;
	border-radius: 15px;
	color: rgb(255, 255, 255);
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
}

.LoginForm input[type=text] input:valid , .LoginForm input[type=password] input:valid{
	background-color: #000000 !important;
	color: white;
	border: none;
  	border-bottom: 2px solid rgb(255, 255, 255);
}

.PostCreator {
	background-color: #000000;
	color: white;
	margin: auto;
	width: 50%;
	color: white;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 20px;
}

.noAccount a{
	width: 100%;
	text-align: center;
	color: white;
	font-size: 16px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.CreateTitle {
	color: white;
	margin-top: 15px;
	margin-bottom: 15px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 18px;
}

.CreateTitle input {
	width: 75%;
}

.PostCreator input[type=text]{
	background-color: #000000 !important;
	color: white;
	border: none;
  	border: 1px solid rgb(255, 255, 255);
	border-radius: 5px;
}

.PostCreator input[type=submit]{
	margin-top: 10px;
	font-size: 18px;
	background-color: #0D1114;
	border: rgb(255, 255, 255) 2px solid;
	border-radius: 15px;
	color: rgb(255, 255, 255);
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
}

.PostCreator input[type=text] input:valid , .LoginForm input[type=password] input:valid{
	background-color: #000000 !important;
	color: white;
	border: none;
  	border-bottom: 2px solid rgb(255, 255, 255);
}

.EditButton {
	color: rgb(255, 255, 255);
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	text-decoration: none;
	background-color: #000000 !important;
	border-radius: 15px;
	border: white solid 1px;
	margin-top: 50px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.Post a:link, .Post a:hover, .Post a:visited {
	text-decoration: none;
	color: inherit;
}

.CommentContent p {
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
}

section.CommentCreator{
	margin: auto;
	width: 50%;
	color: white;
	box-shadow: #3A3E41 0px 3px;
	padding-bottom: 20px;
	margin-bottom: 15px;
	margin-top: 20px;
}

.CommentContent label {
	font-size: 20px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.CommentContent input[type=text], .CommentContent input[type=text] input:valid{
	background-color: #000000 !important;
	width: 70%;
	height: 20px;
	border: white 1px solid;
	border-radius: 5px;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
}

.SignToComment {
	text-align: center;
	color: white;
	font-size: 20px;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.CommentCreator input[type=submit] {
	background-color: #000000 !important;
	border: white 1px solid;
	border-radius: 5px;
	color: white;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.sortHeader {
	margin: auto;
	width: 50%;
	padding-bottom: 20px;
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	color: white;
	text-decoration: none;
	box-shadow: #3A3E41 0px 3px;
}

.sortHeader a{
	color: white;
	text-decoration: none;
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 20px;
}

.Pages {
	margin: auto;
	width: 50%;
	padding-bottom: 20px;
	margin-bottom: 15px;
	display: flex;
	justify-items: center;
}

.pagenumber {
	margin-left: 10px;
	color: white;
	text-decoration: none;
	font-family: Gill Sans MT,Calibri,sans-serif; 
}

.SearchBar {
	color: white;
	margin: auto;
	width: 50%;
	background-color: black;
	border-radius: 5px;
	margin-bottom: 20px;
}

.SearchBar input[type=text] input:valid, .SearchBar input[type=text]{
	color: white;
	align-items: center;
	height: 20px;
	width: 91%;
	border: 1px solid white;
	background-color: black;
	border-radius: 5px;
}

.PostStats label, .PostStats i, .PostStats p{
	font-size: 20px;
}

button.like {
	border: none;
	background-color: #0D1114;
	margin: auto;
	padding: 0px;
}

.like i{
	color: white;
	font-size: 20px;
}

.CreateContent label{
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 18px;
}

.PictureEdit label{
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 18px;
}

.CreateContent textarea{
	color: white;
	background-color: black;
	margin-top: 15px;
	margin-bottom: 15px;
	border: 1px solid white;
	border-radius: 5px;
	width: 95%;
	height: 250px;
	resize: none;
}

.fileIcon {
	font-size: 20px;
	margin-right: 5px;
}

.flexdisplay {
	display: flex;
}

.NoPostExists {
	margin: auto;
	width: 50%;
	color: white;
	box-shadow: #3A3E41 0px 3px;
	padding-bottom: 20px;
	margin-bottom: 15px;
}

.sizeLimit {
	font-family: Gill Sans MT,Calibri,sans-serif; 
	font-size: 18px;
	margin-right: 5px;
}
  }