/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
h1 {
  line-height: normal !important;
}

.container-center {
  width: 1300px;
  padding: 0 15px;
  box-sizing: border-box;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.gap-10 {
  gap: 10px;
}

.gap-30 {
  gap: 30px;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.flex-column {
  flex-direction: column;
}

.text-center {
  text-align: center;
}

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

.p-0 {
  padding: 0;
}

.p-10 {
  padding: 10px;
}

.py-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.py-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.py-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.px-10 {
  padding-left: 10px;
  padding-right: 10px;
}

.px-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.px-20 {
  padding-left: 20px;
  padding-right: 20px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-30 {
  padding-top: 30px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-70 {
  padding-top: 70px;
}

.pt-100 {
  padding-top: 100px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-50 {
  padding-bottom: 50px;
}

.pb-70 {
  padding-bottom: 70px;
}

.pb-100 {
  padding-bottom: 100px;
}

.m-0 {
  margin: 0;
}

.mt-30 {
  margin-top: 30px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-100 {
  margin-top: 100px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mb-70 {
  margin-bottom: 70px;
}

.mb-100 {
  margin-bottom: 100px;
}

#container-hero {
  border-bottom: 1px solid #f5f5f5;
}
#container-hero .container-center {
  display: flex;
  flex-direction: row;
}
#container-hero p.hero-subtitle {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 500;
  font-family: var(--theme-font-family);
  line-height: 24px;
  color: var(--theme-palette-color-5);
}
#container-hero ul {
  list-style-type: none;
  padding-left: 5px;
  font-size: 18px;
}
#container-hero ul span {
  margin: 0 10px 0;
}
#container-hero .container-hero-text {
  flex: 1.5 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#container-hero .container-hero-text .button {
  width: 200px;
}
#container-hero .container-hero-demo {
  flex: 1 0;
  box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.05);
  border-bottom: none;
  margin: 60px 0 0 60px;
  background-color: white;
  padding: 30px 30px 0px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
#container-hero .container-hero-demo img {
  width: 150px;
  margin: auto;
}
#container-hero .container-hero-demo span {
  font-family: "Crimson Pro", Helvetica Neue;
  color: var(--theme-palette-color-4);
  text-align: center;
  margin: 20px 0 30px 0;
}
#container-hero .container-hero-demo span#button-toggle-solution {
  cursor: pointer;
  font-weight: 300;
  text-decoration: underline;
  align-self: flex-end;
}
#container-hero .container-hero-demo #arrow-hint-demo {
  position: absolute;
  width: 130px;
  left: -200px;
  bottom: 100px;
  text-align: center;
}
#container-hero .container-hero-demo #arrow-hint-demo p {
  margin: 0;
}
#container-hero .container-hero-demo #arrow-hint-demo svg {
  position: absolute;
  right: -80px;
  width: 100px;
  bottom: -40px;
}

/* Hero Responsive */
@media (width <= 1300px) {
  .container-center {
    width: 100%;
  }
}
@media (width <= 1050px) {
  #container-hero h1 {
    font-size: 40px;
  }
  #container-hero p.hero-subtitle {
    font-size: 15px;
  }
  #container-hero ul {
    font-size: 15px;
  }
}
@media (width <= 950px) {
  #container-hero .container-hero-text {
    margin: 60px 0;
  }
  #container-hero .container-hero-demo {
    display: none;
  }
  #arrow-hint-demo {
    display: none;
  }
}
/* Nonogram Game */
#nonogram {
  display: grid;
  grid-gap: 3px;
  width: 400px;
  font-family: var(--theme-font-family);
  position: relative;
}
#nonogram.loading #loading-screen {
  display: flex;
}
#nonogram #loading-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.504);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
#nonogram #nonogram-body {
  display: grid;
  grid-gap: 3px;
}
#nonogram #nonogram-body .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border: 1px solid rgba(197, 214, 222, 0.5098039216);
  background-color: white;
  cursor: pointer;
}
#nonogram #nonogram-body .cell.active {
  background-color: var(--theme-palette-color-1);
  border: none;
  z-index: 1;
}
#nonogram #nonogram-body .cell:not(.active):hover {
  background-color: #fcf1f2;
  border: none;
  z-index: 1;
}
#nonogram #nonogram-body.solution-visible .cell-solution {
  background-color: #f0b2b8;
  border: none;
  z-index: 1;
}
#nonogram #nonogram-body.solution-visible .cell-solution.active {
  background-color: var(--theme-palette-color-1);
}
#nonogram #nonogram-body.solution-visible .active:not(.cell-solution) {
  background-color: #fae5e7;
}
#nonogram .hint {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-family: "Crimson Pro", Helvetica Neue;
  color: var(--theme-palette-color-4);
  font-weight: 500;
  line-height: normal !important;
}
#nonogram #column-hints {
  display: grid;
  grid-template-rows: 1fr;
  grid-gap: 3px;
}
#nonogram #column-hints > div {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
  border-left: 1px solid rgba(197, 214, 222, 0.5098039216);
  border-right: 1px solid rgba(197, 214, 222, 0.5098039216);
  border-image: linear-gradient(to top, rgba(197, 214, 222, 0.5098039216), transparent) 1 100%;
}
#nonogram #row-hints {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 3px;
}
#nonogram #row-hints > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  border-top: 1px solid rgba(197, 214, 222, 0.5098039216);
  border-bottom: 1px solid rgba(197, 214, 222, 0.5098039216);
  border-image: linear-gradient(to left, rgba(197, 214, 222, 0.5098039216), transparent) 1 100%;
  border-image-slice: 1;
}

#container-favorites {
  background-color: white;
}
#container-favorites .product-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 30px;
}
#container-favorites .product-carousel-container .shadow-left,
#container-favorites .product-carousel-container .shadow-right {
  position: absolute;
  top: 5%;
  width: 10px;
  height: 90%;
  z-index: 1;
  box-shadow: 0px 0 10px rgba(0, 0, 0, 0.2);
  display: none;
}
#container-favorites .product-carousel-container .shadow-left {
  left: -10px;
}
#container-favorites .product-carousel-container .shadow-right {
  right: -10px;
}
#container-favorites .product-carousel-container.overflowing-left .shadow-left, #container-favorites .product-carousel-container.overflowing-right .shadow-right {
  display: block;
}
#container-favorites .product-carousel {
  overflow-x: auto;
  padding: 20px 0;
  /* Hide scrollbar for IE, Edge and Firefox */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
#container-favorites .product-carousel::-webkit-scrollbar {
  display: none;
}
#container-favorites .product-carousel ul {
  display: flex;
  gap: 0 20px;
  padding: 0;
  margin: 0;
  list-style-type: none;
}
#container-favorites .product-carousel ul li {
  width: 250px;
  flex: 0 0 auto;
  padding: 10px 20px 15px 20px;
  border: 1px solid #efefef;
  background-color: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}
#container-favorites .product-carousel ul li img {
  width: 100%;
  height: auto;
}
#container-favorites .product-carousel ul li h3 {
  margin-top: 5px;
  display: -webkit-box;
  color: var(--theme-palette-color-3);
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  line-height: 22px;
  height: 44px;
  width: 100%;
}
#container-favorites .product-carousel ul li a {
  color: var(--theme-palette-color-3);
}
#container-favorites .product-carousel ul li a:hover {
  text-decoration: underline;
}
#container-favorites .product-carousel ul li span.price {
  display: block;
  padding-top: 10px;
}
#container-favorites .scroll-left,
#container-favorites .scroll-right {
  background-color: none;
  position: absolute;
  display: block;
  bottom: 0;
  color: rgba(0, 0, 0, 0.109);
  border: none;
  padding: 0 10px;
  z-index: 1;
  pointer-events: none;
  cursor: pointer;
}
#container-favorites .scroll-left svg,
#container-favorites .scroll-right svg {
  width: 11px;
  height: auto;
}
@media (max-width: 1000px) {
  #container-favorites .scroll-left,
  #container-favorites .scroll-right {
    display: none;
  }
}
#container-favorites .scroll-left {
  right: calc(50% + 30px);
}
#container-favorites .scroll-right {
  right: calc(50% - 30px);
}
#container-favorites .product-carousel-container.overflowing-left .scroll-left,
#container-favorites .product-carousel-container.overflowing-right .scroll-right {
  color: var(--theme-palette-color-4);
  pointer-events: auto;
}
#container-favorites .product-carousel-container.overflowing-left .scroll-left:hover,
#container-favorites .product-carousel-container.overflowing-right .scroll-right:hover {
  color: var(--theme-palette-color-3);
}

#section-posts {
  background-color: var(--theme-palette-color-6);
}
#section-posts .posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  #section-posts .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #section-posts .posts {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
#section-posts .posts .post {
  background-color: white;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}
#section-posts .posts .post img {
  width: 100%;
  height: auto;
}
#section-posts .posts .post h3 {
  font-size: 20px;
  line-height: 22px;
}
#section-posts .posts .post a {
  color: var(--theme-palette-color-3);
}
#section-posts .posts .post a:hover {
  color: var(--theme-palette-color-1);
}

.lds-heart {
  /* change color here */
  color: var(--theme-button-background-initial-color);
}

.lds-heart,
.lds-heart div,
.lds-heart div:after,
.lds-heart div:before {
  box-sizing: border-box;
}

.lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
}

.lds-heart div {
  top: 28px;
  left: 28px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: currentColor;
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.lds-heart div:after,
.lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: currentColor;
}

.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}

.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}

@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }
  5% {
    transform: scale(1.1);
  }
  39% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.9);
  }
}
#container {
  display: flex;
  gap: 30px;
}

.column {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.column div {
  border-radius: 5px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.column div h3 {
  background-color: var(--theme-button-background-initial-color);
  color: var(--theme-button-text-initial-color);
  font-size: 22px;
  line-height: 25px;
}

@media (max-width: 800px) {
  #container {
    flex-direction: column;
    align-items: center;
  }
  .column {
    width: 400px;
  }
}
@media (max-width: 500px) {
  .column {
    width: 100%;
  }
}
