/* Base */
* {
  box-sizing: border-box;
}

body {
  font-family: "Lucida Console", "Courier New", monospace;
  margin: 0;
  background-image: url("https://gabrieltheflayed.com/images/background2.jpg");
  background-repeat: repeat;
  background-position: right top;
}

h1 {
  color: white;
  text-shadow: 0px 0px 10px #000000;
}

/* Header */

div.header {
  height: auto;
  max-width: 75%;
  margin-left: 17.5%;
  display: grid;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 12px 12px rgba(0,0,0,0.75);
  background-color: rgba(0,0,0,0.75);
}

img.header {
  max-width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
}

/* Sidenav */

ul.sidenav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: auto;
  position: fixed;
  height: 100%;
  overflow: auto;
  box-shadow: 0px 0px 12px 12px rgba(0,0,0,0.75);
  background-color: rgba(0,0,0,0.75);
}

ul.sidenav li a {
  display: grid;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}
 
img.sidenav {
    max-width: 100%;
    height: auto;
} 
 
ul.sidenav li a.active {
  
}

ul.sidenav li a:hover:not(.active) {
  
}

/* Content */

div.content {
  margin-left: 30%;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0;
  height: auto;
  max-width: 50%;
  display: grid;
  justify-content: center;
  align-items: center;
}

img.content {
  max-width: 100%;
  height: auto;
  box-shadow: 0px 0px 12px 12px rgba(0,0,0,0.75);
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Footer */

div.footer {
  height: auto;
  max-width: 75%;
  margin-left: 17.5%;
  display: grid;
  justify-content: center;
  align-items: center;
}

img.footer {
  max-width: 100%;
  height: auto;
  box-shadow: 0px 0px 12px 12px rgba(0,0,0,0.75);
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
}

/* @media Function */

@media screen and (max-width: 900px) {
  div.header {
    max-width: 100%;
    height: auto;
    margin-top: 50px;
    margin-left: 0;
  }
  
  ul.sidenav {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  ul.sidenav li a {
    float: left;
    padding: 15px;
  }
  
  img.sidenav {
    width: 75%;
    height: auto;
  }
  
  div.content {
    margin-left: 12.5%;
    max-width: 75%;
  }
  
  div.footer {
    max-height: 25%;
    width: auto;
    margin-right: 17.5%;
  }
}

@media screen and (max-width: 400px) {
  ul.sidenav li a {
    text-align: center;
    float: none;
  }
}