
// main.scss: Global styles
// ========================

@import "fonts"; // Fonts (only Noto Serif currently)

::selection {
  background-color: #468;
  color: #fff;
}

::-moz-selection {
  background-color: #468;
  color: #fff;
}

body {
    padding: 0;
    background-color: #f2f2f2;
    cursor: default;
    line-height: 1.618; // Golden ratio
    font-family: "Noto Serif";
}

p,
li,
table {
  font-size: 1.15em;
}

table {
  margin: 2.5em 0;
}

tr {
  border-bottom: 1px solid #aaa;
}

code {
  background-color: #eee;
  color: #555;
}

@media (max-width: 500px) {
  .logo {
    display: none;
  }
}

@media (min-width: 1200px) {
    .slogan {
        line-height:205px;
    }
}

@media (min-width: 768px) {
    .title {
        margin:0;
        line-height:205px;
    }
}

h1,
h2,
h3 {
  margin: 1em 0 1em 0.5em;
}

a {
  transition: 0.15s color;
}

.title {
    font-size: 3em;
    font-weight: bold;
}

.slogan {
    font-size: 2em;
    font-style: italic;
}

.bar {
  margin-top: 5em; // Prevent the navbar from overlaying the title
}

.navbar {
  background-color: rgba(.35, .35, .35, .7);
  border: 0;
}

.navbar-brand,
.navbar a {
  color: #eee !important;
}

.navbar a:hover,
.navbar a:focus {
  color: #bbb !important;
}

.navbar a:active {
  color: #fff !important;
  text-shadow: 0 0 0.1em #fff;
  transition: 0.15s text-shadow;
}

div.logo {
    padding: 2em 0;
    
    img {
        height: 3em;
        margin: 0 2em 0 0;
        vertical-align: bottom;
        width: 3em;
    }
    
    span {
        font-size: 2em;
        font-weight: bold;
    }
}

.recent { // Add recent class to news less than 2 weeks old
  color: #262;
}

.footer {
  color: #777;
  font-size: 1.1em;
  margin-top: 2em;
  padding: 2em 0;
  text-align: center;
}
