* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comfortaa", sans-serif;
}

html {
  height: 100%;
}

body {
  height: 100%;
}

.logo {
  height: 100px;
  border-radius: 12px;
}

.wrapper {
  display: flex;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}

.header {
  width: 100%;
  display: flex;
  align-items: center;
  height: 10%;
  color: #3f3f3f;
  font-weight: 600;
  border-bottom: 2px solid rgb(212, 212, 212);
  margin: 24px 10%;
  margin-top: 0;
  padding: 24px 12px;
  max-width: 840px;
}

.page-title {
  font-size: 28px;
  padding: 12px 24px;
}

.content-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
}

.content {
  max-width: 840px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.subscribe-wrapper {
  padding: 48px 24px;
  width: 80%;
  background-color: #4ba848;
  color: white;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

.title {
  font-size: 32px;
  font-weight: 700;
}

.steps-title {
  font-size: 24px;
  padding: 48px 0;
}

.subtitle {
  padding: 12px 0;
}

.exp {
  padding: 12px 0;
}

.subscription-input {
  min-height: 46px;
  padding: 12px 24px;
  background-color: white;
  border: none;
  border-radius: 12px 12px 0 0;
}

.subscription-btn {
  color: white;
  min-height: 46px;
  padding: 12px 24px;
  background-color: rgb(0, 116, 39);
  border: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 3px 0 0 #004d1a;
}

.p-center {
  text-align: center;
}

.p-bold {
  font-weight: 700;
}

.p-bolder {
  font-weight: 900;
}

.subscription-info {
  padding-top: 12px;
  font-size: 10px;
}

.steps-wrapper {
  width: 100%;
  padding: 0 10%;
}

.footer-content {
  padding: 24px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.flashcard-front {
  width: 840px;
  min-height: 400px;
  background-color: #d6e9d5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  perspective: 1000px;
}

.flashcard-back {
  width: 840px;
  min-height: 400px;
  background-color: #d6e9d5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  perspective: 1000px;
  transform: rotateX(180deg);
}

.flashcard-header {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter {
  margin: 0;
  padding: 0;
  padding: 0 24px;
}

.flashcard-content {
  flex: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flashcard-buttons {
  padding: 24px;
  display: flex;
  justify-content: space-between;
}

.fc-btn {
  border: none;
  background-color: #add7aa;
  border-radius: 8px;
  padding: 24px;
  min-width: 33%;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 100%;
  perspective: 1000px;
  /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  min-height: 400px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

#summary {
  display: none;
}

.fold {
  transform: rotateX(360deg);
}

.unfold {
  transform: rotateX(180deg);
}

.flashcard-summary {
  min-height: 400px;
  background-color: #d6e9d5;
  border-radius: 8px;
  flex-direction: column;
}

.flashcard-front,
.flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flashcard-front {
  color: black;
}

/* Style the back side */
.flashcard-back {
  transform: rotateX(180deg);
}

.buy-wrapper {
  max-width: 50%;
}

.perks-list {
  max-width: 50%;
  line-height: 32px;
  margin: auto;
}

@media only screen and (max-width: 600px) {
  .flip-card-inner {
    margin: 0 12px;
  }

  .flashcard-summary {
    margin: 0 12px;
  }

  .buy-wrapper {
    max-width: 90%;
  }

  .perks-list {
    max-width: 80%;
    line-height: 32px;
    margin: auto;
  }


  .header {
    flex-direction: column;
  }
}

a:link {
  color: rgb(44, 44, 44);
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: rgb(44, 44, 44);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: rgb(0, 0, 0);
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: rgb(56, 56, 56);
  background-color: transparent;
  text-decoration: underline;
}

.foot-p {
  font-size: 0.7rem;
}

.header-wrapper {
  padding: 0 12px;
}