:root {
  --dark: #400049;
  --white-txt: white;
  --grey: #CFD8DC;
  --btn-color: #e0dc61;
  font-family: sans-serif;
}

.page-wraper {
  background-color: #f3ece2;
}

p {
  text-indent: 2rem;
  margin: 10px;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
  text-transform: capitalize;
  font-style: italic;
  margin: 10px 0;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.2rem;
}

.txt-light {
  color: var(--white-txt);
}

.img-meaning {
  min-height: 200px;
  width: 98%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*ul {*/
/*  list-style-type: none;*/
/*}*/

a {
  text-decoration: none;
  color: #464bd4;
  font-weight: bold;
}

.header {
  background-color: var(--dark);
}

.header__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header__top-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
}

.header__center {
  display: flex;
  justify-content: end;
  overflow: hidden;
}

.header__search {
  max-width: 500px;
  width: 100%;
  height: 62px;
}

.header__bottom {
  background-color: #f4bad0;
}

.header__nav {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  text-transform: capitalize;
}

.header__link {
  min-width: 25%;
  text-align: center;
  padding: 5px;
}

.header__link:hover {
  background-color: var(--grey);
}

.header__link_visibility {
  display: none;
}

.header__link_visibility {
  display: none;
}

.header__link-toggler {
  display: none;
}

.header__link-toggler:checked ~ .header__link_visibility {
  display: block;
}

.login-btn {
  padding: 5px;
}

.logo {
  height: 50px;
  width: 50px;
  cursor: pointer;
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.burger {
  height: 35px;
  width: 35px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.main, .tag-list {
  max-width: 1000px;
  min-height: 100vh;
  padding: 10px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.preview {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  width: 300px;
  min-height: 250px;
  padding: 10px;
  background-color: #f1e8f9;
  border-right: 3px solid #adadad;
  border-bottom: 3px solid #adadad;
  border-radius: 10px;
}

.preview__txt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.preview__img {
  width: 100%;
  border-radius: 5px;
}

@media screen and (max-width: 420px) {
  .preview {
    width: 100%;
  }
}

.img-container {
  display: flex;
  flex-direction: column;
  font-style: italic;
  padding: 10px;
  margin: auto;
  gap: 10px;
  max-width: 700px;
}

.img-container div {
  font-size: smaller;
}

.article {
  width: 100%;
}

.widjet_comment_list {
  width: 90%;
}

.widjet-root-comment {
  margin-top: 0.5rem;
  border-top: 1px solid #e6bcbc;
}

.widjet-root-comment p {
  text-indent: 0.5rem;
  margin: 0;
}

.widjet-sub-comment {
  margin-top: 0.5rem;
  margin-left: 10%;
}

.widjet-comment {
  padding: 5px;
  color: #7d7dab;
  font-size: 14px;
}

.widjet-comment p {
  text-indent: 0.5rem;
  margin: 0;
}

.widjet-user-data {
  display: flex;
  justify-content: space-between;
}

.widjet-user {
  display: flex;
}

.widjet-user-photo {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.widjet-user-name {
  margin: 0 5px;
  color: #4343ec;
  font-size: smaller;
}

.widjet-user-rate {
  display: inline-block;
  color: #2a5a2b;
}

.widjet-user-rate img {
  height: 12px;
}

.widjet-date-block {
  display: flex;
  flex-direction: row-reverse;
  padding: 10px;
}

.widjet-upvote-block {
  display: flex;
  flex-direction: row-reverse;
}

.widjet-reply-to-block {
  background-color: #e2d9cd;
  font-size: smaller;
}

.widjet-reply-to-img {
  width: 15px;
  height: 15px;
}

.poster {
  display: flex;
}

.post-source {
  margin-top: 10px;
  padding: 0 5px;
  font-size: 1.2rem;
  width: 98%;
  border: 0;
  border-bottom: 1px solid #000;
  background: 0 0;
}

.poster-btn {
  background-color: var(--btn-color);
  padding: 5px;
  margin-top: 10px;
  border: 1px solid #949370;
  cursor: pointer;
}

.post-upvote-button {
  font-weight: bold;
  margin: 0 10px;
}

.reply-button {
  font-weight: bold;
}

.svg-arrow {
  width: 1rem;
  height: 1rem;
  margin: 5px 5px 0 5px;
}

.my-date {
  font-size: 0.6rem;
}

.app-button {
  color: #000;
  padding: 3px;
  display: inline-block;
  background-color: var(--btn-color);
  border-radius: 5px;
  border: 1px solid #949370;
  cursor: pointer;
  text-indent: 0;
  margin-right: 10px;
}

.related_container {
  max-width: 100%;
}

.related {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-bottom: 1px solid #b0b4be;
}

.related__img {
  max-width: 400px;
  min-width: 250px;
}

@media screen and (max-width: 640px) {
  .related__img {
    margin: auto;
  }
}

.related__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related__txt {
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
}

.related__content {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 10px;
}

@media screen and (max-width: 640px) {
  .related__content {
    flex-direction: column;
  }
}

.related__more {
  font-weight: bold;
}

.footer {
  background-color: var(--dark);
  padding: 10px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
}

.footer__txt {
  color: var(--white-txt);
  padding: 5px;
}

.footer__txt:hover {
  background-color: var(--grey);
}

.copyright {
  text-align: center;
}

.like-container {
  display: flex;
  position: fixed;
  bottom: 10px;
  right: 0;
}

.share {
  height: 29px;
  width: 29px;
  padding: 4px;
  border-radius: 20%;
  background-color: #1877f2;
  margin-right: 1rem;
}

#login_containter {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 99;
}

#login_box {
  border: 1px solid #000;
  position: relative;
  border-radius: 10px;
  background-color: #fbfae2;
  margin: auto;
  padding: 10px;
  width: 300px;
  height: 300px;
  margin-top: 140px;
  text-align: center;
}

#my-signin2 {
  margin-top: 20px;
  display: inline-block;
}

