* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  body{
  margin: 0px;
  margin-bottom: 0;
  background-color: rgb(0,0,0);
  }
  
  body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('/Default_Assets/siteBGLM.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0; 
  transition: opacity 0.8s ease-in-out; 
  }
  
  body.loaded::before, 
body.loaded .MainContainer {
  opacity: 1;
}
  
    .MainContainer{
      opacity: 0;
  transition: opacity 0.8s ease-in-out;
    display: grid;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    /*overflow: hidden; /* be sure to remove "overflow: hidden" if you're seeing elements disappear. if this fixes it then you need to figure out what's causing the overflow.*/
    grid-template:
    "gridtitle gridtitle gridtitle"
    "gridbody gridbody gridmenu"
    "footer footer footer";
    grid-template-rows: auto 1fr auto;
    }
  
Titlebanner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-image: url('BannerCover.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%, 35%;
    grid-area: gridtitle;
    color: white;
    min-height: 150px;
    margin: 1em;
    margin-bottom: 0.5em;
  }
  
Mainbody{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0,0.67), rgba(40,59,9,0.67));
    margin: 0.5em;
    margin-left: 1em;
    border: 5px solid;
    border-color: rgb(0,124,81);
    color: white;
    grid-area: gridbody;
  }
  
  .Mainbody a:link{color: rgb(255,0,255);}
  .Mainbody a:hover{color: rgb(255,149,250);}
  .Mainbody a:active{color: rgb(255,255,255);}
  .Mainbody a:visited{color: rgb(255,0,127);}
  
Menu{
  padding: 0;
  background-image: url('texturetoloop.png');
  background-size: 120px 50px;
    background-color: rgb(0,48,20);
    border: 5px solid;
    border-color: rgb(0,124,81);
    text-align: center;
    color: white;
    grid-area: gridmenu;
    margin: 0.5em;
    margin-right: 1em;
    }
    
  /*Below are divs for the upper flexbox*/
  
  .NavigationContainer{
    display: flex;
    flex-direction: column;
    margin: auto;
  }
  /*menu divs end here.*/
  
footer{
  min-width: 100%;
  grid-column: span 3;
  text-align: center;
  background-color: rgb(17, 17, 18);
  color: white;
  }
  
    .MainbodyGrid{
  display: grid;
    grid-template:
  "aboutmeimage buttonboard"
  "aboutmetext blogwindow"
  "aboutmetext youtubewindow"
  "directoryimg artwindow";
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin: 1em;
  text-align: center;
   align-items: center;
  justify-items: center;
  }

.aboutmeimage{
  grid-area: aboutmeimage;
  width:100%;
  }
  
.buttonboard{
  line-height: 0;
  gap: 2px;
  padding: 2px;
  background-color: rgb(221,162,103);
  border: 5px solid;
  border-color: rgb(46,33,15);
  grid-area: buttonboard;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: max-content;
  }
  
.buttonboardtitle{
  grid-column: span 3;
  line-height: normal;
  color: black;
}

.aboutmetext{
  grid-row: span 2;
  grid-area: aboutmetext;
  }

.youtubewindow{
  
  height:auto;
  position: relative;
  grid-area: youtubewindow;
  width: 100%;
  max-width: 550px;
  }

.artwindow{
  grid-area: artwindow;
  display: flex;
  flex-direction: column;
  gap: 25px;
  }

.directoryimg{
  grid-area: directoryimg;
  }

.blogwindow{
  grid-area: blogwindow;
  }