
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* END OF RESET CSS */


/* CUSTOM STYLES */
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: #d3d3d3;
  color: #333;
}

p {
  /*font-family: 'Playfair Display', serif;*/
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.font-medium {
  font-weight: 400;
}

.font-bold {
  font-weight: 600;
}


/* PREVENT TEXT SELECTION AND DRAG */
.no-select {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}




/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  /*padding: 60px 50px;*/
  padding: 0px;
}


/* HERO */
.hero {
  width: 100%;
  /*height: 45vh;*/
  height: 45svh; /* instead of vh */
  min-height: 300px;
  background: url('../img/header_bg_desktop.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;   /* required */
  overflow: hidden;     /* clips petals to hero height */

}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 9999;
}

/* make picture behave like a block container */
.hero-picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-logo {
  display: block;      /* removes inline spacing quirks */
  max-width: 90%;
  padding: 0 24px;
}

/* CONTENT SECTION */
.content {
  display: flex;
  gap: 0px;
  /*align-items: center;*/
  align-items: flex-start; /* top align */
  justify-content: center;
  margin-bottom: 60px;
  background: url('../img/content_bg.jpg') center/cover no-repeat;
}

.content-image img {
  /*max-width: 350px;*/
  display: block;
  width: 100%;
}

.content-text {
  /*max-width: 500px;*/
  max-width: 50%;
}

.content-text p
{  
  font-size: 24px;
  line-height: 1.5;
  padding-top: 70px;
  padding-right: 50px;
}

.dropcap {
  position: relative;
  float: left;
  /*margin: 0.2em 0 0 0;*/
  
  left: 0.3em;
  width: 3em;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;/*flex-start;*/
  margin-top: 70px;
  margin-right: 70px;
}

.reviews img {
  /*max-width: 380px;
  width: 90%;*/
  width: 90%;
  max-width: 380px;
}

/* CTA */
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0px 70px 250px 70px;
}

.btn {
  padding: 24px 24px;
  text-decoration: none;
  user-select: none;
  font-weight: 600;
  font-size: 1.5em;
  border-radius: 35px;
  width: 40%;

  display: flex;              /* key change */
  color: inherit;
  align-items: center;        /* vertical centering */
  justify-content: center;    /* flex-start */
  gap: 0.5em;                 /* space between icon + text */
  text-align: center;
  
  cursor: pointer;
  font-family: inherit;

  border: 3px solid #434242;
  box-sizing: border-box;

  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  /*box-shadow: 0 6px 0 rgba(0,0,0,0.2);*/
}

.btn:hover {
  transform: translateY(-2px);
  /*box-shadow: 0 8px 0 rgba(0,0,0,0.2);*/
}

.btn:active {
  transform: translateY(2px);
  /*box-shadow: 0 4px 0 rgba(0,0,0,0.2);*/
}

/*
.btn span {
  white-space: nowrap;
  flex-shrink: 0;
}
*/

.cta img {
  display: block;    /* removes inline spacing issues */
  flex-shrink: 0;    /* prevents icon from shrinking */
  max-height: 1.2em;
  width:auto;
}

.btn-ebook {
  background: #d3d3d3;
  color: #000;
}

.btn-kindle {
  background: #d3d3d3;
  color: #000;
}

/*
button.btn {
  border: none;
  border-style: solid;
  border-width: 3px;
  border-color: #434242;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 6px 0 rgba(0,0,0,0.2);
}
button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0,0,0,0.2);
}

button.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
*/


/* Pedals */
.pedals {
  position: absolute; /*fixed;*/
  inset: 0;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don't block clicks */
  overflow: hidden;
  z-index: 9998;
}

.pedal-wrapper {
  position: absolute;
  top: -100px;
  animation: fall linear infinite;
}


.pedal {
  position: absolute;
  top: -10%;
  width: 80px;
  height: 80px;
  background: url('../img/pedal.png') no-repeat center/contain;
  opacity: 1;
  transform-origin: center center;
  /*transform-origin: 50% 50%;*/
  /*animation: fall linear infinite;*/

  transform: scale(var(--scale)) rotate(0deg);
  animation: swayRotate 6s ease-in-out infinite alternate;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.5));
}


/* falling motion */
/*@keyframes fall {
  0% {
    transform: translateY(-10%) translateX(0) rotate(0deg);
  }
  100% {
    transform: translateY(80vh) translateX(30px) rotate(360deg);
  }
}*/

@keyframes fall {
  0% {
    transform: translateY(-10vh);
  }
  100% {
    transform: translateY(80vh);
  }
}


@keyframes swayRotate {
  0% {
    transform: scale(var(--scale)) rotate(calc(var(--dir) * 10deg));
    /*transform: rotate(calc(var(--dir) * 10deg));*/
  }
  100% {
    transform: scale(var(--scale)) rotate(calc(var(--dir) * 180deg));
    /*transform: rotate(calc(var(--dir) * 180deg));*/
  }
}


/* TABLET AND LESS WIDE BROWSER */
@media (max-width: 768px) {


}



/* MOBILE */
@media (max-width: 768px) {

  .hero {
    height: 55svh;
    min-height: 220px;
    background: url('../img/header_bg_mobile.jpg') bottom center / cover no-repeat;
    background-position: center bottom;
  }

  .hero-logo {
    max-width: 90%; /* optional tweak */
  }

  .content {
    flex-direction: column-reverse; /* key change */
    align-items: center;
    margin-bottom: 0px;
  }

  .content-image,
  .content-text {
    max-width: 100%;
  }

  .content-text p {
    max-width: 100%;
    font-size: 18px;
    padding: 24px 24px 40px;
  }

  .reviews {
    margin-top: 0px;
    margin-left: 1em;
    margin-right: 1em;
  }

  .cta {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    padding: 0px 24px 70px 24px;
  }

  .btn {
    width: 100%;
    font-size: 1.2em;
    padding: 16px 20px;
    font-size: 1rem;
  }

  .pedal {
    width: 60px;
    height: 60px;
  }
}


/* iPhone SE retina x2, reports 640 */
@media screen and (max-width: 375px)
{ 

}

