@import url("colors.css");

body {
  background-color: black;
  color: var(--font-color);
  font-family: var(--main-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  width: 100%;
}

input {
  font-family: var(--main-font);
}

hr {
  background-color: var(--hr-color);
  height: 1px;
  width: 100%;
  border: none;
}

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

.textbox {
  border: solid;
  border-width: 1px;
  border-color: var(--textbox-border);
  border-radius: 5px;
  outline: 0;
  padding: 4px;
  background-color: var(--textbox-background);
  color: var(--font-color);
  font-family: var(--main-font);
  font-feature-settings: "ss07" 1, "cv10" 1;

  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.body-container {
  display: grid;
  grid-template-areas:
    "header"
    "main"
    "footer";
  grid-template-rows: 50px auto 100px;
  min-height: 100vh;
  margin: auto;
  max-width: 1920px;
  position: relative;
  @media screen and (min-width: 1900px) {
    width: 1900px;
  }
  @media screen and (max-width: 1899px) {
    width: 1600px;
  }
  @media screen and (max-width: 1599px) {
    width: 1200px;
  }
  @media screen and (max-width: 1199px) {
  }
}

.body-container > div.header {
  grid-area: header;
  display: flex;
  width: 100%;

  #header-logo {
    position: relative;
    left: 10px;
    top: 2px;
    filter: invert(100%);
  }

  #user-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    img {
      width: 40px;
      border-radius: 5%;
    }
  }

  .notifications-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    position: absolute;
    top: 10px;
    right: 64px;

    .notification-container {
      position: relative;
      .notification-icon-wrapper {
        cursor: pointer;
      }

      .notification-icon {
        width: 30px;
        height: 30px;
        filter: invert(100%);
        pointer-events: none;
      }

      .notification-alert-text {
        position: absolute;
        top: -8px;
        right: -8px;
        color: white;
        font-size: 12px;
        text-align: center;
        background-color: var(--notification-color);
        padding: 2.5px;
        border-radius: 10px;
        min-width: 15px;
      }
    }
  }

  #upload-icon {
    width: 15px;
    filter: invert(100%);
    margin-left: 5px;
  }

  #upload-loader {
    width: 15px;
    height: 15px;
  }

  .header-links {
    position: relative;
    left: 28px;
    top: 18px;
    color: var(--font-color);
    text-align: left;
    cursor: default;
    font-weight: 100;
    a {
      color: var(--font-color);
      text-decoration: none;
      font-weight: 600;
    }
  }
}

.body-container > div.main {
  grid-area: main;
  margin: 10px;
  margin-bottom: 50px;
}

.body-container > div.footer {
  grid-area: footer;
}

.main-container {
  height: auto;
  margin-top: 36px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  gap: 10px;
}

.main-section-container {
  padding: 1px;
  gap: 10px;
}

.main-subsection-container {
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000;
  transform: translate3d(0, 0, 0);
  transform: translateZ(0);

  background: rgba(11, 12, 14);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.261);
  border: 1px solid rgba(255, 255, 255, 0.254);
  border-style: outset;

  padding: 10px;
}

.home-container {
  display: grid;
  grid-template-areas:
    "art"
    "journals-announcements";
  grid-template-rows: auto auto;
  margin-top: 150px;
}

.home-container > div.art {
  grid-area: art;
  display: grid;
  height: 740px;
  grid-template-areas:
    "options options"
    "gallery-container preview-container";
  grid-template-columns: 1fr 600px;
}

.home-container > div.journals-announcements {
  grid-area: journals-announcements;
  display: grid;
  grid-template-areas: "journals announcements";
  grid-template-columns: 1fr 1fr;
  height: 500px;
}

.art > div.options {
  grid-area: options;
  display: flex;
  flex-direction: row;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px;
  border-radius: 5px;
  width: auto;
  height: 24px;
  .option {
    margin-left: 5px;
    margin-right: 5px;
  }
}

.journals-announcements > div.journals {
  grid-area: journals;
  display: flex;
  flex-direction: column;
}

.journals-announcements > div.announcements {
  grid-area: announcements;
  display: flex;
  flex-direction: column;
}

.settings-container {
  display: grid;
  grid-template-areas: "categories settings";
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto;
}
.settings-container > div {
  padding: 10px;
}

.settings-container > div.categories {
  grid-area: categories;

  .settings-category-li {
    a {
      color: var(--font-color);
    }
    a:hover {
      color: var(--link-color-alt);
    }
  }
}

.settings-container > div.settings {
  grid-area: settings;
}

.user-page-container {
  display: grid;
  grid-template-areas:
    "info-column gallery-column"
    "comments comments";
  margin-top: 147px;
  grid-template-columns: 400px 1fr;
  gap: 0px;
}

.user-page-container > div {
  padding: 8px;
}

.user-page-container > div.info-column {
  grid-area: info-column;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-image: linear-gradient(
    to bottom,
    rgb(0, 0, 0, 0.5),
    rgb(0, 0, 0, 0)
  );

  .info-column-section-title {
    font-size: 16px;
    font-weight: 800;
    font-style: italic;
  }

  .profile-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    #edit-profile-text-container {
      display: none;
      margin-top: 0;
      .textarea-input {
        min-height: 200px;
      }
      .textarea-input {
        max-width: 374px;
        min-width: 374px;
      }
    }
    #edit-profile-links-container {
      display: none;

      .edit-profile-link-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 380px;
        input {
          width: 168px;
        }
      }
    }

    #add-profile-link-button {
      display: none;
    }
    .featured-image-container {
      width: 350px;
      height: 350px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      .featured-image {
        img {
          max-width: 300px;
          max-height: 300px;
          border-radius: 5px;
        }
      }
      .featured-image-title {
        font-size: 12px;
        font-style: italic;
      }
    }
    .profile-description-container {
      overflow-wrap: anywhere;
      display: flex;
      flex-direction: column;
      font-size: 12px;
    }
    .profile-links-container {
      display: flex;
      flex-direction: column;
      gap: 1px;

      .profile-link {
        display: flex;
        flex-direction: row;
        .icon {
          img {
            max-width: 30px;
            max-height: 30px;
          }
        }
        .link {
          font-size: 12px;
          color: var(--link-color-alt);
        }
        .remove-button {
          font-size: 11px;
          color: var(--warning-button-background-hover);
        }
      }
    }
  }
  .journals-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    .user-page-journal-container {
      display: flex;
      flex-direction: column;
      gap: 2px;
      .user-page-journal-title {
        font-size: 16px;
        font-weight: 600;
      }

      .user-page-journal-date {
        font-size: 10px;
        font-style: italic;
        color: var(--hr-color);
      }

      .user-page-journal-body {
        font-size: 14px;
        max-height: 100px;
        overflow: hidden;
        padding-bottom: 5px;
        font-size: 12px;
        -webkit-mask-image: linear-gradient(
          to bottom,
          rgba(0, 0, 0, 1) 75%,
          rgba(0, 0, 0, 0) 100%
        );
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: left;
      }
    }
  }
}

.user-page-container > div.gallery-column {
  grid-area: gallery-column;
  display: grid;
  grid-template-areas:
    "gallery-options"
    "gallery"
    "favorites-options"
    "favorites"
    "comments";
  gap: 20px;
  background-image: linear-gradient(
    to bottom,
    rgb(0, 0, 0, 0.75) 0%,
    rgb(0, 0, 0, 0) 100%
  );
}

.user-page-container > div.comments {
  grid-area: comments;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.gallery-column > div.gallery-options {
  grid-area: gallery-options;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: 800;
  margin-top: -46px;
  margin-left: 8px;

  #view-full-link {
    font-style: italic;
    font-size: 12px;
    a {
      color: var(--link-color-alt);
    }
  }
}

.gallery-column > div.gallery {
  grid-area: gallery;
  display: grid;
  grid-template-areas: "gallery-container preview-container";
  grid-template-columns: 1fr 600px;
}

.gallery-column > div.favorites-options {
  grid-area: favorites-options;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  padding: 8px;
  background-color: rgb(255, 255, 255, 0.1);

  #view-full-link {
    font-style: italic;
    font-size: 12px;
    a {
      color: var(--link-color-alt);
    }
  }
}

.gallery-column > div.favorites {
  grid-area: favorites;
  display: grid;
  grid-template-areas: "gallery-container preview-container";
  grid-template-columns: 1fr 600px;
}

.gallery-container {
  grid-area: gallery-container;
  display: flex;
  flex-direction: column;
  min-height: 683px;

  .gallery-container-title {
    font-style: italic;
    font-size: 16px;
    font-weight: 200;
    margin-top: -20px;
    margin-left: 14px;
  }

  .gallery-content-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    row-gap: 12px;
  }
  .gallery-result {
    display: grid;
    grid-template-areas: "image" "title" "username";
    grid-template-rows: 150px auto auto;
    padding: 12px;
    width: 175px;
    height: 225px;
  }
  .checkable-gallery-result {
    cursor: pointer;
    border-radius: 10px;
  }
  .checkable-gallery-result:hover {
    background-color: var(--hr-color-lite);
  }
  .gallery-result > div.image {
    grid-area: image;
    img {
      max-height: 150px;
      max-width: 150px;
      border-radius: 5px;
    }
    position: relative;
    display: flex;
    margin: auto;
    .pages-icon {
      position: absolute;
      bottom: -30px;
      right: -74px;
      height: 120px;
      width: 300px;
      scale: 50%;
      background-image: url("../symbols/pages-icon.png");
      background-position: bottom right;
      background-repeat: no-repeat;
    }
    .explicit-icon {
      position: absolute;
      bottom: -8px;
      left: -14px;
      height: 60px;
      width: 60px;
      scale: 50%;
      background-image: url("../symbols/explicit-icon.png");
      background-position: bottom right;
      background-repeat: no-repeat;
    }
    .page-count {
      position: absolute;
      bottom: 20px;
      right: 18px;
      text-align: center;
      color: black;
      width: 19px;
    }
  }
  .gallery-result > div.title {
    grid-area: title;
    text-align: center;
    margin: auto;
    height: 15px;
    width: 150px;
    visibility: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    .submission-title {
      font-size: 12px;
      overflow: hidden;
      word-wrap: normal;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 120px;
      margin-left: auto;
      margin-right: auto;
    }
    a {
      color: var(--font-color);
      text-decoration: underline;
    }
    a:hover {
      color: var(--link-color);
    }
  }

  .gallery-result > div.username {
    grid-area: username;
    text-align: center;
    font-size: 11px;
  }

  .page-numbers {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: auto;
  }
}

.preview-container {
  grid-area: preview-container;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 660px;

  .image {
    margin-left: auto;
    margin-right: auto;
    img {
      max-height: 600px;
      max-width: 600px;
      border-radius: 5px;
    }
  }
  .title {
    margin-left: auto;
    margin-right: auto;
    font-size: 28px;
    font-family: var(--serif-font);
  }
  .date {
    margin-left: auto;
    margin-right: auto;
    font-size: 10px;
    font-style: italic;
    margin-top: 2px;
    color: var(--hr-color);
  }
  .username {
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
  }
}

.comments-section {
  height: auto;
  width: 95vw;
  max-width: 1200px;
  margin: auto;

  .comment {
    display: grid;
    grid-template-areas: "user comment-container";
    grid-template-columns: 160px auto;
    margin-left: 0px;
    margin-top: 10px;
    min-width: 600px;
  }

  .comment > div.user {
    grid-area: user;
    margin-top: 16px;
    display: grid;
    grid-template-areas: "user-image" "username" "comment-date" "last-edit";
    grid-template-rows: 140px 20px 15px auto;
  }
  .user > div.user-image {
    grid-area: user-image;
    height: 120px;
    width: 120px;
    display: flex;
    flex-direction: column;
    margin: auto;
    a {
      margin: auto;
      max-height: 100%;
      max-width: 100%;
      img {
        max-height: 100%;
        max-width: 100%;
        border-radius: 5px;
      }
    }
  }

  .user > div.username {
    grid-area: username;
    text-align: center;
    font-size: 10px;
    a {
      color: var(--font-color);
    }
    a:hover {
      color: var(--link-color);
    }
  }

  .user > div.comment-date {
    grid-area: comment-date;
    text-align: center;
    font-size: 9px;
  }

  .user > div.last-edit {
    grid-area: last-edit;
    text-align: center;
    font-size: 8px;
    font-style: italic;
    color: var(--link-color-alt);
    margin-bottom: 3px;
  }

  .comment > div.comment-container {
    grid-area: comment-container;
    display: grid;
    grid-template-areas:
      "parent-id option-buttons"
      "comment-body comment-body"
      "child-ids reply-link"
      "response-comment-box response-comment-box";
    grid-template-rows: 20px auto auto auto;
    grid-template-columns: auto auto;
    padding: 5px;
    a {
      color: var(--link-color);
    }
  }
  .comment-container > div.parent-id {
    grid-area: parent-id;
    font-size: 12px;
    font-weight: 300;
    .replying-to {
      font-weight: 200;
      color: gray;
    }
    a {
      text-decoration: none;
      color: var(--comment-box-link);
    }
  }
  .comment-container > div.option-buttons {
    grid-area: option-buttons;
    font-size: 12px;
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
    color: var(--comment-box-link);
    text-decoration: underline;
    cursor: pointer;
    gap: 10px;
  }
  .comment-container > div.comment-body {
    grid-area: comment-body;
    margin-top: 5px;
    min-height: 129px;
    font-weight: 400;
    a {
      color: var(--link-color);
    }
    overflow-wrap: anywhere;
  }
  .comment-container > div.child-ids {
    grid-area: child-ids;
    font-size: 12px;
    margin-top: 14px;
    font-weight: 300;
    a {
      text-decoration: none;
      color: var(--comment-box-link);
    }
  }
  .comment-container > div.reply-link {
    grid-area: reply-link;
    font-size: 12px;
    margin-top: 14px;
    text-align: right;
    color: var(--comment-box-link);
    text-decoration: underline;
    cursor: pointer;
  }
  .comment-container > div.response-comment-box {
    grid-area: response-comment-box;
    display: flex;
  }
}

.user-page-container > div.comments {
  display: flex;
  flex-direction: column;
  width: 1200px;
}

.user-icon-container {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 60px;
  left: 20px;
  display: flex;
  flex-direction: column;

  #user-profile-icon {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
  }

  #update-icon-button {
    margin: auto;
    font-size: 10px;
    font-style: italic;
    color: var(--link-color-alt);
    cursor: pointer;
  }
}

.user-profile-card {
  position: absolute;
  top: 60px;
  left: 150px;
  height: 120px;
  display: flex;
  flex-direction: column;

  .username {
    font-weight: 800;
  }

  .member-since {
    font-size: 9px;
    font-style: italic;
    margin-top: 3px;
    margin-bottom: 1px;
    color: var(--font-color);
  }

  .custom-quote {
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
    color: var(--font-color);
  }

  hr {
    background-color: var(--hr-color);
    margin-top: 2px;
    margin-bottom: 0px;
    height: 1px;
    width: 100%;
    border: none;
  }

  .user-interaction-options {
    margin-top: 7px;
    font-size: 12px;

    button {
      margin-right: 5px;
    }

    #following-button {
      background-color: var(--link-color-alt);
      font-style: italic;
    }
    #following-button:hover {
      background-color: var(--warning-button-background-hover);
      font-style: normal;
    }
  }

  .edit-quote-container {
    display: none;

    input {
      width: 250px;
      font-size: 10px;
      font-weight: 700;
    }
  }
}

.user-page-ellipses {
  position: absolute;
  right: 20px;
  top: 150px;
  width: 30px;
  height: 30px;
  background-color: rgba(4, 3, 18, 0.5);
  text-align: center;
  border-radius: 30px;
  color: white;
  cursor: pointer;
}

.footer-links {
  position: relative;
  left: 0;
  color: var(--font-color);
  text-align: center;
  font-weight: 100;
  a {
    font-weight: 600;
    text-decoration: none;
    color: var(--font-color);
  }
}

.footer-info {
  position: relative;
  left: 0;
  min-height: 50px;
  width: 100%;
  color: var(--font-color);
  text-align: center;
  font-size: 10px;
  margin-top: 10px;
  a {
    color: var(--font-color);
  }
}

input::file-selector-button {
  background-color: rgb(255, 255, 255, 0.2);
  border: none;
  border-radius: 5px;
  color: var(--font-color);
  padding: 5px;
}

.button {
  background-color: var(--button-background);
  border: none;
  border-radius: 5px;
  color: var(--font-color);
  padding: 5px;
  cursor: pointer;
  font-family: var(--main-font);
}
.button:hover {
  background-color: var(--button-background-hover);
}

.warning-button {
  border: none;
  border-radius: 5px;
  color: var(--font-color);
  padding: 5px;
  cursor: pointer;
  background-color: var(--warning-button-background);
  border-radius: 5px;
  font-family: var(--main-font);
}
.warning-button:hover {
  background-color: var(--warning-button-background-hover);
}

.ok-button {
  border: none;
  border-radius: 5px;
  color: var(--font-color);
  padding: 5px;
  background-color: rgba(115, 188, 147, 0.4);
  border-radius: 5px;
}
.ok-button:hover {
  background-color: rgba(115, 188, 147, 0.8);
}

#user-menu {
  position: absolute;
  top: 52px;
  right: 2px;
  width: 175px;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  text-align: left;
  a {
    color: var(--font-color);
    text-decoration: none;
  }
  padding: 5px;
  .user-menu-item {
    padding: 5px;
  }
  .user-menu-item:hover {
    cursor: pointer;
    background-color: rgb(255, 255, 255, 0.2);
    border-radius: 5px;
  }
}

.settings-category-li {
  padding-bottom: 10px;
  cursor: pointer;
}

.settings-category-li:hover {
  color: var(--link-color);
}

.search-container {
  display: grid;
  grid-template-areas:
    "search-filters search-params"
    "gallery gallery";
  grid-template-columns: 595px auto;
  grid-template-rows: 95px auto;
  margin-top: 112px;
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
}

.search-container > div {
  padding: 10px;
}

.search-container > div.gallery {
  grid-area: gallery;
  display: grid;
  grid-template-areas: "gallery-container preview-container";
  grid-template-columns: 1fr 600px;
}

.search-container > div.search-filters {
  display: grid;
  grid-template-areas:
    "sort-label sort-filters"
    "type-label type-filters"
    "rating-label rating-filters";
  grid-template-columns: 66px 1fr;
  font-size: 12px;
  gap: 2px;
}

.search-filters > div.sort-label {
  grid-area: sort-label;
  margin-top: 7px;
}

.search-filters > div.type-label {
  grid-area: type-label;
  margin-top: 3px;
}

.search-filters > div.rating-label {
  grid-area: rating-label;
  margin-top: 3px;
}

.search-filters > div.sort-filters {
  grid-area: sort-filters;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.search-filters > div.type-filters {
  grid-area: type-filters;
  flex-direction: row;
  display: flex;
  gap: 12px;
}

.search-filters > div.rating-filters {
  grid-area: rating-filters;
  flex-direction: row;
  display: flex;
  gap: 12px;
}

.search-container > div.search-params {
  display: flex;
  flex-direction: column;
  .search-box {
    display: flex;
    flex-direction: row;
    gap: 10px;
    #search-input {
      border-radius: 5px;
      margin-left: 5px;
      width: 400px;
    }

    #search-tip {
      font-style: italic;
      color: #6d9eb1;
    }

    .tooltip .tooltiptext {
      visibility: hidden;
      width: 300px;
      top: 120px;
      left: 200px;
      background-color: black;
      color: #fff;
      text-align: center;
      padding: 5px 0;
      border-radius: 6px;

      position: absolute;
      z-index: 1;
      color: #6d9eb1;
      .special {
        color: var(--link-color);
      }
    }

    .tooltip:hover .tooltiptext {
      visibility: visible;
    }
  }
  .search-tags-container {
    display: flex;
    flex-wrap: wrap;
    grid-area: search-params;
    flex-direction: row;
    padding-top: 5px;
    gap: 5px;
    .search-param {
      background-color: rgb(255, 255, 255, 0.2);
      border-radius: 10px;
      padding-left: 8px;
      padding-right: 9px;
      margin-right: 5px;
      margin-top: 5px;
      padding-bottom: 2px;
      height: 22px;
    }
    .search-param-remove {
      color: #a79a9f;
    }
  }
}

.search-container > div.search-results {
  display: flex;
  flex-wrap: wrap;
  grid-area: search-results;
  flex-direction: row;
  min-height: 580px;
  padding-top: 20px;
  justify-content: center;
  .search-result {
    display: grid;
    grid-template-areas: "image" "title";
    grid-template-rows: 300px auto auto;
    width: 360px;
    height: 400px;
  }
  .search-result > div.image {
    grid-area: image;
    img {
      max-height: 300px;
      max-width: 300px;
      border-radius: 5px;
    }
    position: relative;
    display: flex;
    margin: auto;
    .pages-icon {
      position: absolute;
      bottom: -30px;
      right: -74px;
      height: 120px;
      width: 300px;
      scale: 50%;
      background-image: url("../symbols/pages-icon.png");
      background-position: bottom right;
      background-repeat: no-repeat;
    }
    .explicit-icon {
      position: absolute;
      bottom: -8px;
      left: -14px;
      height: 60px;
      width: 60px;
      scale: 50%;
      background-image: url("../symbols/explicit-icon.png");
      background-position: bottom right;
      background-repeat: no-repeat;
    }
    .page-count {
      position: absolute;
      bottom: 20px;
      right: 18px;
      text-align: center;
      color: black;
      width: 19px;
    }
  }
  .search-result > div.title {
    grid-area: title;
    text-align: center;
    margin: auto;
    height: 50px;
    width: 300px;
    visibility: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    .submission-title {
      font-size: 12px;
      overflow: hidden;
      word-wrap: normal;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 280px;
      margin: auto;
    }
    .submission-artist {
      font-size: 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 300px;
      margin: auto;
    }
    a {
      color: var(--font-color);
      text-decoration: underline;
    }
    a:hover {
      color: var(--link-color);
    }
  }
}

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

.flex-row {
  display: flex;
  flex-direction: row;
}

.align-items-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
  align-content: flex-start;
}

#file-select-button-label {
  font-size: 13px;
  margin-left: 5px;
  height: 17px;
}

.upload-page-container {
  display: flex;
  flex-direction: column;
  gap: 20px;

  #new-user-notice {
    width: 400px;
    margin: auto;
  }
}

.upload-page-container > div.type-uploader-container {
  display: flex;
  flex-direction: column;
  grid-area: type-uploader-container;
  width: 1200px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;

  @media screen and (max-width: 1199px) {
    width: auto;
  }
}

.type-uploader {
  display: grid;
  grid-template-areas: "type uploader";
  grid-template-columns: 150px auto;
  height: 65px;
  margin: auto;
  gap: 10px;
}

.type-uploader > div.type {
  grid-area: type;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 0px;

  .type-input {
    margin: auto;
  }
}

.type-uploader > div.uploader {
  grid-area: uploader;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;

  .upload-input {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
  }
  .upload-button {
    margin-left: 15px;
    margin-top: 5px;
  }
}

.thumbnail-upload-container {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.thumbnail-upload-preview {
  width: 300px;
  height: 300px;
  margin: auto;
  cursor: pointer;
  display: flex;

  #uploaded-thumbnail {
    img {
      max-width: 300px;
      max-height: 300px;
      display: none;
      margin: auto;
    }
  }

  #uploaded-character-thumbnail {
    max-width: 300px;
    max-height: 300px;
    display: none;
    margin: auto;
  }
}

.icon-upload-preview {
  width: 240px;
  height: 240px;
}

.thumbnail-upload-preview-blank {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgb(0, 0, 0, 0.7);

  #upload-icon {
    width: 15px;
    filter: invert(100%);
    margin: auto;
  }
}

.icon-upload-preview-blank {
  width: 240px;
  height: 240px;
}

.upload-page-container > div.uploaded-content {
  grid-area: uploaded-content;
  flex-direction: column;
  display: flex;
  min-height: 400px;
  width: 1200px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;

  @media screen and (max-width: 1199px) {
    width: auto;
  }
  .content-container {
    height: 100%;
    min-height: 300px;
    width: 100%;
    justify-content: center;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    box-sizing: border-box;
  }
  .content {
    display: grid;
    grid-template-areas: "image" "remove" "order";
    grid-template-rows: 300px 40px 20px;
    width: 360px;
    height: 360px;
    margin: 20px;
  }
  .content > div.image {
    grid-area: image;
    img {
      max-height: 300px;
      max-width: 300px;
    }
    position: relative;
    display: flex;
    margin: auto;
  }

  .content > div.order {
    grid-area: order;
    text-align: center;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: row;

    .order-button {
      height: 20px;
      width: 20px;
      filter: invert(100%);
      margin: 5px;
      pointer-events: none;
    }
  }

  .content > div.remove {
    grid-area: remove;
    text-align: center;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: row;
  }
}

.upload-page-container > div.character-details {
  grid-area: character-details;
  display: grid;
  grid-template-areas:
    "title title title"
    "subtitle subtitle subtitle"
    "name url short-details"
    "long-details long-details short-details";
  grid-template-columns: auto auto 420px;
  grid-template-rows: auto auto 130px auto;
  width: 1200px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;

  @media screen and (max-width: 1199px) {
    width: auto;
    grid-template-areas:
      "title"
      "subtitle"
      "name"
      "url"
      "short-details"
      "long-details";
    grid-template-columns: auto;
  }
}

.character-details > div {
  margin: 0;
}

.character-details > div.title {
  grid-area: title;
}

.character-details > div.subtitle {
  grid-area: subtitle;
}

.character-details > div.name {
  grid-area: name;
  width: auto;
}

.character-details > div.url {
  grid-area: url;
  width: auto;
}

.character-details > div.short-details {
  grid-area: short-details;
  width: auto;
}

.character-details > div.long-details {
  grid-area: long-details;
  width: auto;
}

.upload-page-section-title {
  text-align: center;
  font-size: 35px;
  font-weight: 400;
  font-family: var(--serif-font);
  font-weight: bold;
  text-shadow: 1px 1px 2px black, 0 0 1em rgb(255, 255, 255, 0.5),
    0 0 0.2em rgb(255, 255, 255, 0.5);
}

.upload-page-section-subtitle {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-style: italic;
  text-shadow: 1px 1px 2px black, 0 0 1em rgba(0, 0, 0, 0.5),
    0 0 0.2em rgb(255, 255, 255, 0.5);
}

.upload-details-single-input-section {
  height: auto;
  display: flex;
  margin: auto;
  flex-direction: column;
  .upload-details-single-input-section-label {
    margin: auto;
    margin-bottom: 10px;
  }

  .upload-details-single-input-section-textbox {
    margin: auto;
    text-align: center;
    padding: 10px;
    color: var(--font-color);
    margin-bottom: 10px;
  }

  a {
    color: var(--font-color);
  }
  a:hover {
    color: var(--link-color);
  }

  .checkbox-label {
    display: block;
    margin-left: 25px;
    margin-top: -24px;
    margin-bottom: 10px;
  }

  @media screen and (max-width: 992px) {
    font-size: 20px;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    top: -250px;
    left: 390px;
    background-color: rgb(13, 13, 13);
    color: #ebebeb;
    text-align: left;
    padding: 5px;
    border-radius: 6px;
    font-weight: 300;
    font-size: 14px;

    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    z-index: 1;
    .special {
      color: var(--link-color);
    }
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .tooltip-footnote {
    font-size: 12px;
    font-style: italic;
  }
}

.submission-page-done-button-container {
  margin: auto;
  display: block;

  #done-button {
    margin-top: 1px;
    font-size: 18px;
    width: 96px;
    height: 40px;
  }
}

.upload-page-done-button-container {
  margin: auto;
  display: flex;
  margin-top: 10px;

  #done-button {
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 30px;
    width: 120px;
    height: 60px;
    font-weight: 900;
    color: white;
    text-shadow: 1px 1px 2px black, 0 0 1em rgb(255, 255, 255, 0.5),
      0 0 0.2em rgb(255, 255, 255, 0.5);
  }

  #done-button:hover {
    box-shadow: 1px 1px 2px rgb(0, 0, 0, 0.2), 0 0 1em rgb(255, 255, 255, 0.5),
      0 0 0.2em rgb(255, 255, 255, 0.5);
  }
}

.textarea-label {
  margin: auto;
  margin-bottom: 10px;
  margin-top: 10px;
}

.textarea-submit-button-container {
  margin: auto;
  margin-top: 20px;
  margin-bottom: 10px;
}

.textarea-preview {
  overflow-wrap: anywhere;
}

.margin-auto {
  margin: auto;
}
.textarea-sublabel {
  margin: auto;
  margin-bottom: 10px;
  font-size: 12px;
}

.textarea-container {
  width: 700px;
  height: auto;
  display: flex;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-direction: column;

  textarea {
    background-color: var(--textbox-background);
    color: var(--font-color);
    font-family: monospace;
    border-color: var(--textbox-border);
    border-style: solid;
    border-radius: 5px;
  }
}

.tag-input-section {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 20px;

  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.submission-visibility-subsection {
  margin-top: 20px;
}

.section-header {
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.section-subheading {
  margin-left: 60px;
  margin-right: 60px;
  margin-top: 0px;
  font-size: 11px;
  text-align: center;
  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.custom-details-short-container {
  display: flex;
  flex-direction: column;
  width: 400px;
  margin: auto;
  margin-top: 0px;
  hr {
    height: 1px;
    width: 100%;
    border: none;
    background-color: var(--hr-color-lite);
  }
}

.custom-details-list {
  display: flex;
  flex-direction: column;
}

.custom-detail-short-container {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  margin-bottom: 5px;
  .title-textbox {
    width: 22%;
    margin: auto;
    text-align: center;
  }
  .content-textbox {
    width: 52%;
    margin: auto;
    text-align: center;
    margin-right: 10px;
  }
  .remove {
    height: auto;
    width: auto;
  }
}

.custom-details-add-button {
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.custom-details-long-container {
  display: flex;
  flex-direction: column;
  width: 600px;
  margin: auto;
  margin-bottom: 20px;
  .section-header {
    margin-bottom: 20px;
  }
  .section-header {
    margin: auto;
    margin-top: 10px;
    text-align: center;
  }
  .section-subheading {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 10px;
    font-size: 11px;
    text-align: center;
    @media screen and (max-width: 992px) {
      font-size: 20px;
    }
  }
  .textbox-container {
    margin: auto;
  }
  hr {
    height: 1px;
    width: 100%;
    border: none;
    background-color: var(--hr-color-lite);
  }
}

.custom-detail-long-container {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  .title-textbox {
    width: 174px;
    text-align: center;
    margin-bottom: 10px;
  }
  .content-textbox {
    width: 250px;
    margin: auto;
    text-align: center;
    margin-bottom: 5px;
  }
  .remove {
    margin: auto;
    margin-bottom: 20px;
  }
}

.textarea-input {
  margin: auto;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  max-width: 620px;
  min-width: 620px;
  font-family: monospace;
}

.textarea-limit {
  margin: 5px;
  margin-left: 15px;
  margin-top: 19px;
  font-size: 10px;
  font-style: italic;
  color: var(--font-color);

  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.url-setter-container {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  margin-bottom: 10px;
  .url-start {
    margin-top: 4px;
    margin-left: 22px;
  }
  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.url-setter-ok {
  height: 20px;
  width: 20px;
  filter: invert(48%) sepia(79%) saturate(300%) hue-rotate(110deg)
    brightness(118%) contrast(119%);
  display: none;
  position: absolute;
  right: 10px;
  top: 85px;
  @media screen and (max-width: 1199px) {
    right: 70px;
    top: 76px;
  }
  @media screen and (max-width: 992px) {
    right: 130px;
    top: 125px;
  }
}

.url-setter-error {
  height: 20px;
  width: 20px;
  filter: invert(48%) sepia(79%) saturate(2000%) hue-rotate(330deg)
    brightness(118%) contrast(119%);
  display: none;
  position: absolute;
  right: 25px;
  top: 76px;
}

.character-url-textbox {
  width: 180px;
  margin-right: 25px;
}

.textarea-format-options {
  display: flex;
  flex-direction: row;
  margin: 5px;
}

.textarea-format-options-group {
  display: flex;
  flex-direction: row;
  margin-left: 25px;
}

.textarea-button-wrapper {
  cursor: pointer;
}

.textarea-button {
  height: 20px;
  width: 20px;
  margin: 3px;
  filter: var(--textarea-button);
  pointer-events: none;
}

.textarea-format-preview-button {
  font-size: 10px;
  font-style: italic;
  text-align: right;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
  margin-left: 45px;
  cursor: pointer;

  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.textarea-link-input {
  margin: 20px;
  display: flex;
  flex-direction: row;
}

.textarea-link-input-textbox {
  width: 348px;
}

.textarea-link-input-button {
  width: 50px;
  margin-left: 5px;
}

.upload-page-container > div.submission-details {
  display: grid;
  grid-template-areas:
    "title title"
    "subtitle subtitle"
    "submission-title tags"
    "description tags"
    "options tags";
  width: 1200px;
  grid-template-columns: auto 400px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  @media screen and (max-width: 1199px) {
    grid-template-areas:
      "title"
      "subtitle"
      "submission-title"
      "description"
      "tags"
      "options";
    grid-template-columns: auto;
    width: auto;
  }
}

.submission-details > div {
  margin: 0px;
}

.submission-details > div.title {
  grid-area: title;
  width: auto;
}
.submission-details > div.subtitle {
  grid-area: subtitle;
}
.submission-details > div.submission-title {
  grid-area: submission-title;
}
.submission-details > div.tags {
  grid-area: tags;
  .textarea-input {
    max-width: 300px;
    min-width: 300px;
  }
  width: auto;
}

.submission-details > div.description {
  grid-area: description;
  width: auto;
  .textarea-input {
    min-height: 420px;
  }
}

.submission-details > div.options {
  grid-area: options;
  width: auto;
}

.submission-page-container {
  display: grid;
  grid-template-areas:
    "image"
    "other-images"
    "character-sheet-container"
    "description"
    "comments"
    "comment-box";
  grid-template-columns: auto;
  max-width: 1870px;
  margin-left: auto;
  margin-right: auto;
}

.submission-page-container > div.image {
  display: flex;
  flex-direction: row;
  grid-area: image;
  margin: auto;

  img {
    width: 100%;
    max-height: 80vh;
  }
}

.submission-page-container > div.other-images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  grid-area: other-images;
  margin: auto;
  margin-top: 20px;
  max-width: 1200px;
}

.submission-page-image-option-container {
  width: 120px;
  height: 120px;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
  cursor: pointer;
  img {
    max-width: 120px;
    max-height: 120px;
    margin: auto;
  }
}

.image-shadow {
  filter: drop-shadow(1px 1px 2px black) drop-shadow(0 0 1em rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 0.2em rgba(0, 0, 0, 0.5));
}

.image-shadow-small {
  filter: drop-shadow(1px 1px 2px black);
}

.image-shadow-selected {
  filter: drop-shadow(1px 1px 2px black)
    drop-shadow(0 0 1em rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.5));
}

.submission-page-container > div.character-sheet-container {
  display: grid;
  grid-template-areas:
    "name name"
    "long-fields short-fields";
  grid-template-columns: 1fr 350px;
  grid-template-rows: 50px 1fr;
  gap: 10px;
  width: 1200px;
  margin: auto;
}

.character-sheet-container > div.name {
  grid-area: name;
  font-size: 36px;
  font-family: var(--serif-font);
  hr {
    margin-top: 0px;
  }
}

.character-sheet-container > div.long-fields {
  display: flex;
  flex-direction: column;
  grid-area: long-fields;
  gap: 10px;
}

.character-sheet-container > div.short-fields {
  display: flex;
  flex-direction: column;
  grid-area: short-fields;
  gap: 5px;

  .character-name {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
  }

  .character-thumbnail-container {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 310px;

    .thumbnail-image {
      display: flex;
      flex-direction: row;
      justify-content: center;
      margin: auto;

      img {
        max-width: 300px;
        max-height: 300px;
        margin: auto;
        border-radius: 5px;
      }
    }
  }

  table {
    text-align: left;
    width: fit-content;
    border-spacing: 5px;
    margin-left: 20px;
    margin-right: 20px;
  }
  td {
    word-wrap: break-word;
  }
  th {
    max-width: 100px;
  }
}

.character-sheet-container > div.long-fields {
  .character-sheet-long-field {
    .character-sheet-long-field-label {
      font-size: 18px;
      font-weight: bold;
      margin-top: 14px;
      margin-bottom: 6px;
    }
  }
}

.submission-page-container > div.description {
  display: flex;
  flex-direction: column;
  grid-area: description;
  margin: auto;
  width: 100%;
  margin-top: 20px;
  max-width: 1200px;
}

.submission-page-description-container {
  display: flex;
  flex-direction: column;

  .options-ellipses {
    width: 30px;
    height: 30px;
    background-color: rgba(4, 3, 18, 0.5);
    text-align: center;
    border-radius: 30px;
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 0px;
    right: 5px;
    position: absolute;
    font-size: 15px;
  }
  .title {
    font-size: 35px;
    font-weight: 800;
    font-family: var(--serif-font);
    font-weight: bold;
    text-align: center;
    height: 52px;
  }
  hr {
    height: 1px;
    width: 100%;
    border: none;
    background-color: var(--hr-color-lite);
    margin-top: 0;
  }
  .pools-container {
    display: flex;
    flex-direction: column;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(229, 235, 254, 0.05) 100%
    );
    img {
      max-width: 60px;
      max-height: 60px;
    }
  }
  .pool-container {
    margin: auto;
    margin-bottom: 10px;

    display: flex;
    flex-direction: column;
  }
  .pools-title {
    font-size: 20px;
    text-align: center;
    margin: auto;
    color: rgb(255, 255, 255, 0.4);
  }
  .pools-navigator {
    display: flex;
    flex-direction: row;
    margin: auto;
  }
  .pools-navigator-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
    margin-left: 20px;
    margin-right: 20px;
    .count {
      font-size: 10px;
      color: rgb(255, 255, 255, 0.4);
    }
    a {
      color: var(--font-color);
    }
    a:hover {
      color: var(--link-color);
    }
  }

  .link {
    a {
      font-size: 12px;
      font-style: italic;
      text-decoration: none;
      color: var(--link-color);
    }
  }

  #submission-options {
    border-radius: 10px;
    padding: 5px;
  }

  #save-submission {
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 0px;
    right: 50px;
    position: absolute;
    font-size: 24px;
    font-style: italic;
    color: var(--link-color);
    display: none;
  }

  #cancel-edit {
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 9px;
    right: 162px;
    position: absolute;
    font-size: 18px;
    font-style: italic;
    color: var(--link-color-alt);
    display: none;
  }

  .edit-tags-container {
    width: 95%;
    margin-bottom: 10px;
    display: none;
    flex-direction: row;

    .textbox {
      width: 33%;
    }

    .results-container {
      -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 0)
      );
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: left;
      overflow: hidden;
      white-space: nowrap;
      margin-left: 10px;
    }
  }
}

.submission-page-description-artist-container {
  display: flex;
  flex-direction: row;
  margin-left: 10px;
  margin-top: 10px;
}

.submission-page-description-artist-image {
  display: flex;
  flex-direction: column;
  max-width: 60px;
  max-height: 60px;
  img {
    max-width: 60px;
    max-height: 60px;
  }
}

.submission-page-description-artist-name-date {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  margin-left: 10px;
  .artist-name-container {
    display: flex;
    flex-direction: row;
    .artist-name {
      font-size: 20px;
      height: 24px;
      font-weight: 800;
      a {
        color: var(--font-color);
      }
    }
    .commission-status {
      font-size: 12px;
      color: green;
      margin-left: 2px;
      font-style: italic;
    }
  }
  .artist-links {
    display: flex;
    flex-direction: row;
    font-size: 10px;
    a {
      text-decoration: none;
      color: rgb(255, 255, 255, 0.4);
      margin-right: 5px;
      margin-top: 2px;
    }
    a:hover {
      color: var(--link-color);
    }
  }
  .date {
    font-size: 12px;
    margin-top: 5px;
    color: rgb(255, 255, 255, 0.6);
  }
}

.submission-page-description-artist-options {
  display: flex;
  flex-direction: row;
  position: absolute;
  right: 15px;
  .favorite-icon-wrapper {
    cursor: pointer;
    .favorite-icon {
      margin-left: 5px;
      margin-top: -8px;
      width: 22px;
      filter: invert(100%);
      pointer-events: none;
    }
    .clicked {
      filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(20deg)
        brightness(150%) contrast(119%)
        drop-shadow(0 0 1em rgba(255, 255, 255, 0.5))
        drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.5));
    }
  }
  a {
    color: var(--font-color);
  }
  .favorites-text {
    margin-left: 10px;
    text-decoration: dotted;
  }
}

.submission-page-description-text {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.submission-page-edit-description-text {
  display: none;
  .textarea-input {
    max-width: 95%;
    min-width: 95%;
    width: 95%;
  }
}

.submission-page-description-tags-tagged-container {
  display: flex;
  width: 100%;
  flex-direction: row;

  .char-sheet-search-container {
    position: relative;
    margin-top: 5px;
  }
}

.submission-page-description-tags-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-left: 10px;
  margin-bottom: 10px;
}

.submission-page-description-tags-label {
  font-style: italic;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: rgb(255, 255, 255, 0.6);
}

.submission-page-description-tags-sublabel {
  font-size: 16px;
  font-weight: 200;
  color: rgb(255, 255, 255, 0.8);
  overflow: hidden;
}

.submission-page-description-tags-tags {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 10px;
  height: auto;
  gap: 6px;
}

.submission-page-description-tags-tags-tag {
  display: flex;
  flex-direction: row;
  background-color: rgb(255, 255, 255, 0.2);
  border-radius: 10px;
  padding-left: 8px;
  padding-right: 9px;
  height: 20px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.254);
  border-style: outset;
  .tag-add {
    color: #a79a9f;
    background-color: rgba(120, 117, 117, 0.4);
    border-radius: 12px;
    text-align: center;
    margin-right: 5px;
    width: 17px;
    height: 16px;
    margin-top: 1px;
    cursor: pointer;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.254);
    border-style: outset;
  }
  .tag-add:hover {
    background-color: rgba(16, 229, 115, 0.72);
    color: lightgreen;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.647);
  }
  .tag-add-clicked {
    background-color: rgba(16, 229, 115, 0.72);
    color: lightgreen;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.647);
  }
  .tag-add-clicked:hover {
    background-color: rgba(16, 229, 115, 0.384);
    color: rgba(144, 238, 144, 0.493);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.274);
  }
  .tag-add-sign {
    margin: auto;
    margin-top: -2px;
  }
  .tag-remove {
    color: #a79a9f;
    background-color: rgba(120, 117, 117, 0.4);
    border-radius: 12px;
    text-align: center;
    margin-right: 5px;
    width: 17px;
    height: 16px;
    margin-top: 1px;
    cursor: pointer;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.254);
    border-style: outset;
  }
  .tag-remove:hover {
    background-color: rgba(253, 81, 55, 0.82);
    color: pink;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.647);
  }
  .tag-remove-clicked {
    background-color: rgba(253, 81, 55, 0.82);
    color: pink;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.647);
  }
  .tag-remove-clicked:hover {
    background-color: rgba(253, 81, 55, 0.452);
    color: rgba(255, 192, 203, 0.5);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.267);
  }
  .tag-remove-sign {
    margin: auto;
    margin-top: -1.5px;
  }
  .tag-count {
    color: #a79a9f;
    font-style: italic;
    margin-left: 3px;
    margin-top: 3px;
    font-size: 11px;
  }
}

.submission-page-description-tags-tags-tag:hover {
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.submission-page-description-tagged-container {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.submission-page-container > div.comments {
  display: flex;
  flex-direction: column;
  width: 100%;
  grid-area: comments;
  max-width: 1200px;
  margin: auto;
}

.comments-section-label {
  font-size: 24px;
  height: 20px;
  margin-left: 20px;
  font-weight: bold;
  font-style: italic;
  color: var(--hr-color);

  @media screen and (max-width: 992px) {
    font-size: 20px;
  }
}

.submission-page-container > div.comment-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  grid-area: comment-box;
}

.options-menu {
  position: absolute;
  top: 45px;
  right: 2px;
  width: 175px;
  border-radius: 10px !important;
  flex-direction: column;
  text-align: left;
  a {
    color: var(--font-color);
    text-decoration: none;
  }
  padding: 5px;
  .menu-item {
    padding: 5px;
  }
  .menu-item:hover {
    cursor: pointer;
    background-color: rgb(255, 255, 255, 0.2);
    border-radius: 5px;
  }
  hr {
    margin-top: 8px;
  }
  z-index: 999;
}

.user-page-options-menu {
  top: -20px;
  border-radius: 10px !important;
  padding: 5px !important;
}

.login-page-container {
  height: 71vh;
  margin-top: 112px;
}

#login-box {
  border-width: 5px;
  border-color: var(--font-color);
  background: linear-gradient(
    var(--gradient-1),
    var(--gradient-2) 40%,
    var(--gradient-3) 80%,
    var(--bg-color)
  );
  border-radius: 5px;
  #sign-up-link {
    margin-left: 45px;
  }

  @media screen and (min-width: 320px) {
    a {
      font-size: 15px;
      color: var(--link-color);
    }
    #login-site-logo {
      scale: 0.15;
      position: absolute;
      margin-top: -294px;
      margin-left: -1033px;
      top: 50%;
      left: 50%;
      display: flex;
    }
    #char1 {
      visibility: collapse;
      width: 0%;
    }
    #char2 {
      visibility: collapse;
      width: 0%;
    }
    width: 90vw;
    height: 300px;
    position: absolute;
    margin-top: -300px;
    top: 50%;
    display: flex;
    form {
      margin-top: 20px;
      margin-right: 0px;
      label {
        font-size: 20px;
      }
      input {
        margin-bottom: 15px;
        border-radius: 5px;
        font-size: 25px;
      }
      #login-button {
        font-size: 20px;
        color: black;
      }
      .form-input {
        width: 80vw;
      }
    }
    .error-message {
      font-size: 15px;
      font-style: italic;
      color: #f28296;
      position: absolute;
      visibility: hidden;
      margin-left: 10px;
      margin-top: 3px;
      width: 350px;
    }
    label {
      font-size: 20px;
    }
    #advisory {
      @media screen and (min-width: 320px) {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -163px;
        margin-top: 108px;
      }
    }
    justify-content: center;
  }

  @media screen and (min-width: 640px) {
    a {
      font-size: 15px;
      color: var(--link-color);
    }
    #login-site-logo {
      scale: 0.15;
      position: absolute;
      margin-top: -355px;
      margin-left: -1033px;
      top: 50%;
      left: 50%;
    }
    #char1 {
      visibility: collapse;
      width: 0%;
    }
    #char2 {
      visibility: collapse;
      width: 0%;
    }
    width: 90vw;
    height: 400px;
    position: absolute;
    margin-top: -300px;
    margin-left: 0px;
    top: 50%;
    display: flex;
    form {
      margin-top: 20px;
      margin-right: 0px;
      input {
        margin-bottom: 15px;
        border-radius: 5px;
        font-size: 40px;
      }
      #login-button {
        font-size: 20px;
        color: black;
      }
      .form-input {
        width: 80vw;
      }
    }
    .error-message {
      font-size: 15px;
      font-style: italic;
      color: #f28296;
      position: absolute;
    }
    label {
      font-size: 20px;
    }
    #advisory {
      @media screen and (min-width: 640px) {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -170px;
        margin-top: 130px;
      }
    }
    justify-content: center;
  }

  @media screen and (min-width: 992px) {
    a {
      font-size: 10px;
      color: var(--link-color);
    }
    #login-site-logo {
      scale: 0.45;
      position: absolute;
      margin-top: -408px;
      margin-left: -66px;
      top: 50%;
      left: 50%;
      display: flex;
    }
    #char1 {
      visibility: visible;
      position: absolute;
      top: 50%;
      left: 50%;
      width: auto;
      margin-top: -901px;
      margin-left: -802px;
      scale: 0.4;
    }
    #char2 {
      visibility: visible;
      position: absolute;
      top: 50%;
      left: 50%;
      width: auto;
      margin-top: -940px;
      margin-left: -689px;
      scale: 0.4;
    }
    width: 800px;
    border-radius: 5px;
    height: 200px;
    position: absolute;
    margin-top: -50px;
    margin-left: -400px;
    top: 50%;
    left: 50%;
    display: flex;
    .error-message {
      font-size: 10px;
      font-style: italic;
      color: #f28296;
      position: absolute;
      margin-top: 5px;
    }
    form {
      margin-top: 10px;
      margin-right: 50px;
      width: 225px;
      label {
        font-size: 14px;
      }
      input {
        margin-bottom: 10px;
        border-radius: 5px;
        font-size: 16px;
      }
      .form-input {
        width: 220px;
      }
    }
    #advisory {
      @media screen and (min-width: 992px) {
        position: absolute;
        margin-top: 68px;
        margin-left: 126px;
        top: 50%;
        left: 50%;
        display: flex;
        font-size: 10px;
        font-style: italic;
      }
    }
    justify-content: right;
  }
}

#sign-up-box {
  .tooltip {
    position: relative;
    display: inline-block;
  }

  #access-key {
    font-family: var(--main-font);
    font-feature-settings: "ss02" 1, "cv10" 1, "ss07" 1;
    color: var(--link-color);
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    position: absolute;
    z-index: 1;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  border-width: 5px;
  border-color: var(--font-color);
  background: linear-gradient(
    var(--gradient-1),
    var(--gradient-2) 40%,
    var(--gradient-3) 80%,
    var(--bg-color)
  );

  @media screen and (min-width: 320px) {
    a {
      font-size: 15px;
      color: var(--link-color);
    }
    .checkbox {
      width: 35px;
      height: 35px;
    }
    #tos-link {
      font-size: 20px;
    }
    #sign-up-button {
      margin-top: 25px;
    }
    #sign-up-site-logo {
      position: absolute;
      margin-top: -495px;
      margin-left: -1016px;
      top: 50%;
      left: 50%;
      display: flex;
    }
    width: 90vw;
    border-radius: 5px;
    height: 650px;
    position: absolute;
    margin-top: -350px;
    top: 50%;
    display: flex;
    form {
      margin-top: 10px;
      margin-left: 0px;
      label {
        font-size: 20px;
      }
      input {
        margin-bottom: 10px;
        border-radius: 5px;
        font-size: 40px;
      }
      .form-input {
        width: 80vw;
      }
      .checkbox-error-message {
        font-size: 15px;
        font-style: italic;
        color: #f28296;
        position: absolute;
        visibility: hidden;
        margin-top: 25px;
      }
      .error-message {
        font-size: 15px;
        font-style: italic;
        color: #f28296;
        position: absolute;
        visibility: hidden;
        margin-left: 10px;
        margin-top: 3px;
        width: 350px;
      }
    }
    justify-content: center;
  }

  @media screen and (min-width: 640px) {
    a {
      font-size: 20px;
      color: var(--link-color);
    }
    #tos-link {
      font-size: 30px;
    }
    #sign-up-button {
      margin-top: 25px;
    }
    #sign-up-site-logo {
      position: absolute;
      margin-top: -495px;
      margin-left: -1016px;
      top: 50%;
      left: 50%;
      display: flex;
    }
    width: 90vw;
    border-radius: 15px;
    height: 650px;
    position: absolute;
    margin-top: -350px;
    top: 50%;
    display: flex;
    form {
      margin-top: 10px;
      margin-right: 0px;
      label {
        font-size: 30px;
      }
      input {
        margin-bottom: 10px;
        border-radius: 5px;
        font-size: 40px;
      }
      .form-input {
        width: 80vw;
      }
      .checkbox-error-message {
        font-size: 15px;
        font-style: italic;
        color: #f28296;
        position: absolute;
        margin-top: 25px;
      }
      .error-message {
        font-size: 15px;
        font-style: italic;
        color: #f28296;
        position: absolute;
      }
    }

    justify-content: center;
  }

  @media screen and (min-width: 992px) {
    a {
      font-size: 10px;
      color: var(--link-color);
    }
    .checkbox {
      width: 12px;
      height: 12px;
    }
    #tos-link {
      font-size: 14px;
      margin-top: 2px;
      margin-left: 5px;
      position: absolute;
    }
    #sign-up-button {
      margin-top: 25px;
    }

    #sign-up-site-logo {
      position: absolute;
      margin-top: -425px;
      margin-left: -75px;
      top: 50%;
      left: 50%;
      display: flex;
    }
    width: 500px;
    border-radius: 5px;
    height: 550px;
    position: absolute;
    margin-top: -300px;
    margin-left: -250px;
    top: 50%;
    left: 50%;
    display: flex;
    form {
      margin-top: 10px;
      margin-right: 5px;
      width: 400px;
      label {
        font-size: 14px;
      }
      input {
        margin-bottom: 10px;
        border-radius: 5px;
        font-size: 16px;
      }
      .form-input {
        width: 300px;
      }
      .checkbox-error-message {
        font-size: 10px;
        font-style: italic;
        color: #f28296;
        position: absolute;
        margin-top: 22px;
      }
      .error-message {
        font-size: 10px;
        font-style: italic;
        color: #f28296;
        position: absolute;
        margin-top: 5px;
      }
    }
    justify-content: right;
  }
}

.section-header {
  @media screen and (max-width: 992px) {
    font-size: 24px;
  }
}

.labeled-textbox-container {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  input {
    height: 25px;
    border-radius: 5px;
    text-align: left;
    border-width: 1px;
    border-color: rgb(127, 127, 127, 0.4);
    resize: none;
    font-family: var(--main-font);
  }
  input:focus {
    outline: none !important;
    border-color: rgb(127, 127, 127, 0.4);
  }

  .field-error {
    color: red;
    font-style: italic;
    margin-left: 5px;
  }
}

.labeled-textbox-label {
  margin-left: 15px;
  font-size: 12px;
}

.labeled-textbox-superlabel {
  margin-left: 15px;
  font-size: 10px;
  font-style: italic;
  color: var(--hr-color);
}

.account-view-textbox-container {
  max-width: 300px;
  margin: auto;

  hr {
    background-color: var(--hr-color-lite);
    margin-top: 15px;
  }

  .error-container {
    margin-top: 20px;
    color: red;
  }
}

.account-view-button {
  margin-top: 20px;
}

.account-danger-zone-label {
  margin-top: 20px;
  font-style: italic;
  color: var(--link-color-alt);
  font-size: 12px;
  cursor: pointer;
}

.account-danger-zone-text {
  margin-top: 6px;
  margin-left: 8px;
  font-style: italic;
  font-size: 12px;
}

.account-settings-user-icon-container {
  display: flex;
  flex-direction: column;
  width: 140px;
  height: 166px;
  margin: 10px;

  .icon-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    margin-top: 10px;

    img {
      max-width: 120px;
      max-height: 120px;
    }
  }

  .set-current-button {
    margin: auto;
    position: absolute;
    bottom: 10px;
    left: 38px;
  }
}

.new-journal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: 800px;

  margin-left: auto;
  margin-right: auto;

  gap: 0;

  .title-container {
    margin: auto;
    margin-top: 20px;

    #title {
      font-size: 20px;
      font-family: var(--serif-font);
      width: 400px;
      text-align: center;
    }
  }

  #post-button {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--link-color);
    cursor: pointer;
    font-size: 20px;
    color: white;
  }

  #textarea-preview-new_journal {
    min-height: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
  }

  .textarea-container {
    margin-top: 0;

    .textarea-input {
      min-height: 400px;
    }
  }

  .options-container {
    width: 400px;
  }
}

.journal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;

  #journal-title-container {
    margin: auto;
    font-size: 24px;
    font-family: var(--serif-font);
    text-align: center;
    display: flex;
    flex-direction: row;
    max-width: 768px;
  }

  .journal-icon-container {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    margin: auto;

    a {
      max-width: 100%;
      max-height: 100%;
      margin: auto;
      #user-icon {
        max-width: 100%;
        max-height: 100%;
        border-radius: 5px;
      }
    }
  }

  #journal-username-container {
    margin: auto;
    font-size: 10px;
    font-style: italic;
  }

  #edit-journal-title-container {
    margin: auto;
    display: none;
    #edit-title {
      font-size: 20px;
      font-family: var(--serif-font);
      width: 400px;
      text-align: center;
    }
  }

  #edit-button {
    margin: auto;
    color: var(--link-color);
    cursor: pointer;
  }

  #delete-button {
    margin: auto;
    color: var(--notification-color);
    cursor: pointer;
  }

  #save-button {
    margin: auto;
    margin-top: 20px;
    color: var(--link-color);
    cursor: pointer;
    display: none;
    color: white;
  }

  .date-container {
    margin: auto;
    font-size: 12px;
    font-style: italic;
    width: 400px;
    text-align: center;
  }

  #text-container {
    width: 768px;
    padding: 24px;
  }

  #edit-text-container {
    width: 768px;
    display: none;
    margin: auto;
    margin-top: 0;
    .textarea-input {
      min-height: 400px;
    }
  }

  .options-container {
    width: 400px;
  }

  #visibility-comment-options {
    display: none;
  }
  .comments {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: auto;
  }
}

.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  backdrop-filter: blur(10.5px);
  -webkit-backdrop-filter: blur(10.5px);
}

/* Modal Content/Box */
.modal-content {
  background-color: var(--bg-color);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 450px; /* Could be more or less, depending on screen size */
  color: var(--font-color);

  .modal-warning {
    margin-bottom: 20px;
    font-weight: bold;
  }
}

.user-page-modal-content {
  .align-right {
    margin-left: auto;
    margin-right: 0;
  }
}

.content-column-radio-button-list-item {
  margin-top: 6px;
  margin-bottom: 6px;
}

.content-column-radio-button-label {
  margin-top: -20px;
  display: block;
  margin-left: 25px;
  font-weight: 400;
}

.content-column-radio-button-sublabel {
  margin-left: 25px;
  font-weight: 300;
}

.modal-textarea {
  width: 98.5%;
  max-width: 98.5%;
  min-width: 98.5%;
  margin-bottom: 20px;
}

.comment-delete-warning-modal-content {
  display: flex;
  flex-direction: column;

  #comment-delete-warning-text {
    margin: 12px;
    font-size: 12px;
  }

  #comment-delete-warning-reason-prompt {
    font-size: 11px;
    font-style: italic;
    color: var(--hr-color);
  }

  #comment-delete-warning-textarea {
    width: 98.5%;
    max-width: 98.5%;
    min-width: 98.5%;
  }

  #comment-delete-warning-user-icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    margin-top: 12px;

    #comment-delete-warning-user-icon {
      margin: auto;
      max-width: 100%;
      max-height: 100%;
      border-radius: 5px;
    }
  }
}

.tag-settings-container {
  gap: 10px;

  .tag-settings-column {
    display: flex;
    flex-direction: column;

    gap: 10px;

    .title {
      font-size: 20px;
      font-weight: 600;
    }

    .description {
      font-size: 12px;
      font-style: italic;
      width: 350px;
    }

    .tag-input {
      display: flex;
      flex-direction: row;
      gap: 5px;
    }

    .tag-search-results {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 5px;

      .tag-search-result {
        background-color: var(--hr-color-lite);
        border-radius: 10px;
        padding-left: 7px;
        padding-right: 7px;
        cursor: pointer;
      }

      .tag-search-result:hover {
        color: var(--link-color);
      }
    }

    .tags-list {
      display: flex;
      flex-direction: column;
      gap: 3px;

      .tag-list-item {
        display: flex;
        flex-direction: row;
        width: 385px;
        .date {
          font-size: 10px;
          margin: auto;
        }
        .name {
          width: 150px;
          font-size: 12px;
          overflow-wrap: anywhere;
        }

        .remove {
          cursor: pointer;
        }

        .remove:hover {
          color: rgb(255, 156, 172);
        }
      }
    }

    .tag {
      border-radius: 5px;
      padding: 5px;
      gap: 5px;
      font-size: 14px;
      display: flex;
      flex-direction: row;
      align-items: center;
    }

    .blocked-tag {
      background-color: var(--warning-button-background);
    }

    .blocked-tag:hover {
      background-color: var(--warning-button-background-hover);
    }

    .required-tag {
      background-color: var(--go-button-background);
    }

    .required-tag:hover {
      background-color: var(--go-button-background-hover);
    }
  }
}
.notifications-container {
  display: grid;
  grid-template-areas:
    "categories"
    "notifications";
  grid-template-rows: 50px 1fr;
  grid-template-rows: auto;
}

.notifications-container > div.categories {
  grid-area: categories;
  display: flex;
  flex-direction: row;
  margin: auto;
  gap: 50px;
}

.notifications-container > div.notifications {
  grid-area: notifications;
  margin: auto;

  .uploads {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .interactions {
    display: flex;
    flex-direction: column;
  }
  .comments {
    display: flex;
    flex-direction: column;
  }
}

.admin-users-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  .search-column {
    display: flex;
    flex-direction: column;

    table,
    th,
    td {
      border: none;
      border-collapse: collapse;
    }

    .labeled-textbox-container {
      width: 250px;
      margin-bottom: 15px;
    }
  }

  .info-column {
    display: none;
    flex-direction: column;

    .card-container {
      display: flex;
      flex-direction: row;

      .user-icon-container {
        width: 120px;
        height: 120px;
        display: flex;
        flex-direction: column;
        position: relative;
        top: 0;
        left: 0;

        #user-profile-icon {
          margin: auto;
          max-width: 100%;
          max-height: 100%;
          border-radius: 5px;
        }
      }

      .info-container {
        td {
          font-size: 11px;
        }
        .td-value {
          font-style: italic;
          font-weight: 600;
        }
      }
    }
    .ban-reason-container {
      display: none;
      .title {
        font-size: 24px;
        font-weight: bold;
        color: var(--notification-color);
      }
    }
  }
}

.admin-users-row {
  cursor: pointer;
  .id {
    color: var(--hr-color);
  }
  .icon {
    img {
      max-height: 30px;
      max-width: 30px;
    }
  }
  .username {
    font-weight: bold;
  }
  .email {
    max-width: 250px;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  td {
    padding: 5px;
  }
}
.admin-users-row:hover {
  .username {
    color: var(--link-color);
  }
}

.row-light {
  background-color: var(--gradient-1);
}

.row-dark {
  background-color: var(--gradient-2);
}

.pending-submissions-container {
  .pending-submission-container {
    max-width: 300px;
    max-width: 300px;
    .image {
      position: relative;
      display: flex;
      margin: auto;
      .pages-icon {
        position: absolute;
        bottom: -30px;
        right: -74px;
        height: 120px;
        width: 300px;
        scale: 50%;
        background-image: url("../symbols/pages-icon.png");
        background-position: bottom right;
        background-repeat: no-repeat;
      }
      .explicit-icon {
        position: absolute;
        bottom: -8px;
        left: -14px;
        height: 60px;
        width: 60px;
        scale: 50%;
        background-image: url("../symbols/explicit-icon.png");
        background-position: bottom right;
        background-repeat: no-repeat;
      }
      .page-count {
        position: absolute;
        bottom: 20px;
        right: 18px;
        text-align: center;
        color: black;
        width: 19px;
      }
    }
  }
}

.pending-submission-modal-content {
  margin: 2% auto; /* 15% from the top and centered */
  width: 90%;
  height: auto;
  .main-image-container {
    margin: auto;
    width: 90%;
    height: 100%;

    img {
      max-width: 1200px;
      max-height: 1200px;
      width: 100%;
      height: 100%;
      margin: auto;
    }
  }

  #other-images-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-area: other-images;
    margin: auto;
    margin-top: 20px;
    max-width: 1200px;
  }
}

.content-server-li {
  cursor: pointer;
  color: var(--link-color-alt);
}

.content-server-li:hover {
  color: var(--link-color);
}

.gallery-page {
  .gallery {
    display: grid;
    grid-template-areas:
      "gallery-container preview-container"
      "page-numbers preview-container";
    grid-template-columns: 1fr 600px;
  }
}

.notifications-view-container {
  display: flex;
  flex-direction: row;
  padding: 10px;

  .notification-options {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    gap: 14px;
    padding-right: 12px;

    a {
      color: var(--font-color);
    }

    a:hover {
      color: var(--link-color-alt);
    }

    .notification-option {
      cursor: pointer;
    }
    .notification-option:hover {
      color: var(--link-color-alt);
    }
  }
}

.notifications-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.submission-notification-container {
  .submission-notification {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: 350px;
    .image-container {
      margin: auto;
      height: 300px;
      width: 300px;
      display: flex;
      flex-direction: column;

      img {
        max-width: 300px;
        max-height: 300px;
        margin: auto;
        border-radius: 5px;
      }
    }
    .title {
      text-align: center;
      font-size: 14px;
      margin-top: 10px;
    }
    .username {
      margin: auto;
      font-size: 12px;
      color: var(--font-color);
      a {
        color: var(--link-color);
        text-decoration: underline;
      }
    }
    .content-link {
      border-radius: 10px;
      padding: 5px;
      border: 1px solid rgba(255, 255, 255, 0);
    }
    .content-link:hover {
      background-color: var(--hr-color-lite);
      border: 1px solid rgba(255, 255, 255, 0.254);
    }
  }
}

.text-notification-container {
  width: 320px;
  height: 350px;
  display: flex;
  flex-direction: column;
  .text-notification {
    border-radius: 10px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0);
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 3px;

    .icon-title-username-date-container {
      display: flex;
      flex-direction: row;
      gap: 5px;
      .icon-container {
        width: 60px;
        height: 60px;

        img {
          max-width: 100%;
          max-height: 100%;
        }
      }

      .title-username-date-container {
        display: flex;
        flex-direction: column;
        gap: 2px;
        .title {
          font-size: 20px;
          font-weight: 600;
          display: flex;
          flex-direction: row;
        }
        .username {
          font-size: 12px;
          font-style: italic;
          a {
            color: var(--link-color-alt);
          }
        }
        .date {
          font-size: 10px;
          font-style: italic;
          color: var(--hr-color);
        }
      }
    }

    .body {
      font-size: 14px;
      max-height: 100px;
      overflow: hidden;
      padding-bottom: 5px;
      -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 75%,
        rgba(0, 0, 0, 0) 100%
      );
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: left;
    }
  }
}

.new-pool-container {
  display: grid;
  grid-template-areas:
    "new-pool-title new-pool-title"
    "new-pool-options gallery-container";
  grid-template-columns: 350px 1fr;
}

.new-pool-container > div.new-pool-title {
  grid-area: new-pool-title;
  text-align: center;
}

.new-pool-container > div.new-pool-options {
  grid-area: new-pool-options;
  display: flex;
  flex-direction: column;
  align-items: center;

  .cover-container {
    width: 100%;
  }

  .title-container {
    display: flex;
    flex-direction: column;
  }

  .description-container {
    .textarea-input {
      max-width: 300px;
      min-width: 300px;
      height: 250px;
      resize: none;
    }
  }
  .textarea-container {
    width: 350px;
  }
}

.new-pool-selection > div.new-pool-pages {
  grid-area: new-pool-pages;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.pool-page {
  display: grid;
  grid-template-areas:
    "pool-info gallery"
    "comments comments";
  grid-template-columns: 350px 1fr;
}

.pool-page > div.pool-info {
  grid-area: pool-info;
}

.pool-page > div.gallery {
  display: grid;
  grid-area: gallery;
  grid-template-areas:
    "gallery-container preview-container"
    "page-numbers preview-container";
  grid-template-columns: 1fr 600px;
}

.pool-page > div.comments {
  grid-area: comments;
}

.shout-notification-container {
  display: grid;
  grid-template-areas: "image text";
  height: 150px;
  grid-template-columns: 128px 1fr;
  gap: 5px;
  margin: 1px;
  padding: 5px;
  padding-left: 15px;
  border-radius: 5px;
  background-color: var(--notification-bg-color);
  cursor: pointer;
  max-width: 920px;
}

.shout-notification-container > div.image {
  display: flex;
  position: relative;
  .image-container {
    display: flex;
    margin: auto;
    img {
      max-width: 120px;
      max-height: 120px;
    }
  }

  .icon-container {
    position: absolute;
    right: -38px;
    top: 2px;

    img {
      max-width: 30px;
      max-height: 30px;
    }
  }
}

.shout-notification-container > div.text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: 15px;

  .title-container {
    color: var(--hr-color);
    font-size: 12px;
    margin-top: 10px;
    margin-left: 38px;
  }
  .text-container {
    .text {
      height: 76px;
      font-size: 14px;
      color: var(--font-color);
      border-radius: 8px;
      padding: 4px;
      overflow: hidden;
      word-wrap: normal;
      text-overflow: ellipsis;
      -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 75%,
        rgba(0, 0, 0, 0) 100%
      );
      -webkit-mask-repeat: no-repeat;
      -webkit-mask-position: left;
      margin-top: 4px;
      overflow-wrap: anywhere;
    }
  }

  .date-container {
    color: var(--hr-color);
    font-size: 10px;
    font-style: italic;
  }
}

.star-fave-notification-container {
  display: grid;
  grid-template-areas: "image text";
  height: 70px;
  grid-template-columns: 80px 1fr;
  gap: 5px;
  margin: 1px;
  padding: 5px;
  padding-left: 15px;
  border-radius: 5px;
  background-color: var(--notification-bg-color);
  cursor: pointer;
}

.star-fave-notification-container > div.image {
  display: flex;
  position: relative;
  .image-container {
    display: flex;
    margin: auto;
    img {
      max-width: 60px;
      max-height: 60px;
    }
  }

  .icon-container {
    position: absolute;
    right: -35px;
    top: 3px;

    img {
      max-width: 30px;
      max-height: 30px;
    }
  }

  .star-container {
    position: absolute;
    left: -3px;
    top: -10px;

    .favorite-icon-wrapper {
      .favorite-icon {
        width: 22px;
        filter: invert(100%);
        pointer-events: none;
      }
      .clicked {
        filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(20deg)
          brightness(150%) contrast(119%) drop-shadow(2px 2px 2px black)
          drop-shadow(0 0 1em rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.5));
      }
    }
  }
}

.star-fave-notification-container > div.text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: 15px;

  .text-container {
    font-size: 14px;
    color: var(--font-color);
    border-radius: 8px;
    padding: 4px;
    overflow: hidden;
    word-wrap: normal;
    text-overflow: ellipsis;
    margin-top: 5px;
    margin-left: 33px;
    overflow-wrap: anywhere;
  }

  .date-container {
    color: var(--hr-color);
    font-size: 10px;
    font-style: italic;
    margin-top: 15px;
  }
}

.star-follow-notification-container {
  display: grid;
  grid-template-areas: "image text";
  height: 70px;
  grid-template-columns: 70px 1fr;
  gap: 5px;
  margin: 1px;
  padding: 5px;
  padding-left: 15px;
  border-radius: 5px;
  background-color: var(--notification-bg-color);
  cursor: pointer;
}

.star-follow-notification-container > div.image {
  display: flex;
  position: relative;
  .image-container {
    display: flex;
    margin: auto;
    img {
      max-width: 60px;
      max-height: 60px;
    }
  }
  .star-container {
    position: absolute;
    left: -3px;
    top: -10px;

    .favorite-icon-wrapper {
      .favorite-icon {
        width: 22px;
        filter: invert(100%);
        pointer-events: none;
      }
      .clicked {
        filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(20deg)
          brightness(150%) contrast(119%) drop-shadow(2px 2px 2px black)
          drop-shadow(0 0 1em rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.5));
      }
    }
  }
}

.star-follow-notification-container > div.text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: 15px;

  .text-container {
    font-size: 14px;
    color: var(--font-color);
    border-radius: 8px;
    padding: 4px;
    overflow: hidden;
    word-wrap: normal;
    text-overflow: ellipsis;
    margin-top: 5px;
    overflow-wrap: anywhere;
  }

  .date-container {
    color: var(--hr-color);
    font-size: 10px;
    font-style: italic;
    margin-top: 15px;
  }
}

.dms-view-container {
  display: grid;
  grid-template-areas: "thread-list thread-content";
  grid-template-columns: 350px 1fr;
  max-height: 800px;
}

.dms-view-container > div.thread-list {
  grid-area: thread-list;
  display: flex;
  flex: column;
  overflow: auto;

  .thread-option-container {
    display: flex;
    flex-direction: row;
    padding: 8px;

    .thread-option-icon-container {
      display: flex;
      flex-direction: column;
      width: 60px;
      height: 60px;

      .icon-image {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;

        img {
          max-width: 60px;
          max-height: 60px;
          border-radius: 5px;
        }
      }
    }

    .thread-option-text-container {
      display: flex;
      flex-direction: column;
      .title {
        font-weight: 600;
        font-size: 14px;
        overflow: hidden;
        word-wrap: normal;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .text-preview {
        font-size: 11px;
        overflow: hidden;
        word-wrap: normal;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
}

.dms-view-container > div.thread-content {
  grid-area: thread-content;
  display: flex;
  flex: column;
  overflow: auto;
  .message-container-wrapper {
    display: flex;
    flex-direction: column;
    .message-container {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: flex-start;

      .icon-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;

        img {
          margin: auto;
          max-width: 60px;
          max-height: 60px;
          border-radius: 5px;
        }
      }
      .body-container {
        display: flex;
        flex-direction: column;
        gap: 5px;
        max-width: 600px;
        padding: 5px;
        border-radius: 10px;
        .date {
          font-size: 10px;
          font-style: italic;
          color: var(--hr-color);
        }
        .quote-container {
          background-color: green;
          border-radius: 5px;
          padding: 5px;
          font-size: 11px;
        }
        .body {
          font-size: 11px;
        }
      }
    }
    .active-user-message-container {
      flex-direction: row-reverse;
      justify-content: flex-end;
      align-items: flex-start;
    }
  }
}

.new-notification {
  background-color: var(--new-notification-bg-color);
}

.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: var(--bg-color);
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  background-color: var(--bg-color-alt);
}

.autocomplete-active {
  background-color: var(--bg-color-alt) !important;
  color: #ffffff;
}

.new-commission-ad-container {
  display: flex;
  flex-direction: column;
  gap: 10px;

  .upload-image-container {
  }

  .title-contiainer {
  }

  .description-container {
  }

  .tags-container {
  }

  .price-container {
  }
}

.tagged-character-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;

  .image-container {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    img {
      max-width: 30px;
      max-height: 30px;
    }
  }
  .name {
    margin: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    a {
      color: var(--font-color);
    }
  }

  .username {
    margin: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11px;
    a {
      color: var(--link-color-alt);
    }
  }

  .remove-button {
    color: var(--warning-button-background);
    cursor: pointer;
  }

  .remove-button:hover {
    color: var(--warning-button-background-hover);
  }
}

.profile-link-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 36px;
  cursor: pointer;
  gap: 4px;
  .favicon {
    margin-left: 10px;
    margin-right: 10px;
    img {
      max-width: 24px;
      max-height: 24px;
    }
  }
  .site-name {
    width: 100px;
    margin: auto;
    color: var(--hr-color);
    font-style: italic;
    font-weight: 200;
    margin-right: auto;
    margin-left: 8px;
    font-size: 12px;
  }
  .username {
    font-weight: 300;
    margin-left: auto;
    margin-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.profile-link-container:hover {
  background-color: rgb(255, 255, 255, 0.1);
}

.no-one-yet {
  font-size: 10px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 4px;
}
