@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background-image: url(images/backgroundeshop.svg);
  font-family: "Roboto", sans-serif, Arial, Helvetica, sans-serif;
  position: relative;
  counter-reset: numbers;
  line-height: 1.4;
}

:root {
  --primary-color: black;
  --secondary-color: white;
  --tertiary-color: #0a1fbb;
  --heading: 1.5rem;
  --normal-text: 1rem;
}
a {
  text-decoration: none;
  color: black;
}
button:not(.product-buy button) {
  cursor: pointer;
  font-size: var(--normal-text);
  border-radius: 0.5rem;
  box-shadow: none;
  border: none;
  font-family: "Roboto", sans-serif, Arial, Helvetica, sans-serif;
  width: 30vw;
  max-width: 10rem;
  height: 1.9rem;
  border: var(--tertiary-color) 1px solid;
}
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
header div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo {
  width: 9rem;
  margin-top: 0.5rem;
}
.logo-text {
  color: #434343;
  font-size: 0.6rem;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
}
header nav span {
  font-size: var(--normal-text);
  position: relative;
  transition: all 0.2s;
  transform: scale(1);
}
nav span::after {
  transition: all 0.1s;
  content: "";
  height: 1px;
  width: 0%;
  background: linear-gradient(
    0.25turn,
    var(--tertiary-color),
    var(--primary-color)
  );
  position: absolute;
  bottom: -2px;
  left: 0;
}
nav span:hover::after {
  width: 100%;
}
.hero {
  height: 700px;
  background-image: linear-gradient(
      0.4turn,
      rgba(255, 255, 255, 0.904),
      rgba(255, 255, 255, 0) 70%
    ),
    url("images/linka.webp");
  background-repeat: no-repeat;
  background-position: 60% 30%;
  background-size: 1350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  justify-items: center;
  padding-inline: 8% 10%;
}
/* .hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
 */
.hero h1,
.hero h2 {
  text-align: center;
}
.hero h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02rem;
  line-height: 90%;
  font-weight: 500;
  margin-top: 15%;
}
.hero h1 {
  font-weight: 400;
  font-size: var(--normal-text);
  margin-top: 1.5rem;
}
.hero > a {
  margin-top: 2rem;
  width: fit-content;
  margin-inline: auto;
}

.product button,
.hero button {
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
}
.hero button:hover, .product button:hover, .product-buy button:hover{
  background-color: #0921da;
  border: 1px solid #0921da;
}
.hero button:active, .product button:active, .product-buy button:active{
  background-color: #06126e;

}
.product:hover{
  transition: transform 0.2s;
  background-color: rgb(247, 247, 247);
  transform: scale(1.02);
}
/* .hero div {
  overflow: hidden;
} */
/* .hero img {
  width: 100vw;
  scale: 1.5;
} */
.sink {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-block: 7rem;
}
.sink img {
  width: 45vw;
  height: 60vw;
}
.sink div {
  padding-inline: 1rem 0.5rem;
}
.sink h2,
.tap h2 {
  font-size: var(--heading);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.sink h3,
.tap h3 {
  font-size: var(--normal-text);
  font-weight: 400;
}
.image-with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: 7rem;
}
.image-with-text img {
  width: 80vw;
  border-radius: 10px;
}
.image-with-text div {
  margin-inline: auto;
  width: 80vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.image-with-text h2 {
  font-size: var(--heading);
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
  width: 100%;
}
.image-with-text h3 {
  font-size: var(--normal-text);
  font-weight: 400;
  margin-bottom: 1rem;
}
.image-with-text button,
.options button {
  border: solid var(--tertiary-color) 1px;
  color: var(--tertiary-color);
  position: relative;
  transition: all 0.5s;
  background-color: transparent;
  overflow: hidden;
}
.image-with-text button::before,
.options button::before {
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  background: var(--tertiary-color);
  transform: translateX(-100%);
  z-index: -1;
  transition: all 0.3s;
}
.image-with-text button:hover::before,
.options button:hover::before {
  transform: translateX(0%);
}
.image-with-text button:hover,
.options button:hover {
  color: var(--secondary-color);
}
.tap {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-block-start: 7rem;
}
.tap img {
  width: 40vw;
}
.tap div {
  padding-inline: 2rem 1rem;
}
.icons {
  padding-block: 6rem;
}
.icons div {
  margin: 2rem;
}
.icons div,
.icons {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icons h4 {
  font-size: var(--heading);
  font-weight: 500;
}
.icons img {
  width: 4rem;
  margin: 1rem;
}
.icons h3 {
  font-size: var(--heading);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.icons p {
  text-align: center;
  font-size: var(--normal-text);
}
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #c7cdff4f;
  padding: 1rem 3rem 2rem;
}
footer p {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
footer > div {
  display: flex;
  gap: 20vw;
  justify-content: space-around;
  margin-top: 1.5rem;
}
footer nav,
footer .contact {
  display: flex;
  flex-direction: column;
}
footer span,
footer a {
  margin-block: 0.3rem;
}

/* products page  */
.intro-text {
  text-align: center;
  padding: 2rem;
}
.intro-text h1 {
  font-weight: 400;
  font-size: var(--heading);
  padding-bottom: 0.5rem;
}
.intro-text h2 {
  font-weight: 400;
  font-size: var(--normal-text);
}
.products-section,
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product {
  background-color: var(--secondary-color);
  border-radius: 1.5rem;
  margin: 1rem 2rem;
  padding: 2rem 3rem 3rem;
  box-shadow: #00000036 0px 4px 9px;
  max-width: 500px;
}
.product img {
  max-width: 100%;
  max-height: 250px;
}

.product div {
  display: flex;
  flex-direction: column;
}
.product div p {
  font-size: var(--heading);
  padding-block: 1rem 0.5rem;
}
.product div h2,
.product span,
.product button {
  font-size: var(--normal-text);
  font-weight: 400;
}
.product div > span {
  padding-block: 1rem;
  color: red;
  font-size: 1.2rem;
}
.product div > span > span {
  color: #434343;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

/* nanobath page */

.product-buy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}
.product-buy img {
  width: 60vw;
  max-width: 800px;
}
.product-buy > div {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-buy > div h1 {
  font-size: var(--heading);
  font-weight: 400;
}
.product-buy > div p:first-of-type {
  font-size: var(--normal-text);
}
.product-buy > div p:last-of-type {
  color: red;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.product-buy button {
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  cursor: pointer;
  font-size: var(--normal-text);
  border-radius: 0.5rem;
  box-shadow: none;
  border: none;
  font-family: "Roboto", sans-serif, Arial, Helvetica, sans-serif;
  width: 100%;
  height: 2rem;
}
.options button {
  width: 8rem;
  background-color: transparent;
  color: var(--tertiary-color);
  border: solid 1px var(--tertiary-color);
}
.options button.active {
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
}
.kl-vl {
  padding: 1rem;
}
.kl-vl ul {
  list-style-type: none;
  padding-left: 1rem;
}
.kl-vl p {
  font-size: var(--heading);
  padding-block: 0.5rem;
}
.kl-vl li h2 {
  font-size: var(--normal-text);
  font-weight: 400;
}
.kl-vl li {
  padding-block: 4px;
  position: relative;
}
.kl-vl li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--tertiary-color);
  position: absolute;
  border-radius: 50%;
  top: 0.55rem;
  left: -1rem;
}
.lotus-leaf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: 2rem;
  padding: 1rem;
  max-width: 1100px;
}
.lotus-leaf img {
  width: 100%;
  border-radius: 1rem;
}
.lotus-leaf h3 {
  font-size: var(--heading);
  font-weight: 400;
  margin-block: 1rem 0.5rem;
}
.lotus-leaf p {
  font-size: var(--normal-text);
}

.faq {
  padding: 1rem;
}
.faq h3 {
  font-weight: 400;
  font-size: var(--heading);
  margin-bottom: 1rem;
}
.faq h2,
.faq span {
  font-size: 1.1rem;
  margin-block: 1rem 0.3rem;
  display: block;
}
.faq h2 {
  font-weight: 400;
}
.faq ol {
  list-style-type: none;
  padding-left: 2rem;
}
.faq li {
  counter-increment: numbers;
  position: relative;
}
.faq li::before {
  position: absolute;
  content: counter(numbers);
  border-radius: 50%;
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  height: 1.4rem;
  width: 1.4rem;
  left: -2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.instruction {
  padding: 1rem;
}
.instruction h3 {
  font-size: var(--heading);
  font-weight: 400;
}
.instruction ol {
  margin-inline-start: 2rem;
  margin-top: 0.5rem;
}
.instruction li {
  margin-block: 0.5rem;
}

.contact-page {
  gap: 1rem;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  height: 100vh;
}
address a {
  color: #0a7abb;
}
.about-us-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  margin-block: 1rem;
  padding-inline: 6%;
  min-height: 100vh;
}
.about-us-page h1 {
  font-size: var(--heading);
}
.about-us-page h2 {
  font-size: var(--heading);
  font-weight: 400;
  margin-block: 1.5rem 0.5rem;
  display: block;
  width: 100%;
  text-align: left;
}
.about-us-page h1,
.about-us-page h2,
.about-us-page p,
.about-us-page ul {
  max-width: 40rem;
}

/* responsive design */
@media (min-width: 640px) {
  .hero {
    height: 800px;
  }
  .hero h2 {
    margin-top: 12%;
  }

  .sink div {
    padding-inline: 7% 12%;
  }
  .tap div {
    padding-inline: 12%;
  }
  .sink img {
    max-height: 350px;
    width: auto;
  }
  .tap img {
    max-height: 250px;
    width: auto;
  }
  .image-with-text div,
  .image-with-text img {
    max-width: 32rem;
  }

  .icons div {
    max-width: 40rem;
  }

  .products-section {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    max-width: 1300px;
    margin-inline: auto;
  }
  .product {
    min-width: 500px;
  }
  .lotus-leaf {
    flex-direction: row-reverse;
    gap: 2rem;
    max-width: 40rem;
    margin-inline: auto;
  }
  .lotus-leaf img {
    max-width: 40%;
  }
  .product-buy img {
    max-width: 400px;
  }
  .product-buy > div,
  .kl-vl,
  .faq,
  .instruction {
    max-width: 40rem;
    margin-inline: auto;
  }
}

@media (min-width: 900px) {
  .hero {
    height: 100vh;
    background-size: cover;
    background-image: linear-gradient(0.45turn,rgba(255, 255, 255, 0.904), rgba(255, 255, 255, 0) 70%),linear-gradient(0.35turn, rgba(255, 255, 255, 0.815),rgba(255, 255, 255, 0) 60%), url("images/linka.webp");
  }
  header {
    margin-inline: 5% 10%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
  }
  .hero header {
    margin-inline: 0;
  }
  .hero h2 {
    font-size: 3rem;
    max-width: 35rem;
    text-align: left;
  }
  .hero h1 {
    text-align: left;
    max-width: 35rem;
    font-size: var(--normal-text);
  }
  .hero > a{
    margin-inline: unset;
  }
  header nav a {
    margin-inline: 0.7rem;
  }
  .image-with-text {
    flex-direction: row;
    gap: 3rem;
    margin-inline: 10%;
    margin-block: 8rem;
  }
  .img-txt-1 {
    flex-direction: row-reverse;
  }

  .image-with-text img {
    max-width: 60%;
  }
  .image-with-text div {
    align-items: start;
    max-width: 50%;
  }
  .product-buy {
    flex-direction: row;
    max-width: 1100px;
    margin-inline: auto;
    gap: 2rem;
  }
  .lotus-leaf,
  .kl-vl,
  .faq,
  .instruction {
    max-width: 1100px;
    margin-inline: auto;
  }
}
@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
  /* .hero img {
    scale: 1;
  }
 
  .hero div {
    max-height: 40vw;
  }
  .hero h2 {
    font-size: 2.5rem;
    max-width: 50rem;
    margin-top: 8rem;
    line-height: 1.1;
  }
  .hero h1 {
    margin-top: 1.5rem;
    max-width: 50rem;
  }
  .hero a {
    margin-bottom: 5rem;
  } */
  .sink img {
    height: 50vw;
    max-height: 600px;
    width: auto;
  }
  .tap img {
    height: 30vw;
    max-height: 350px;
    width: auto;
  }
  .image-with-text {
    gap: 5rem;
  }
}
@media (min-width: 1500px) {
  html {
    font-size: 22px;
  }
  .image-with-text {
    padding-inline: 8%;
  }
  .sink div {
    padding-inline: 10% 20%;
  }
  .tap div {
    padding-inline: 20%;
  }
}
