/* Override Bootstrap styles */
.bg-danger {
    background-color: #990000 !important;
}

.invert {
  filter: invert(1);
}

/* Don't invert colors on images */
.invert img {
  filter: invert(1);
}

/* Custom CSS that cannot be accomplished as easily using Bootstrap*/
body {
  font-family: Arial, sans-serif;
  background-color: #f5f8fa;
}

p {
  margin: 0;
}

.container {
  background: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Desktop */
@media screen and (min-width: 600px) {
  nav.container {
    grid-area: nav;
    width: 200px;
    flex-grow: 0;
    padding: 10px;
    max-height: 250px;

    /* Bonus */
    position: sticky;
    top: 68px;
    /* End Bonus */
}

  #menuToggle {
    display: none;
  }
}

/* Mobile */
@media screen and (max-width: 600px) {
  nav.container {
    display: none;
  }

  nav.container.open {
    display: block;
  }

  #menuToggle svg {
    width: 2em;
    fill: #FFF;
    margin-right: 10px;
  }

  #currentUserDetails {
    display: none;
  }
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  padding: 0.5em 0.5em;
  border-bottom: 1px solid #666;
  cursor: pointer;
}

nav ul li:hover {
  background-color: #f5f8fa;
}

nav ul li:last-of-type {
  border-bottom: none;
}

a {
  color: #1f5d81;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.currentUser .avatar {
  width: 3em;
}

.avatar {
  background-color: black;
  border-radius: 50%;
}

.invert .avatar {
  background-color: white;
}

#backToTop {
  bottom: 50px;
  right: 20px;
  cursor: pointer;
  z-index: 1;
}

footer {
  border-top: 2px solid #990000;
  bottom: 0;
}

.howl .actions {
  font-size: 0.85em;
}

.howl .content .images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr fr;
  width: 75%;
  height: 75%;
}

.howl .content .images img {
  width: 100%;
  height: 100%;
}

.howl .content .images img:hover {
  filter: brightness(0.5);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}