@font-face {
    font-family: "Mechanical";
    src: url("Skriik! Electro-mechanical machine.ttf");
}

body{
background-color: black;
background-size: 174px;
background-image: url(greek_tile4.png);
background-attachment: fixed;
  color: black;
  font-family: 'Courier New';
  cursor: url("SwordCursor.png"), auto;
}

a{
  color: blue
}

main{
  width:60%;
  margin: 400px 60px;
  background-color: rgba(0,0,0,.6);
  box-shadow: 0px 0px 50px 50px rgba(0,0,0,.6);
  border-radius: 50px;
  padding: 20px 0px 20px 0px;
}

header{
  width: 100%;
  text-align: center;
  margin: 30px 0px;
}

header h1{
  padding: 5px 40px;
  background-color: black;
  color: #F8F0E3;
  display: inline;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  font-family: 'Mechanical';
  font-size: 2.5em;
}

.nav{
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 1;
}
 
.nav ul{
  padding: 20px 20px;
  display: flex;
  justify-content: space-around;
  margin-bottom: -80px;
}
 
.nav li{
  display: inline;
}

.nav button{
  font-size: 1.2em;
  font-weight: bold;
  background-color: #f4d6ae;
  padding: 20px 10px 80px 10px;
  color:black;
  border-radius: 15px 15px 0px 0px;
  border: 0px;
  position: relative;
  top: 0;
  transition: ease 0.5s;
  background-image: url('cardboard.png');
  background-size: 400px;
  margin: 0px;
}

.nav button:hover {
  top: -20px;
  cursor: pointer;
  }
  
.nav mark{
  padding: 5px 20px;
  background-color: black;
  color: #F8F0E3;
  display: inline;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  font-family: 'Mechanical';
}

.block{
  position: relative;
  background-color: #f4d6ae;
  padding: 20px 20px;
  color:black;
  border-radius: 2px 20px 20px 2px;
  z-index: 2;
  background-image: url('cardboard.png');
  background-size: 400px;
}

.text{
  background-color: #f5efe7;
  padding: 4px 40px 10px 20px;
  margin: 15px 0px;
  background-image: url('lined-paper.png');
  background-size: 382px;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  width: fit-content;
}

.block h2{
  padding: 5px 40px;
  background-color: black;
  color: #F8F0E3;
  display: inline;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  font-family: 'Mechanical';
}

img {
  border: solid 4px #f5efe7;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  margin: 10px 0px 10px 0px;
}

#pink {background-color: pink;}
#blue {background-color: lightblue;}
#green {background-color: lightgreen;}

.sidebar {
  bottom: 20px;
  right: 20px;
  width: 340px;
  position: fixed; 
  background-color: rgba(0,0,0,.2);
  box-shadow: 0px 0px 30px 30px rgba(0,0,0,.2);
  z-index: 4;
}

.sidetab {
  background-color: #f4d6ae;
  padding: 20px 20px;
  color:black;
  background-image: url('natural-paper.png');
  margin: 10px 0px;
  border-radius: 2px 15px 15px 2px;
  box-shadow: 0px 0px 50px 50px rgba(0,0,0,.6);
}

.sidetab summary{
  margin: 0px;
}

#minimap {
  border: solid 4px #f5efe7;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  margin: 10px 0px 0px 0px;
  position: relative;
  z-index: 0;
  height: 320px; 
  cursor: url("SwordCursor.png"), auto;
}

details {
  margin: 0px}

summary {
  background-color: #f5efe7;
  padding: 4px 40px 10px 20px;
  margin: 15px 0px;
  background-image: url('lined-paper.png');
  background-size: 382px;
  box-shadow: 2px 2px 3px rgba(0,0,0,.5);
  width: fit-content;
}
  
summary:hover {
  cursor: pointer;
}


details .text, details img{
  background-color:  #FFEBA1;
  margin-left: 40px}
  
  
@media screen and (max-width: 1300px) {
main{width:80%;}
} 
  
@media screen and (max-width: 800px) {
header h1{font-size: 1.5em;}
main{
  margin: auto;
  margin-top: 200px;
  width: 90%;
  }
  
.nav ul{
  display: block;
  position: static;
  margin-bottom: 0px;
}

.nav button{
  font-size: 1em;
  font-weight: bold;
  background-color: #f4d6ae;
  padding: 20px 10px 20px 10px;
  border-radius: 15px;
  transition: top ease 0.5s;
  background-image: url('cardboard.png');
  margin: 0px;
  position: static;
}

.nav button:hover {
  transform: scale(1.2);
  cursor: pointer;
  }
  
}   
  
  
  
