@import url("reset.css");
@import url("./fonts/stylesheet.css");
:root {
  --colorM: #251c05;
  --colorS: #ffd347;
  --colorT: #efefef;
  --colorF: #fff;
  --grey: #251c052e;
  --textMiddle: 20px;
  --textSmall: 14px;
  height: 100%;
  background-color: var(--colorT);
  color: var(--colorM);
  font-size: 16px;
  font-family: "Merriweather Sans", sans-serif;
  scroll-behavior: smooth;
}
.body {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  flex-direction: column;
}
.body > * {
  flex: 0 0 auto;
}
.body > *:nth-child(2) {
  flex: 1 0 auto;
}
input[type="button"] {
  cursor: pointer;
}
.header > div,
.header {
  margin-top: 1rem;
  margin-bottom: var(--textMiddle);
  padding: var(--textMiddle) 4rem;
}
.header input {
  padding: 0.5rem 1.5rem;
}
.logo {
  font-size: 26px;
  font-weight: 600;
}
.logo span {
  color: var(--colorS);
}
a {
  transition: color 0.5s;
}
main a {
  color: var(--colorS);
}
main a:hover {
  color: var(--colorM);
  text-decoration: underline;
}
nav a:hover {
  color: var(--colorS);
}
input {
  width: fit-content;
  padding: 0.5em 6.25rem;
  transition: all 0.5s;
}
input[type="button"],
.form input[type="button"],
.submit {
  border-radius: 5rem;
  background-color: var(--colorS);
}
.submit {
  width: 100%;
  padding: 0.8rem 0;
}
input[type="button"]:hover,
.submit:hover {
  background-color: var(--colorM);
  color: var(--colorT);
}
.container {
  width: 1174px;
  margin-right: auto;
  margin-left: auto;
}
.dFlex {
  display: flex;
  justify-content: space-between;
  gap: 1.75rem;
}
.gap0 {
  gap: 0;
}
.flexColumn {
  flex-direction: column;
}
.justifyStart {
  justify-content: flex-start;
}
.justifyCenter {
  justify-content: center;
}
.justifyEvenly {
  justify-content: space-evenly;
}
.justifyEnd {
  justify-content: end;
}
.flexWrap {
  flex-wrap: wrap;
}
.alignCenter {
  align-items: center;
}
.grid {
  display: grid;
}
.textCenter {
  text-align: center;
}
.texMiddle {
  font-size: var(--textMiddle);
}
.textSmall {
  font-size: var(--textSmall);
}
.textLarge {
  font-size: 6rem;
  font-weight: 600;
  text-transform: uppercase;
}
h1 {
  font-size: 2.25rem;
  font-weight: 600;
}
h2 {
  margin-bottom: calc(var(--textMiddle) * 2);
  font-size: 1.75rem;
  font-weight: 600;
}
h3,
.form--title {
  margin: 1rem 0;
  font-weight: 600;
}
main > * {
  margin-top: 5rem;
}
main > *:first-child {
  margin-top: 0;
}
img {
  border-radius: 3rem;
}
.p1 {
  padding: 1rem 0;
}
.w100 {
  width: 100%;
}
.ask {
  width: fit-content;
  padding: 0.5em 6.25rem;
  background-color: var(--colorS);
  font-size: 1.5rem;
  @media screen and (max-width: 600px) {
    width: 100%;
    padding: 0.5em;
    font-size: 1.2rem;
    text-align: center;
  }
}
.bgWhite,
input.bgWhite {
  background-color: var(--colorF);
}
.bgYellow {
  background-color: var(--colorS);
}
.borderRing,
.borderRing--grey {
  border: 1px solid;
  border-radius: 1.5rem;
}
.borderRing--grey {
  border-color: var(--grey);
}
.head--left {
  min-width: 60%;
  padding: 3.5rem;
}
.head--left ul li {
  margin-bottom: 1em;
  font-size: var(--textMiddle);
}
.head--left input {
  font-size: 1.5rem;
}
.head--left ul {
  counter-reset: li;
  margin: 2rem 0;
}
.head--left ul li {
  display: flex;
  align-items: center;
}
.head--left ul li::before {
  content: counter(li);
  counter-increment: li;
  display: inline-block;
  width: 2.1em;
  margin-right: 1em;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  background-color: var(--colorS);
  text-align: center;
}
.head--form {
  padding: 3.5rem 1.9rem;
  font-size: var(--textMiddle);
}
.head--form input {
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
}
.head--form :nth-child(3) {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.head--form .submit {
  margin: 2rem 0;
}
.about h2 {
  margin: 0;
  padding: 1rem 2.75rem;
}
.about--item {
  padding: 1rem 1.5rem;
}
.about--item h3 {
  margin-top: 0;
}
.discount h2 ~ div {
  margin-bottom: 1rem;
}
.discount--amount {
  padding: 1.6rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  @media screen and (max-width: 600px) {
    padding-left: 1em;
    font-size: 1rem;
    text-align: left;
  }
}
.discount--amount span {
  padding: 10px;
  border-radius: 2rem;
  background-color: var(--colorF);
}
.discount--item {
  padding: 2rem;
}
.slider {
  padding: 5rem;
}
.priceHead > * {
  height: 202px;
}
.priceHead h2 {
  padding: 4rem 2.75rem;
}
.priceHead div {
  padding: 2.25rem 2.75rem;
  font-weight: 600;
}
.price--item {
  margin-bottom: 2rem;
}
.price--item:first-child .price--el:first-child {
  background-color: var(--colorS);
}
.price--item h3 {
  margin-top: 0;
  padding: var(--textMiddle) 0;
  font-size: var(--textMiddle);
}
.price--item img {
  margin-top: 1rem;
}
.price--item:nth-child(2n) {
  flex-direction: row-reverse;
}
.price--el {
  padding: 1.6rem 2rem;
  gap: 4.75rem;
}
.price--el div:nth-child(1) {
  flex: 500px;
}
.price--el div:nth-child(2) {
  flex: 220px;
}
.price--el div:nth-child(3) {
  flex: 130px;
}
.questions--head > div {
  padding: 2rem 2.75rem;
  font-weight: 600;
}
.questions--head input {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
}
.questions {
  counter-reset: q;
}
.questions h2 {
  width: 50%;
}
.questions--item {
  margin-bottom: var(--textMiddle);
  padding: 1rem 3.4rem;
}
.questions--title {
  display: grid;
  font-size: 1.5rem;
  font-weight: 600;
  align-items: center;
  grid-template-columns: 5.4rem 1fr 25px;
}
.questions--title::before {
  content: counter(q);
  counter-increment: q;
  display: inline-block;
  width: 2.1em;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  background-color: var(--colorS);
  font-weight: normal;
  text-align: center;
}
.questions--title::after {
  content: url(../images/arrow.svg);
  transform: rotate(180deg);
  transition: all 0.5s;
  text-align: right;
}
.arrowTern::after {
  transform: rotate(0);
}
.qustions--answer {
  max-height: 0;
  padding-left: 0;
  transition: all 0.5s;
  overflow: hidden;
}
.qustions--answer > div {
  padding: 2rem;
  padding-left: 0;
}
.footer {
  padding: 4.5rem 3.4rem;
  border: 2px solid;
  border-bottom: 0;
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
  font-size: var(--textMiddle);
  & p {
    margin: 0;
  }
}
.footer .logo span {
  color: var(--colorF);
}
.footer li {
  margin-bottom: 1rem;
}
.footer .contacts {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: right;
}
.footer .contacts > * {
  margin: 0;
}
.footer input {
  padding: 1rem 1.5rem;
}
.footer a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 600px) {
  .container,
  img,
  input,
  .questions h2 {
    width: 100% !important;
  }
  h2 {
    font-size: 1.5rem;
    text-align: center;
    hyphens: auto;
    word-wrap: normal;
  }
  body {
    padding: 0.5rem;
  }
  .dFlex,
  .header,
  .price--item:nth-child(2n) {
    flex-direction: column;
  }
  nav > ul.dFlex {
    flex-direction: row;
    flex-wrap: wrap;
  }
  li:has(input) {
    width: 100%;
  }
  footer .dFlex {
    gap: 1rem;
  }
  .textLarge,
  .harantly ul li,
  h1 {
    font-size: 1.5rem;
  }
  h1 {
    word-wrap: break-word;
  }
  .questions--title {
    grid-template-columns: 1fr;
  }
  .head--left,
  .header > div,
  .header,
  .head--left input,
  input,
  .slider,
  .priceHead h2,
  .priceHead div,
  .questions--head > div,
  .footer,
  .questions--item {
    padding: 0.5rem;
    word-wrap: break-word;
    text-wrap: balance;
  }
  .priceHead > * {
    height: auto;
  }
  .price--el div:nth-child(1),
  .price--el div:nth-child(2),
  .price--el div:nth-child(3) {
    flex: auto;
  }
  .price--item:first-child .price--el:first-child {
    display: none;
  }
  .price--el {
    padding: 1rem;
    gap: 1rem;
  }
  .footer,
  .footer .contacts,
  .questions--title::before,
  .questions--title::after {
    text-align: center;
  }
  .questions--title::before {
    margin: 0 auto;
  }
  .questions--head input {
    height: 4em;
  }
}
.floatForm {
  display: none;
  position: fixed;
  z-index: 20;
  top: 10%;
  left: 45%;
  padding: 1.5rem;
  padding-bottom: calc(var(--textMiddle) + 1.5rem);
  border-radius: 1rem;
  background: #fff;
  flex-direction: column;
  box-shadow: 0 0 1rem #00000020;
  @media screen and (max-width: 600px) {
    left: 1%;
    width: 98%;
  }
  & input,
  select {
    width: 100%;
    height: 44px;
    margin-bottom: 1rem;
    padding: 0.5rem 2rem;
    border: 1px solid;
    border-radius: 5rem;
    transition: all 0.5s;
    &.submit {
      border-radius: 5rem;
      background-color: var(--colorS);
      box-shadow: 0 3px #0003 inset;
      &:hover {
        background-color: var(--colorM);
        color: var(--colorT);
      }
    }
  }
  & .close {
    width: fit-content;
    margin-left: auto;
    padding: 0.1rem 0.5rem 0.2rem 0.5rem;
    border-radius: 50%;
  }
}
/* @supports (
  background-image: -webkit-image-set(url("../images/bgKettle.webp"))
) {
  .blockH1 {
    background-image: -webkit-image-set(url("../images/bgKettle.webp"));
  }
} */
.grecaptcha-badge {
  visibility: hidden;
}
