@import url(https://fonts.googleapis.com/css?family=Italianno);

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
	background-color: #3A4F27;
}

a, a:visited {
  color: #eeeeee
}

a:hover, a:active, a:link {
  color: grey;
}

.qnav {
  background-color: rgba(76, 76, 76, 0.1);
  color: white;
  border-color: #929292;
}

.qnav .navbar-brand, .qnav .navbar-nav > li > a {
    color: #eeeeee;
}

.navbar-brand {
    font-family: 'Italianno', cursive;
    font-size: 32px;
}

.header-login input {
    border-radius: 0;
}

.header-login .btn-success {
    background-color: #596759;
    border-color: #596759;
    border-radius: 0;
}

.hero {
    display: table;
    position: relative;
    background-image: url(../images/logo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
    padding: 150px 0;
    color: #fff;
    width: 100%;
    height: 100vh;
    
}

.main {
  margin: 0 auto 0;
}

.our-mission {
  font-family: 'Italianno', cursive;
  font-size: 2em;
  width: 40%;
}

footer {
	border-top: 2px solid #929292;
    background-color: rgba(76, 76, 76, 0.5);
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer > p {
    margin: 5px 0;
}

footer small {
	display: block;
	text-align: center;
}

/* REFACTOR */
.topic-card {
  position: relative;
  width: 450px;
  height: 281px;
  z-index: 1;
  perspective: 1000;
}
.topic-inner {
  width: 100%;
  height: 200px;
  margin: 10px auto;
  transform-style: preserve-3d;
  transition: all 1.0s linear;
}
.topic-card:hover .topic-inner {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 5px #aaa;
}
.face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
	display: table;
}
.face.front {
	background-color: lightsteelblue;
	text-align: center;
}
.face.back {
  transform: rotateY(180deg);
  box-sizing: border-box;
  padding: 10px;
  color: white;
  text-align: center;
  background-color: #aaa;
  position: relative;
}
.face-inner {
	display: table-cell;
	vertical-align: middle;
}

.topic-tag {
  border: 1px solid #337ab7;
  border-radius: 5px;
  padding: 3px;
  margin: 3px;
  display: inline-block;
}

.contact-us {
  padding: 15px 15px;
}
