:root {
  color: rgb(80, 74, 69);
  scrollbar-color: rgba(154, 157, 160, 0.7) transparent;
}
html {
  min-height: 100%;
  background-color: rgb(98, 105, 95);
    background-image: url(/img/vietblogbackground.png);
  background-size: cover;
background-repeat: no-repeat;
}

header{
display: flex;
align-items: end;
justify-content: space-between;
flex-direction: row;
color: rgb(94, 25, 23);
}

header h1{
margin: 0;
font-family: 'Times New Roman', Times, serif;
font-style: italic;
font-size: 50px;
filter: drop-shadow(2px 2px 0px rgb(0, 0, 0));
transform: translateY(15px);
z-index: 2;

}

header div {
display: flex;
align-items: end;
}

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

header p{
margin: 0;
font-size: 20px;
font-style: italic;
font-family: 'relationship of melodrame';

}

#toptext:hover{
cursor: pointer;
animation: pop 3s infinite;
}
#toptext{
filter: drop-shadow(2px 1px 0px rgb(255, 255, 255));
}
@keyframes pop {
from {
    transform:scale(1) 
}
50% {
    transform:scale(0.95) rotate(1deg)
}
to {
    transform:scale(1) 
}
}

body{
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}


h2 {
font-size: 60px;
font-weight: bold;
font-family:  'Danh Da';
margin: 0;
margin-bottom: 10px;
filter: drop-shadow(3px 3px 0px rgb(117, 0, 0));
color: rgb(224, 220, 217);
text-decoration: underline;
}
#title{
width: 100%;
height: 120px;
background-color: rgba(119, 96, 83, 0.712);
  border-bottom: 1px rgba(24, 48, 19, 0.6) double;
  background-clip: padding-box;

}
h3 {
border-bottom: 2px dotted 
}

#container{
  margin: auto;
  display:flex;
flex-direction: column;

  }
#blog{
  width: 100%;
  margin: auto;
  display:flex;
height: 800px;
max-height: 800px;
flex-direction: row-reverse;
gap: 5px;
}

#article {
  margin-top: 5px;
  overflow: auto;
  position:relative;
  box-sizing: border-box;
  text-align: left;
  scrollbar-width: thin;
  padding: 10px;
  width: 1350px;
  height: 750px;
}
#article p{
font-family: 'Alte Haas Grotesk';
font-size: 15px;
color: rgb(44, 41, 39);
}
details a{
color: rgb(58, 114, 151);
}

#blog-content{
  display: flex;
  flex-direction: column;
}
#back{
position: absolute;
right: 0;
padding: 5px;
padding-right: 10px;
color: rgb(49, 32, 32);
font-family: monospace;
font-size: 12px;
}
#article, nav, #box{
  background-color: rgba(236, 213, 181, 0.7);
 border-color: rgba(24, 48, 19, 0.6);
  border-width: 3px;
border-style:double;
box-shadow: 3px 4px 0px rgba(59, 60, 61, 0.4);
background-clip: padding-box;
}


/* SIDEBAR STUFF */
aside {
  margin-top: 5px;
float:right;
text-align: center;
display:flex;
flex-direction:column;
box-sizing: border-box;
height: 750px;
flex: 1 1 300px;
}
nav {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
box-sizing: border-box;
  background-image: url(/img/stamp2.png);
  background-size: contain;
background-repeat: no-repeat;
background-position: center;
}

nav ul{
  display: flex;
  flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;  
    list-style-type: none;
    margin: 0;
    padding: 16px;
  }
  nav li{
  display:inline;
  }

nav a{
text-decoration: none;
font-weight:bold;
font-family: 'Alte Haas Grotesk';
letter-spacing:-0.5px ;
font-size: 20px;
cursor: pointer;
}

#box {
  box-sizing: border-box;
margin-top: 5px;
padding:5px;
padding-top:15px;
overflow: auto;
font-family:  monospace;
letter-spacing:-0.5px ;
font-size: 13px;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  background-image: url(/img/vbbg.png);
  background-size: cover;
background-repeat: no-repeat;
}

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

nav a, nav a:visited, #box a, #box a:visited{
 color: rgb(202, 199, 195);
filter: drop-shadow(5px 5px 5px rgb(52, 56, 56));
}

nav a:hover, #box a:hover{
 color: rgb(202, 199, 195);
filter: drop-shadow(3px 3px 1px rgb(19, 26, 44));
}

#article details summary{ 
text-decoration: underline;
filter: drop-shadow(5px 2px 2px rgba(48, 45, 45, 0.363));
font-size: 16px;
font-weight: bold;
font-family: 'Alte Haas Grotesk';
color: rgb(44, 41, 39);
margin-top: 10px;

}
.titletext{
text-decoration: underline;
}


/* images */
.leftblogimage, .rightblogimage{
border-width: 4px;
border-style: double;
border-color: rgb(65, 62, 60);
}
.leftblogimage{
margin-right: 5px;
}
.rightblogimage{
margin-left: 5px;
}

video{
  border: 4px solid;
  border-style: double;
  border-color: rgb(88,57,39);
  width:300px; 
  float: left;
  margin-right: 5px;
  }
  

@media (max-width: 800px) {
html{
  background-position: center;  
  }
  #container {
    overflow:auto;
    flex-direction:column;
    max-height: 100%;
    width: 95%;
  
  }
body{
min-height: 0;
}
#article{
   width: 100%;
}
#blog{
flex-direction: column;
}
header h1{
font-size: 40px;
  }
header p{
font-size: 10px;
}
#song p{
width: 100px;
}
nav ul, #box ul{
flex-direction: row;
gap: 5px;
}
nav{
overflow: auto;
flex-wrap: nowrap;
padding: 0;
}
#box, #nav a{
font-family: MS-Gothic;
}
#box{
display: none;
}
}