* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid red;
}

body {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: ". .";
  overflow: hidden;
}

#main-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.5fr 1.5fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "."
    ".";
  height: 650px;
}

#nav-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.5fr 1.5fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "."
    ".";
}

/*Title*/

.header {
  display: grid;
  place-items: center;
  font-size: 20pt;
}

.navbar {
  display: none;
}
/*content here*/
.content {
  overflow: hidden;
  overflow-y: scroll;
  padding: 10px;
}

/*media queries*/

/*mobile first*/

@media only screen and (max-width: 400px) {
  body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin: 0;
    padding: 0;
overflow: hidden;
  }

  #main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 10px 0;
  }

  .header h1 {
    font-size: 12pt;
  }

  .navbar {
    display: none;
  }

  .navbar.open {
    display: block;
    width: 90%;
  }

  .burger {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    float: right;
    margin: 0 0 10px;
  }

  .cheese {
    width: 20px;
    height: 5px;
    margin: 1px;
  }

  .navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 5px;
  }

  .content {
    width: 90%;
    height: 650px;
    overflow: hidden;
    overflow-y: scroll;
  }

  .navbar ul li {
    padding: 0 10px;
  }

  #nav-container {
    display: none;
  }
}
