html {
  background-image: url("/img/hirayasumibackground.png");
  background-size: cover;
background-repeat: no-repeat;
  background-position: bottom  ;
  min-height: 100%;
  background-color: rgba(251,144,170,0.8);
  color: rgb(209, 201, 192);
}
body{
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
h2{
font-family: 'Times New Roman', Times, serif;
font-style: italic;
border-bottom: 1px solid;
font-weight: bold;
text-align: center;
}
header{
display: flex;
align-items: end;
justify-content: space-between;
flex-direction: row;
 color: rgb(56, 56, 61);
}

header h1{
margin: 0;
font-family: 'Times New Roman', Times, serif;
font-style: italic;
font-size: 40px;
}
header #dot{
font-style: normal;
}
header div {
display: flex;
align-items: end;
}

header div p{
font-size: 14px;
}

header p{
margin: 0;
font-size: 18px;
font-style: italic;
filter: drop-shadow(0px 0px 5px rgb(138, 86, 18));
}

nav a:visited{
text-decoration: none;
color: rgb(255,255,255);
}
#container{
  width: 750px;
  margin: auto;
  display:flex;
flex-direction: column;
}
#title{
text-align:center;
}


aside {
float:right;
text-align: center;
display:flex;
flex-direction:column;
box-sizing: border-box;
}
nav {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
box-sizing: border-box;
}
nav ul{
  display: flex;
  flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap; 
    list-style-type: none;
    margin: 0;
    padding: 10px;
    gap: 10px;
  }
  nav li{
  display:inline;
  }
nav a{
text-decoration: none;
font-weight:bold;
font-family: MS Gothic;
letter-spacing:-0.5px ;
font-size: 16px;
}
#asidebox a, #asidebox a:visited, nav a, nav a:visited, #back{
 color: rgb(221, 214, 206);
}
#asidebox {
  box-sizing: border-box;
margin-top: 5px;
padding:5px;
padding-top:15px;
overflow: auto;
flex: 1 2 auto;
font-family:  MS Gothic;
letter-spacing:-0.5px ;
font-size: 15px;
  scrollbar-width: thin;
}

#asidebox ul{
  display: flex;
  flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;  
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  #asidebox li{
  display:inline;
  }
#asidebox p{
border-bottom: 1px solid;
font-weight: bold;
}



#article{
  width: 100%;
  margin: auto;
  display:flex;
gap:5px
}

#box, nav, #asidebox{
  background-color: rgba(19, 16, 16, 0.808);
 border-color: rgb(59, 60, 61);
  border-width: 4px;
border-style:solid;
}

#box{
margin:auto;
display:flex;
box-sizing: border-box;
flex-direction: column;
width: 100%;
height:650px;
overflow:auto;
scrollbar-width: thin;
font-family: monospace;
padding: 10px;
}

#writing{
  display: block;
}

#entries{
display: flex;
flex-direction: column;
 gap: 30px; 
}
.entry{
  height:100px;
  background-color: rgba(252, 187, 146, 0.822);
  border: 3px solid rgb(223, 212, 212);
  border-radius: 0.5em;
  color: rgb(22, 23, 24);
  padding: 5px;
}
.entry a, .entry a:visited{
  text-decoration: none;
font-weight:bold;
font-family: MS Gothic;
letter-spacing:-0.5px ;
font-size: 14px;
color: rgb(51, 48, 44);
filter: drop-shadow(5px 5px 5px white);
}
.entry a:hover{
color: rgb(47, 101, 216);
}
.entry-content{
  -webkit-mask-image: linear-gradient(black, transparent);
  mask-image: linear-gradient (black, transparent);
  width:550px;
  height:100px;
  overflow: hidden;
}

footer{
justify-self: center;
align-items: center;
text-align: center;
}

#back{  
font-weight:bold;
font-family: MS Gothic;
letter-spacing:-0.5px ;
font-size: 16px;
}

@media (max-width: 800px) {
  html{
    background-size: cover; 
  }
  
  #container {
    width: 95%;
    overflow:auto;
    flex-direction:column;
  }
  
  #article {
    flex-direction:column-reverse; 
  }
nav ul, #asidebox ul {
flex-direction: row;
  }
}