@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&display=swap');

#root.dark {
  --text-color: #f5f9fa;
  --background-color: #222;
  --primary-color: #2d3646;
  --secondary-color: #11101e;
  --accent-color: #615c9d;
}

#root.light {
  --text-color: #000;
  --background-color: #fff;
  --primary-color: rgb(158, 158, 158);
  --secondary-color: rgb(116, 116, 116);
  --accent-color: #3c4451;
}


* {
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
}

h1 {
  font-family: 'Playfair Display', serif;
}

textarea {
  font-family: 'Noto Sans', sans-serif;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
}

.body-container {
  background-color: var(--background-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  align-items: center; 
  align-content: center;
  padding-top: 72px;
}

.hero {
  width: 1000px;
  height: 530px;
  /* margin-top: 52px; */
  margin-bottom: 100px;
  /* outline: 1px solid green; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-title {
  font-size: 7rem;
}

.hero-content {
  font-size: 1.5rem;
}

.hero-btn {
  position: absolute;
  background: transparent;
  height: 40px;
  width: 40px;
  border: 1px solid var(--text-color);
  border-radius: 50%;
  cursor: pointer;
  bottom: 120px;
}

.hero-btn:hover {
  background-color: var(--primary-color);
}

.container {
  margin: 1rem;
  min-height: 74vh;
  min-height: 74dvh;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  justify-items: center; */
  align-items: center; 
  /* align-content: center; */
}

.nav {
  position: fixed;
  z-index: 10;
  width: 97vw;
  width: 97dvw;
  /* top: -90px; */
  background-color: var(--background-color);
  color: var(--text-color);
  /* box-shadow: 0px 1px 15px var(--text-color); */
  /* border-bottom: 1px solid black; */
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  padding: 0 1rem;
  transition: top 0.5s;
}

.site-title svg   {
  color: var(--text-color);
  fill: var(--text-color);
}

.nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav .theme-container:hover{
  background-color: var(--background-color);
}

.theme-btn-container {
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  height: 30px;
  width: 30px;
  /* outline: 1px solid green; */
  border-radius: 50%;
  cursor: pointer;
}

.theme-btn-container:hover {
  background-color: var(--primary-color);
}

.theme-btn {
  padding: 3px;
}

.nav a, li {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: .25rem;
}

.nav li.active {
  background-color: var(--primary-color);
}

.nav li:hover {
  background-color: var(--primary-color);
}

.postsContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 500px;
}

.postCard h2 {
  margin: 0.5rem 0;
}

.postCard ul {
  margin-top: 0.5rem;
  list-style: none;
  display: flex;
  gap: 1rem;
  font-weight: 600;
}

.postCard {
  /* height: 150px; */
  width: 770px;
  padding: 5px;
  border-radius: 5px;
}

.postCard:hover {
  background-color: var(--primary-color);
}

.full:hover {
  background-color: var(--background-color);
}

.MuiFormControl-root {
  color: var(--text-color);
  background-color: var(--background-color);
}

.likes, .comments, .share, .views {
  display: inline;
  margin: 5px;
  margin-top: 10px;
  float: left;
}

.views {
  float: right;
  margin-left: 50px;
}

.stat .MuiChip-root{
  color: var(--text-color);
  background-color: var(--background-color);
  border: 3px solid var(--primary-color);
}

svg.MuiSvgIcon-root{
  color: var(--text-color);
  /* background-color: var(--background-color); */
}

hr {
  margin: 5px 0;
  clear: both;
}

.create-comment {
  margin: 10px 0;
}

.create-comment button.new{
  height: 25px;
  width: 60px;
  text-align: center;
  border: 1px solid #333333;
  border-radius: 5px;
  background-color: var(--primary-color);
}

.create-comment button:hover{
  background-color: var(--secondary-color);
}

.comment {
  display: flex;
  gap: 5px;
  margin: 15px 0;
}

.create-container input{
  border-radius: 10px;
  padding: 5px;
}

.avatar img {
  border-radius: 50%;
}

.error-box {
  height: auto;
  max-width: max-content;
  border: 3px solid red;
  border-radius: 10px;
  background-color: rgba(255, 0, 0, 0.189);
  padding-left: 10px;
  margin: 10px 0;
  padding: 5px 5px;
}

textarea {
  background-color: var(--background-color);
  color: var(--text-color);
  max-width: 600px;
	width: calc(100% - 14px);
	height: 50px;
	border: 3px solid var(--primary-color);
  border-radius: 10px; 
	padding: 5px;
  resize: vertical;
}

.footer {
  background-color: var(--background-color);
  color: var(--text-color);
  text-align: center;
  padding: 0.5rem 0;
}

.postBtn {
  height: 25px;
  width: 40px;
  border: 1px solid black;
  border-radius: 5px;
  background-color: var(--primary-color);
  margin-top: 5px;
}

.postBtn:hover {
  background-color: #DDD;
}

.postBtn a {
  text-decoration: none;
}

.menuBtn {
  position: relative;
  float: right;
}

.dateStamp {
  margin-bottom: 10px;
}

.dateStamp h5 {
  font-weight: 200;
}

pre {
  text-wrap: wrap;
  font-family: 'Noto Sans', sans-serif;
}

button {
  background-color: var(--primary-color);
  color: var(--text-color);
}

input {
  background-color: var(--background-color);
  color: var(--text-color);
  border: 3px solid var(--primary-color);
}

.scroll-up {
  height: 40px;
  width: 40px;
  background-color: var(--accent-color);
  position: fixed;
  right: 20px;
  bottom: 10px;
  cursor: pointer;
  border-radius: 50%
}

.scroll-up:hover {
  background-color: var(--secondary-color);
}

.hide {
  display: none;
}

.comment-time-stamp {
  font-size: smaller;
  font-weight: 200;
}

.full-post-card {
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 5px;
}

.full-post-card:hover {
  background-color: var(--primary-color);
}

.post-card-img {
  height: 160px;
  width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-card-img img{
  height: 160px;
  width: 220px;
  object-fit: cover;
}

.post-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.post-title {
  font-size: 40px;
}