@font-face {
    font-family: pixel;
    src: url("fonts/PKMN-Mystery-Dungeon.ttf");
}

body{
    font-family: pixel;
    width: 960px;
    
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;

    background-color: rgb(0,0,0,0.6); 
    background-image: url("images/bg1.png");
    background-position: 0 0;
    background-repeat: repeat;
    height: 100vh;
    background-blend-mode: overlay;
}

.banner{
    position: relative;
    overflow: hidden;
    justify-content: center;
    width: 960px;
    height: 100px;

    font-size: 40px;

    background-color: rgba(31, 10, 154, 0.6);
    background-image: url("images/bg2.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-left: 20px;
    background-size:cover;
}

#headertext{
    position: relative;
    text-align:center;
    color:cyan;
    line-height: 0px;
}

#metalheader{
    position: absolute;
    float:left;
    z-index: 2;
    height:90px;
}

#headerstars{
    float:right;
    z-index: 2;
    height:90px;
    line-height: 100px;
}

.container{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: white;
    margin: auto;
    width: 960px;
}

.textbox{
    padding: 10px;
    font-size: 20px;
    color: white;
    border: 2px double rgb(5, 162, 247);
    background-color: black;
    margin:10px;
    overflow: auto;
    scrollbar-width: none;
}

.sidebar{
    height: 545px;
    text-align: center;
    padding-left: 9px;
    margin-right: 10px;
    width: 150px;
    flex: 0 0 150px;
    border: 2px double rgb(5, 162, 247);
    resize: none;
     overflow: auto;
    scrollbar-width: none;
}

.commlist{
    margin-bottom: 5px;
    font-size: 20px;
}

#metalspin{
    width: 50px;
    line-height: -19px;
}

.button{
    margin-bottom: 20px;
    width: 70px;
    font-size: 20px;
    margin-right: auto;
    margin-left: auto;

    border-radius: 1px 1px 1px 1px;
    border: 2px double rgb(255, 255, 255);

    padding-left: 10px;
    padding-right: 10px;

    text-align: center;
    font-size: 19px;

    background-image: url(images/staticstamp2.gif);
    background-size: cover;
}

 a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
 }

 .gallery{
    height: 525px;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between ;
    border: 2px double rgb(5, 162, 247);
    resize: none;
    overflow: auto;
    scrollbar-width: none;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
 }

.gallery-item {
 
  display: flex;
  margin: 5px;
  flex: calc(33.33% - 20px);
  margin-bottom: 20px;
}

div.gallery-item img {
     margin-top: auto;
    margin-bottom: auto;
  width: 100%;
  height: auto;
}

.gallery-item img:hover {
  border: 2px double rgb(119, 237, 255);
}

.modal {
     display: none;
     position: fixed;
     z-index: 6;
     left: 0;
     top: 0;
     padding-top: 5vh;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.9);
 }
 .modal-content {
     margin: auto;
     display: block;
     max-width: 90%;
     max-height: 90%;
 }

 .close {
     position: absolute;
     top: 15px;
     right: 35px;
     color: #f1f1f1;
     font-size: 40px;
     font-weight: bold;
     transition: 0.3s;
 }

 .close:hover,
 .close:focus {
     color: #bbb;
     text-decoration: none;
     cursor: pointer;
 }

