body {
  color: #faf8ec;
  background-size: 100px;
  background-repeat: repeat;
  background-image: url("images/bgbeigecherry.gif");
  cursor: url("images/redcursor.png"), auto;
}
@font-face {
  font-family: mikiyu;
  src: url(fonts/mikiyu-newpenji-p.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main img {
  vertical-align: middle;
}
.wavy {
  text-decoration-line: underline;
  text-decoration-style: wavy;
}
a:hover {
  font-style: italic;
}

#container {
  max-width: 540px;
  padding: 2em 2em 1em 5em;
  align-items: center;
}

#flex {
  display: flex;
}

aside {
  background-color: #e69ea8;
  border: #4f232c dashed 2px;
  border-radius: 2px;
  height: 40px;
  width: 110px;
  margin-top: 20px;
}

main {
  flex: 1;
  height: 650px;
  border-width: 15px;
  border-style: solid;
  order: 2;
  border-image: url("images/pinkborder.png") 12 fill round;
}
.main-inside {
  height: 100%;
  width: 400px;
  background-color: #ad4a5f;
  padding: 0px 15px 15px 20px;
  font-size: 18px;
  overflow-x: hidden;
  overflow-y: scroll;
}
h1 {
  font-family: "loverine";
  letter-spacing: 5px;
  margin-bottom: 0px;
  margin-top: 10px;
}
p {
  font-family: "mikiyu";
  font-size: 17px;
}
span {
  margin-left: 30px;
}
.pictures {
  display: flex;
  margin-top: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

figure img {
  width: 130px;
  height: 130px;
  mask-image: url(images/laceheartmask.png);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  margin: 10px;
}
figcaption {
  font-family: "mikiyu";
  font-size: 15px;
  text-align: center;
  background-color: #e69ea8;
  border: #4f232c dashed 2px;
  border-radius: 2px;
  margin: 10px 5px 10px 0px;
  padding: 10px;
}

#leftSidebar {
  order: 1;
}

#rightSidebar {
  order: 3;
}

@font-face {
  font-family: "Magica";
  src: url(https://static.tumblr.com/p6yopnt/Qkiqnu0r5/theheart.ttf);
}
@font-face {
  font-family: "love";
  src: url(https://dl.dropbox.com/s/j8uuv5eubemtnwz/Love.ttf);
}
@font-face {
  font-family: "loverine";
  src: url(https://dl.dropbox.com/s/xz7k5gzkz6jwxkl/Loverine.otf);
}
a:link {
  color: white;
  cursor: url("images/redcursor.png"), auto;
}
a:hover {
  cursor: url("images/redcursor.png"), auto;
}
a:visited {
  color: white;
}
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #893b4b;
}

::-webkit-scrollbar-thumb {
  background: #6a2e3a;
}

::-webkit-scrollbar-thumb:hover {
  background: #4f232c;
}

.doll {
  position: fixed;
  width: 400px;
  left: 35em;
  top: 17em;
}
ul {
  padding-left: 14px;
}
li {
  font-family: "magica";
  font-size: 20px;
  line-height: 13px;
  list-style: none;
  padding: 9px 25px;
  background-image: url("images/cherry.gif");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px;
}

@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap: wrap;
  }

  aside {
    width: 359.2px;
  }

  main {
    order: 1;
  }

  #leftSidebar {
    order: 2;
  }

  #rightSidebar {
    order: 3;
  }
}
/* MUSIC PLAYER */

#musicplayer {
  display: grid;
  grid-template-columns: 33px auto;
  align-items: center;
  width: 110px;
  color: #faf8ec;
  font-size: 20px;
  line-height: 140%;
  background: #974d56;
  border: 2px solid #622b2d;
  margin-top: 25px;
}

#musictitle {
  font-weight: bold;
  font-family: "gaegu";
  background: #974d56;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  width: calc(100% - 10px - px);
  margin-left: calc(1px + 1px);
}

#musicpixel {
  width: 100%;
  padding: 5px;
  position: relative;
  min-height: 20px;
  min-width: 20px;
  background: #974d56;
  border-right: 1px solid #622b2d;
}

.overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: 0.3s ease;

  background: #974d56;
}

#musicplayer:hover .overlay {
  opacity: 1;
  transition: 0.3s ease;
}

.playpause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#musicpixel img {
  display: block;
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 8s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}
