/*------------- Personalised profile CSS for Justice -------------*/
/*--------------------- written by Minerva ---------------------*/
/* please do not copy, but feel free to edit for personal use <3 */
/*-------------------------------------------------------------*/

/* Colour Variables */
:root {
--eerie-black: #1C1C1CFF;
--rich-black: #111111;
--cream: #FFFED5FF;
  /* Purple colour - Change this to alter theme - default #150E1B */
--xiketic: #150E1BFF;
  /* Gold colour - Change this to alter theme - default #EEDD00DD */
--sunglow: #EEDD00DD; 
--blaqq: linear-gradient(to bottom, #150E1B, #111);
--blaqq-right: linear-gradient(to right, #150E1B, #111);
}

/*-----------------------------------------*/

/* Custom Font */
/* latin-ext */
@font-face {
  font-family: Zen Loop;
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/zenloop/v1/h0GrssK16UsnJwHsEJ96oQ3n5g.woff2);
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: Zen Loop;
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/zenloop/v1/h0GrssK16UsnJwHsEJ90oQ0.woff2);
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*-----------------------------------------*/

/* Hidden Elements */
#profileContainer #menu p,
#menu #menuMobile,
#menu #menuToggle,
h3,
.bottom-halfDivider,
.bottom-halfTitles,
.commentsBubble:before { display: none; }

/*-----------------------------------------*/

/* Global && Body Style */
* { box-sizing: border-box; }

html,
body,
#page-content,
#page-content #profileWrapper {
  position: static;
  height: 100%;
  width: 100%;
  margin: 0;
}

/*-----------------------------------------*/

/* Navbar */
#profileContainer #menu {
  position: fixed;
  margin: 0;
  left: 0;
  top: initial;
  padding: 0;
  width: 10%;
  height: 100%;
  z-index: 9999;
}

#profileContainer #menu #menuNormal {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

#menu #menuNormal li {
  display: inline-flex;
  margin: auto;
  width: 100%;
  height: 100%;
  border-right: 5px solid #111;
}

#menu #menuNormal li a {
  display: inline-flex;
  text-transform: lowercase;
  font: 20px Zen Loop;
  color: var(--sunglow);
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  transition: all 0.1s linear;
  background: var(--blaqq-right);
  border-right: 1px solid;
}

#menu #menuNormal li a:hover {
  text-decoration: none;
  color: var(--cream);
  border-color: var(--cream);
  text-shadow: 0 0 2px;
}

/*-----------------------------------------*/

/* Profile Wrapper */
#page-content #profileWrapper #profileContainer {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: auto;
  /* Change the variable value to alter bg overlay colour */
  background: var(--sunglow) url(https://starfarer-studio.space/media/external/hieroglyphs.png) bottom center;
  background-size: cover;
  /* Change value to 'overlay', 'lighten', or 'darken' for dark colours OR 'luminosity', 'multiply', or 'darken' for light colours */
  background-blend-mode: luminosity;
}

#profileContainer #top-halfContainer,
#profileContainer #bottom-halfContainer {
  width: 90%;
  margin: 0 0 0 auto;
  padding: 50px;
}

/*-----------------------------------------*/

/* Profile Top Modules - Actions, Avatar, Bio, Video */
#profileContainer #top-halfContainer {
  min-height: 489px;
}

#top-halfContainer #leftHalf,
#top-halfContainer #rightHalf {
  padding: 0;
  height: 100%;
  display: flex;
}

#top-halfContainer #leftHalf {
  margin: 0 auto auto 0;
  width: 35%;
  padding: 0 0 0 25px;
}

#top-halfContainer #leftHalf img {
  border: 1px solid var(--sunglow);
  outline: 5px solid #111;
  margin: 0 auto auto 0;
  min-width: 260px;
  max-width: 260px;
  background: var(--blaqq);
}

#top-halfContainer #leftHalf #media {
  position: fixed;
  height: 40px;
  width: 3%;
  overflow: hidden;
  bottom: -30px;
  left: 10%;
  border-radius: 0;
}

#media iframe {
  border-radius: 0;
  position: absolute;
  bottom: 0;
  right: -667px;
  width: 720px;
  max-width: 720px;
}

#top-halfContainer #rightHalf {
  margin: 0 0 auto auto;
  width: 65%;
  display: flex;
  flex-direction: column;
  padding: 0px 25px 0 0;
}

#top-halfContainer #aboutMe {
  margin: 50px auto auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 150px;
  height: 239px;
  padding: 5px;
  overflow: auto;
  border: 1px solid var(--sunglow);
  outline: 5px solid #111;
  background: var(--blaqq);
}

#top-halfContainer #aboutMe p {
  color: var(--cream);
  font: 10px Verdana;
  line-height: 150%;
  margin: 2.5px auto;
}

#top-halfContainer #rightHalf #user-cardContainer {
  width: 100%;
  height: 100px;
  margin: 0px 0 auto auto;
  padding: 0;
  border-radius: 0;
  border: 1px solid var(--sunglow);
  outline: 5px solid #111;
}

#rightHalf #user-cardContainer #user-card {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  background: var(--blaqq);
}

#user-card #leftCard,
#user-card #rightCard {
  margin: 0;
  padding: 0px;
  display: inline-flex;
  height: 100%;
}

#user-card #leftCard {
  flex-wrap: wrap;
  width: 100%;
}

#user-card #leftCard p {
  display: inline-flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  margin: 0;
  font: 62px Zen Loop;
  color: var(--sunglow) !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.75);
  letter-spacing: 2px;
}

#user-card #leftCard ul {
  width: 51%;
  height: 100%;
  margin: 0 auto auto 0;
  position: relative;
  top: -90px;
  padding: 5px;
  opacity: 0;
  transition: all 0.1s linear;
  display: inline-flex;
  flex-direction: column;
  background: var(--blaqq);
}

#user-card #leftCard ul li {
  margin: 0;
  height: 100%;
  display: inline-flex;
  font: 14px Zen Loop;
  align-items: center;
  color: var(--sunglow);
  font-weight: bold;
}

#user-card #leftCard ul li:last-of-type {
  justify-content: space-evenly;
  color: transparent;
  margin: 0 auto;
  position: relative;
  bottom: 5px;
}

#user-card #leftCard ul li:last-of-type a {
  color: var(--sunglow);
  margin: 0 5px;
  text-decoration-color: var(--cream);
  transition: all 0.1s linear;
}

#user-card #leftCard ul li a:hover {
  text-shadow: 0 0 2px;
  color: var(--cream);
}

#user-card #leftCard ul li span {
  font: 8px Verdana;
  margin: 0 5px;
  color: var(--cream);
}

#user-card #rightCard {
  width: 50%;
  height: 100%;
  margin: 0 0 auto auto;
  padding: 0;
  position: relative;
  top: -99px;
  z-index: 1;
  background: var(--blaqq);
  opacity: 0;
  transition: all 0.1s linear;
}

#user-card #rightCard #buttons {
  width: 100%;
  height: 100px;
  margin: 0;
  display: inline-flex;
  padding: 5px 0px;
}

#user-card #rightCard #buttons li {
  display: inline-flex;
  width: 20%;
  margin: 0 20px 0 0px;
  border-radius: 0;
  height: 50%;
  padding: 0px;
  overflow: hidden;
  align-self: center;
  border: 1px solid var(--cream);
  background: var(--xiketic);
}

#user-card #rightCard #buttons li:hover {
  border-color: transparent;
}

#rightCard #buttons li a {
  margin: 0 auto 0;
  display: inline-flex;
  padding: 5px;
  font: 14px Zen Loop;
  font-weight: bold;
  height: 100%;
  width: 100%;
  align-items: center;
  color: var(--sunglow);
}

#rightCard #buttons li:hover a {
  color: var(--cream);
}

#user-card:hover #rightCard,
#user-card:hover #leftCard ul {
  opacity: 1;
}

/*-----------------------------------------*/

/* Bottom Modules - Achievements, Comments, Friends */
#profileContainer #bottom-halfContainer {
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 0;
}

#bottom-halfContainer #avatarCollection,
#bottom-halfContainer #friendsList,
#bottom-halfContainer #comments {
  padding: 0;
  border: 1px solid var(--sunglow);
  outline: 5px solid #111;
  display: flex;
  width: 100%;
  margin: 0 25px 50px;
  background: var(--blaqq);
}

#avatarCollection #view-allachievements,
#friendsList #view-allFriends {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 5px 0;
  margin: 5px auto;
  text-transform: lowercase;
  letter-spacing: 1px;
  font: 14px Zen Loop;
  color: var(--cream);
}

#bottom-halfContainer #avatarCollection {}

#bottom-halfContainer #avatarCollection #achievementList { width: 100%; }

#avatarCollection #achievementList ul {
  min-width: 100%;
  width: 100%;
  margin: 0;
  display: inline-flex;
  justify-content: space-evenly;
}

#avatarCollection #achievementList ul .aviCollection {
  border-radius: 0;
  border: 1px solid var(--cream) !important;
  margin: 10px 5px;
  display: flex;
  opacity: 0.7;
}

#bottom-halfContainer #friendsList {}

#bottom-halfContainer #friendsList ul {
  display: flex;
  justify-content: space-evenly;
  padding: 5px;
  margin: 0 auto 5px;
  width: 100%;
}

#friendsList ul .friendsThumbs {
  border-radius: 0;
  border: 1px solid var(--cream);
  margin: auto;
}

#friendsList ul .friendsThumbs a {
  overflow: hidden;
  margin: auto;
}

.friendsThumbs a img {
  height: auto;
  margin: auto;
  vertical-align: middle;
  opacity: 0.7;
}

#bottom-halfContainer #comments {
  flex-wrap: wrap;
  flex-direction: row;
}

#bottom-halfContainer #comments #commentsList {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  order: 1;
}

#comments #commentsList .commentSection {
  width: 100%;
  margin: 0;
  padding: 0px;
  display: flex;
}

#commentsList .commentSection .commentsThumbs {
  width: 5%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border-color: var(--blaqq);
}

#commentsList .commentSection:last-child .commentsThumbs {
  border-bottom: 0;
}

.commentSection .commentsThumbs a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.commentsThumbs a img {
  height: 100%;
  width: auto;
  opacity: 0.7;
}

#commentsList .commentSection .commentsBubble {
  border-radius: 0;
  margin: 0 auto 0 0;
  width: 65%;
  padding: 0px;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  background: var(--sunglow);
}

.commentSection .commentsBubble p {
  width: 100%;
  margin: 0 auto 0 0;
  padding: 5px 10px;
  font: 14px Zen Loop;
  color: var(--xiketic);
  font-weight: bold;
}

.commentSection .commentsBubble .reportComment {
  align-self: center;
  margin: 0 0 0 auto;
  padding: 5px;
  font: 10px Verdana;
  transition: all 0.1s linear;
}

#commentsList .commentSection .commentsBubble:after {
  content: close-quote;
  position: relative;
  margin-right: -10px;
  border-left: 10px solid var(--sunglow);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

#commentsList .commentSection .commentInfo {
  position: static;
  display: flex;
  width: 30%;
  margin: 0 0 0 auto;
  padding: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0;
  background: var(--xiketic);
  color: var(--sunglow);
}

.commentSection .commentInfo .infoUsername {
  font: 16px Zen Loop;
  font-weight: bold;
  margin: 0 auto 5px;
  text-decoration: none;
  transition: all 0.1s linear;
  color: var(--cream) !important;
}

.commentSection .commentInfo .infoUsername:hover {
  color: var(--sunglow) !important;
}

.commentSection .commentInfo .infoDate {
  font: 8px Verdana;
  margin: 0 auto;
}

#bottom-halfContainer #comments button {
  display: inline-flex;
  margin: auto 0 0 auto;
  width: 30%;
  border-radius: 0;
  border-right: 0;
  border-bottom: 0;
  align-items: center;
  justify-content: center;
  order: 3;
  font: 16px Zen Loop;
  background: var(--cream);
  color: var(--xiketic);
  border-color: var(--cream);
  font-weight: bold;
}

#bottom-halfContainer #comments button:hover {
  border-radius: 0;
  
  border-color: transparent;
  background: transparent;
  color: var(--sunglow);
}

#bottom-halfContainer #comments #profile-pagination {
  display: inline-flex;
  width: 70%;
  margin: 0 0 0 auto;
  order: 2;
  justify-content: space-evenly;
  padding: 1.5px;
  background: #111;
  border-top: 1px solid var(--cream);
}

#comments #profile-pagination .page-item {
  padding: 5px;
  height: 100%;
  width: 100%;
  margin: auto 2.5px 0;
  display: inline-flex;
  border-radius: 0;
  background: var(--xiketic);
  border: 0;
}

#comments #profile-pagination .page-item.disabled {
  opacity: 0.5;
  border-color: #000;
  background: #111;
}

#comments #profile-pagination .page-item.active {
  background: var(--xiketic);
  box-shadow: inset 0 0 5px 1px rgba(255, 255, 255, 0.25);
}

#profile-pagination .page-item .page-link {
  display: inline-block;
  font: 14px Zen Loop;
  margin: 0;
  height: 100%;
  width: 100%;
  text-align: center;
}

#profile-pagination .page-item.disabled .page-link:hover {
  cursor: not-allowed;
}

#comments #profile-pagination .page-item.active .page-link {
  color: var(--cream);
}

#comments .noMessage {
  font: 22px Zen Loop;
  margin: 10px 0;
  color: var(--cream);
}

/*-----------------------------------------*/

/* Mobile Responsive Styling */
/** Medium Screens - Full-width Profile Modules **/
@media screen and (max-width: 1099px) {
  html, body { width: 100vw; height: 100vh; }

  #profileWrapper #profileContainer #top-halfContainer,
  #profileWrapper #profileContainer #bottom-halfContainer {

  }

  #profileWrapper #profileContainer #top-halfContainer {
    flex-wrap: wrap;
  }

  #profileContainer #top-halfContainer #leftHalf,
  #profileContainer #top-halfContainer #rightHalf{
    width: 85%;
    margin: 0 auto;
    padding: 0;
    height: auto;
  }

  #top-halfContainer #leftHalf img {
    margin: 0 auto 50px;
  }

  #top-halfContainer #leftHalf #media {
    left: 10%;
  }

  #profileContainer #bottom-halfContainer #avatarCollection,
  #profileContainer #bottom-halfContainer #friendsList,
  #profileContainer #bottom-halfContainer #comments {
    margin: 0 auto 50px;
    width: 85%;
  }
}


/** Medium-small screens - fixed top navbar **/
@media screen and (max-width: 850px) {
  #profileWrapper #profileContainer #menuMobile,
  #profileWrapper #profileContainer #menuMobile li,
  #profileWrapper #profileContainer #menuMobile li a,
  #commentsList .commentSection .commentsThumbs {
    display: none !important;
  }

  #profileWrapper #profileContainer #menu {
    position: sticky;
    width: 100%;
    top: 0;
    height: 100px;
    border-bottom: 5px solid #111;
  }

  #profileContainer #menu #menuNormal {
    position: static;
    display: inline-flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
  }

  #menu #menuNormal li {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border-right: 0;
  }

  #menu #menuNormal li a {
    border-right: 0;
    border-bottom: 1px solid var(--sunglow);
    background: var(--blaqq);
  }

  #profileWrapper #profileContainer #top-halfContainer,
  #profileWrapper #profileContainer #bottom-halfContainer {
    width: 90%;
    margin: 0 auto 25px;
    padding: 0px;
  }

  #profileContainer #top-halfContainer #leftHalf {
    padding: 0;
  }

  #profileContainer #top-halfContainer #rightHalf {
    padding: 0;

  }

  #top-halfContainer #leftHalf #media {
    min-width: 30px;
    left: 0;
  }

  #top-halfContainer #leftHalf img {
    margin: 50px auto 15px !important;
  }

  #top-halfContainer #rightHalf #user-cardContainer {
    margin: 15px auto;
    height: auto;
  }
  
  #user-cardContainer #user-card #leftCard p {
    height: auto;
    margin: 25px auto;
    font-size: 72px;
    border-bottom: 1px solid var(--cream);
    width: 75%;
  }
  
  #user-cardContainer #user-card #leftCard ul {
    width: 100%;
    position: static;
    background: transparent;
    opacity: 1;
  }
  
  #user-card #leftCard ul li {
    width: 100%;
    padding: 1px;
    justify-content: center;
  }
  
  #user-cardContainer #user-card #rightCard {
    position: static;
    width: 100%;
    background: transparent;
    opacity: 1;
  }
  
  #user-card #rightCard #buttons {
    width: 100%;
    margin: 0;
  }
  
  #user-card #rightCard #buttons li {
    margin: 0 auto;
    width: 15%;
  }

  #top-halfContainer #rightHalf #aboutMe {
    margin: 15px auto 5px;
    height: auto;
  }

  #profileContainer #bottom-halfContainer #avatarCollection,
  #profileContainer #bottom-halfContainer #friendsList,
  #profileContainer #bottom-halfContainer #comments {
    margin: 0px auto 30px;
  }
}

/* End personalised code for Justice */