body {
  font-family: "Comic Sans MS", "Comic Neue", cursive, sans-serif;
}

a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

h1 {
  font-size: 1.7rem;
  padding: 15px 0 10px 0;
}

.logo {
  fill: currentColor;
}

.login-buttons {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0 0;
}

.login-button {
  margin: 0 5px 5px 0;
}

.login-button span {
  width: 32px;
  line-height: 36px;
  margin: 0;
  padding: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.anecdot {
  position: relative;
  min-height: 80px;
  border: 1px solid gray;
  margin-bottom: 16px;
  padding: 16px;
  padding-right: 10px;
}

@media only screen and (max-width: 575px) {
  .anecdot {
    border: none;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    margin-bottom: 8px;
    padding: 16px 0 16px 0;
  }
}

.tag {
  position: relative;
  border: 1px solid gray;
  margin-bottom: 15px;
  padding: 10px;
}

.btn-wrapper {
  position: absolute;
  justify-content: flex-end;
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 40px;
  /* height: 80px; */
  right: 8px;
  top: 8px;
}

.btn-like-wrapper {
  position: absolute;
  justify-content: flex-end;
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 40px;
  /* height: 80px; */
  right: 8px;
  bottom: 8px;
}

@media only screen and (max-width: 575px) {
  .btn-wrapper {
    right: 0px;
    top: 8px;
  }

  .btn-like-wrapper {
    right: 0px;
    bottom: 8px;
  }
}

.popup-btn-group {
  display: none;
}

.btn-share {
  display: block;
}

.btn-like {
  display: block;
}

.btn-icon {
  fill: currentColor;
  width: 24px;
  height: 24px;
}

.admin-btn {
  width: 40px;
  height: 40px;
  color: rgb(29, 189, 8);
  padding: 10px;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  outline-width: 0px;
  cursor: pointer;
}

.admin-btn:hover,
.admin-btn:focus {
  color: rgb(23, 71, 4);
  border: 1px solid grey;
}

.mybtn {
  width: 40px;
  height: 40px;
  color: aquamarine;
  padding: 8px;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  outline-width: 0px;
  cursor: pointer;
}

.mybtn:hover,
.mybtn:focus {
  color: aqua;
  border: 1px solid grey;
}

.mybtn.active {
  color: red;
}

.post {
  position: relative;
  border: 1px solid gray;
  margin-bottom: 16px;
  padding: 16px;
}

@media only screen and (max-width: 575px) {
  .post {
    border: none;
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    padding: 16px 0px 16px 0px;
  }
}

.thumbnail-text-wrapper {
  /* height: 160px; */
  /* overflow: hidden; */
  display: flex;
  gap: 10px;
}

.anons {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  height: 150px;
}

.thumbnail-img {
  margin-top: 5px;
  width: 200px;
  height: 150px;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  .thumbnail-text-wrapper {
    flex-wrap: wrap;
  }

  .thumbnail-img {
    margin-top: 5px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 8px;
}

.category-item {
  text-wrap: nowrap;
}

.category-item:not(:last-child)::after {
  content: "|";
  margin-left: 4px;
  margin-right: 4px;
}

.pagination-wrapper {
  min-width: 320px;
  margin: 0 auto;
}

.pagination {
  justify-content: center;
}

.author {
  display: block;
  margin-top: 8px;
  font-style: italic;
  text-align: right;
}

.main-image {
  display: block;
  margin: 16px auto;
  height: auto;
  max-width: 100%;
  max-height: 480px;
}

@media only screen and (max-width: 640px) {
  .main-image {
    max-width: 100%;
  }
}

.anec-afor-wrapper {
  display: flex;
  gap: 15px;
}

@media only screen and (max-width: 767px) {
  .anec-afor-wrapper {
    display: block;
  }
}

.section {
  border: 1px solid gray;
  margin-top: 15px;
  padding: 10px;
}

.main-article:not(:last-child)::after {
  content: "* * *";
  display: block;
  padding-top: 10px;
  text-align: center;
}

.copyright-wrapper {
  padding-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video {
  margin-top: 15px;
  position: relative;
  padding-bottom: 56.25%;
  /*padding-top:25px;*/
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
