
@font-face {
  font-size: 1rem;
  font-family: one;
  src: url("fonts/CHAOS16.otf"), format("truetype");
}

@font-face {
  font-size: 1rem;
  font-family: two;
  src: url("fonts/Cairopixel.ttf"), format("truetype");
}

@font-face {
  font-size: 1rem;
  font-family: three;
  src: url("fonts/Pixelzone.ttf"), format("truetype");
}

h3{
  font-family: one;
  margin-bottom: -15px;
  text-align: center;
  font-size: 24px;
}
p{
  font-family: two;
  font-size: 18px;
}
br{
  text-indent: 30px;
}
a{
  font-family: two;
}
 

body{
background: url(img/bc_ch1/bg.webp);
background-repeat: no-repeat;
background-size: cover;
margin:10px;
justify-content: center;
display:grid;
grid-template-columns: 53vw;
grid-template-rows: auto 600px auto;
grid-template-areas: 
"navbar"
"section"
"footer";
}

nav{ grid-area: navbar; }
nav, footer{
  border-radius: 15px / 50px;
  list-style-type: none;
  background: #5B6057;
  display: flex;
  overflow: hidden;
  border-style: ridge;
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
}

nav a, footer a{
 text-decoration: none; 
 display: block;
 color: black;
 text-align: center;
 padding-inline: 10px;
 float: left;
}
nav a:hover,footer a:hover, .more:hover{
  background-color:#563635;
  color: #eee5e2;
}

nav a:hover,footer a:hover{
  margin-bottom: -5px;
}

footer{ grid-area: footer;}

main{
  grid-area: section;
  margin: 3px;
  margin-bottom:10px;
  padding: 10px 0px 10px 20px;
  background: #e9e9EB;
  overflow-y: scroll;
  overflow-x: hidden;
  color: #0D1821;
}

.screenshot{
  width: 69%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.screenshot_h{
  height: 69%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.screenshot_s{
  height: 15vw;
  display: block;
}
.inline{
  display: flex;
}
.icon{
  display: block;
  margin: 5px;
  width: 60px;
}

.modal {
  display: none;
  position: fixed; 
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0,0,0,0.9);
}
.mc {
  margin: auto;
  display: block;
  max-height: 80vh;
  max-width: 80vw;
  animation-name: zoom;
  animation-duration: 0.2s;
}

@keyframes zoom {
  from {transform:scale(0.1)} 
  to {transform:scale(1)}
}

.close {
  cursor: pointer;
}

@media(max-width: 810px){

body{
overflow-x:none;
grid-template-columns: 95vw;
grid-template-rows: auto 89vh auto;
"navbar"
"section"
"footer ";
}
main{
  grid-area: section;
  margin-bottom:10px;
  padding: 10px 10px 10px 20px;
  background: linear-gradient(to top, #EFC69B, #eee5e2);
  overflow-y: scroll;
  overflow-x: hidden;
  display:block;
  border-style: none  none none none;
}

.screenshot{
  width: 90%;

}
.screenshot_h{
  height: 60%;
}
}

