/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: #f1f3f5;
}

body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

#bar-wrapper {
  background: #666666;
  padding: 2rem;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
    flex-direction: column;
}

#bar-wrapper h1  {
  text-align:center;
}

#bar-wrapper h1 span {
  font-size:65%;
  font-weight: 400;
}

#bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#bar-wrapper .sad {width:150px;height:Auto;filter: invert(60%);}

#footer,#header {
  height:300px;
}

#header {  
  padding: 2rem;
  width:100%;
  display: flex;
  justify-content: center;  
  align-items: start;
}

#header .main-logo {
  width: 300px;
  height: auto;
}

#footer {
  display: flex;
  justify-content: end;
  width: 100%;
  padding: 2rem;  
  align-items: end;
}
#footer .powered-by { 
  width: 200px;
  height:Auto;
}


.btn {
  margin-top: 4px;
  display:block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 0.25em;
}

.btn-primary {
  color: #fff;
  background-color: #AB0F2F;
  border-color: #AB0F2F;
}

.btn-primary:hover {
  color: #fff;
  background-color: #7c0b22;
  border-color: #730a20;
}

