:root {
  --dim-p-light-1: #2573a7;
  --p-light-1: #3498db;

  --s-light-1: #2c3e50;

  --background-light-1: #ecf0f1;
  --text-light-1: #333;
  /* LIGHT2 -----------------------------------*/
  --dim-p-light-2: #28947e;
  --p-light-2: #1abc9c;
  --sat-p-light-2: #31cfb0;

  --dim-s-light-2: #a1d6cbd5;
  --s-light-2: #9cb4bb;
  --sat-s-light-2: #39bd95;

  --dim-t-light-2: #b7b0bd;
  --t-light-2: #bdb3c5;
  --sat-t-light-2: #b799cf;
  --outline-t-light-2: #287e53;

  --background-light-2: #d6e2e2;
  --text-light-2: #363e3f;
  --dark-text-light-2: #002c1f;

  /* DARK1 -----------------------------------*/
  --dim-p-dark-1: #dbadad63;
  --p-dark-1: #9b59b6;
  --sat-p-dark-1: #a133b9fb;

  --dim-s-dark-1: #5d8b65de;
  --s-dark-1: #62ad44;
  --sat-s-dark-1: #8dc079;

  --dim-t-dark-1: #ffefef67;
  --t-dark-1: #b8cc92;
  --sat-t-dark-1: #496b0a;
  --outline-t-dark-2: #002c1f;

  --background-dark-1: #112510;
  --dark-text-dark-1: #dbcce2;
  --text-dark-1: #b0d399;

  /* DARK2 -----------------------------------*/
  --dim-p-dark-2: #812635;
  --p-dark-2: #b60f2b;
  --sat-p-dark-2: #ff506d;

  --dim-s-dark-2: #12878f;
  --s-dark-2: #0fb9c5;
  --sat-s-dark-2: #1a8c9b;

  --dim-t-dark-2: #ffefef67;
  --t-dark-2: #dbcca7ea;
  --sat-t-dark-2: #8b7847;
  --outline-t-dark-2: #002c1f;

  --background-dark-2: #15212c;
  --dark-text-dark-2: #f5e9d9;
  --text-dark-2: #8ac2d1de;
}
@font-face {
  font-weight: normal;
  font-style: normal;
  /* font-size: 16px; */
  font-display: swap;
  src: url("ZenMaruGothic-Regular.woff2") format("woff2");
  font-family: "ZenMaruGothic";
}
@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.magnify > .magnify-lens {
  background-color: #fff !important; /* Prevent adjacent image from appearing in lens */
}
.animate-slide-in {
  animation: slideIn 0.5s ease-out;
}
body {
  font-family: "ZenMaruGothic", Arial, sans-serif;
  /* font-display: swap; */
  font-size: 16px;
  background-color: var(--background-color);
  color: var(--text-color);
}
body.light-1 {
  --p-color: var(--p-light-1);
  --s-color: var(--s-light-1);
  --background-color: var(--background-light-1);
  --text-color: var(--text-light-1);
}

body.dark-1 {
  --dim-p-color: var(--dim-p-dark-1);
  --p-color: var(--p-dark-1);
  --sat-p-color: var(--sat-p-dark-1);

  --dim-s-color: var(--dim-s-dark-1);
  --s-color: var(--s-dark-1);
  --sat-s-color: var(--sat-s-dark-1);

  --dim-t-color: var(--dim-t-dark-1);
  --t-color: var(--t-dark-1);
  --sat-t-color: var(--sat-t-dark-1);
  --outline-t-color: var(--t-dark-1);

  --background-color: var(--background-dark-1);
  --text-color: var(--text-dark-1);
  --atext-color: var(--background-dark-2);
  --dark-text-color: var(--dark-text-dark-1);
}

body.light-2 {
  --dim-p-color: var(--dim-p-light-2);
  --p-color: var(--p-light-2);
  --sat-p-color: var(--sat-p-light-2);

  --dim-s-color: var(--dim-s-light-2);
  --s-color: var(--s-light-2);
  --sat-s-color: var(--sat-s-light-2);

  --dim-t-color: var(--dim-t-light-2);
  --t-color: var(--t-light-2);
  --sat-t-color: var(--sat-t-light-2);
  --outline-t-color: var(--outline-t-light-2);

  --background-color: var(--background-light-2);
  --text-color: var(--text-light-2);
  --dark-text-color: var(--dark-text-light-2);
}

body.dark-2 {
  --dim-p-color: var(--dim-p-dark-2);
  --p-color: var(--p-dark-2);
  --sat-p-color: var(--sat-p-dark-2);

  --dim-s-color: var(--dim-s-dark-2);
  --s-color: var(--s-dark-2);
  --sat-s-color: var(--sat-s-dark-2);

  --dim-t-color: var(--dim-t-dark-2);
  --t-color: var(--t-dark-2);
  --sat-t-color: var(--sat-t-dark-2);
  --outline-t-color: var(--t-dark-2);

  --background-color: var(--background-dark-2);
  --text-color: var(--text-dark-2);
  --atext-color: var(--background-dark-2);
  --dark-text-color: var(--dark-text-dark-2);
}
/* @media (orientation: landscape) { */
.title-container {
  display: flex;
  flex-direction: row;
  margin-top: 0.4em;
  margin-bottom: 0.3em;
  width: 98%;
  align-items: center;
  /* justify-content: space-around; */
}
.title {
  position: fixed;
  cursor: pointer;
  right: 0;
  align-self: auto;
  background: #00ffc4;
  background: var(--p-color);
  color: var(--dark-text-color);
  /* border-radius: 3em 1em 2em 4em; */
  border-radius: 0.1em;
  padding-right: 1em;
  padding-left: 0.3em;
  font-size: 2rem;
  transition: all 0.39s ease;
}
.title:hover {
  background-color: #fff7f9;
  background: var(--s-color);
  color: var(--background-color);
  transition: all 39.39s ease;
  transition: all 2.39s cubic-bezier(0.58, -0.55, 0.54, 1.95);
  padding-right: 39.39rem;
}
.announce {
  display: flex;
  flex-direction: row;
  min-height: 40px;
  height: 10%;
  text-align: center;
  /* color: #ffbcb6; */
  /* margin-left: 47em;
  margin-bottom: 1.5em;
  margin-top: 0.5em; */
  padding: 0.5em;
  font-size: 1.2em;
  overflow: hidden;
  justify-content: center;
  height: auto;
}
.announce-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-around; */
}

.announce-list-item {
  font-size: 1em;
  /* margin-right: 1em; */
  /* color: #ffe6deef; */
  /* background-color: #faddfff7; */
  font-family: "ZenMaruGothic";
  border: none;
  border-radius: 0.2rem;
  padding: 0.1rem 1.8rem 0.3rem 1rem;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.39s ease;
}

.counter-button {
  background-color: #ffe9fef7;
  background: var(--t-color);
  font-family: "ZenMaruGothic";
  border: none;
  border-radius: 0.3rem;
  padding: 0.1rem 0.8rem 0.3rem 1rem;
  margin-right: 0.2rem;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.39s ease;
}
.counter-button:hover {
  background-color: #defff5;
  background-color: var(--sat-t-color);
  color: rgb(46, 13, 13);
  padding-right: 2.8rem;
}
.feedback-button {
  background-color: #24ffbd;
  background-color: #ddffeaec;
  background-color: var(--s-color);
  color: var(--atext-color);
  font-family: "ZenMaruGothic";
  border: none;
  border-radius: 0.2rem;
  padding: 0.1rem 0.8rem 0.3rem 1rem;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.39s ease;
  transition: all 0.39s cubic-bezier(0.39, 1.39, 0.85, 1.39);
}
.feedback-button:hover {
  background-color: #ffecf9;
  background-color: var(--sat-p-color);
  text-decoration: none;
  padding-right: 2.8rem;
}
.feedback-button.noti {
  background-color: var(--sat-p-color);
  color: var(--atext-color);
}
.feedback-form {
  position: absolute;
  background-color: #140a0a9a;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  /* flex: 0 0 7%; */
  padding-left: 0.6em;
  padding-right: 1.9em;
  padding-bottom: 0.5em;
  /* padding: 0em 0.9em 0 0.9em 0.3em; */
  border: none;
  /* width: 6%; */
  outline: none;
  border-radius: 0.3em;
  box-sizing: border-box;
  /* background-color: #ffb8b83d; */
  font-family: ZenMaruGothic;
  font-size: 1em;
  color: #ffd7d7c7;
  transition: all 1s ease;
}
.feedback-form:hover {
  /* outline: 0.6px solid #01a36598; */
  transition: all 1s ease;
  background-color: #171817de;

  /* box-sizing: border-box; */
}
.feedback-text {
  background-color: #140a0a;
  color: #00ffc4;
}
.send-feedback-button {
  font-family: ZenMaruGothic;

  background-color: #10a87b;
  color: #000000;
  border: none;
  border-radius: 0.3em;
  /* padding: 0.1rem 2.8rem 0.3rem 1rem; */
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.59s ease;
}
.send-feedback-button:hover {
  background-color: #f1d7cf;
  color: #000000;
  text-decoration: none;
  padding-right: 1rem;
}

.home-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-around; */
  height: 100vh;
}
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3em;
  width: 97%;
  margin-bottom: 0.3em;
}
.scroll-bar-space {
  height: 0.5em; /* Adjust this value based on the scrollbar width */
}

/* LEEEEEEEEEEEFFFFFFFFFTTTTTTTTTTTTTTTT */
.left-tags-container {
  display: flex;
  height: 100%;
  width: 47%;
  justify-content: space-between;
  align-content: center;
  margin-right: 1rem;
  align-items: center;
  transition: all 0.39s ease;
}
.selected-tag-markup {
  color: #00ffc3a8;
  color: var(--s-color);
  border: 1px dashed var(--dim-s-dark-2);
  margin-right: 1%;
  padding-left: 1%;
  padding-right: 1%;
  border-radius: 0.5rem;
  justify-self: center;
  /* width: 60%; */
  text-align: center;
  word-wrap: break-word;
  text-wrap: nowrap;
  overflow-wrap: break-word;
  transition: all 0.39s ease;
}

.tag-selected {
  display: flex;
  padding: 0.3em;
  /* padding-top: 0.2em; */
  /* padding-bottom: 0.3rem; */
  cursor: pointer;
  margin-right: 0.7em;
  text-wrap: nowrap;
  border-radius: 0.4rem;
  border-radius: 0.4em 0.3em 0.4em 0.2em;
  transition: all 0.39s ease;
  transition: all 0.39s cubic-bezier(0.58, -0.55, 0.54, 1.95);

  background-color: #eefffce5;
  background-color: var(--p-color);
  color: var(--dark-text-color);
}
.tag-selected:hover {
  background-color: var(--t-color);
  color: var(--background-color);
  border-radius: 0.4em 0.2em 1em 0.2em;
}
.tag-selected:hover > .link-toggle {
  color: var(--background-color);
  /* background-color: var(--dim-t-color); */
}
.tag-name {
  display: flex;
}
.link-toggle {
  /* color: var(--dark-text-color); */
  /* outline: 1px solid var(--dim-p-dark-2); */
  /* margin-left: 5%; */
  /* margin-right: 5%; */
  width: 1.5em;
  height: 20%;
  text-align: center;
  padding-left: 0.1%;
  padding-right: 0.1%;
  border-radius: 0.3rem;
  justify-self: center;
  /* width: 60%; */
  /* text-align: center; */
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: all 0.39s ease;
}
.link-toggle:hover {
  background-color: #00ffc3a8;
  background-color: var(--s-color);
  color: #000303a8;
}
.filter-button {
  display: none;
  align-items: center;
  /* background-color: var(--p-color); */
  box-shadow: inset 0 0 0 0.89px var(--p-color);
  color: var(--sat-p-color);
  height: 30%;
  /* border: 1.6px solid ; */
  border-radius: 0.39rem;
  padding: 0.5rem;
  cursor: pointer;
  /* font-size: 1.1rem; */
}
.filter-button:hover {
  background-color: var(--sat-p-color);
  color: rgb(
    46,
    13,
    13
  ); /* Change the text color to red when the link is hovered over */
  text-decoration: none;
  /* Add an underline to the link */
}
.ao-tags-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  /* background-color: #da6a6aef; */
  height: 100%;
  border-radius: 0.6em;
  padding-left: 1.5em;
  transition: all 0.4s ease;
  /* width: 30%; */
}
.ao-tag {
  padding: 0.7em 0.6em 0.4em 0.8em;
  cursor: pointer;
  margin-left: 0.7em;
}
.ao-tag.hightligted {
  margin-right: 0.7em;
  padding: 0.5em;
  background-color: hsl(17, 73%, 71%);
  color: #140a0a;
}

.get-link {
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f8d4ff18;
  color: black;
  border-radius: 0.4rem;
  padding: 0rem 0.1rem 0.2rem 0.5rem;
  /* border: 1px solid var(--dim-s-dark-2); */
  transition: all 0.69s ease;
}
.get-link:hover {
  background-color: var(--p-color);
  color: var(--t-color);
  /* border: 1px solid #00ffc302; */

  border-radius: 0.4rem;
  padding: 0rem 0.5rem 0.2rem 0.5rem;
}
.selected-tags-container {
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  flex-direction: row;
  display: flex;
  width: 70%;
  height: 100%;
  background-color: rgba(116, 64, 51, 0);
}

.search-input-box {
  flex: 0 0 7%;
  margin: 0.7em;
  padding-left: 0.9em;
  border: none;
  height: 100%;
  width: 6%;
  outline: none;
  border-radius: 1.3em;
  box-sizing: border-box;
  background-color: #ffb8b83d;
  background-color: var(--dim-s-color);
  font-family: ZenMaruGothic;
  font-size: 1em;
  color: #ffd7d7c7;
  color: var(--dark-text-color);
  opacity: 0.7;
  transition: all 1s ease;
  min-width: 8rem;
}
.search-input-box:hover {
  /* outline: 0.6px solid #ffefef67; */
  outline: 0.6px solid var(--dim-s-color);

  /* box-sizing: border-box; */
}
.search-input-box::placeholder {
  /* position: absolute; */
  top: 10%;
  left: 0;
  /* transform: translate(-50%, -50%); */
  color: #ffd3d39a;
  color: var(--dark-text-color);
  opacity: 0.9;
  font-size: 1em;
  padding-bottom: 2em;
  box-sizing: border-box;
}
.search-input-box:focus {
  opacity: 1;
  color: var(--dark-text-color);
}
.search-input-box:focus::placeholder {
  color: rgba(255, 255, 255, 0);
  text-shadow: transparent 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px !important;
}

.image-cards-container {
  margin-top: 0.3em;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  width: 97%;
  overflow-x: overlay; /* Enable horizontal scrolling */
  overflow-y: hidden;
  height: 800px;
  /* height: 100%; */
  border-radius: 0.39em;
  z-index: 1;
  flex-grow: 1;
  transition: all 0.39s ease;

}
.center-text {
  /* color: #ffd3d3a9; */
  color: var(--sat-s-color);
  opacity: 0.39;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 80%;
  font-size: 3em;
}
.image-cards-container::-webkit-scrollbar {
  display: block; /* For Chrome, Safari and Opera */
  opacity: 0.69;
  transition: all 0.39s ease;
}

/* Add this to style the scrollbar */
.image-cards-container::-webkit-scrollbar-thumb {
  background: #caabab56; /* Color of the scroll thumb */
  background-color: var(--dim-t-color);
  border-radius: 3.9px; /* Radius of the scroll thumb */
  transition: all 0.39s cubic-bezier(0.58, -0.55, 0.54, 1.95);
}

.image-cards-container:hover::-webkit-scrollbar-thumb {
  background: #ffb8b83d; /* Color of the scroll thumb on 
  hover */
  background-color: var(--p-color);
  transition: all 0.39s cubic-bezier(0.58, -0.55, 0.54, 1.95);
}
.img-card {
  display: flex;
  position: relative;
  margin-right: 0.2em;
}
.img-placeholder {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.29;
  transition: all 0.69s ease;
  background-color: var(--p-color);
}
.img-element {
  border-radius: 0.69em;
}
.img-fade {
  opacity: 0;
  position: absolute;
  width: 100%;
  object-fit: cover;
  height: 100%;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.img-fade.show {
  opacity: 1;
}
.info-container-active {
  border-radius: 47em;
  /* background-color: #3b292783; */
  font-size: 120%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /* need this to stay on top of img  */
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease, visibility 0.5s ease;
}
.info-container-active.show {
  opacity: 1;
  visibility: visible;
}
.info-container-left {
  display: flex;
  flex: 1;

  flex-direction: column-reverse;
  height: 100%;
  width: 69%;
  margin-left: 1.1em;
  /* margin-top: 2.4em; */
  /* align-items: flex-end; */
  transition: all 0.39s ease;
}
.special-tags-container {
  z-index: 999;
  height: 10%;
  width: 100%;
  /* margin-bottom: 9em; */
  /* display: flex; */
}
.normal-tags-container {
  display: flex;
  flex-direction: column;
  flex-direction: column;
  overflow-y: auto;
  /* overflow-x: hidden; */
  align-items: flex-start;
  /* width: 9em; */
}
.normal-tags-container > * {
  opacity: 0.59;
  transition: all 0.3s ease;
}
.normal-tags-container:hover > * {
  opacity: 0.8;
  transition: all 0.3s ease;
}
.normal-tags-container::-webkit-scrollbar {
  display: none; /* For Chrome, Safari and Opera */
}
.tag-hp {
  text-align: center;
  margin-bottom: 0.4em;
  background-color: #ffdcd8;
  background-color: var(--t-color);
  /* border-radius: 0.4em 0.3em 0.4em 0.2em; */
  border-radius: 0.3em;
  color: var(--atext-color);
  padding: 0.2em 0.7em 0.3em 0.7em; /* Add padding to the tags */
  white-space: nowrap;
  display: inline-block;
  cursor: pointer;
}
.tag-hp:hover {
  background-color: #fef7ff;
  background-color: var(--sat-t-color);
  border-radius: 0.39em 0.9em 0.39em 0.39em;
  opacity: 1;
  color: var(--dark-text-color);
}
.afc {
  /* color: var(--dark-text-dark-2); */

  background-color: #a6f3d9;
  background-color: var(--s-color);
}
.tag-hp.afc:hover {
  background-color: #f8d4ff;
  border-radius: 0.39em 0.39em 0.9em 0.39em;

  background-color: var(--sat-p-color);
  color: var(--dark-text-color);
}

/* RIGHT!!!!!!!!!!!!!! RIIIIIIIIIIGHT!!!!!!!!!! */
.right-tags-container {
  margin-left: 0.2rem;
  display: flex;
  flex-direction: row;
  width: 45%;
}
.special-suggest-container {
  display: flex;
  flex-direction: row;
  margin-right: 1em;
}
.fetch-button {
  color: #93f5d8;
  display: none;
  align-items: center;
  color: #93f5d8;
}
.fetch-button:hover {
  color: #ffd7d7c7;
}
.tags-suggest-container {
  overflow: hidden;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  display: flex;
  height: 100%;
}
.tags-suggest-container::-webkit-scrollbar {
  position: absolute;
  width: auto;
}
.tags-suggest-container::-webkit-scrollbar-track {
  background-color: #db7a61;
}
.tag-suggest.highlighted {
  margin-right: 0.7em;
  background-color: #ffdcd800;
  color: #93f5d8;
  color: var(--p-color);
  border-radius: -6rem;
  font-size: 1.2em;
  font-weight: 620;
  padding-bottom: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid var(--p-color);
  padding-bottom: 0.2em;
  padding-top: 0;
}
.tag-suggest {
  margin-right: 0.7em;
  padding: 0.5em;
  cursor: pointer;
  text-wrap: nowrap;
}
.tag-suggest:hover {
  color: var(--t-color);
  transition: all 0.3s ease;
  border: none;
}
.info-container-right {
  display: flex;
  align-items: flex-end;
  flex: 1;
  margin-right: 0.4em;
  padding-top: 0.39em;
  padding-bottom: 0.39em;

  width: 20%;
  height: 96%;
  font-size: 150%;
  justify-content: space-between;
  flex-direction: column;
}

.src-link-container {
  display: flex;
  flex-direction: column;
  /* position: absolute; */
  top: 2rem;
  right: 1rem;
  transition: all 0.99s ease;
  font-size: 0.9em;
}
.src-link {
  transition: all 0.3s ease;
  color: rgba(7, 7, 6, 0.774);
  color: var(--dark-text-color);
  background-color: #ffefeff1;
  background-color: var(--p-color);
  border-radius: 0.4em 0.3em 0.4em 0.2em;
  /* border: 1px solid #1f0606f1; */
  display: inline-block;
  /* font-size: 90%; */
  /* border-radius: 30em; */
  padding: 0em 0.4em 0.2em 0.6em;
  text-decoration: none;
}
.src-link:hover {
  background-color: #77ffd6;
  background-color: var(--s-color);
  border-radius: 1.1em 1em 1.5em 4em;
  padding: 0em 0.4em 0.2em 0.4em;
  border: none;
  color: #1d473bbb; /* Change the text color to red when the link is hovered over */
  text-decoration: none;
  /* Add an underline to the link */
}
.sib-wip-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--dark-text-color);
  /* background-color: #ff7373f1; */
  border-radius: 0.4em 0.3em 0.4em 0.2em;
  /* border: 1px solid #1f0606f1; */
  /* display: inline-block; */
  font-size: 90%;
  /* border-radius: 30em; */
  /* height: 30%; */
  /* padding: 0em 0.4em 0.2em 0.6em; */
  /* position: absolute; */
  bottom: 12%;
  right: 2rem;
  text-decoration: none;
  margin-bottom: 0.6em;
}
.sib-wip-container > * {
  margin-bottom: 0.6rem;
}
.get-link-img {
  /* color: rgba(7, 7, 6, 0.774); */
  background-color: var(--dim-s-color);
  color: black;
  border-radius: 0.4em 0.3em 0.4em 0.2em;
  /* border: 1px solid #1f0606f1; */
  display: inline-block;
  /* font-size: 90%; */
  /* border-radius: 30em; */
  padding: 0em 0.2em 0.2em 0.4em;
  /* text-decoration: none; */
  transition: all 0.39s ease-in-out;
}
.get-link-img:hover {
  background-color: var(--sat-s-color);
  /* border-radius: 1.1em 1em 1.5em 4em; */
  padding: 0em 0.4em 0.2em 0.4em;
  border: none;
  color: var(--dark-text-color);
}
.sib {
  cursor: pointer;
  color: rgba(7, 7, 6, 0.774);
  background-color: var(--t-color);
  border-radius: 0.4em 0.3em 0.4em 0.2em;
  /* border: 1px solid #1f0606f1; */
  display: flex;
  /* font-size: 90%; */
  /* border-radius: 30em; */
  /* height: 30%; */
  font-size: 1.5rem;
  padding: 0em 0.4em 0.2em 0.6em;
  transition: all 0.3s ease;
}
.sib:hover {
  background-color: var(--sat-t-color);
  /* border-radius: 1.1em 1em 1.5em 4em; */
  padding: 0em 0.4em 0.2em 0.7em;
  border: none;
  color: #1d473bbb; /* Change the text color to red when the link is hovered over */
  text-decoration: none;
  /* Add an underline to the link */
}
.wip-container {
  cursor: context-menu;
  display: flex;
  flex-direction: row;
  color: rgba(31, 32, 29, 0.685);
  color: var(--dark-text-color);
  background-color: #fff2e6b2;
  background-color: var(--p-color);
  text-align: center;
  border-radius: 0.4em;
  /* padding-bottom:.2em ; */
  align-content: center;
  height: 1.8em;
  width: max-content;
  flex-wrap: wrap;
  font-size: 0.9em;
  padding-left: 0.5em;
  padding-right: 0.2em;
  transition: all 0.39s ease;
}
.wip-container:hover {
  background-color: #ffeff8bb;
  background-color: var(--sat-s-color);
  background-color: transparent;
  color: none; /* Change the text color to red when the link is hovered over */
  text-decoration: none;
  transition: all 0.69s ease;
  /* Add an underline to the link */
}
.wip-container > * {
  opacity: 0.7;
  transition: all 0.39s ease;
}
.wip-container:hover > * {
  opacity: 1;
  border: none;
  color: transparent;
  /* mix-blend-mode: hard-light; */
  padding-left: 0.3em;
  padding-right: 0.3em;
}
.wip-label {
  margin-right: 0.2em;
  /* mix-blend-mode: color-dodge; */
  background-color: transparent;
  /* color: #474040f2; */
  color: var(--dark-text-color);
}
.wip-label:hover {
  background-color: transparent;
  color: transparent;
  mix-blend-mode: hard-light;
}
.wip-button {
  cursor: pointer;
  /* background-color: #dffff8c5; */
  /* background-color: var(--t-color); */
  border-radius: 2em;
  padding-left: 0.2em;
  padding-right: 0.2em;
  border-radius: 0.2em;
  margin-right: 0.2em;
  /* font-size: 0.9em; */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wip-button:hover {
  background-color: var(--sat-p-color);
  color: var(
    --dark-text-color
  ); /* Change the text color to red when the link is hovered over */
  text-decoration: none;
  /* Add an underline to the link */
}
.option-container {
  display: flex;
  flex-direction: row;
  align-self: center;
  justify-content: space-between;
  height: 3%;
  height: auto;
  width: 97%;
  align-items: center;
  margin-bottom: 0.2rem;
}
.option {
  display: flex;
  overflow-y: auto;

  height: 100%;
  flex-wrap: wrap;
  align-content: flex-end;
}
.limit {
  display: flex;
  /* height: 80%; */
  flex-direction: row;
  align-items: center;
  /* margin-right: 0.5em; */
  padding: 0.1em 0.6em 0.2em 0.4em;
  /* background-color: #00ffc311; */
  /* border: 2px solid #00ffc3; */
  box-shadow: inset 0 0 0 0.69px var(--dim-s-color);
  border-radius: 0.4rem;
  color: var(--text-color);
  align-items: center;
  transition: all 0.39s ease;
}

.limit-button {
  display: flex;
  /* color: #b8ffe4; */
  height: 70%;
  border: none;
  border-radius: 0.7rem;
  margin-left: 0.5rem;

  /* padding: 0.1rem 0.7rem 0.3rem 0.7rem; */
  cursor: pointer;
  align-items: center;
  font-size: 1rem;
  color: var(--p-color);
}
.limit-button.selected {
  /* background-color: #00ffc3; */
  color: var(--t-color);
  text-decoration: underline;
}
.new-result-label {
  display: none;
  position: relative;
  text-align: center;
  align-self: flex-start;
  /* background-color: #3cffd1af; */
  border-radius: 4em 10em 2em 4em;
  /* color: rgb(235, 252, 245); */
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0.7em;
  padding-right: 0.6em;
  font-size: 1.2rem;
  /* font-weight: 40; */
}
.random-img-button {
  cursor: pointer;
  position: relative;
  text-align: center;
  align-self: flex-start;
  opacity: 0.8;
  font-size: 1rem;
  border-radius: 0.39em;
  box-shadow: inset 0 0 0 0.89px var(--outline-t-color);
  color: var(--outline-t-color);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.1em 0.6em 0.2em 0.4em;
  /* font-weight: 40; */
  transition: all 0.39s ease;
}
.random-img-button:hover {
  box-shadow: none;
  color: var(--background-color);
  background-color: var(--outline-t-color);
}
.random-img-button.on {
  box-shadow: inset 0 0 0 0.89px var(--sat-p-color);
  color: var(--sat-p-color);
}
.random-img-button.on:hover {
  box-shadow: none;
  background-color: var(--sat-p-color);
  color: var(--background-color);
}

#image-preview {
  display: none;
  width: 100%;
}
.toggleBtn {
  color: tan;
  background-color: gray;
  position: absolute;
  top: 20px;
  left: 550px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: none;
}
.light-theme {
  background-color: hsl(6deg 100% 96.11% / 93.3%);
  --fontColor: black;
  --btnBg: black;
  --btnFontColor: white;
}

.dark-theme {
  transition: all 0.39s ease;

  background-color: hsl(6deg 7.17% 13.36% / 93.3%);
  color: #ffdcd8ee;
  --btnBg: white;
  --btnFontColor: black;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
}
/* } */
@media (orientation: portrait) {
  html,
  body {
    height: 100%;
    overflow: auto;
    position: fixed;
    width: 100%;
  }
  .dark-theme {
    margin: 0.2rem;
  }

  .title-container {
    flex-direction: column;
    margin-top: 0.4em;
    margin-bottom: 0.39em;
    width: 100%;
    transition: height 1.9s, opacity 0s ease;

    /* height: 20%; */
  }
  .title {
    position: static;
    align-self: flex-end;
    /* background: #00ffc4; */
    /* color: #591717; */
    border-radius: 30em 1em 2em 4em;
    border-radius: 0.1em;
    padding-right: 1em;
    padding-left: 0.3em;
    transition: height 0.2s, opacity 0s ease;
  }

  .left-tags-container {
    transition: height 0.6s, opacity 0s ease;
  }
  .new-result-label {
    display: none;

    transition: height 0.2s, opacity 0s ease;
    /* opacity: 1; */
    margin-right: 0.1em;
  }

  .title-container {
    transition: all 0.7s;
    width: 95%;
  }
  .left-tags-container {
    display: flex;
    height: 100%;
    width: 100%;
    margin-right: 0;

    /* align-items: flex-end; */
    align-items: center;
  }
  .search-container {
    transition: margin 0.4s;
  }
  .announce {
    display: flex;
    flex-direction: column;
    /* height: 10%; */
    /* text-align: center; */
    /* color: #b6ffc8; */
    overflow: auto;
    margin-bottom: 0.3em;
    padding: 0;
    /* border: 1px solid #eeffb687; */
    border-radius: 0.7rem;
    align-items: center;
    font-size: 90%;
  }
  .announce-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }
  .announce-list-item {
    font-size: 0.8rem;
    padding: 0;
    /* margin-left: 0.6em; */
    text-align: center;
  }
  .counter-button {
    display: inline-flex;
    opacity: 0.7;
    /* width: 12em; */
    /* background-color: #f8cbffaf; */
    font-family: "ZenMaruGothic";
    font-size: 1rem;
    /* border-radius: 1.4rem; */
    padding-bottom: 0.3rem;
    margin-bottom: 0.3em;
    padding: 0% 3% 1% 3%;
    align-self: flex-start;
    transition: height 0.2s, opacity 0s ease;
  }
  .feedback-button {
    display: inline-flex;
    opacity: 0.7;

    /* width: 12em; */
    /* background-color: #c1fff1b7; */
    font-family: "ZenMaruGothic";
    font-size: 1rem;
    /* border-radius: 1.4rem; */
    padding-bottom: 0.3rem;
    margin-bottom: 0.3em;
    padding: 0% 3% 1% 3%;
    align-self: center;
    align-self: flex-start;
    transition: height 0.2s, opacity 0s ease;
  }

  .search-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3.2em;
    justify-content: flex-start;
    transition: all 0.39s ease;
  }
  .search-input-box {
    flex: 1;
    margin: 0;
    padding-top: 0;
    padding-left: 0.6em;
    /* padding-left: 1em; */
    height: 70%;
    border-radius: 0.9em 0.9em 0.2em 0.9em;
    border-radius: 0.39em;
    min-width: 6.8em;
    /* width: 60%; */
    font-size: 1.1em;
  }
  .search-input-box::placeholder {
    /* position: absolute; */
    top: -10%;
    left: 0;
    padding-top: 0;
    /* transform: translate(-50%, -50%); */
    /* color: #ffd3d39a; */
    font-size: 0.8em;
    padding-bottom: 2em;
    box-sizing: border-box;
  }

  .selected-tags-container,
  .tags-suggest-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.8rem;

    /* other styles... */
  }
  .selected-tags-container::placeholder {
    display: none;
  }
  .selected-tags-container::-webkit-scrollbar,
  .tags-suggest-container::-webkit-scrollbar {
    display: none;
  }
  .ao-tags-container {
    /* display: none; */
    padding-left: 0.7em;
  }
  .right-tags-container {
    flex: 3;
  }
  .option-container {
    display: flex;
    flex-direction: row;
    align-self: center;
    justify-content: space-between;
    font-size: 1.1em;
    width: 97%;
    /* align-items: baseline; */
    margin-bottom: 0.2rem;
  }
  .option {
    display: flex;
    flex: 4;
    height: 100%;
    flex-wrap: wrap;
    align-content: flex-end;
  }
  .new-result-label {
    margin-top: 0;
    padding-left: 0em;
    margin-bottom: 0;
    /* margin-right: 1rem; */
    left: 0.3rem;
    /* font-size: 1.2em; */
  }
  .random-img-button {
    padding-left: 0.4em;
    padding-right: 0.4em;
  }
  .limit {
    font-size: 0.9em;
  }
  .limit-button {
    display: none;
  }
  .flex-display {
    display: flex !important;
  }
  .image-cards-container {
    margin-top: 0.39em;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 98%;
    /* height: 37rem; */
    overflow-y: auto;
    /* height: 800px; */
    border-radius: 0em;
  }
  .image-cards-container::-webkit-scrollbar {
    height: 100%;
    width: 5px; /* Adjust to desired width */
  }

  .image-cards-container::-webkit-scrollbar-thumb {
    background: #caabab56; /* Color of the scroll thumb */
    background: var(--p-color);
    border-radius: 4px; /* Radius of the scroll thumb */
  }

  .img-card {
    display: flex;
    position: relative;
    margin-right: 0;
    margin-bottom: 0.4em;
  }
  .img-card.loaded {
    opacity: 1;
  }

  .img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.39em;
  }
  .img-element.show {
    opacity: 1;
  }
  .info-container-left {
    flex: 1;
    align-items: flex-start;
    justify-content: space-between;
    margin-left: 0.3em;
  }
  .info-container-right {
    /* position: absolute; */
    flex: 1;
    right: 0.4em;
  }
  .src-link-container {
    font-size: 1.2rem;
    top: 0.8em;
    right: 0.7rem;
  }
  .sib-wip-container {
    /* position: absolute; */
    right: 0;
    bottom: 0.5em;
    font-size: 1rem;
  }
  .sib {
    /* position: absolute; */
    font-size: 1.1rem;

    bottom: 3%;
    right: 0.1rem;
  }
  .wip-container {
    font-size: 1.2rem;

    right: 0.1rem;
  }
  .normal-tags-container {
    /* width: 9em; */
    /* height: 28em; */
    padding-top: 6em;
    margin-bottom: 0.6em;
    margin-left: 0.4em;
  }
  .normal-tags-container > * {
    opacity: 0.79;
  }
  .tag-hp {
    font-size: 0.9em;
  }
}

/*search field*/
#myInput {
  background-image: url("/css/searchicon.png"); /* Add a search icon to the input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  /* Add a grey border */
  margin-bottom: 12px; /* Add space below the input */
}
.tagsContainer {
  display: flex; /* Use flexbox layout */
  flex-wrap: nowrap; /* Allow tags to wrap to the next line if they exceed the container width */
  overflow-x: auto;
}
.tag-ad {
  margin-right: 5px; /* Add spacing between tags */
  padding: 5px; /* Add padding to the tags */
  background-color: #e0e0e0; /* Add a background color to the tags */
  border-radius: 5px; /* Add rounded corners to the tags */
}
#myUL {
  list-style-type: none; /* Remove default list styling */
  padding: 0;
  margin: 0;
}

#myUL li a {
  /* Add a border to all links */
  margin-top: -1px; /* Prevent double borders */

  padding: 12px; /* Add some padding */
  text-decoration: none; /* Remove default text underline */
  font-size: 18px; /* Increase font-size */
  color: black; /* Black text color */
  display: block; /* Make it a block element to fill the whole list */
}

#myUL li a:hover:not(.header) {
  background-color: #eee; /* Hover effect for links (except headers) */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(
    3,
    1fr
  ); /* Three columns with equal width */
  grid-gap: 10px; /* Spacing between grid items */
}

.grid-item {
  display: flex;
  flex-direction: column;
}

.grid-item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio of the image */
}
