body{
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  background-color: rgb(226, 226, 226);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.filterArea {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 100%;
  background-color: rgba(45, 78, 168, .6);
}

fieldset {
  margin: 2rem 0;
  padding: 1rem;
}

.resetButtons {
  padding: .5rem;
  width: 100%;
  margin-top: .5rem;
  border-radius: 6px;
}
.resetAll{
  width: 95%;
}
#specialMembers{
  display: grid;
  grid-template-areas:
  "loyal loyal"
  "senior vacation";
  min-height: 70vh;
  margin-bottom: 1rem;
}
#seniorMember{
  grid-area: senior;
  display: flex;
  justify-content: right;
  flex-wrap: wrap;  
}
#vacationer{
  grid-area: vacation;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;  
}
#loyalMembers{
  grid-area: loyal;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  stroke-width: 2px;
  stroke: black;
}
#loyalMembers h3{
  flex: none;
  width: 100%;
}
header{
  text-align: center;
}
header h1{
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: rgba(45, 78, 168, .6);
  color: #EEE;
  padding: 5px;
  margin-bottom: 10px;
}

.membersDiv {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 1.7rem;
  min-height: 50vh;
}
.scene {
  text-align: center;
  width: 200px;
  height: 270px;
  /*border: 1px solid #CCC;*/
  margin: 1rem;
  perspective: 600px;
  border-radius: 10px;
}
.democrat {
  background-color: rgb(131, 179, 241);
}
.republican {
  background-color: rgba(180, 7, 7, 0.504);
}
.independent {
  background-color: yellow;
}

.card {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.card__face--front {
  /* background: rgb(239, 192, 192); */
  border-radius: 4px;
}

.card__face--back {
  background: linear-gradient(#DD5566, white, #5566EE);
  transform: rotateY(180deg);
  border-radius: 2px;
}
.birthDate {
  padding: .5rem;
}
.svgOutline {
  min-width: 90%;
  max-height: 40%;
}
figure img {
  border-radius:  2px;
}
figcaption {
  text-align: center;
  border-radius: 2px;
}
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  text-align: center;
  background-color: rgba(45, 78, 168, .7);
  color: #EEE;
  padding: .5rem;
}
.scene.loyal_member{
  max-height: 10rem;
  max-width: 7rem;
  font-size: x-small;
  margin-bottom: 2rem;
 }
.loyal_member img{
  width: 100%;
}
.scene.special_member{
  min-height: 10rem;
  min-width: 7rem;
}
.no_results{
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 640px){
  #specialMembers{
      font-size: 70%;
  }
}
@media (max-width: 464px){
  #specialMembers{
      font-size: 70%;
      max-width: 100vw;
  }
  .scene{
    max-width: 40vw;
  }
  .scene img{
    width: 100%;
  }
  .scene.loyal_member{
    max-width: 20vw;
    font-size: x-small;
    margin-bottom: 2rem;
   }
  .loyal_member img{
    width: 100%;
  }
  .scene.special_member{
    max-width: 40vw;
  }
  .special_member img{
    width: 100%;
  }
}