
/* minecraft font */
@font-face {
  font-family: MinecraftDefault;
  src: url(MinecraftDefault-Regular.ttf);
  font-style: normal;
}
@font-face{
    font-family: MinecraftDefault;
    src: url(MinecraftDefault-Bold.ttf);
    font-weight:bold;
}
@font-face{
     font-family: MinecraftDefault;
    src: url(MinecraftDefault-italics.ttf);
    font-style: italic;
}
* {
  box-sizing: border-box;
} 
body{
    background-image: url(images/13878215-grass-block-side_l.jpg);
    background-repeat: repeat;
     /* display: grid;
    place-items: center; */
    font-family: MinecraftDefault;
    cursor: url('images/Diamond_Sword_JE3_BE3.cur'), auto;
    font-size:Large;
}

h1,h2,h3,h4,h5,h6{
     text-shadow: 2px 2px rgba(0, 0, 0, 0.19);
}

/* neatly put list into 3 columns */
.matList{
    column-count: 3;
    column-gap: 10px;
    width: 50%;

}

/* tile set backgrounds */
.stone{
  background-image: url(images/BlockSprite_stone.png);
    background-repeat: repeat;
}

/*moss is my nav page for now lol */
.moss{
    background-image: url(images/BlockSprite_moss-block.png);
    background-repeat: repeat;
}

.moss a:hover{
    color:rgb(203, 203, 203);
    text-shadow: 2px 2px rgba(0, 0, 0, 0.19);
    cursor: url('images/Diamond_Sword_JE3_BE3.cur'), pointer;

}
a{
     cursor: url('images/Diamond_Sword_JE3_BE3.cur'), pointer;
}

.moss a, moss a:visited {
    color:white;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.19);
    cursor: url('images/Diamond_Sword_JE3_BE3.cur'), pointer;
}

.oak-planks{
    background-image: url(images/BlockSprite_oak-planks.png);
    background-repeat: repeat;
}
/*grass first row, and dirt rest of rows */
.grass{
    background-image: url(images/BlockSprite_grass-block.png), url(images/BlockSprite_dirt.png);;
    background-repeat: repeat-x, repeat;
    color:white; /* make font more readable */
}

.dirt{
     background-image: url(images/BlockSprite_dirt.png);
    background-repeat: repeat;
    color:white; /* make font more readable */
}

.MCScreenshots{
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  
}

    .column {
        flex: 33%;
        max-width: 33%;
        padding: 0px 4px;
        
    }
 
    .column img{
            margin-top: 8px;
            vertical-align: middle;
            max-width:100%;
        }


/* makes it so figcaption does not extend beyond the photo*/
/*credit to: https://frontendmasters.com/blog/the-figcaption-problem/ */    
figure {
  inline-size: fit-content;
  margin-inline: auto;
  figcaption {
    contain: inline-size;
    background-image: url(images/BlockSprite_stone.png);
    background-repeat: repeat;
  }
}
 

.title{
    font-size: 70px;
    color:white;
    
    text-shadow: 2px 2px rgba(0, 0, 0, 0.19);
    
}

section{
  
     padding: 10px;
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     margin:10px;
}

main {
  padding: 10px;
}


 /*mobile ,small screen, ipad styling */
 @media screen and (max-width: 1200px) {
  body{
     place-items: center normal;
 }

 .title{
    font-size: 40px;
    color:white;
}

.matList{
    column-count: 1;
    width: 100%;

}

.column {
    flex: 100%;
    max-width: 100%;
  }
}

/* small desktop screen */
 @media screen and (max-width: 1400px) {
    .column {
    flex: 50%;
    max-width: 50%;
  }

 }