@import url("https://fonts.googleapis.com/css?family=Montserrat:700|Raleway");
/* Global Button Styles */
article.animated-button {
  position: relative;
  display: block;
  padding: 14px 15px;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  letter-spacing: .08em;
  border-radius: 0;
  text-shadow: 0 0 1px rgba(68, 68, 68, 0.5), 0 1px 0 rgba(68, 68, 68, 0.5);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease; }

article.animated-button:after {
  content: "";
  position: absolute;
  height: 0%;
  left: 50%;
  top: 50%;
  width: 150%;
  z-index: -1;
  -webkit-transition: all 0.75s ease 0s;
  -moz-transition: all 0.75s ease 0s;
  -o-transition: all 0.75s ease 0s;
  transition: all 0.75s ease 0s; }

article.animated-button:hover {
  color: #000;
  text-shadow: none; }

article.animated-button:hover:after {
  height: 100vw; }

article.animated-button {
  position: relative;
  display: block;
  padding: 14px 15px;
  color: #000;
  font-size: 14px;
  border-radius: 0;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  letter-spacing: .08em;
  text-shadow: 0 0 1px rgba(68, 68, 68, 0.5), 0 1px 0 rgba(68, 68, 68, 0.5);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease; }

article.animated-button.victoria-two {
  border-top: 2px solid #fec845;
  border-bottom: 2px solid #fec845; }

article.animated-button.victoria-two:after {
  background: #fec845;
  -moz-transform: translateX(-50%) translateY(-50%) rotate(25deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(25deg);
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(25deg);
  transform: translateX(-50%) translateY(-50%) rotate(25deg); }

*, *:before, *:after {
  box-sizing: border-box;
  outline: none; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif; }

main {
  position: relative;
  width: 100%;
  margin-top: 10em; }

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif; }

img {
  width: 100%; }

header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 1em;
  z-index: 3;
  background: #d54242;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5); }
  header a {
    width: 100%;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin: auto;
    padding-bottom: .5em; }
  header .logo {
    width: 100%; }
    header .logo img {
      height: 5em; }

.search {
  width: 3em;
  padding: .5em;
  display: flex; }
  .search img {
    margin: auto; }

label {
  display: block;
  margin-bottom: .5em; }
  label input {
    padding: .5em; }

#calculate-btn {
  margin: 1em 0;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  cursor: pointer;
  width: 15em;
  padding: 1em;
  border: 2px solid #fff;
  transition: all .2s ease-in-out; }

#calculate-btn:hover {
  background-color: #fff;
  color: #444;
  transition: all .2s ease-in-out; }

#calculator {
  color: #fff; }

.radio-btn {
  border: 1px solid #fff;
  padding: 1em;
  cursor: pointer;
  display: block;
  margin-bottom: .5em; }

.radio-btn.active {
  color: #444;
  background: #fff; }

.insurance-results {
  padding: 1em;
  background-color: rgba(255, 255, 255, 0.5);
  color: #444; }

#about {
  padding: 0 .5em 5em .5em; }

.content-section {
  display: flex;
  padding: 5em .5em; }
  .content-section div {
    margin: auto;
    max-width: 50em; }

.voting-info {
  background-color: #d54242; }
  .voting-info h3 {
    margin: 0 0 1em 0;
    text-align: center; }

#geocoder {
  margin-bottom: 1em; }
  #geocoder .mapboxgl-ctrl-geocoder {
    width: 100%;
    border-radius: 0; }
  #geocoder input[type="text"] {
    background-color: #d54242;
    color: #fff; }
  #geocoder input[type="text"]::-webkit-input-placeholder {
    color: #fff; }

#state-reps {
  padding: 8em .5em; }
  #state-reps h3 {
    text-align: center; }

.card {
  background-color: #d54242;
  padding: 1em;
  margin-bottom: 1em;
  color: #fff; }

.search-results {
  display: none; }

.search-results.active {
  display: block; }
  .search-results.active p {
    padding: 0 1em; }

.flex-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap; }
  .flex-grid .img-container {
    margin: 0;
    width: 100%; }

video {
  height: auto !important; }

@media all and (min-width: 400px) {
  main {
    margin-top: 5em; }
  .flex-grid .img-container {
    flex: 1; }
  .flex-grid .img-container:first-child {
    padding-right: 1em; }
  .flex-grid .img-container:last-child {
    padding-right: 1em; }
  header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background: #d54242;
    width: 100%;
    display: flex;
    height: 5em;
    flex-wrap: wrap;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5); }
    header a {
      width: 20em;
      color: #fff;
      font-family: 'Montserrat', sans-serif;
      margin: auto; }
    header .spacer {
      flex: 1; }
    header .logo {
      width: 25em;
      position: relative;
      top: -1em; }
      header .logo img {
        height: 5em; } }

footer {
  height: 5em;
  display: flex;
  background-color: #444;
  color: #fff;
  text-align: center; }
  footer div {
    margin: auto; }
