/* CSS is how you can add style to your website */
@font-face {
  font-family: XPTahoma; /* set name */
  src: url(windows-xp-tahoma.otf); /* url of the font */
}

body {
  margin: 0;
  background: url("pattern.png");
  overflow-x:hidden;
  background-size: auto;
  background-position: left;
  background-repeat: repeat;
  font-family: Arial, sans-serif;
}

#content{
  display: flex;
}

#fakeHeader{
  margin-bottom: 50px;
}

.email {
  overflow: hidden;
  background: #deebf7;
  padding: calc(14 / 810 * 100vh);

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
}

.post.expanded .email {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

#bottom {
  width: 100%;
  padding: 0;
  height: calc(14 / 810 * 100vh);
  margin: 0px;
  position: absolute;
  bottom: 0px;
  background: #deebf7;
}

.emailheader {
  font-family: XPTahoma;
  margin: 0;
  line-height: 1.1;
  margin-bottom: calc(10 / 810 * 100vh);
}

#mailheader {
  margin: 0;
  padding: calc(7 / 810 * 100vh);
  padding-left: calc(14 / 810 * 100vh);
  background: linear-gradient( #d6efff,
                               #7db7e8);
}

#mailheader pre{
    font-family: XPTahoma;
    margin: 0;
}
#email {
  margin: 0;
  background: #ffffff;
  padding: calc(15 / 810 * 100vh);
}

#email p {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
}

.bubble img {
  display: none;
  max-width: 100%;
  width: inherit;
}

.post.expanded .bubble img {
  display: block;
}

.postcontainer {
  padding: calc(40 / 810 * 100vh);
  width: 75%;
}

.othershit {
    width: 25%;
}


#loreposts {
  display: none;
}

#wrapper {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: calc(80 / 810 * 100vh);
  width: inherit;
  height: 84vh;
  margin: 0px;
  background: linear-gradient(#a9cc06, #89b500);
  border-bottom-left-radius: calc(20 / 810 * 100vh);
  box-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

#wrapper2 {
  flex: 0 0 auto;
  margin: 0px;
  margin-top: calc(40 / 810 * 100vh);
  padding-left: calc(40 / 810 * 100vh);
  padding-right: calc(40 / 810 * 100vh);
}

#status {
  position: relative;
  height: auto;
  width: inherit;
  display: grid;
  grid-template-columns: auto auto;
  background: linear-gradient(#525252,#000000 );
  border-radius: calc(5 / 810 * 100vh);
  padding: calc(10 / 810 * 100vh);
  gap: 0;
  align-items: center;
  margin: 0px;
  margin-bottom: calc(20 / 810 * 100vh);;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

#status:after {
  content: "";
  position: absolute;
  top: 0;
  left: 80%;
  transform: translateY(-98%);
  width: calc(15 / 810 * 100vh);
  height: calc(20 / 810 * 100vh);
  background: #525252;
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

#status p{
  color: #e6ece9;
  font-size: calc(20 / 810 * 100vh);
  margin:0px;
  margin-right: calc(4 / 810 * 100vh);
}

#status input{
  margin: 0px;
  color: #e6ece9;
  font-size: calc(20 / 810 * 100vh);
  background: none;
  border: none;
}

#status input:focus{
  border: none;
  outline: none;
  box-shadow: none;
}

/* wall */

#wall {
  position: relative;
  height: 100px;
  width: inherit;
  background: linear-gradient(#abe0ff,#4ec7f5 );
  border-radius: calc(6 / 810 * 100vh);
  padding: calc(10 / 810 * 100vh);
  margin: 0px;
  margin-bottom: calc(20 / 810 * 100vh);;
  color: #525252;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.wall-tooltip {
  position: absolute;
  top: -30px;
  left: 10px;
  background: linear-gradient(#ffffff 40%, #eef1ef);
  color: black;
  margin: 0;
  padding: calc(3 / 810 * 100vh);
  border: calc(1 / 810 * 100vh) solid #525252;
  border-radius: calc(3 / 810 * 100vh);
  font-size: 12px;
  opacity: 0;
  transition: 0.2s ease;

  pointer-events: none;
}

#wall:hover .wall-tooltip {
  opacity: 1;
  transform: translateY(5%);
}

/* game */

#game {
  height: 25%;
  text-align: center;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(255,255,255,0.35),
                              rgba(255,255,255,0.5) 70% );
  border-top-left-radius: calc(3 / 810 * 100vh);
  margin: 0px;
  padding-left: calc(10 / 810 * 100vh);
  color: #525252;
  justify-content: flex-start;
  gap: calc(10 / 810 * 100vh);
}

#game img{
  height: 80%;
  margin: 0px;
  margin-right: calc(5 / 810 * 100vh);
}

#guestBook {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
}

.form-input {
  flex: 1;
  min-width: 0;
}

.form-input input {
  width: 100%;
  box-sizing: border-box;
}

.btn {
  display: none;
}

/* music */

#music {
  height: 75%;
  display: flex;
  align-items: center;
  width: 100%;
  background: radial-gradient(rgba(255,255,255,0.5), 
                              rgba(255,255,255,0) 80%);
  border-radius: calc(3 / 810 * 100vh);
  overflow: hidden;
  margin: 0px;
}

#guestList {
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.guest-card{
  word-wrap: break-word;
  margin: 0px;
  flex: 1;
}

.guest-card iframe {
  display:none;
}

.guest-card p {
  color: #ffffff;
  font-size: calc(24 / 810 * 100vh);
  overflow: hidden;
  white-space: nowrap;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  height: 100%;
  width: 100%;
  display: block;
  margin: 0px;
  animation: marquee 7s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translate(-100%, 0);
  }
  100% {
    transform: translate(100%, 0);
  }
}

/* webpet */

#wrapper3 {
  flex: 1;
  display: flex;
  padding: calc(40 / 810 * 100vh);
  padding-top: 0;
}

#webpet {
  width: 100%;
  height: 100%;
  margin: 0px;
  display: flex;  
}


#webpet ruffle-embed{
  height: 100%;
  display: block;
}

.post {
  position: relative;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,0.1));
  margin-bottom: calc(50 / 810 * 100vh);
}

.bubble {
  background: linear-gradient(#ffffff 40%, #e6ece9 100%);
  border-radius: calc(20 / 810 * 100vh);
  padding: calc(30 / 810 * 100vh);

  position: relative;

  color: #525252;
}

.post div.bubble:after {
  overflow: visible;
  content: "";
  position: absolute;
  bottom: 0;
  left: 80%;
  transform: translateY(80%);
  width: calc(60 / 810 * 100vh);
  height: calc(40 / 810 * 100vh);
  background: #e6ece9;
  clip-path: polygon(100% 100%, 0 0, 100% 0);
}

.post div h2{
  font-size: calc(27 / 810 * 100vh);
  margin: 0px;
  color: #00afcc;
}

.bubble p {
  font-size: calc(20 / 810 * 100vh);
  margin-bottom: calc(20 / 810 * 100vh);
  margin-top: calc(10 / 810 * 100vh); 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;

  overflow: hidden;
}

.bubble .date {
  margin-top: calc(20 / 810 * 100vh);
  margin-bottom: 0px;
  text-align: right;
  font-weight: bold;
  font-size: calc(15 / 810 * 100vh);
}

.post.expanded p {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

.Daheader {
  position: sticky;
  top: 0;
  z-index: 5;
  width: 100vw;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

#toprow {
  background: linear-gradient(#fea909, #fe7f00);
  display: grid;
  height: calc(90 / 810 * 100vh);
  grid-template-columns: auto auto;
  width: 100%;
}

#bottomrow {
  height: calc(7 / 810 * 100vh);
  background-image: linear-gradient(to right, #e6ece9 -3% , #ffffff 3%,#ffffff 70%, #e6ece9 100%);
}

#navigation div:hover {
  
  font-size: calc(16 / 810 * 100vh);
  background: linear-gradient(#e6ece9 ,
                              #ffffff 120%);
  border-top-left-radius: calc(7 / 810 * 100vh);
  border-top-right-radius: calc(7 / 810 * 100vh);
}

/* pfp */

#profile {
  width: 25%;
  position: fixed;
  right: 0;
  display: grid;
  grid-template-columns: auto auto;
  z-index: 10;
  margin: 0px;
  height: calc(90 / 810 * 100vh);
  justify-content: flex-end;
  align-items: flex-start;
  margin-right: calc(20 / 810 * 100vh);
}

#pfp {
  margin-top: 0px;
  border: 4px solid #525252;
  border-top: 0px;
  border-bottom-left-radius: calc(6 / 810 * 100vh);
  border-bottom-right-radius: calc(6 / 810 * 100vh);
  height: calc(80 / 810 * 100vh);
  width: calc(80 / 810 * 100vh);
  justify-content: center;
  align-items: center;
  text-align: center;
  display:flex;
  z-index: 10;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(#ffffff, #ddebba);
  box-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

#pfp img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

#pfp input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* stats */
#stats {
  height: 100%;
  margin: 0px;
  align-items: center;
  align-content: center;
  margin-right: calc(20 / 810 * 100vh);
}

#stats div{
  height: auto;
  width: 100%;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: calc(7 / 810 * 100vh);
  margin: 0px;
 
}

#stat1 input {font-weight: bold; font-size: calc(20 / 810 * 100vh);}
#stat1 {border-bottom: 1px solid #272727; justify-content: flex-end;}
#stat2 {border-bottom: 1px solid #272727; justify-content: space-between;align-content: center;align-items: center;}

#star[type="range"] {
  width: calc(100 / 810 * 100vh);
  --s: calc(20 / 810 * 100vh); /* control the size*/
  height: var(--s);
  aspect-ratio: 5;
  padding-inline: calc(var(--s)/2);
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 5 L79 95 L2 40 L98 40 L21 95 Z'/></svg>");
  mask-size: var(--s);
}

#star[type="range" i]::-webkit-slider-thumb{
  width: 1px;
  height: var(--s);
  border-image: linear-gradient(90deg, gold calc(50% + var(--s)/2), grey 0) fill 0//0 500px;
  appearance: none;
}

#star[type="range"]::-moz-range-thumb {
  width: 1px;
  height: var(--s);
  border-image: linear-gradient(90deg, gold calc(50% + var(--s)/2), grey 0) fill 0//0 500px;
  appearance: none;
}

#stats div input{
  color: #272727;
  text-align: end;
  margin: 0px;
  background: none;
  border: none;
}

#stats div input:focus{
  border: none;
  outline: none;
  box-shadow: none;
}

#stats div img{
  padding-right: calc(25 / 810 * 100vh);
  margin: 0px;
  height: calc(18 / 810 * 100vh);
}

#stats p{
  color: #272727;
  font-size: calc(18 / 810 * 100vh);
  margin: 0px;
}

/* nav */

#navigation {
  width: 75%;
  margin-top: 0px;
  position: relative;
  justify-content: flex-start;
  align-items: flex-end;
  padding-left: calc(40 / 810 * 100vh);
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  gap: calc(7 / 810 * 100vh);
}

#navigation div {
  display: flex;
  font-size: 0px;
  justify-content: center;
  align-items: flex-end;
  height: calc(55 / 810 * 100vh);
  width: calc(60 / 810 * 100vh);
}

#navigation div a{
  text-decoration: none;
  color: #525252;
}

#navigation div p{
  margin:0px;
  font-weight: bold;
  text-align: center;
}

#navigation div a img {
  display:block;
  margin: auto;
  padding-bottom: calc(7 / 810 * 100vh);
  width: 70%;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.6));
}

#navigation div:hover img{
  transform: scale(1.2);
}


#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(#525252,#000000 );
  color: white;
  font-size: calc(16 / 810 * 100vh);
  text-align: left;
  margin: 0px;
  padding: calc(5 / 810 * 100vh);
}

#footer a:link {
  color: #50aed2;
}

#footer a:visited {
  color: #50aed2;
}