:root {
  --dark: #1c1e1e;
  --accent: #3e9c35;
  --text: white;
  --text-dark: #1c1e1e;
}

* {
  box-sizing: border-box;
}

/* General styles */
body {
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  margin: 0 auto;
  max-width: 400px;
  min-width: 320px;
  padding: 0;
  background-color: var(--dark);
  color: var(--text);
}

section {
  padding: 20px;
}

h1 {
  font-size: 32px;
  text-align: center;
}

/* Hero section */
.hero {
  text-align: center;
  background-color: var(--dark);
  color: var(--text);
  padding: 20px 20px 50px 20px;
}

.hero h1 {
  font-size: 36px;
}

.hero h1 b {
  color: var(--accent);
  font-weight: 600;
}

.hero .small {
  font-weight: 100;
  font-size: 14px;
}

.hero ul {
  padding: 0;
  margin: 12px 0 0 0;
}

.hero li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 28px;
  font-weight: 200;
  font-size: 16px;
  text-align: left;
  list-style-type: none;
}

.hero li::before {
  position: absolute;
  left: 0;
  top: -3px;
  content: "👉";
  display: inline-block;
}

.price {
  margin-top: 42px;
}

.price .min-price {
  font-size: 32px;
  font-weight: 500;
}

.price .max-price {
  color: grey;
  margin-left: 16px;
  font-size: 18px;
  font-weight: 300;
  text-decoration: line-through;
}

.hero .cta-btn {
  text-transform: uppercase;
  font-weight: bold;
}

.hero .up-price {
  display: block;
  margin-top: 28px;
  color: var(--text);
  font-weight: 200;
}

.hero #h-timer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.hero .h-timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 8px;
}

.hero #h-hours,
#h-minutes,
#h-seconds {
  border-bottom: 2px solid red;
  font-size: 24px;
}

.cta-btn {
  width: 80%;
  margin: 20px auto 0 auto;
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 15px 25px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
}

/* Audience section */
.audience {
  background-color: white;
}

.audience h1 {
  font-size: 32px;
  color: var(--text-dark);
}

.audience-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.audience-block {
  display: flex;
  flex-direction: column;
  flex-basis: 50%;
  align-items: center;
  margin: 24px 0;
  padding: 0 8px;
  color: var(--text-dark);
}

.audience-block p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
}

.audience-block span {
  font-size: 64px;
}

/* Author section */
.author {
  margin-top: 28px;
  background-repeat: no-repeat;
  background-size: cover;
}

.author h1 {
  font-size: 32px;
}

.author .img-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-position: 50% 30%;
  background-size: 80%;
  background-repeat: no-repeat;
  background-image: url("./img/author1.jpg");
}

.author .about-me {
  margin: 24px 0;
  background: white;
  color: var(--text-dark);
  padding: 12px;
  border-radius: 8px;
}

.author li {
  position: relative;
  list-style-type: none;
  margin-top: 32px;
}

.author li::before {
  position: absolute;
  left: -24px;
  top: -4px;
  content: "✅";
  display: inline-block;
}

/* Reviews section */
.reviews h1 {
  font-size: 32px;
}

.carousel {
  background: #eee;
}

.main-carousel {
  height: 100px;
}

.carousel-cell {
  width: 100%;
  margin-right: 10px;
  border-radius: 5px;
  counter-increment: carousel-cell;
}

.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(carousel-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.flickity-button {
  display: none;
}

/* Roadmap section */
.roadmap {
  margin-top: 36px;
}

.roadmap .description {
  background-color: white;
  color: var(--text-dark);
  font-weight: 300;
  border-radius: 8px;
  padding: 20px;
}

.roadmap h1 {
  font-size: 32px;
}

.roadmap .connector {
  display: block;
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
}

.step {
  margin: 10px 0;
}

.step span {
  font-weight: bold;
  /* color: #4a90e2; */
  color: var(--text-dark);
}

.dot {
  opacity: 1 !important;
  background: #333 !important;
}

.dot.is-selected {
  background: white !important;
}

/* Discount section */
.discount {
  display: flex;
  flex-direction: column;
  color: white;
  background-color: var(--dark);
  padding: 20px 20px 40px 20px;
}

.discount .cta-btn {
  width: 330px;
  align-self: center;
}

.discount-text {
  text-align: center;
}

.discount-end {
  font-size: 14px;
  text-align: center;
  margin-top: 42px;
  color: grey;
}

.discount .cta-btn {
  text-transform: uppercase;
  font-weight: bold;
}

#hours,
#minutes,
#seconds {
  font-size: 48px;
}

#timer {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#timer h1 {
  font-size: 5em;
  color: white;
}

#timer span {
  display: inline-block;
  min-width: 2ch;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 22px;
  border-radius: 4px;
  border: 2px solid red;
}

.block-text {
  color: grey;
}

/* FAQ Section */
/* General accordion styles */
.accordion-container {
  max-width: 600px;
  margin: 20px auto;
}

.accordion-item {
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

/* Accordion button */
.accordion-button {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  background-color: #f1f1f1;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-button:after {
  content: "+";
  float: right;
}

.accordion-button.active:after {
  content: "-";
}

/* Accordion content */
.accordion-content {
  display: none;
  padding: 15px;
  background-color: white;
  border-top: 1px solid #ccc;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 300;
}

.accordion-content p {
  margin: 0;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 12px;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

/* Sticky CTA */

.sticky-cta {
  display: inline-block;
  text-align: center;
  padding-top: 18px;
  text-decoration: none;
  position: sticky;
  bottom: 0;
  width: 100%;
  height: 50px;
  border: none;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  background: var(--accent);
}
