:root {
  color: rgb(230, 225, 220);
  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;
}


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

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

  }
#back{
position: absolute;
right: 0;
transform: translate(-196px, 456px);
color: rgb(49, 32, 32);
font-family: monospace;
font-size: 12px;
filter: drop-shadow(1px 1px 8px rgb(189, 176, 104));
}
#back img{
width: 56px;
}
#back:hover{
filter: brightness(130%);
}

#article {
  position:relative;
  box-sizing: border-box;
  width: 1000px;
  height: 660px;
      background-image: url(/img/fujifilm.png);
  background-size: cover;
background-repeat: no-repeat;
padding-left:105px;
padding-top: 73px;
}



#screen{
width: 591px;
height: 447px;
background-color: rgb(114, 114, 128);

z-index: 100;

display: flex;

}
#directory{
display: flex;
flex-wrap: wrap;
padding: 20px;
gap: 20px;
align-content: flex-start;
}

/* images */
.thumbnail{
width: 170px;
height: 112px;
border: 1px solid;
box-sizing: border-box;
}
.pic{
width: fit-content;
height: fit-content;
cursor: pointer;
}
video{
  border: 4px solid;
  border-style: double;
  border-color: rgb(88,57,39);
  width:300px; 
  float: left;
  margin-right: 5px;
  }
  
.pic:hover .tooltip {
display: block;
}
.tooltip {
display: none;
background: rgb(21, 23, 24);
border-radius: 0.2em;
padding: 2px;
position: fixed;
z-index: 1000;

}

.close{
float: right;
cursor: pointer;
position: absolute;
top: 0;
right: 0;
margin: 0;
padding: 20px;
font-size: 40px;
color: rgb(0, 0, 0);
    filter: drop-shadow(3px 3px 2px rgb(119, 43, 40));

}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
      background-color: rgba(0, 0, 0, 0.678);
      color: rgb(200, 206, 211);
      
}
.modal p{
    filter: drop-shadow(3px 1px 2px rgba(228, 220, 220, 0.6));

}
.modal img{
height: 800px;
}









@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;
}

}
