.navbar {
    overflow: hidden;
    background-color: rgba(224, 0, 0, 0.75); 
   /* float: left;*/
    width: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
  }
  
  .navbar a {
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  .subnav {
    float: left;
    overflow: hidden;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
  }
  
  .subnav .subnavbtn {
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
  }
  
  .navbar a:hover, .subnav:hover .subnavbtn {
    background-color: rgb(126, 0, 0, 0.85);
    cursor: pointer;
  }
  
  .subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: rgb(126, 0, 0, 0.85);
    width: 100%;
    z-index: 1;
  }
  
  .subnav-content a {
    float: left;
    color: rgb(255, 255, 255, 0.85);
    text-decoration: none;
  }
  
  .subnav-content a:hover {
    background-color: rgb(238, 238, 238, 0.85);
    color: black;
  }
  
  .subnav:hover .subnav-content {
    display: block;
  }


  .menubutton {
    display: none;
    width: 10%;
    position: absolute;
    left: 2%;
    bottom: 0;
    z-index: 99;
  }
  .menubutton img {
    width: 2em;
    height: auto;
  }

  @media only screen and (max-width:800px) {
    .navbar {
      display: none;
      grid-template-columns: 1fr;
      position: absolute;
  
    }
    .subnavbtn {
      width: 100%;
      box-shadow: 0 0 30px black;
      border: 2px outset white;
    }
    .subnav:hover .subnav-content {
      display: grid;
      grid-template-columns: 1fr;
      overflow: none;
      position: relative;
      background-color: rgb(86, 0, 0, 0.85);
    }
    .menubutton {
      display: block;
    }
    .menubutton img:active {
      box-shadow: 0 0 20px black;
      padding: 2px;
      border-radius: 18%;
    }
  }