/*
	CSS Document
	Author: nag-design.com
	version: 1.5.1
	Last Update: 2025-01-15
*/
/* =======================
	Reset
======================= */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
      text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

a {
  text-decoration: none;
}

/* =======================
	Tarot
======================= */
body {
  font-family: serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #e6e6e6;
  line-height: 1.6;
  background-color: transparent;
  z-index: 1;
}
body::before {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  background-image: url(../images/tarot-bg-xs.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-device-pixel-ratio: 2), print {
  body::before {
    background-image: url(../images/tarot-bg-xs@2x.webp);
  }
}
@media screen and (min-width: 768px) {
  body::before {
    background-image: url(../images/tarot-bg-tb.webp);
  }
}
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 768px) and (min-resolution: 2dppx), screen and (min-width: 768px) and (min-device-pixel-ratio: 2) {
  body::before {
    background-image: url(../images/tarot-bg-tb@2x.webp);
  }
}
@media screen and (min-width: 1024px) {
  body::before {
    background-image: url(../images/tarot-bg-md.webp);
  }
}
@media screen and (min-width: 1024px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 1024px) and (min-resolution: 2dppx), screen and (min-width: 1024px) and (min-device-pixel-ratio: 2) {
  body::before {
    background-image: url(../images/tarot-bg-md@2x.webp);
  }
}

.container {
  max-width: 460px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.container__title {
  margin: 24px 0 0;
  font-family: "Montez", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 72px;
  line-height: 1.1em;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.container__subtitle {
  margin: 0 0 16px;
  font-family: "Montez", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1.5em;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.container #reading-type {
  margin: 16px 0;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

#tarot-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  margin: 40px 0;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  gap: 16px;
}

.card {
  position: relative;
  width: 200px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  padding: 0;
}
.card .position-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  aspect-ratio: 144/54;
  margin: 0 auto 16px;
  text-align: center;
  color: #1a1a21;
  font-size: 14px;
  line-height: 1em;
  background: url(../images/position-label-bg.webp) center top/contain no-repeat;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-device-pixel-ratio: 2), print {
  .card .position-label {
    background-image: url(../images/position-label-bg@2x.webp);
  }
}
.card .card-inner {
  position: relative;
  -webkit-transition: -webkit-transform 0.8s;
  transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  -webkit-transition: -webkit-transform 1s ease;
  transition: -webkit-transform 1s ease;
  transition: transform 1s ease;
  transition: transform 1s ease, -webkit-transform 1s ease;
}
.card.revealed .card-inner {
  -webkit-transform: rotateY(360deg);
          transform: rotateY(360deg);
}

.card-info {
  margin: 12px 0;
  color: #e6e6e6;
}
.card-info .card-name {
  margin: 12px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1em;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.card-info .card-position {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  line-height: 1em;
  padding: 4px 6px;
  color: #0f0f15;
  background-color: #e6e6e6;
}
.card-info .card-position.reversed {
  color: #e6e6e6;
  background-color: #0f0f15;
}

#bottom-section {
  width: 100%;
  margin: 24px 0;
}

button {
  background-color: #ffc26e;
  color: #1a1a21;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
button:hover {
  background-color: #ed7300;
}
button:disabled {
  background-color: #909090;
  cursor: not-allowed;
}

#reading-section {
  margin-top: 32px;
  padding: 32px;
  border-image-source: url(../images/reading-border.webp);
  border-image-slice: 50 40 fill;
  border-image-width: 20px;
  border-image-outset: 0;
  border-image-repeat: stretch;
}
#reading-section #reading-title {
  margin: 8px 0 24px;
  font-family: "Montez", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
  color: #1a1a21;
}
#reading-section #reading-text {
  font-family: serif;
  font-size: 16px;
  line-height: 2em;
  text-align: justify;
  white-space: pre-wrap;
  color: #1a1a21;
}

.footer {
  margin: 80px auto 0;
  padding: 20px;
  font-family: sans-serif;
  font-size: 14px;
  text-align: center;
}
.footer__link {
  margin: 0.5em auto;
  font-size: 14px;
  line-height: 2em;
  color: rgba(255, 255, 255, 0.75);
}
.footer__link a {
  color: rgba(255, 255, 255, 0.75);
}
.footer__copyright {
  margin: 1.5em auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.footer__copyright a {
  color: rgba(255, 255, 255, 0.75);
}

/* =======================
	ad
======================= */
#adContainer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: none;
  text-align: center;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 90000;
}

#adHeader {
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  line-height: 40px;
  font-family: sans-serif;
  font-size: 16px;
  color: black;
  text-align: center;
  border-bottom: 1px solid black;
}

.ad-banner-type {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.ad-300x250 {
  margin: auto;
  width: 300px;
  height: 250px;
}/*# sourceMappingURL=tarot.css.map */