@font-face {
  font-family: "JaceBeleren Bold";
  src: url("/JaceBeleren-Bold.ttf") format("opentype");
 }
 @font-face {
  font-family: "JaceBeleren";
  src: url("/Beleren Small Caps.ttf") format("opentype");
 }

 @font-face {
  font-family: "Beleren Bold";
  src: url("/Beleren-Bold.ttf");
 }

 @font-face {
  font-family: "MPlantin";
  src: url("/MPlantin.ttf") format("opentype");
 }

/* Show it is fixed to the top */
body {
  min-height: 75rem;
  padding-top: 4.5rem;
  font-family: 'JaceBeleren Bold';
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}
.flex-container > div, .flex-container>figure {
  background-color: #f1f1f1;
  width: 350px;
  margin: 10px;
  text-align: center;
  line-height: 2em;
  font-size: 1.3em;
  border-radius: 10px;
}

.flag-icon {
  width: 1.2em;
}

div.watermark-container, p#cardText, p#cardFlavor, p#cardOracleText {
  font-family: MPlantin;
}

div#cardStat,div#cardOracleStat {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

div#expansion {
  text-align: center;
  font-size: 1.3em;
}

span#cardPrice {
  text-align: center;
  width: 100%;
  font-size: 2em;
}


/* @import 'https://fonts.googleapis.com/css?family=Montserrat:400,700'; */
.aa-input-container {
  display: inline-block;
  position: relative; }
.aa-input-search {
  width: 300px;
  padding: 12px 28px 12px 12px;
  border: 2px solid #e4e4e4;
  border-radius: 4px;
  -webkit-transition: .2s;
  transition: .2s;
  /* font-family: "Montserrat", sans-serif; */
  box-shadow: 4px 4px 0 rgba(241, 241, 241, 0.35);
  font-size: 11px;
  box-sizing: border-box;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; }
  .aa-input-search::-webkit-search-decoration, .aa-input-search::-webkit-search-cancel-button, .aa-input-search::-webkit-search-results-button, .aa-input-search::-webkit-search-results-decoration {
    display: none; }
  .aa-input-search:focus {
    outline: 0;
    border-color: #3a96cf;
    box-shadow: 4px 4px 0 rgba(58, 150, 207, 0.1); }
.aa-input-icon {
  height: 16px;
  width: 16px;
  position: absolute;
  top: 50%;
  right: 16px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  fill: #e4e4e4; }
.aa-hint {
  color: #e4e4e4; }
.aa-dropdown-menu {
  background-color: #fff;
  border: 2px solid rgba(228, 228, 228, 0.6);
  border-top-width: 1px;
  /* font-family: "Montserrat", sans-serif; */
  width: 300px;
  margin-top: 10px;
  box-shadow: 4px 4px 0 rgba(241, 241, 241, 0.35);
  font-size: 11px;
  border-radius: 4px;
  box-sizing: border-box; }
.aa-suggestion {
  padding: 12px;
  padding: 3px;
  border-top: 1px solid rgba(228, 228, 228, 0.6);
  cursor: pointer;
  -webkit-transition: .2s;
  transition: .2s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
.aa-suggestion:hover, .aa-suggestion.aa-cursor {
    background-color: rgba(241, 241, 241, 0.35); }
.aa-suggestion > div > span:first-child {
    color: #333; }
.aa-suggestion > div > span:last-child {
    text-transform: uppercase;
    color: #a9a9a9; }
.aa-suggestion > div > span:first-child em, .aa-suggestion > div > span:last-child em {
  font-weight: 700;
  font-style: normal;
  background-color: rgba(58, 150, 207, 0.1);
  padding: 2px 0 2px 2px; }

.aa-suggestion > img {
  padding: 0px;
  margin: 0px;
  height: 100px;
}
.aa-suggestion > img:hover {
  -moz-transform: scale(3);
  -webkit-transform: scale(3);
  transform: scale(3);
}

.aa-suggestion>div {vertical-align: top;width: 100%;}
.aa-suggestion>div>span {text-transform: uppercase;font-size: 1.3em;}
.aa-suggestion>div>span:last-child {text-transform: none;}

dd {
  font-family: MPlantin;
}
h5.card-title {
  margin-top: 2em;
}
h5.card-title:first-child {
  margin-top: 0em;
}


figure>a{
  text-decoration: none;
  font-family: 'Beleren Bold';
}
figure>a::after{
  content: attr(title);
  position: relative;
  width: 100%;
  background-color: black;
  color: white;
  /* font-weight: bold; */
  /* font-size: 1em; */
  line-height: 2em;
  opacity: 0.7;
  text-align: center;
  display: block; margin-left: auto; margin-right: auto;
  top:-325px;
  border-radius: 0px 0px 5px 5px;
}
a>img{
  border-radius: 5px;
}
figure{
  width:350px;
  height: 254px;
  height: 120px;
  overflow:hidden;
  /* margin:0; */
  border-radius: 5px 5px 5px 5px;
  box-shadow: 5px 5px 10px;
}
figure img{
 display:block;
 width:120%;
}
figure img{
  margin: -89px -34px;
}
figure div {
  position: relative;
  top: -455px;
  text-align: right;
  margin-right: 5px;
  /* font-size: 1em; */
  line-height: 2em;
  opacity: 0.7;
}