nav{
  z-index: 99;
  background-color: lightpink;
  position: fixed;
  /* padding: 10px; */
  height: 100%;
  width: 200px;
  top: 0;
  left: 0;
  box-shadow: 5px 5px 5px grey;
  overflow-y: auto;
}
  
.navlink{
  background-color: cyan;
  border: 1px solid white;
  box-shadow: 2px 2px 2px grey;
  display: block;
  padding: 5px;
  margin: 8px 5px 8px;
  color: hotpink;
}

.navlink:hover{
  background-color: hotpink;
  color: cyan;
}

html, body {
  color: black;
  background-image: url("https://img.fluffles.me/background2.png");
  background-repeat: repeat;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  overflow-x: hidden;
  min-height: 100%;
  margin: 0;
  height: 100%;
}

html {
  cursor: url("https://img.fluffles.me/lazycat.gif"), auto;
}

.sidebar-picture
{
  object-fit: scale-down;
  width: 95%;
  padding-top: 5px;
  box-shadow: 2px 2px 2px grey;
}

a{
  color: cornflowerblue;
  text-decoration: none;
}

a:hover{
  cursor: url("https://img.fluffles.me/link269.gif"), auto;
}

.titletext{
  color: cyan;
  text-shadow: 1px 1px 2px red;
}

.sidebar-button{
  object-fit: scale-down;
  width: 88px;
  display: inline-block;
  margin: auto;
}

main{
  background-color: mistyrose;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;  
  position: relative;
  border: 1px solid white;
  left: 100px;
  box-shadow: 5px 5px 5px gray;
  padding: 0px 10px 0px;
  /* min-width: 600px; */
}

.text-content{
  color: hotpink;
  text-align: justify;
  padding-left: 10px;
  padding-right: 10px;
}

.text-content img{
  /* width: 70%; */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.text-content p {
  font-size: large;
}

.text-content ul{
  margin-top: 5px;
}

.text-content li{
  list-style-type: '🌸';
  padding-inline-start: 1ch;
  font-size: large;
}

.text-content h3{
  margin-bottom: 0;
}

h1{
  color: hotpink;
  font-size: xx-large;
}

p{
  color: hotpink;
}

.hit-counter{
  margin: 10px;
}

figure{
  display: block;
  margin: 15px;
  padding: 5px;
  border: 10px solid white;
  background-color: white;
  box-shadow: 5px 5px 5px grey;
}

figure img{
  width: 100%;
  object-fit: scale-down;
  max-height: 700px;
  display: block;
}

figure figcaption{
  text-align: center;
  margin-top: 8px;
}

.site-buttons{
  text-align: center;
}

.site-button{
  display: inline-block;
}

/* For mobile devices */

@media only screen and (max-width: 768px) {
  nav{
    width: 100%;
    position: relative;
    height: auto;
    z-index: 99;
    top: auto;
    left: auto;
    box-shadow: 5px 5px 5px grey;
    overflow-y: auto;
    }

  nav img{
    display:none;
  }

  main{
    left: auto;
    width: 90%;
    min-width: none;
  }
}