html {
  height: 100%;
}

body {
    margin: 0px;
    background-color: #eee;
    min-height: 100%;
    color: $text-color;
    font-family: $base-font-family;
    font-size: 1.6em;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;

    // For the sticky footer
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

a {
  color: $primary-color;
  text-decoration: none;
  outline: none;
}
a:hover {
  color: darken($primary-color, 10%);
}
a:active {
  color: darken($primary-color, 15%);
}

h1 {
    padding-top: 20px;
    letter-spacing: -0.2rem;
}
h1 strong {
    color: $primary-color;
}

h3 {
  margin-bottom: 5px;
}

b, strong {
  font-weight: bold;
}

.site-header {
    padding: 5px 0;
    font-size: 20px;
    line-height: 24px;
    background-color: #333;
    img {
        width: 24px;
        height: 24px;
        margin-top: -3px;
    }
}

.site-footer {
    margin: 10px 0 0px;
}

.site-nav-link {
  padding-left: 20px;
}

.hero {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 360px;
    background-color: #333;
    background-image:url('/images/gears.jpg');
    color: #ccc;
    margin-bottom: 0px;
}

.hero h3 {
    margin-bottom: 20px;
}

.color-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: #282828; //darken(#b7410e, 28%);
   opacity: 0.92;
}

.tldr-headline {
    letter-spacing: -0.15rem;
    font-size: 3.0rem;
    font-weight: bold;
    text-align: center;
    line-height: 2.75rem;
    padding-top: 20px;
    padding-bottom: 40px;

}

.page-content {
    flex: 1;
}

.container {
    padding: 8px;
}

.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.tiles {
    font-weight: bold;
    flex-wrap: wrap;
    a, a:hover, a:visited, a:active {
        color: $text-color;
    }
}

.tile {
    height: 130px;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 4px 1px 1px 1px;
    border-style: solid;
    margin-bottom: 20px;
}

a:hover .tile {
    color: #ccc;
}

.green { color: $status-green; }
.yellow { color: $status-yellow; }
.red { color: $status-red; }

.tile-green {
    border-color: $status-green;
}

.tile-yellow {
    border-color: $status-yellow;
}

.tile-red {
    border-color: $status-red;
}

.post-content {
    margin-bottom: 60px;
}

.followup {
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px 0;
    border: 2px solid orange; /* TODO: using colors by name is basically never good design */
}

.github-corner {
    position: absolute;
    z-index: 100;
}

.crate-stat {
    padding-right: 30px;
    white-space: nowrap;
}

@media screen and (max-width: 47.9em) {
    .hide-xs { display: none; }
}

@media screen and (min-width: 48em) and (max-width: 63.9em) {
    .hide-sm { display: none; }
}

@media screen and (min-width: 64em) and (max-width: 74.9em) {
    .hide-md { display: none; }
}

@media screen and (min-width: 75em) {
    .hide-lg { display: none; }
    .hide-xs, .hide-sm, .hide-sm { display: flex; }
}
