@import url("https://fonts.googleapis.com/css2?family=Katibeh&family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&display=swap");
@font-face {
  font-family: 'Kaoly';
  src: url("../font/Kaoly-Demo-Regular.ttf") format("truetype"); }
header, .summary, .explanation, .participation, footer, .design-selection, .design-archives {
  width: 100%;
  padding: 0rem 1.875rem; }

/*Gen Styles*/
* {
  box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font: 1rem/1.75 "Libertinus Sans", sans-serif;
  color: #ffffff;
  background-image: url("../images/background.jpg"); }

h1, h2 {
  margin: 0;
  padding: 0; }

h1 {
  font-family: "Kaoly", sans-serif;
  font-size: 0; }
  h1::after {
    content: 'Css Zen Garden';
    font-size: 4rem;
    line-height: 5.25rem; }

h2, h3 {
  font-family: "Katibeh", sans-serif;
  font-size: 1.85rem; }

h3 {
  line-height: 1.5rem; }

p {
  margin: 0;
  padding: 0 0 1rem;
  letter-spacing: 0.05em; }

a {
  color: #ffffff;
  text-decoration: underline; }
  a:hover {
    background: #ffffff;
    color: #1A1A40; }

ul {
  list-style: none;
  padding: 0; }

/*Intro*/
header {
  padding-top: 20%; }
  header h2 {
    line-height: 1rem;
    padding-bottom: 10%;
    position: relative;
    padding-right: 20%; }
  header::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 20px;
    width: 80px;
    height: 320px;
    background: url("../images/stars.png") no-repeat center center;
    background-size: contain;
    pointer-events: none; }

.summary, .preamble {
  padding-bottom: 10%; }

.summary {
  padding-right: 20%; }

.preamble {
  background: url("../images/mobile_preamble-bg.jpg") no-repeat center top;
  background-size: cover;
  padding-top: 60%;
  width: 100%; }
  .preamble h3, .preamble p {
    padding: 0rem 1.875rem; }

.participation {
  padding-bottom: 5%; }

.benefits {
  background: url("../images/mobile_benefits-bg.png") no-repeat center bottom;
  background-size: cover;
  padding-top: 3%;
  padding-bottom: 63%;
  width: 100%; }
  .benefits h3, .benefits p {
    padding: 0rem 1.875rem; }

.requirements {
  width: 100%; }
  .requirements h3, .requirements p {
    padding: 0rem 1.875rem; }
  .requirements p:last-child {
    color: #000020;
    background: #ffffff;
    margin-top: 5%;
    padding: 5% 1.875rem; }
    .requirements p:last-child a {
      color: #000020; }
      .requirements p:last-child a:hover {
        color: #ffffff;
        background: #000020; }

footer {
  display: flex;
  justify-content: space-between;
  padding-top: 7%;
  padding-bottom: 7%; }

.select, .archives, .resources {
  display: none; }

.design-selection {
  background: #1A1A40;
  padding-top: 5%;
  padding-bottom: 5%; }
  .design-selection ul {
    display: flex;
    flex-direction: column;
    gap: 20px; }
    .design-selection ul li {
      flex-direction: column; }
  .design-selection .design-name {
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: underline;
    display: block; }
  .design-selection .designer-name {
    text-decoration: none;
    display: inline; }

.design-archives {
  padding-bottom: 5%; }

.zen-resources {
  margin-bottom: 10%;
  height: 32rem;
  width: 100%;
  perspective: 800px; }
  .zen-resources ul {
    margin: 0rem auto 10%;
    padding: 8rem 0;
    width: 22.5rem;
    height: 100%;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-size: contain;
    background: url("../images/Flip_Card.png") no-repeat center center;
    background-size: contain;
    font-size: 1.25rem;
    transform-style: preserve-3d;
    transition: background 0.6s ease-in-out, transform 0.6s ease-in-out;
    animation: blink 0.8s infinite alternate;
    border-radius: 25px; }
    .zen-resources ul:hover {
      transform: rotateY(180deg);
      background: url("../images/Blank_Card.png") no-repeat center center;
      background-size: contain;
      animation-play-state: paused; }
      .zen-resources ul:hover li {
        visibility: visible;
        transition-delay: 0.3s; }
    .zen-resources ul li {
      visibility: hidden;
      transition: visibility 1s ease-in-out -0.8s;
      transform: rotateY(180deg); }

@keyframes blink {
  from {
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); }
  to {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.6); } }
@media screen and (min-width: 500px) {
  header {
    padding-top: 15%; } }
@media screen and (min-width: 600px) {
  header {
    padding-right: 35%; }

  .preamble {
    background: url("../images/tablet_preamble-bg.jpg") no-repeat center top;
    background-size: cover;
    padding-top: 40%; }

  footer {
    justify-content: center;
    gap: 8%; }

  .design-selection {
    padding-top: 3%;
    padding-bottom: 3%; }
    .design-selection ul {
      flex-direction: row;
      justify-content: space-between;
      align-content: space-between;
      flex-wrap: wrap;
      flex-grow: 1;
      width: 100%; }
      .design-selection ul li {
        width: 40%; }

  .design-archives ul {
    display: flex;
    justify-content: flex-end;
    gap: 30px; } }
@media screen and (min-width: 750px) {
  header {
    padding: 12% 0 0 10%; }
    header h1 {
      padding-bottom: 3%; }
    header h2 {
      padding-bottom: 5%; }
    header::after {
      width: 120px;
      height: 500px;
      z-index: 1; }

  .summary, .preamble {
    padding-bottom: 5%; }

  .explanation, .participation, footer, .design-selection, .design-archives {
    width: 100%;
    padding-right: 10%;
    padding-left: 10%; }

  .summary {
    padding-right: 20%;
    padding-left: 10%; }

  .preamble {
    background: url("../images/bigtablet_preamble-bg.jpg") no-repeat center top;
    background-size: cover;
    padding-top: 28%; }
    .preamble h3, .preamble p {
      padding: 0 10%; }

  .participation {
    padding-bottom: 3%; }

  .benefits {
    width: 80%;
    background: url("../images/tablet_benefits-bg.png") no-repeat center bottom;
    background-size: cover;
    margin: 0 auto;
    padding-top: 0.5%;
    padding-bottom: 32%; }
    .benefits h3, .benefits p {
      padding: 0 5%; }

  .requirements h3, .requirements p {
    padding: 0 10%; }
  .requirements p:last-child {
    margin-top: 3%;
    padding: 3% 10%; }

  footer {
    padding-top: 3%;
    padding-bottom: 3%; }

  .design-archives {
    padding-bottom: 3%; } }
@media screen and (min-width: 1000px) {
  header {
    padding: 10% 0 0 10%; }
    header::after {
      width: 200px;
      height: 500px;
      z-index: 1; }

  .zen-resources {
    margin: 0rem auto 5%;
    background: url("../images/Blank_Card_DE.png") no-repeat center center;
    background-size: contain; } }
@media screen and (min-width: 1200px) {
  header {
    padding: 8% 0 0 10%; }
    header h1 {
      padding-bottom: 1%; }

  .summary, .preamble {
    padding-bottom: 3%; }

  .preamble {
    background: #1A1A40;
    padding-top: 0.5%;
    position: relative;
    padding-left: 25%;
    padding-right: 6%; }
    .preamble::before {
      content: "";
      position: absolute;
      padding-top: 3%;
      top: 0;
      left: 0px;
      width: 350px;
      height: 250px;
      background: url("../images/circles.png") no-repeat center left;
      background-size: contain;
      pointer-events: none; }

  .benefits {
    background: rgba(65, 68, 159, 0.35);
    position: relative;
    padding-top: 2%;
    padding-bottom: 4%;
    padding-right: 35%; }
    .benefits::after {
      content: "";
      position: absolute;
      padding-top: 3%;
      top: 0;
      right: 20px;
      width: 400px;
      height: 250px;
      background: url("../images/cardDeck.png") no-repeat center right;
      background-size: contain;
      pointer-events: none; }

  .design-selection {
    padding-top: 1%;
    padding-bottom: 1%; }
    .design-selection ul li {
      width: 20%; } }
@media screen and (min-width: 1350px) {
  .preamble {
    padding-left: 25%; }
    .preamble::before {
      padding-top: 2%;
      width: 400px;
      height: 300px; }

  .benefits {
    padding-right: 38%; }
    .benefits::after {
      width: 500px;
      height: 270px; } }
@media screen and (min-width: 1500px) {
  .preamble {
    padding-top: 3%;
    padding-bottom: 4%;
    padding-left: 28%; }
    .preamble::before {
      top: 4%;
      width: 500px;
      height: 320px; }

  .benefits {
    padding-top: 8%;
    padding-bottom: 6%;
    padding-right: 44%; }
    .benefits::after {
      width: 650px;
      height: 400px; } }
