:root {
  --text-color: rgb(0, 0, 0);
  --lilith-inactive-color: #bfc0d1;/*#f5e3d3*/
  --lilith-border-color: #948cbe;
  --window-text-color: #60519b;
}

main {
  height: fit-content;
  display: flex;
  /*flex-direction: column;*/
  justify-content: space-around;
  align-items: stretch;
  align-content: stretch;
}

body {
  font-family: "MS ui gothic";
  /*background-image: url(imgs/33304756_aFOM0Apa3FHSljT.png);*/
  /*background-image: url(imgs/tumblr_inline_n258pbAEBc1qhwjx8.png);*/
  background: linear-gradient(rgb(0,0,0,.70),rgb(0,0,0,.50)),url(imgs/tumblr_inline_n258pbAEBc1qhwjx8.png);
  
  /*background-color: black;*/

  display: block;
  margin: 8px;

  color: var(--window-text-color);
  font-size: 18px;
}

/*-----------------Hiding links css-----------------*/
.sneakyLink {
  text-decoration: none;
  color: var(--lilith-window-text-color);
  cursor:auto;
}

div {
  display: block;
}

section {
  margin-bottom: 20px;
}

.Center {
  border: none;
  height: 100%;
  width: 90%;
  padding-bottom: 20px;
}

.Left, .Right {
  width: 75%;
  padding: 20px;
  /* padding-top: 40px;*/
}

/*-----------------Window css-----------------*/
.window {
  border: 2px solid var(--lilith-border-color);
  background: var(--lilith-inactive-color);
  padding: 4px;
  padding-bottom: 16px;
  box-shadow: 4px 4px rgba(184, 181, 190, 0.397);/*80, 20, 255, 0.2*/
}

.window::after {
  display: block;
  margin-bottom: -4px;
}

.window .title {
  border: 2px solid var(--lilith-border-color);
  background: var(--lilith-inactive-color);
  color: var(--window-text-color);
  /* font-family: "MS ui gothic"; */
  image-rendering: pixelated;
  font-weight: bold;
  height: 22px;
  padding-left: 10px;
}

.window .content {
  border: 2px solid var(--lilith-border-color);
  color: var(--window-text-color);
  /* font-family: "MS ui gothic"; */
  margin-top: 4px;
  padding: 4px;
}

/*-----------------Album Covers css-----------------*/
.albumCoverComments img {
  max-width: 100%;
  justify-content: center;
}

#albumCovers {
  max-height: 40vh;
  overflow-y: scroll;
  scrollbar-width: none;
  scrollbar-color: rgb(153 129 76) rgb(167 161 161);
}

#albumWindow {
  width: 80%;
  max-width: 800px;
  margin: auto;
}

/*----------------- css-----------------*/
#LinksandButtons {
  text-align: center;
  display: flex;
  flex-direction: column;
}

/*-----------------Pokemon css-----------------*/
#Pokemon > .Someones-PC {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: scroll;
  scrollbar-width: thin;
  scrollbar-color: rgb(153 129 76) rgb(167 161 161);
}

.PokeEntry {
  display: flex;
  align-content: flex-end;
  /*flex-wrap: nowrap;*/
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 255px;
}



/*-----------------Pane css-----------------*/
.pane {
  position: absolute;

  /*display: grid;
  grid-template-rows: 28px 1fr;*/

  overflow: clip;

  min-width: 10vw;
  max-width: fit-content;
  min-height: fit-content;
  max-height: fit-content;
}

.pane .title {
  cursor: move;
}

.pane .content {
  position: relative;
}

.pane .content img {
  max-width: 100%;
  max-height: 100%;

  object-fit: cover;
}

.pane .content p {
  /*margin: 0%;*/
}

/* add a corner in bottom right */
.pane .corner img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;

  cursor: nwse-resize;
}

.pane.is-dragging .title {
  /*background-color: rgb(100, 100, 100);*/
}

/*----------------- -----------------*/

@media (max-width: 1250px) {
  header {
    -webkit-flex-direction: column;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  body {
    margin-left: 50px;
    margin-right: 50px;
  }

  .desktop {
    position: initial;
    margin: 0;
  }
  
  #desktop-container {
    position: initial;
    width: initial;
  }

  #home-content {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 960px) {
  main {
    -webkit-flex-direction: column;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  body {
    margin-left: 10px;
    margin-right: 10px;
  }
  /*.left, .middle, .right {
    padding: 20px;
  }*/
  
  .middle {
    width:100%;
  }
  
  .left, .right {
    width:100%;
  }
  
  #desktop-container {
    flex-direction: column;
    gap: 0;
  }
  
  .desktop {
    justify-content: flex-start !important;  
  }

  #home-content {
    flex-direction: row;
    gap: 8px;
  }
}

@media (max-width: 550px) {
  #home-content {
    flex-direction: column;
    gap: 0;
  }
}
