
/* Background color */
body {
    background: darkcyan;
}

/* just for visibility here, can remove l8r */
h1 {
    background-color: teal;
}

/* nav stuff */

/* Add a black background color to the top navigation */
.topnav {
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* old nav stuff */
/* h1, .menu-container {
    display:inline-block;
}

.menu {
    float: right;
}

.menu ul {
  list-style-type: none;
  display: flex;
}

.menu a {
  float: left;
  color: lightgrey;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.menu a:hover {
  background-color: pink;
  color: black;
}

.menu li {
  padding: 5px;
} */

/* Footer, TODO change it from being fixed */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: lightgrey;
  text-align: center;
}

/* Posts styling, TODO make cooler and no just ul stuff */
ul {
    list-style-type: none;
}

ul li a {
    text-decoration: none;
    color: cornsilk;
}

ul li a:hover {
    color:black
}

/* hiding the hamburger bar for media query, TODO just make one nav bar that changes
.topnav #myLinks {
    display: none;
}

.icon {
    display: none;
} */

/* Media query at 837 width */
@media (max-width: 837px) {
    /* Style the navigation menu */
    .topnav {
    overflow: hidden;
    position: relative;
    }

    /* Hide the links inside the navigation menu (except for logo/home) */
    .topnav #myLinks {
    display: none;
    }

    /* Style navigation menu links */
    .topnav a {
    color: black;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    }

    /* Style the hamburger menu */
    .topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    }

    /* Add a grey background color on mouse-over */
    .topnav a:hover {
    background-color: #ddd;
    color: black;
    }

    /* Style the active link (or home/logo) */
    .active {
    color: white;
    }

}