.grid{
  display: grid;
  grid-template-rows: 150px 1fr 50px 150px;
  grid-template-areas:"header" "main" "footer" "nav";
  height: 100vh;
}

@viewport{
    Width: device-width;
    Zoom:1.0;
}

body{
    background-color: black;
    color: #D5D5D5;
    font-family: futura-pt, sans-serif;
    font-weight: 300;
}

.tiny{
  width:100px;
  height:100px;
  position: absolute;
  top: 9%;
  right: 0px;
  font-size: 0.2em;
  z-index:3;
}

.tiny img{
  width:40%;
  align-content: center;
}

header{
    grid-area: header;
    background-color: black;
}

h1{
    width: 100%;
    color: #8D3414;
    text-align: center;
    font-size: 300%;
}

h2{
    color: #CC5C47;
    Font-size:150%;
}

header a:visited{
    color: #8D3414;
    text-decoration: none;
}
a:visited{
    color:#9C95DC;
}
nav a:link{
    color: #706563;
    opacity: 0.8;
    text-decoration: none;
}

nav a:visited{
    color: #706563;
    text-decoration: none;
}

nav a:hover{
    transition:0.5s ease;
    opacity:1;
    background-color: #8D3414;
}

nav a:active{
    background-color: #8D3414;
}

main{
  grid-area: main;
}

.main-grid{
  display: grid;
  grid-template-columns: 100%;
  justify-content: flex-start;
}

.content-card{
  column-count:2;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  padding: 0.5%;
  margin: 2%;
  background-color: #2F2F31;
}

.report-card{
  grid-template-rows: 200px 500px;
  align-items: center;
  justify-content: space-between;
  height: auto;
  border-radius: 30px;
  padding: 0.5%;
  margin: 2%;
  background-color: #2F2F31;
}

.report-panel{
  margin:auto;
  align-items:left;
  padding:1%;
  font-size: 150%;
}

.content-panel{
  margin:auto;
  display:flex;
  display: inline;
  flex-direction: column;
  align-items:left;
  font-size: 150%;
}

.content-panel img{
  width:100%;
  max-width:450px;
  min-width: 200px;
  padding: 10px;
  padding-left:0px;
  border-radius: 10%;
}

.content-panel iframe{
  width:100%;
  max-width:450px;
  min-width: 200px;
  padding: 10px;
  padding-left:0px;
  border-radius: 10%;
  height:450px;
}

.footpic img{
  position: fixed;
  width:17%;
  right: 2%;
  bottom: 2%;
  z-index: 2;
  opacity: 0.4;
  padding: 10px;
}

footer{
  grid-area: footer;
  margin-left: 120px;
  margin: 2%;
  text-align: center;
}

nav{
  grid-area: nav;
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  width:100%;
}

.badgelink{
  width: 10%;
}

/*Desktop Transform*/
@media only screen and (min-width: 1000px) {
.grid{
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: 150px 1fr 150px;
    grid-template-areas:"sidenav header" "sidenav main" "sidenav footer";
    height: 100vh;
  }

.navcard{
  height: 25%;
  align-items: end;
  justify-content: flex-end;
}

nav{
  grid-area:"sidenav";
    height: 100%;
  display: grid;
  background-color: black;
  position: fixed;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  width: 120px;
  top: 0px;
  z-index: 2;
}


header{
  position: fixed;
  width:100%;
  top: 0px;
  z-index: 2;
}

.content-panel{
  margin:auto;
  -webkit-column-break-inside: avoid;
  font-size: 125%;
}
  
.report-panel{
    font-size: 125%;
}

h1{
    font-size: 200%;
}

h2{
    font-size: 150%;
}

