@import "reset.css";
@keyframes slideInRight {
  from {
    transform: translateX(30em);
    filter: blur(4);
    opacity: 0;
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-3em);
    filter: blur(4);
    opacity: 0;
  }
}
@keyframes slideUpFromBottom {
  from {
    transform: translatey(20em) rotate(5deg);
    filter: blur(4);
    opacity: 0;
  }
}
input[type=radio] {
  display: none;
}
input[type=radio] ~ label:before {
  display: inline-block;
  content: "";
  border: #14474e solid 2px;
  background: #fff;
  width: 1.3em;
  height: 1.3em;
  vertical-align: text-top;
  border-radius: 1.3em;
  margin-right: 0.75em;
  transform: all 0.5s;
}
input[type=radio]:checked ~ label:before {
  background: #14474e;
  box-shadow: inset #fff 0px 0px 0px 3px;
}

input[type=checkbox] {
  display: none;
}
input[type=checkbox] ~ label:before {
  display: inline-block;
  content: "";
  border: #14474e solid 2px;
  background: #fff;
  width: 1.3em;
  height: 1.3em;
  vertical-align: text-top;
  margin-right: 0.75em;
  transform: all 0.5s;
}
input[type=checkbox]:checked ~ label:before {
  background: #14474e;
  box-shadow: inset #fff 0px 0px 0px 3px;
}

h1 {
  font-size: 2em;
}
@media screen and (min-height: 720px) {
  h1 {
    font-size: 5rem;
  }
}

#logo {
  font-size: 1em;
  background-image: url("../img/plantle-logo-with-tagline.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  max-width: 30em;
  height: 100%;
  margin: 0 auto;
}
#logo span {
  display: none;
}

#tagline {
  display: none;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.7em;
}

.btn {
  align-items: center;
  background-color: #f3f3f3;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  height: 48px;
  text-transform: uppercase;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  outline: none;
  padding: 0 2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin: 1em auto;
}
@media screen and (min-height: 820px) {
  .btn {
    font-size: 1.8rem;
    border-radius: 16px;
    border: 4px solid #111;
  }
}
.btn.giant {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.5em;
  height: 60px;
}
@media screen and (min-height: 820px) {
  .btn.giant {
    font-size: 2em;
    height: 80px;
  }
}
@media screen and (min-height: 1366px) {
  .btn.giant {
    font-size: 2.2em;
    height: 100px;
  }
}
.btn.giant:after {
  height: 60px;
}
@media screen and (min-height: 820px) {
  .btn.giant:after {
    height: 80px;
  }
}
@media screen and (min-height: 1366px) {
  .btn.giant:after {
    height: 100px;
  }
}
.btn:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(4px, 4px);
  transition: transform 0.2s ease-out;
  z-index: -1;
}
@media screen and (min-height: 820px) {
  .btn:after {
    border-radius: 16px;
  }
}
.btn.small-shadow:after {
  transform: translate(2px, 2px);
}
.btn:hover:after {
  transform: translate(0px, 0px);
}
.btn:active {
  background-color: #d5ddd1;
  outline: 0;
}
.btn:active:after {
  transform: translate(0, 0);
  transition: transform 0s linear;
}
.btn:hover {
  outline: 0;
}

.card {
  border: none;
  border-radius: 1.25rem;
  background: #fff;
  padding: 0;
  display: inline-block;
  position: relative;
  width: 18.81rem;
  height: 29.7rem;
  font-weight: bolder;
  color: #000;
  transition: all 0.4s cubic-bezier(0.63, 0.15, 0.03, 1.12);
  animation-fill-mode: backwards;
  animation: slideUpFromBottom 0.5s ease forwards;
  opacity: 1;
  filter: blur(0);
  filter: drop-shadow(3px 3px 3px black);
  transform: rotate(-1.3deg);
  overflow: hidden;
}
@media screen and (min-height: 720px) {
  .card {
    width: 20.9rem;
    height: 33rem;
  }
}
@media screen and (min-height: 820px) {
  .card {
    width: 22.99rem;
    height: 36.3rem;
  }
}
@media screen and (min-height: 1366px) {
  .card {
    width: 25.08rem;
    height: 39.6rem;
  }
}
.card ~ .card {
  margin-top: -29.7rem;
}
@media screen and (min-height: 720px) {
  .card ~ .card {
    margin-top: -33rem;
  }
}
@media screen and (min-height: 820px) {
  .card ~ .card {
    margin-top: -35.3rem;
  }
}
@media screen and (min-height: 1366px) {
  .card ~ .card {
    margin-top: -38rem;
  }
}
.card:nth-child(2n) {
  transform: rotate(0deg);
}
.card:nth-child(3n) {
  transform: rotate(1.5deg);
}
.card .front, .card .back {
  width: 100%;
  height: 100%;
}
.card.hidden {
  opacity: 0;
  transition: all 2s;
}
.card .picture {
  display: block;
  width: 100%;
  height: 13.86rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}
@media screen and (min-height: 720px) {
  .card .picture {
    height: 15.4rem;
  }
}
@media screen and (min-height: 820px) {
  .card .picture {
    height: 16.94rem;
  }
}
@media screen and (min-height: 1366px) {
  .card .picture {
    height: 18.48rem;
  }
}
.card .copyright {
  display: block;
  position: absolute;
  bottom: 0.2em;
  left: 0.2em;
}
.card .copyright .icon {
  background: url("../img/icons/copyright.svg") no-repeat center center;
  background-size: cover;
  display: block;
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
}
.card .copyright .text {
  display: none;
}
.card.correct::after {
  content: url("../img/icons/check-circle2.svg") !important;
  height: 3em;
  width: 3em;
  position: absolute;
  border-radius: 3em;
  background: #fff;
  translate: 0 -1.4rem;
  right: 0.5rem;
  top: 13.86rem;
}
@media screen and (min-height: 720px) {
  .card.correct::after {
    top: 15.4rem;
  }
}
@media screen and (min-height: 820px) {
  .card.correct::after {
    top: 16.94rem;
  }
}
@media screen and (min-height: 1366px) {
  .card.correct::after {
    top: 18.48rem;
  }
}
.card.incorrect::after {
  content: url("../img/icons/x-circle.svg") !important;
  height: 3em;
  width: 3em;
  position: absolute;
  border-radius: 3em;
  background: #fff;
  translate: 0 -1.4rem;
  right: 0.5rem;
  top: 13.86rem;
}
@media screen and (min-height: 720px) {
  .card.incorrect::after {
    top: 15.4rem;
  }
}
@media screen and (min-height: 820px) {
  .card.incorrect::after {
    top: 16.94rem;
  }
}
@media screen and (min-height: 1366px) {
  .card.incorrect::after {
    top: 18.48rem;
  }
}
.card ul.answers.easy {
  padding: 1.4em;
  display: block;
  text-align: left;
}
@media screen and (min-height: 720px) {
  .card ul.answers.easy {
    padding: 1.6em;
  }
}
@media screen and (min-height: 820px) {
  .card ul.answers.easy {
    padding: 1.7em;
  }
}
@media screen and (min-height: 1366px) {
  .card ul.answers.easy {
    padding: 1.8em;
  }
}
.card ul.answers.easy li {
  display: block;
}
.card ul.answers.easy li:last-child button {
  border-bottom: none;
}
.card ul.answers.easy li button {
  width: 100%;
  background: none;
  padding: 0.5em 1.5em 0.5em 0;
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  color: #000;
  text-align: left;
  border: none;
  border-bottom: #e3e3e3 dashed 1px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
@media screen and (min-height: 1366px) {
  .card ul.answers.easy li button {
    font-size: 1.5em;
  }
}
.card ul.answers.easy li button::after {
  content: url("../img/icons/arrow-right.svg");
  position: absolute;
  right: 0;
  opacity: 0;
  height: 1em;
  width: 1em;
  top: calc(50% - 0.5em);
  margin-top: -0.2em;
}
.card ul.answers.easy li button:hover::after {
  animation: slideInLeft 0.2s;
  opacity: 1;
}
.card ul.answers.easy li button.correct::after {
  content: url("../img/icons/check-circle.svg") !important;
  opacity: 1;
  height: 1.3em;
  width: 1.3em;
  margin-top: 0.1em;
  top: calc(50% - 0.6em);
}
.card ul.answers.easy li button.incorrect::after {
  content: url("../img/icons/x-circle.svg") !important;
  opacity: 1;
  height: 1.3em;
  width: 1.3em;
  top: calc(50% - 0.6em);
  margin-top: 0;
}
.card.answered button:hover {
  cursor: default;
}
.card.answered button:hover::after {
  content: "";
  animation: none;
}
.card.answered button.correct:hover {
  cursor: default;
}
.card.answered button.incorrect:hover {
  cursor: default;
}

.answers.hard {
  display: block;
  padding: 1em 1.5em;
  text-align: left;
}
.answers.hard .answer {
  font-size: 0.9em;
  font-weight: 200;
  line-height: 1;
}
.answers.hard .answer:before {
  content: "Answered: ";
  opacity: 0.4;
}
.answers.hard .botanical-name {
  border: none;
  border-bottom: #333 dotted 1px;
  padding: 0.4em 0;
  width: 100%;
  min-height: 1.3em;
  outline: none;
  font-size: 1.3em;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  line-height: 1;
}
.answers.hard .botanical-name:before {
  content: "Press to select an answer";
  font-weight: 300;
  opacity: 0.4;
}
.answers.hard .botanical-name.selected {
  cursor: default;
}
.answers.hard .botanical-name.selected:before {
  display: none;
}
.answers.hard .common-name, .answers.hard .description {
  display: block;
  margin-bottom: 0;
  transition: filter 0.3s;
}
.answers.hard .common-name.blurred, .answers.hard .description.blurred {
  filter: blur(0.3em);
  transition: filter 0.3s;
}
.answers.hard .common-name {
  font-weight: bold;
}
.answers.hard .description {
  line-height: 1.1;
}
.answers.hard ul {
  margin-top: 0.3em;
}
.answers.hard ul li {
  padding: 0.3em 0;
  font-size: 1.1em;
}
.answers.hard ul li .title {
  font-weight: 500;
  display: inline-block;
  width: 35%;
}
.answers.hard ul li .title:after {
  content: ":";
}

#deck.spread .card {
  margin: 1em;
  transition: all 2s;
  transform: rotate(0deg);
}

dialog {
  border: none !important;
  border-radius: 0.5rem;
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2.6rem;
  max-width: 100%;
  outline: none;
}
@media screen and (min-height: 1366px) {
  dialog {
    max-width: 500px;
  }
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}
dialog h2 {
  font-size: 2.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1em;
}
dialog p {
  font-size: 1.4rem;
  max-width: 280px;
}
dialog .inner {
  font-size: 1.6em;
  margin-bottom: 1em;
}
dialog button {
  margin: 0 auto;
}

body, html {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
@media screen and (min-height: 1366px) {
  body, html {
    font-size: 15px;
  }
}

body {
  padding: 0;
  text-align: center;
  background-color: #dee5db;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  overflow: hidden;
  position: relative;
}
body.unlocked {
  overflow: auto;
}

header {
  padding: 1.2em 1.2em 0 1.2em;
  height: 8rem;
  background: #dee5db;
  transition: all 1s;
}
@media screen and (min-height: 720px) {
  header {
    height: 10rem;
    padding: 1.5em 1.5em 0 1.5em;
  }
}
@media screen and (min-height: 1366px) {
  header {
    height: 15rem;
  }
}

body.unlocked header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 7rem;
  padding-top: 1em;
  border-bottom: #14474e dotted 1px;
  transition: all 1s;
}

#controls #learn {
  margin: 2em auto 1em auto;
}
#controls #start {
  margin: 2em auto 0 auto;
}
#controls #play-again {
  display: inline-block;
  margin: 1em 0.5em;
}
#controls #reset {
  display: inline-block;
  margin: 1em 0.5em;
}

#deck {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1.5em auto 0 auto;
  width: 18.81rem;
  min-height: 30rem;
}
@media screen and (min-height: 720px) {
  #deck {
    margin: 3em auto 0 auto;
    width: 20.9rem;
  }
}
@media screen and (min-height: 820px) {
  #deck {
    margin: 4em auto;
    width: 22.99rem;
  }
}
@media screen and (min-height: 1366px) {
  #deck {
    margin: 6em auto;
    width: 25.08rem;
  }
}
#deck.spread {
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1300px;
  transition: all 2s;
  padding: 0 2rem 3.5rem 2rem;
  margin-top: 1.5em;
  min-width: 0;
}

#score-board {
  display: inline-block;
  border: 2px solid #14474e;
  font-size: 1.2rem;
  border-radius: 2% 6% 5% 4%/1% 1% 2% 4%;
  text-transform: uppercase;
  text-align: center;
  width: 17rem;
  letter-spacing: 0.3ch;
  line-height: 1;
  position: absolute;
  bottom: 1em;
  padding: 1rem;
  left: calc(50% - 8.5rem);
}
@media screen and (min-height: 720px) {
  #score-board {
    bottom: 2em;
  }
}
@media screen and (min-height: 1366px) {
  #score-board {
    font-size: 1.8rem;
    width: 22rem;
    left: calc(50% - 11rem);
    bottom: 2.5em;
  }
}
#score-board::before {
  content: "";
  border: 2px solid #14474e;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1.015) rotate(0.5deg);
  border-radius: 1% 1% 2% 4%/2% 6% 5% 4%;
}
#score-board::after {
  content: "";
  border: 2px solid #14474e;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(0.99) rotate(-0.8deg);
  border-radius: 2% 6% 2% 4%/2% 6% 5% 4%;
}
@media screen and (min-height: 1366px) {
  #score-board {
    font-size: 1.4rem;
  }
}
#score-board h3 {
  font-weight: bold;
  display: inline;
  margin-right: 1.5em;
  font-size: 1.2em;
}
@media screen and (min-height: 1366px) {
  #score-board h3 {
    font-size: 1.8rem;
  }
}
#score-board #score {
  display: inline;
}

#learn-next {
  width: 15rem;
  position: absolute;
  bottom: 1em;
  left: calc(50% - 7.5rem);
}

body.unlocked #score-board {
  position: relative;
  left: auto;
  margin-bottom: 2em;
}

#game-difficulty, #filters {
  width: 20rem;
  margin: 0 auto;
  padding: 1em;
  position: relative;
}
#game-difficulty h3, #filters h3 {
  text-transform: uppercase;
  letter-spacing: 0.2ch;
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 2em;
  color: #14474e;
  border-bottom: 1px dotted #14474e;
}
#game-difficulty .option, #filters .option {
  padding: 0.5em 0;
  font-size: 1.4em;
  text-transform: uppercase;
  width: 14rem;
  text-align: left;
  margin: 0 auto;
}
#game-difficulty .option label, #filters .option label {
  cursor: pointer;
}
#game-difficulty .option p, #filters .option p {
  font-size: 1.1rem;
  margin: 0.3em 0 0.6em;
  padding-left: 2.4em;
  text-transform: none;
}

#filters {
  margin-top: 5rem;
}

#game-difficulty {
  margin-top: 3rem;
}

#start {
  margin-top: 4rem;
}

#full-plant-list {
  display: block;
  height: 15rem;
  width: 300px;
  max-width: 100%;
  overflow-y: scroll;
  font-size: 1.3em;
  text-align: left;
  margin-bottom: 2em;
}
#full-plant-list .item {
  padding: 0.3em;
  cursor: pointer;
}
#full-plant-list .item:hover {
  background-color: #dee5db;
}

#support-us {
  width: 100%;
  max-width: 500px;
}

#support-us a.buy-coffee-link {
  border:none;
  outline:none;
}

#buy-me-a-coffee-qr-code {
  width: 100px;
  margin: 0 0;
  position: absolute;
  bottom: 1em;
  right: 1em;
}
/*# sourceMappingURL=style.css.map */
