
@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;
}
p{
  font-family: two;
}
br{
  text-indent: 30px;
}
a{
  font-family: two;
}


body{
background: url(img/merch/Ascent.webp);
background-repeat: no-repeat;
background-size: cover;
margin:10px;
justify-content: center;
display:grid;
grid-template-columns: 40vw 13vw;
grid-template-rows: auto 650px auto;
grid-template-areas: 
"navbar navbar"
"section aside"
"footer footer";
}

nav{ grid-area: navbar; }
nav, footer{
  border-radius: 15px / 50px;
  list-style-type: none;
  background: #266DD3;
  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:#473144;
  color: #eee5e2;
}

nav a:hover,footer a:hover{
  margin-bottom: -5px;
}

footer{ grid-area: footer;}

aside li{
  border-width: 2px;
  text-align: center;
  list-style-type: none;
  padding: 2px;
  font-family: two;
}
li img{
  width: 5vw;
  cursor: pointer;
}

main{
  grid-area: section;
  margin: 3px;
  margin-bottom:10px;
  padding: 10px 0px 10px 20px;
  background: linear-gradient(to top, #EFC69B, #eee5e2);
  overflow-y: scroll;
  overflow-x: hidden;
  display:grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;

  border-style: none  none none solid;
  border-width: 30px;
  border-image: url('img/cool_graphic/cruzevaleft.webp') 600 space;
}

aside{
  grid-area: aside;
  background: linear-gradient(to top,#EFC69B,#DF9B6D);
  border-style: solid;
  box-shadow: 1px 1px 2px black, 0 1px 7px #CCB69B, 0 0 3px #AF1B3F;
  border-width: 2px;
  border-color: #CCB69B;
  margin: 3px;
  margin-bottom:10px;
  padding: 5px;
}

aside a, .pokaz{
  text-decoration: none;
  color: #266DD3;
}
aside a:hover{
  color: #eee5e2;
  text-shadow:1px 1px 2px black ;
}
.pokaz:hover{
  color: black;
  text-shadow:1px 1px 2px #eee5e2 ;
}
.list{
  display: flex;
  float: left;
  flex-wrap: wrap;
}

.item{
  width: 15vw;
  padding: 15px 3px 3px 3px;
  border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  border-color: #CCB69B;
  box-shadow: 1px 1px 2px black, 0 1px 7px #CCB69B, 0 0 3px #AF1B3F;
  margin: 5px;
  background: #eee5e2;
}
.photo{
  display: flex;
  justify-content: center;
}

.small {
  width: 10vw;
  cursor: pointer;
}
.big {
  width: 13vw;
  cursor: pointer;
}

.wide {
  width: 14vw;
  cursor: pointer;
}

.wideb {
  width: 15vw;
  cursor: pointer;
}

.high {
  height: 15vw;
  cursor: pointer;
}

.backlog{
  background-color: black;
  border-style: solid;
  box-shadow: 1px 1px 2px grey, 0 1px 7px #CCB69B, 0 0 3px #AF1B3F;
  border-width: 2px;
  border-color: grey;
  color: #eee5e2;
  padding: 3px;
  width: 10vw;
  text-align: center;
}

.item, .list_item, {
  transition: transform 0.3s ease;
}

.item:hover, .list_item:hover {
  transform: scale(1.05);
}

.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: 60vw 35vw;
grid-template-rows: auto auto auto;
"navbar "
"section aside"
"footer ";
}

aside li{
  text-align: center;
  padding: 10px;
  display: block;
  float: center;
}
li img{
  width: 10vw;
}

main{
  grid-area: section;
  margin-bottom:10px;
  padding: 10px 0px 10px 20px;
  background: linear-gradient(to top, #EFC69B, #eee5e2);
  overflow-y: hidden;
  overflow-x: hidden;
  display:block;
  border-style: none  none none none;
}

.item{
  margin:5vw;
  width: 70%;
  align-content: center;
}
.item h3{ font-size:14pt;}

.small {
  width: 25vw;
  cursor: pointer;
}
.big {
  width: 27vw;
  cursor: pointer;
}

.wide {
  width: 28vw;
  cursor: pointer;
}

.wideb {
  width: 29vw;
  cursor: pointer;
}

.high {
  height: 35vw;
  cursor: pointer;
}

.backlog{
  width: 25vw;
}
}
@media(max-width: 650px){
li img{
  width: 20vw;
}
}
