@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Pacifico&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bar-width: 25px;
  --bar-height: 4px;
  --hamburger-gap: 5px;
  --website-color: #ffffff;
  --foreground: #1b6a98;
  --text-color-1: rgb(0, 0, 0);
  --text-color-2: rgb(255, 255, 255);
  --box-shadow: 0px 0px 5px 3px #333333;
  --foreground-hover: #1f8bb6;
  --hamburger-margin: 20px;
  --animation-timing: 200ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
  --section-margin-inline: 10px;
  --border-radius: 15px;
}
body {
  font-family: "Montserrat", sans-serif, "Trebuchet MS", "Lucida Sans Unicode",
    "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  background-color: var(--website-color);
  position: relative;
  z-index: 0;
  line-height: 1.6;
}
main {
  padding-top: 10px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 4;
  flex-basis: 1029px;
}
header i {
  padding: 5px;
  font-size: 0.8em;
  color: var(--foreground);
}
.logo {
  font-size: 2em;
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  user-select: none;
}

header .logo {
  display: flex;
  display: inline-block;
  font-size: 2em;
  user-select: none;
  color: var(--foreground);
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.navbar-icon {
  display: flex;
  padding: 10px;
  font-size: 2em;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.hamburger-icon {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);

  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: relative; /* Add this line */
  left: var(--hamburger-margin);
  z-index: 4;
  cursor: pointer;
  padding-right: 35px;
}
.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  border-radius: 9999px;
  transform-origin: left center;
  background-color: var(--foreground);
  transition: opacity var(--animation-timing), width var(--animation-timing),
    rotate var(--animation-timing), translate var(--animation-timing),
    background-color var(--animation-timing);
}
.hamburger-icon input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}
.hamburger-icon:has(input:checked) {
  --foreground: black;
}
.hamburger-icon:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}
.hamburger-icon:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}
.hamburger-icon input:checked {
  opacity: 0;
  width: 0;
}
.dropdown {
  translate: -100%;
  transition: translate var(--animation-timing);
  background-color: white;
  width: 100vw;
  min-height: 100vh;
  padding-block: 0.5rem;
  padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 2rem);
  position: absolute;
  top: 0;
  z-index: 3;
}
.dropdown .logo {
  color: var(--text-color-1);
  padding: 1rem;
  text-shadow: rgba(0, 0, 0, 0.438) 0px 0px 3px;
}
.dropdown a {
  text-decoration: none;
  color: var(--text-color-1);
  font-size: 1.8em;
  display: block;
  padding: 15px 20px;
  margin-inline: 0;
}
.dropdown a:hover {
  background-color: #1b6a9818;
}
.pc-navbar {
  display: none;
  justify-content: center;
  padding: 10px;
}
.pc-navbar a {
  text-decoration: none;
  color: var(--text-color-1);
  margin-inline: 10px;
}
.pc-navbar a:hover {
  color: var(--foreground-hover);
}
#showcase {
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 150px;
  box-shadow: 0px 0px 5px 1px#707070;
  position: relative;
  border-radius: var(--border-radius);
}
#showcase-image {
  background-image: url(images/handwipe.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
  width: 100%;
  border-radius: var(--border-radius);
}
#showcase-description {
  display: flex;
  position: absolute;
  bottom: -37%;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 355px;
  height: max-content;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  background-color: var(--foreground);
}
#showcase-description-text {
  font-size: 1.6em;
  color: var(--text-color-2);
  font-weight: bold;
  text-align: center;
  padding-bottom: 10px;
  text-shadow: rgba(0, 0, 0, 0.445) 1px 1px 1px;
}
#showcase-description a {
  text-decoration: none;
}
#showcase-description-button {
  display: flex;
  background-color: rgb(15, 15, 15);
  border: solid 2px #222222;
  color: white;
  cursor: pointer;
  font-size: 1.3em;
  padding: 10px 30px;
  margin-top: 5px;
  border-radius: var(--border-radius);
}

#showcase-description-button:hover {
  outline: solid 1px #000000;
  background-color: rgb(26, 25, 25);
}

#showcase-description-button:active {
  background-color: rgb(49, 49, 49);
  color: var(--foreground);
}
.product-showcase-list {
  display: flex;
  position: relative;
  margin-block: 0;
  padding-block: 20px;
  padding-inline: 15px;
  gap: 30px;
  background-color: var(--foreground);
  overflow-x: scroll;
  transform: translateX(0);
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.product-showcase-list::-webkit-scrollbar {
  display: none;
}
.product-showcase-list a {
  text-decoration: none;
  color: var(--text-color-1);
}
.product {
  background-color: var(--website-color);
  border-radius: 20px;
  min-width: 244px;
  min-height: 340px;
  user-select: none;
  padding: 30px 20px 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  box-shadow: #8b8b8be3 0px 0px 10px 1px;
}
/* velikost postrikovacu: 729.5px / 545.5 px */
/* velikost krabicek: 667px / 753px */
.product-showcase-image {
  width: 150px;
}
.product-showcase-text {
  text-align: center;
  padding: 20px 20px 20px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.product-showcase-text h3 {
  margin-bottom: 7px;
  font-weight: 500;
}
.spacer {
  width: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1980 / 680;
  background-position: center;
  background-size: cover;
}
.waves {
  background-image: url("images/waves.svg");
  margin-bottom: -2px;
}
.waves2 {
  margin-top: -2px;
  background-image: url("images/waves2.svg");
}
.additional-text {
  text-align: center;
  color: var(--text-color-2);
  text-shadow: #000000 1px 1px 1px;
  background-color: var(--foreground);
  padding-block: 30px;
}
.additional-text h2:first-of-type {
  font-size: 0.8em;
  font-weight: 200;
  padding-inline: 10px;
  margin-bottom: 10px;
  text-shadow: none;
}
.additional-text h2:last-of-type {
  font-size: 1em;
  font-weight: 300;
  padding-inline: 10px;
  margin-bottom: 10px;
  text-shadow: none;
}
.additional-text h1 {
  font-size: 2.3em;
  line-height: 1.1em;
  margin-bottom: 20px;
  margin-inline: 30px;
}
.additional-text:last-child {
  font-size: 20em;
  margin-inline: 20px;
  letter-spacing: 1px;
}
.box-index {
  padding-bottom: 10%;
}
.explaining-text {
  padding: 30px;
  background-color: var(--website-color);
  color: var(--text-color-1);
  text-align: left;
  margin: 15px;
  border-radius: var(--border-radius);
}
.explaining-text h2 {
  padding-bottom: 20px;
  text-align: center;
  font-size: 2em;
}
.explaining-text li {
  font-size: 1.1em;
  padding: 5px 10px;
}
.circles {
  background-color: black;
}
.perks-div {
  padding: 20px 50px 40px;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-color-2);
  text-shadow: 1px 1px 1px #00000042;
}
.perks-div span {
  font-size: 2.5em;
  text-align: center;
  display: flex;
  padding: 40px;
}

#perks-title {
  text-align: center;
  color: var(--text-color-2);
  text-shadow: 1px 1px 1px #00000038;
  padding-block: 100px 20px;
  padding-inline: 10px;
  font-size: 2.1em;
  font-weight: bold;
}
.perks-div h3,
.perks-div h4 {
  font-size: 1.5em;
  padding-bottom: 10px;
  text-align: center;
}
.perks-div p {
  text-align: center;
  font-size: 1.2em;
}
.obrazek-text {
  display: flex;
  flex-direction: column;
}
.obrazek-text img {
  border-radius: 5px;
  width: 90%;
  margin-inline: auto;
  margin-top: 20px;
}
footer {
  padding: 20px;
  text-align: center;
  background-color: var(--website-color);
  border-top: solid black 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .logo {
  color: var(--foreground);
  padding: 15px;
}
.footer-box {
  display: flex;
  justify-content: space-around;
  width: 80vw;
}
footer nav,
footer section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer a {
  text-decoration: none;
  color: var(--text-color-1);
}
footer a:hover {
  color: var(--foreground-hover);
}
footer .nadpis {
  font-size: 1.6em;
  color: var(--text-color-1);
  padding-block: 5px;
}
footer section p {
  color: var(--text-color-1);
}
/* stranka produkty */
.products-title {
  text-align: center;
  padding: 20px;
}
.products-title h1 {
  font-size: 2em;
  font-weight: 600;
  padding-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  color: #000000;
}
.products-title h2:first-of-type {
  font-size: 1.1em;
  font-weight: 400;
  color: #000000;
  padding-bottom: 10px;
  letter-spacing: 0.045em;
}
.products-title h2:last-of-type {
  font-size: 0.9em;
  font-weight: 400;
  color: #acacac;
}
#category-buttons {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 3px;
  margin-bottom: 20px;
}
#category-buttons button {
  background-color: white;
  padding: 5px 10px;
  box-shadow: 0px 0px 5px 1px #0000004f;
  border: none;
  border-radius: 5px;
}
#category-buttons button:hover {
  background-color: rgb(221, 221, 221);
}
#category-buttons button:active {
  background-color: var(--foreground);
  border: solid 1px var(--foreground);
  color: white;
}

#products-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 10px 80px;
}
#products-list a {
  text-decoration: none;
  color: var(--text-color-1);
}
.products-listings {
  display: flex;
  padding: 10px;
  width: 45vw;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.233);
  min-height: 400px;
  border-radius: 5px;
}
.products-listings img {
  padding: 10px;
  height: 50vw;
}
.products-listings p:first-of-type {
  font-size: 1.2em;
  padding-inline: 20px;
  font-weight: 500;
}
.products-listings p:last-of-type {
  font-size: 1.2em;
  font-weight: 500;
  color: var(--foreground);
}
.products-listings h3 {
  font-size: 0.8em;
  padding-inline: 0px;
  font-weight: 400;
}
/* AFPROTECT */
.products-buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.products-buy p:first-of-type {
  font-size: 1.4em;
  line-height: 1.4em;
  letter-spacing: 0.013em;
  font-weight: 600;
  text-align: center;
  width: 100%;
  color: var(--foreground);
}
.products-buy h2 {
  font-weight: 400;
  font-size: 0.9em;
  text-align: center;
  color: #222222;
  padding-block: 10px;
}
.product-title{ 
  margin-top: 30px;
}
.product-title p {
  font-size: 1.4em;
  line-height: 1.4em;
  letter-spacing: 0.013em;
  font-weight: 600;
  text-align: center;
  width: 100%;
  color: var(--foreground);
  padding-inline: 10px;
}
.product-title h2 {
  font-weight: 400;
  font-size: 0.9em;
  text-align: center;
  color: #222222;
  padding: 20px 10px;
}
.products-buy img {
  width: 60vw;
  margin-top: 10px;
}
.sklad {
  color: green;
  padding-top: 20px;
}
.sklad i {
  padding: 5px;
}
.baleni {
  letter-spacing: 0.04em;
  font-size: 0.9em;
  color: #222222;
}
.buy-with-options .baleni {
  margin: 10px;
}
.buy-with-options .baleni button {
  background-color: var(--foreground);
  font-family: "Montserrat", sans-serif, "Trebuchet MS", "Lucida Sans Unicode",
    "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  border-radius: 5px;
  border: none;
  color: white;
  font-size: 1.1em;
  font-weight: 500;
  padding: 10px 20px;
  margin: 5px;
  box-shadow: 2px 2px 5px 1px #999;
}
.buy-with-options .baleni button:hover {
  outline: 1px solid black;
  background-color: var(--foreground-hover);
}
.baleni .selected {
  outline: 2px solid black;
}
.products-buy-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.price {
  display: flex;
  flex-direction: row;
  font-size: 1.2em;
  font-weight: 400;
}
.price-tag {
  margin-left: 0.5em;
}
.price-dph {
  color: #444;
  font-size: 0.8em;
  padding-bottom: 10px;
}
/* .products-buy p:last-of-type{
  font-weight: 500;
  font-size: 1.2em;
  margin: 10px;
} */
.products-buy a {
  text-decoration: none;
}
.products-buy i {
  padding-right: 15px;
}
.products-buy a > button {
  width: 85vw;
  padding: 0.8em 1.7em;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 5px;
  background-color: var(--foreground);
  color: white;
  border: none;
  box-shadow: 2px 2px 5px 1px #444;
}
.products-buy a > button:hover {
  background-color: var(--foreground-hover);
  cursor: pointer;
}
.products-description {
  padding: 10px;
}
.products-description h1 {
  font-size: 1.5em;
  font-weight: 500;
}

.products-description h2,
.products-description h3 {
  margin-block: 10px 5px;
  font-size: 1.3em;
  font-weight: 500;
}
.products-description ul {
  font-size: 0.9em;
  font-weight: 400;
  margin-left: 15px;
  line-height: 2em;
}
.products-description ol {
  margin-inline-start: 15px;
}
.products-description ol li {
  padding: 5px;
}
.products-description p {
  padding-block: 10px;
}

.image-with-text {
  display: flex;
  flex-direction: column;
  padding-block: 20px 50px;
}
.image-with-text div:first-child {
  height: 400px;
  border-radius: var(--border-radius);
  margin: 20px;
}
.image-with-text #text {
  color: var(--text-color-1);
  padding: 20px;
}
.image-with-text #text h3 {
  padding-bottom: 10px;
  text-align: center;
  font-size: 1.5em;
}
.image-with-text #text p {
  text-align: center;
}

.perks {
  background-color: var(--website-color);
  color: var(--text-color-1);
}
.perks h1 {
  padding: 20px 15px;
  text-align: center;
  font-size: 1.8em;
}
.perks h2:last-of-type{
  margin-block: 30px 10px;
}
.perks h3{
font-size: 1.3em;
}
.perks ul {
  margin-inline: 30px;
}
.perks p {
  margin-bottom: 4%;
  font-size: 1.06em;
  /* text-align: center; */
}
.image-with-text-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 20px;
}
.image-with-text-2 .podnadpis {
  padding: 10px;
}
.image-with-text-2 p {
  padding: 5px;
}
#lotus-leaf {
  border-radius: var(--border-radius);
  width: 100%;
  margin-top: 20px;
}
#nanoimpregnace-perks li {
  padding: 15px;
}
.perks .podnadpis {
  padding-top: 20px;
  font-weight: 600;
  font-size: 1.3em;
}
.instructions {
  padding: 30px;
}
.instructions h3 {
  padding: 30px 0px 10px;
}
.instructions li {
  padding-block: 5px;
}
.perks #closing-title {
  font-size: 1em;
  text-align: center;
  padding: 20px;
}
#contact-info {
  height: 90vh;
}
address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 90vh;
}
address a {
  color: rgb(0, 204, 255);
}

@media (min-width: 660px) and (max-width: 1029px) {
  #showcase-image {
    height: 450px;
  }
  .product-description {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
  }
  .box-index {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .explaining-text {
    padding-inline: 15%;
  }
  .products-buy {
    max-width: 500px;
    margin-inline: auto;
  }
  .products-buy img {
    max-height: 400px;
    width: auto;
  }
  .products-buy a > button {
    max-width: 500px;
    margin: auto;
  }
}
@media (min-width: 1030px) {
  .pc-navbar {
    display: flex;
  }
  .hamburger-icon::before,
  .hamburger-icon::after,
  .hamburger-icon input {
    display: none;
  }
  .fa-solid.fa-envelope::before {
    font-size: 0;
  }
  #showcase {
    box-shadow: none;
    margin-bottom: 0px;
    height: 700px;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  #showcase-image {
    grid-row: 1 / 4;
    grid-column: 4 / 9;
    height: 100%;
  }
  #showcase-description {
    position: static;
    max-width: unset;
    width: 120%;
    height: 120%;
    grid-row: 2 / 3;
    grid-column: 2 / 4;
  }

  .box-index {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .products-title h2:first-of-type {
    padding-inline: 15vw;
  }
  #products-list {
    padding-inline: 10vw;
  }
  .products-listings {
    width: 300px;
  }
  .products-listings img {
    height: 250px;
  }
  .products-buy-container {
    margin-top: 2 0px;
    max-width: 1500px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .products-buy {
    margin-left: 50px;
    max-width: 1000px;
  }
  .products-buy img {
    max-height: 400px;
    width: auto;
  }
  .products-buy a > button {
    max-width: 500px;
    margin: auto;
  }
  .product-title h2{
    padding-inline: 15%;
  }
  .products-description {
    max-width: 700px;
  }
  .explaining-text {
    max-width: 40%;
    margin: none;
  }
  .perks-div {
    padding-inline: 10%;
    min-width: 1200px;
  }
  #section-products {
    margin-inline: 15%;
  }

  .image-with-text-2 {
    flex-direction: row;
  }
  #body-products #text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #body-products .image-with-text {
    flex-direction: row-reverse;
    margin-inline: 10%;
  }
  #body-products .image-with-text ~ .image-with-text {
    flex-direction: row;
  }
  .perks {
    margin-inline: 20%;
    font-size: 1.2em;
  }
  .volume {
    max-width: 55%;
  }
}

@media (min-width: 1406px) {
  .product-showcase-list {
    justify-content: center;
  }
  .obrazek-text {
    flex-direction: row;
  }
  .obrazek-text img {
    width: auto;
    max-width: 400px;
    height: auto;
    max-height: 300px;
    margin-inline: 30px;
  }
}
