/*
Now let’s see some common breakpoints for widths of devices:

320px — 480px: Mobile devices
481px — 768px: iPads, Tablets
769px — 1024px: Small screens, laptops
1025px — 1200px: Desktops, large screens
1201px and more —  Extra large screens, TV
*/
main {
  margin-left: 300px;
  margin-top: 50px;
  padding-right: 30px;
}

.main-section{
  padding:  0 30px;
  text-align: justify;
}

#navbar {
  position: fixed;
  width: 230px;
  margin-left: -270px;
}

h1 {
  margin-left: 20px;
}
#navbar li:hover {
  background-color: #bcc0c4;
  font-weight: bold;
  font-size: 1.3em;
}
#navbar li {
  padding: 10px;
  border-bottom: 1px solid grey;
  list-style: none;
}
#navbar a {
  display: block;
  text-decoration: none;
  cursor: pointer;
  color: black;
}

@media (max-width: 480px) {
  main {
    margin-left: 0;
    margin-top: 550px;
  }
  #navbar {
    position: absolute;
    width: auto;
    height: auto;
    margin-left: 0;
    margin-top: -500px;
    padding-right: 5px;
  }
  li {
    padding-right: 10px;
  }
}