@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Inter&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@700&family=Nunito&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Merriweather&display=swap");

.google-signin-btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: white;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  color: #5f6368;
  cursor: pointer;
  transition: box-shadow 0.3s, background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:hover {
  background-color: #f7f7f7;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

#main_left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#main_right {
  display: grid;
}

.site_logo {
  width: 100px;
  filter: invert(15%) sepia(90%) saturate(700%) hue-rotate(-10deg);
}

@media screen and (max-width: 768px) {
  .site_logo {
    width: 50px;
  }

  .site_title {
    font-size: 40px !important;
  }

  .sidenav {
    height: auto;
    padding: 15px;
  }

  .row.content {
    height: auto;
  }

  .bottom-nav {
    width: 100%;
    justify-content: space-evenly;
  }
}

.avatar-item-banner {
  width: 30px;
  border-radius: 50%;
}

.avatar-item-post {
  width: 20px;
  border-radius: 50%;
  display: inline-block;
}

.avatar-item-account {
  width: 150px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: 0.3s;
  margin-bottom: 10px;
}

.avatar-item-account img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.avatar-item-edit {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: 0.3s;
}

.blog_list_item_link {
  text-decoration: none;
  padding: 0;
}

.blog_list_item {
  font-size: 22px;
  font-weight: bold;
  color: #000000;
  transition: 0.2s;
  padding: 5px;
}

.blog_list_item:hover {
  background-color: #f0f0f0;
}

.blog-title {
  font-family: "Poppins", sans-serif;
}

.blog-content {
  font-family: "Inter", sans-serif;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (max-width: 768px) {
  .avatar-item-edit {
    width: 70px;
    height: 70px;
  }

  .avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    padding: 15px;
    max-width: 600px;
    margin: auto;
  }
}

.avatar-item-edit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-item-edit.selected {
  border-color: #007bff;
}

.site_title {
  width: 100%;
  font-family: "Oswald", sans-serif;
  font-size: 80px;
  font-weight: bold;
  color: #f1f1f1;
}

.signup_intro_pc{
  font-size: 60px;
  font-weight: bold;
  color: #fafafa;
  font-family: "Oswald", sans-serif;
}

.signup_intro_mobile{
  display: none;
  font-size: 30px;
  font-weight: bold;
  color: #fafafa;
  font-family: "Oswald", sans-serif;
}

@media screen and (max-width: 768px) {
  .signup_intro_pc{
    display: none;
  }
  .signup_intro_mobile{
    display: block;
  }
}

.signup_intro span{
  display: block;
  margin: 0;
}

.site_slogan {
  font-size: 20px;
  font-weight: bold;
  color: #f1f1f1;
}

.navbar {
  margin-bottom: 0;
  border-radius: 0;
}

.row.content {
  height: 450px;
}

.sidenav {
  padding-top: 20px;
  background-color: #f1f1f1;
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ececec; /* Ensures the full page background */
}

.home-page {
  min-height: 100vh; /* Ensures it is always at least as tall as the viewport */
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: #ececec; /* Ensures the entire page gets this background */
}

#main {
  /* background: rgb(2, 0, 36); */
  /* background: linear-gradient(180deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 45%, rgba(255, 0, 164, 1) 100%); */
  background-color: #141414;
  height: 100vh;
  flex: 1;
  display: flex;
}

#footer {
  font-size: 12px;
  padding: 5px;
  color: #fafafa;
  text-align: center;
  bottom: 0;
  position: fixed;
  width: 100%;
  background-color: #141414;
  color: #7e7e7e;
}

label {
  font-size: 14px;
  font-weight: bold;
  color: #f1f1f1;
}

.banner {
  font-size: 14px;
  background-color: #262626;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  width: 100%;
}

.banner .logo {
  font-size: 24px;
  font-weight: bold;
  color: #fafafa;
}

.banner .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.banner_logo {
  width: 30px;
}

.banner_title {
  margin-left: 10px;
}

@media screen and (max-width: 768px) {
  .banner_title {
    display: none;
  }
}

.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toggle-container {
  width: 50px;
  height: 25px;
  border-radius: 15px;
  cursor: pointer;
}

.sidebar a {
  float: right;
  font-weight: bold;
  color: #fafafa;
  text-decoration: none;
}

.bottom-nav-container {
  width: 100%;
  background-color: #02001a;
}

.bottom-nav {
  background-color: #02001a;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.bottom-nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
  border: 1px solid #02001a;
}

.bottom-nav .icon {
  height: 30px !important;
}

.bottom-nav a:hover {
  border: 1px solid #fafafa;
}

#postbox {
  margin-top: 80px;
}

#mainbox {
  margin-top: 80px;
}

.postbox_main_expanded {
  background-color: #dcdcdc;
  padding: 10px;
  border-radius: 3px;
  color: #2d363d;
}

.post_container {
  border-radius: 0.1rem;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 800px;
  margin: 5px auto;
  font-family: Arial, sans-serif;
  padding: 10px;
}

.blog_container {
  border-radius: 0.1rem;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1000px;
  margin: 5px auto;
  font-family: Arial, sans-serif;
  padding: 10px;
  min-height: 600px;
}

.post_body_text {
  text-align: left;
  padding: 5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  font-family: "Inter", sans-serif;
}

.link-post-body {
  color: #0027a7;
  word-break: break-word;
  overflow-wrap: break-word;
  display: inline !important;
  text-decoration: underline;
  font-weight: normal;
}

.post_title {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: #343a40;
  border-bottom: 1px solid #ddd;
}

.post_user {
  font-size: 12px;
  padding: 0 0 0 2px;
  font-weight: bold;
}

.link-post-body:hover {
  color: #005cd4;
}

.tag-container {
  white-space: normal;
  text-align: right;
}

.tag {
  display: inline-block;
  white-space: nowrap;
  background-color: #e0e0e0;
  color: #8c8c8c;
  border-radius: 15px;
  padding: 3px 6px;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 3px;
  transition: all 0.2s ease; 
}

.tag:hover {
  background-color: #0085f4;
  color: #fafafa;
}

.interaction-bar {
  display: block;
  margin-top: 20px;
  border-top: 1px solid #c7c7c7;
}

.btn-hit {
  float: right;
  border: 0px;
  width: 40px;
  height: 40px;
  background: none;
}

.btn-share {
  border: 0px;
  width: 40px;
  height: 40px;
  background: none;
}

.high-contrast {
  background-color: #181818;
  color: #fafafa;
}

.high-contrast label {
  color: #fafafa;
}

.high-contrast .post_container {
  background-color: #262626;
  color: #fafafa;
}

.high-contrast .blog_container {
  background-color: #262626;
  color: #fafafa;
}

.high-contrast .blog_list_item_row {
  background-color: #262626;
}

.high-contrast .blog-title {
  color: #fafafa !important;
}

.high-contrast .blog_list_item_row:hover .blog_list_item {
  background-color: #4b4b4b !important;
}

.high-contrast .post_body {
  color: #fafafa;
}

.high-contrast .link-post-body {
  color: #fafafa;
}

.high-contrast .interaction-bar {
  border-top: 1px solid #505050;
}

.high-contrast .tag {
  background-color: #7e7e7e;
  color: #fafafa;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider {
  position: relative;
  width: 50px;
  height: 24px;
  background-color: #ccc;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

.slider.active {
  /* background-color: #007bff; */
  background-color: #767676;
}

.slider.active::before {
  transform: translateX(26px);
}

.toggle-label {
  font-size: 16px;
  color: black;
  transition: color 0.3s ease;
}

/* new post module */

.expanded {
  height: 120px;
}

.tocpvcy {
  font-size: 12px;
}

.tocpvcy span {
  color: #fafafa !important;
}

.link_tocpvcy {
  font-weight: normal;
  color: #fafafa;
}

.link_tocpvcy:hover {
  text-decoration: underline;
}