* {
  box-sizing: border-box;
}

body {
  box-sizing: border-box;
  font-family: "Open Sans", Arial, sans-serif;
  height: 100vh;
  margin: 0;
}

#navbar {
  position: fixed;
  width: 330px;
  border-right: solid rgba(0, 22, 22, 0.4);
  height: 100%;
}

#navbar header {
  text-align: center;
  padding-top: 20px;
}

#navbar ul {
  overflow-y: auto;
  overflow-x: hidden;
  height: 88%;
}

#navbar li {
  display: inline-flex;
  position: relative;
  left: -40px;
  list-style: none;
  border-top: 1px solid rgba(0, 22, 22, 0.4);
  width: 330px;
  min-height: 40px;
  padding-top: 10px;
}

#navbar a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  padding-left: 30px;
}

#main-doc {
  position: absolute;
  top: 0;
  margin-left: 340px;
  padding: 20px;
  line-height: 2;
}

header {
  font-size: 1.5rem;
}

img {
  border-radius: 15px;
  width: 100%;
  max-width: 900px;
  height: auto;
}

.alert {
  color: red;
}

@media screen and (max-width: 600px) {
  #navbar {
    position: absolute;
    margin: 0;
    width: 100%;
    max-height: 300px;
    border: none;
    border-bottom: solid rgba(0, 22, 22, 0.4);
    z-index: 1;
  }

  #navbar ul {
    width: 100%;
    border: 1px solid;
    height: 235px;
  }

  #navbar li{
    width: 110%;
  }


  #main-doc {
    position: relative;
    top: 300px;
    width: 100%;
    margin-left: 0;
  }
}
