
:root {
  --main-color: #0BFF0B;
  --main-color-hover: #1D1D1F;
  --color-dark-text: #1D1D1F;
}

body {
  background-color: #f5f5f7;
  color: var(--color-dark-text);
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}



/* text */
h1 {
  font-size: 70px;
  font-weight: 600;
  line-height: 70px;
  color: var(--color-dark-text);
}

h1 span {
  color: var(--main-color);
  font-weight: 800;
}

.hero-title p {
  color: var(--color-dark-text);
  font-size: 30px;
  font-weight: 300;
}

.quiz-container h4 {
  max-width: 405px;
  margin: 0 auto;
  font-size: 29px;
  line-height: 35px;
}

.quiz-container h5 {
  font-size: 18px;
}

.quiz-container p {
  font-size: 15px;
  font-weight: 300;
}

/* Container */
.quiz-container {
  background-color: white;
  border-radius: 30px;
  padding: 50px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

/* Memoji */
.memoji { position: absolute; }
.memoji-e1 { right: 70px; }
.memoji-e4 { left: 60px; }

/* option cards */
.option-card {
  border: 2px solid transparent;
  border-radius: 25px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.option-card.d-horizontal {
  flex-direction: row;
  gap: 10px;
}

.option-card.d-horizontal .text {
  text-align: left;
}

.option-card.d-horizontal .text p {
  margin: 0;
}

.option-card .icon img {
  height: 27px;
}

.option-card.d-horizontal .icon img {
  width: 27px;
}

.option-card:hover,
.option-card.selected {
  box-shadow: 2px 4px 16px #00000029;
  transform: scale3d(1.01, 1.01, 1.01);
}

.option-card.selected {
  border-color: var(--main-color);
}

/* progress bar */
.progress-wrapper {
  max-width: 780px;
  margin: 50px auto 20px;
}

.progress-bar {
  height: 11px;
  border-radius: 5px;
  background-color: var(--main-color);
}

/* Product image */
.product-Image {
  width: 100%;
  max-width: 290px;
}

/* Buttons */
.quiz-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 40px;
  max-width: 700px;
}

.quiz-buttons .btn {
  min-width: 190px;
  height: 55px;
  font-size: 17px;
  font-weight: 400;
}
.quiz-buttons .btn span {
  font-size: 21px;
  padding-right: 10px;
  line-height: 0px;
}
.btn-continue {
  background-color: var(--main-color);
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  font-weight: 400;
  transition: background-color 0.3s ease;
}

.btn-continue:hover {
  background-color: var(--main-color-hover);
  color: #fff;
}

/* Box genérico */
.box {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Text result */
.text-product-result {
  text-align: left;
}

.text-product-result h6 {
  color: #B64400;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.text-product-result h5 {
  font-size: 20px;
  font-weight: 700;
}

.text-product-result p {
  font-size: 14px;
  font-weight: 400;
}

.text-product-result p.price {
  font-size: 16px;
}

/* product colors options */
.color-option {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  cursor: pointer;
  margin-right: 5px;
  position: relative;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  box-shadow: none;
}

.color-option.selected::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #CCCCCC;
}

.bg-blue { background-color: #c8d8e0; }
.bg-cream { background-color: #F6F0E7; }

/* Responsive */
@media only screen and (max-width: 768px) {
  .quiz-container{padding: 50px 20px;}
  .quiz-container h4 {
    padding-right: 40px;
    text-align: left;
  }

  .memoji {
    left: auto;
    right: 40px;
  }

  p.text-sub {
    text-align: left;
  }
}
@media only screen and (max-width: 500px) {
   h1{
    font-size: 50px;
    line-height: 56px;
  }
  .hero-title p{
    font-size: 25px;
  }
  .quiz-container h4 {
    padding-right: 80px;
  }
  .memoji {
    left: auto;
    right: 20px;
  }
  .quiz-buttons{
    flex-direction: column-reverse;
    align-items: center;
  }
}

@media only screen and (max-width: 355px) {
   .memoji { 
    position: relative;
    margin: auto;
    left: auto;
    right: auto;
    margin-bottom: 15px;
  }
   .quiz-container h4 {
    padding-right: 0px;
  }
   h1{
    font-size: 45px;
    line-height: 50px;
  }
  .hero-title p{
    font-size: 22px;
  }
  p.text-sub, .quiz-container h4 {
    text-align: center;
  }
  
}
