/* freer apple l o l */
/* its still shit */

/* shitty phone code
   just makes everything semi-usable on phones
*/

@import url("https://fontlibrary.org//face/chicagoflf");
@import url("https://fontlibrary.org//face/teleindicadores-1");

@media (max-width: 719px) {
    table.short {
    max-width: 300px !important;
    }
    td.shortRight {
    font-size: 15px;
    }
    #avatar {
    max-width: 300px;
    }
    div.box.comments {
    position: initial !important;
    }
    #container {
    width: calc(100vw - 10px) !important;
    height: initial !important;
    }
    div.box.fwiends {
    position: initial !important;
    width: initial !important;
    }
    #top {
    width: 256px;
    }
    div.topRight {
    display: grid; 
    grid-template-columns: 1fr; 
    grid-template-rows: 0.11fr 1fr 1fr 1fr; 
    gap: 0px 0px; 
    grid-template-areas: 
    "extended"
    "blurbs"
    "fwiends"
    "comments";
    }
    div.player.box {
    position: static !important;
    }
    .comments {
    width: 38vh !important;
    }
}

/* I HATE ANTIALISING ! ! ! */

html {
    image-rendering: pixelated;
}

/*
I stole the button CSS. Didn't wanna program the buttons. Thought it'd be too complicated, and tbh, it is. Just look at all this shit! https://robbiebyrd.github.io/platinum/
*/ 
button,input {
    background-color: #dedede;
    border: 1px solid #000;
    border-radius: 3px;
    box-shadow: inset -1px -1px 0 0 #777, inset -2px -2px 0 0 #aaa, inset 1px 1px 0 0 #ddd, inset 2px 2px 0 0 #fff;
    padding: 2px 15px 2px 15px;
    font-family: 'ChicagoFLFRegular';
    font-weight: normal;
    font-style: normal; 
}

/* the intro */
@keyframes intro {
    0% {
    opacity: 1;
    }
    90% {
    opacity: 1;
    }
    100% {
    opacity: 0;
    }
}

#container::before {
    content: "";
    display: block;
    position: fixed;
    width: 40%;
    left: 31%;
    top: 25%;
    background-image: url(https://i.imgur.com/Y6S5hyd.gif);
    background-position: 0 0;
    background-repeat: no-repeat;
    pointer-events: none;
    background-size: 100% 100%;
    z-index: 100000;
    opacity: 0;
    object-fit: contain;
    animation-name: intro;
    animation-iteration-count: 1;
    animation-timing-function: step-end;
    animation-duration: 5.00s;
}

/* the body */

body {
    background: url(https://i.imgur.com/sB4lFZ0.gif);
    background-size: cover;
    background-attachment: fixed;
    font-family: 'ChicagoFLFRegular';
    font-weight: normal;
    font-style: normal; 
}

#container {
    margin-top: -40px;
    background: url(https://i.imgur.com/iuWoNVU.png);
    cursor: url(https://i.imgur.com/CE5Q3xx.png), auto !important;
    width: calc(100vw - 50px);
    max-width: 98%;
    border-radius: 25px;
    border: #999999 solid 1px;
    height: 96vh;
}

/* GRIDS !! */

div.extended.box {
    grid-area: extended; 
    background-color: #dedede;
    border: 1px solid #000;
    border-radius: 3px;
    box-shadow: inset -1px -1px 0 0 #777, inset -2px -2px 0 0 #aaa, inset 1px 1px 0 0 #ddd, inset 2px 2px 0 0 #fff;
    padding: 2px 15px 2px 15px;
    max-width: 25vh;
    max-height: 15vh;
}

div.box.blurbs {
    grid-area: blurbs; 
}
div.box.fwiends {
    grid-area: fwiends; 
}
div.box.comments {
    grid-area: comments; 
}
div.player.box {
    grid-area: player; 
}

.topRight {
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 0.14fr 1fr; 
  gap: 10px 15px; 
  grid-template-areas: 
    "extended extended extended"
    "blurbs fwiends comments"; 
}

/* header */

.logo::before {
    content: url(https://i.imgur.com/NHTEsnm.gif);
    position: relative;
    right: 96%;
    top: 64px;
}

#header {
    background-color: #DDDDDD;
    border-top: 1px solid white;
    border-right: 1px solid white;
    border-left: 1px solid white;
    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	display: flex;
	align-items: center;
	position: relative;
    height: 20px;
    flex-direction: row-reverse;
    font-family: 'ChicagoFLFRegular';
    font-weight: normal;
    font-style: normal; 
}

#hSub {
    background-color: transparent;
	position: relative;
    top: -67px;
    display: inline-flex;
    margin-left: 25px;
    max-width: 900px;
    margin-right: 250px;
    font-family: 'ChicagoFLFRegular';
    font-weight: normal;
    font-style: normal; 
}

#hSub a {
    color: black;
    padding-left: 10px;
    padding-right: 10px;
}

#hSub span #text { 
    color: transparent; 
    font-weight: bold;
}

#header a:not(.logo) {
    color: black;
}

/* top right */

.extended h3, .extended a {
  color: black;
}

.box.blurbs {
    z-index: 200;
    background: white;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 10px;
    border: 7px solid transparent;
    border-image: url(https://i.imgur.com/svxNjln.png) fill 7 round;
    border-image-slice: 6 7 7 7;
    max-width: 400px;
    font-family: initial;
    font-size: 12px;
    height: calc(70% - 20px);
    max-height: 70vh;
    overflow-y: scroll;
}

h4 {
  color: black;
  font-family: arial;
  font-size: 20px;
}

.box.blurbs div.rightHead {
    background: #ccc;
    position: relative;
    font-size: 0px;
}

.box.blurbs div.rightHead b::before {
    content: url(https://i.imgur.com/TGxx8Aw.png);
    font-size: 15px;
    color: black;
    position: relative;
    z-index: 300;
    right: 21px;
}

/* friends */

div.fwiendCounter {
  background: black !important;
  color: red;
  padding: 4px;
  font-family: 'Teleindicadores1Regular';
  font-size: 15px;
  margin: 4px;
  overflow: hidden;
  line-break: unset;
}

div.box.fwiends div.rightHead {
    font-size: 0px;
}

div.box.fwiends div.rightHead::after {
    font-size: 20px;
    content: "CONTRIBUTORS";
    color: black;
}

div.box.fwiends div {
    background: #ccc;
    display: flex;
}

div.box.fwiends {
    background: #ccc;
    border: 6px solid transparent;
    height: 55%;
    border-image: url(https://i.imgur.com/svxNjln.png) 7 round;
    background: #ccc;
    box-sizing: border-box;
    height: calc(256px + 40vh);
    width: 95%;
    overflow: hidden;
    max-height: 40vh;
    display: inline-flex;
    flex-direction: column;
}

div#top {
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 256px;
    padding: 3px;
    display: flex;
}

div.fwiendFace {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
}

div#top img {
    width: 24px;
    height: 24px;
    padding-left: 10px;
}

/* comments */

div.box.comments {
    margin-top: 24px;
    border-image-outset: 24px;
    width: calc(30vh + 10px );
    height: calc(256px + 25vh);
}

.topRight div.boxHead:nth-child(1) {
    background: #ccc;
    font-size: 0px;
    margin-bottom: -24px;
    left: 4px;
    position: relative;
    border: 16px solid transparent;
    width: calc( 100% - 45px );
    border-image: url(https://i.imgur.com/jVQsTgr.png) 6 round;
    border-bottom: 0px;
}

.topRight div.boxHead:nth-child(1):before {
    content: "PacWrite";
    font-size: 15px;
    font-weight: bold;
    color: black;
}

#commentInput {
    width: calc( 100% - 40px );
    border: 16px solid transparent;;
    border-image: url(https://i.imgur.com/jVQsTgr.png) 6 round;
    background: #ffffff;
    background-size: 10%;
    max-height: 64px;
}

table#userWall {
    overflow: scroll;
    max-height: 256px;
}

table#userWall tr {
    display: flex;
    flex-direction: row;
    border: 7px solid transparent;;
    border-image: url(https://i.imgur.com/svxNjln.png) 7 round;
    background: #808080;
    background-image: url(https://i.imgur.com/UTLjMJu.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.tableLeft {
    background: 0;
    font-family: Arial;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.tableLeft img {
    width: 64px;
}

.tableLeft a {
    color: black;
}

.tableRight {
    width: calc( 100% - 40px );
    background: transparent;
    font-family: Arial;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

/* top left */

#name {
  font-size: 0px;
}

table.short {
    border: 7px solid transparent;;
    border-image: url(https://i.imgur.com/svxNjln.png) 7 round;
    background: #ccc;
}

td {
    display: inline-flex;
    flex-direction: column;
}

span#lastLogin {
    font-size: 15px;
}

#avatar {
    content: url(https://i.imgur.com/JgEqeik.gif);
    width: 300px;
}

/* about and shit, this code sucks. */

@keyframes conveyor {
    0% {
	      transform: translate3d(100%, 0, 0);
    }
    100% {
	      transform: translate3d(-100%, 0, 0);
    }
}

td.shortRight {
    display: flex;
    flex-direction: row;
    background: black;
    color: white;
    max-width: 300px;
    max-height: 55px;
    overflow: hidden;
    position: relative;
    padding-top: 40px;
    font-family: 'Teleindicadores1Regular';
    font-weight: normal;
    font-style: normal; 
}

table.short td div:nth-child(1) {
    font-size: 30px;
    position: relative;
    animation: conveyor 10s linear infinite;
    white-space: nowrap;
    color: orange;
    text-transform: uppercase;
}

#credo {
  font-size: 10vh;
  position: relative;
  bottom: 30px;
}

table.short td div:nth-child(3), td div:nth-child(4), td div:nth-child(5) {
    position: relative;
    font-size: 15px;
    bottom: 30px;
    right: 50px;
    padding-left: 10px;
}

table.short td div:nth-child(6), td div:nth-child(7) {
    position: relative;
    font-size: 15px;
    bottom: 40px;
    right: 40px;
}

.boxInfo.box {
  display: flex;
  flex-direction: column;
  width: 256px;
  background: #ccc;
  border: 7px solid transparent;
  border-image: url(https://i.imgur.com/svxNjln.png) 7 round;
}

.comments .boxHead {
    background: transparent;
    font-size: 0px;
}

.boxInfo .boxHead {
    background: transparent;
    color: black;
    font-size: 11px;
    display: inline-flex;
    overflow: hidden;
    white-space: nowrap;
    max-height: 16px;
}

 .boxInfo .boxHead b::before, .boxInfo .boxHead b::after {
    padding-left: 1px;
    padding-right: 1px;
    width: 100%;
    word-break: keep-all;
    content: "messy...";
    color: transparent;
    max-height: 16px;
    background: url(https://i.imgur.com/CKDDjwA.png);
    background-size: 200% 200%;
    white-space: nowrap;
}

.url.box {
    background: url(https://i.imgur.com/ToZDNwg.png);
    background-size: 100% 100%;
    color: transparent;
    height: 25vh;
    background-repeat: no-repeat;
    border: 0px;
    max-width: 50vh;
}

.url.box {
    font-size: 0px;
}

#viewFriends {
  text-align: center;
}

/* audio player */

div.player.box {
    position: absolute;
    top: 5vh;
    right: 7vh;
    max-width: 300px;
    border: 24px solid transparent;
    border-image: url(https://i.imgur.com/XyfD94V.png) fill 25 round;
    background: transparent;
}

.disease img {
    position: absolute;
    left: 50px;
    top: 50px;
    height: 64px;
}
