/* CSS stylesheet for news article feed app */

/* General */

html {
  /* For Sticky footer */
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 150px;
}

/* General Typography */

@font-face {
  font-family: 'Geneva';
  src:  url("../fonts/Geneva.ttf") format("truetype");
}

h1 {
  font-family: Tahoma, sans-serif;
  font-weight: 100;
  font-size: 3em;
}

h2 {
  font-family: 'Geneva', sans-serif;
  font-weight: 200;
  font-size: 2.5em;
}

h3 {
  font-family: Verdana, sans-serif;
  font-weight: 300;
  font-size: 1.4em;
}

h4 {
  font-family: 'Geneva', sans-serif;
  font-weight: 350;
  font-size: 1.3em;
}

p {
  font-family: Arial, sans-serif;
  font-size: 1.1em;
}

/* Top */

.top {
  background-color: #fff;
  height: 50px;
}

.top h4 {
  color: #222;
  text-align: right;
  margin-top: 10px;
}

/* Buttons */

.btn-default {
  margin: 10px 0;
}

/* Header */

header {
  background-color: #222;
  color: #fff;
  height: 160px;
}

header h1 {
  font-size: 5em;
  text-align: center;
}

/* Main Section */

.main {
  background-color: #fff;
  color: #222;
}

.sidebar {
  height: 100%;
  padding: 20px;
  margin: 35px 10px 0 0;
  border: 1px solid #ccc;
}

.news-button {
  width: 200px;
}

.article-listing {
  margin-left: 10px;
  padding: 10px;
}

.article-box {
  background-color: #f0f0f0;
}

.article-box h3,
.article-box p {
  padding: 5px 10px;
}

.article-box a {
  text-decoration: none;
}

/* Footer */

footer {
  /* For sticky footer */
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background-color: #222;
  color: #fff;
  padding: 20px 0;
}

.copyright {
  color: color: #222;
  margin-top: 20px;
}

/* Misc */

.extra-space {
  height: 50px;
}
