@import url("reset.css");
@import url("./fonts/stylesheet.css");
:root {
  --colorM: #05031c;
  --colorS: #1ec6e4;
  --colorT: #edf8fb;
  --textMiddle: 20px;
  --textSmall: 16px;
  height: 100%;
  color: var(--colorT);
  font-size: 16px;
  font-family: "Merriweather Sans", sans-serif;
  scroll-behavior: smooth;
}
.body {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: var(--colorM);
  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,
.nav > ul {
  display: flex;
  justify-content: space-between;
}
.logo,
.nav ul li {
  height: 64px;
  margin-bottom: 2px;
  padding: 0.5rem 0;
  @media screen and (max-width: 600px) {
    height: auto;
    margin-bottom: 0;
    padding: 0.5rem 0;
  }
}
.nav a {
  transition: color 0.5s;
}
h1 span,
.about--item-title span,
.repear h2,
.price--cost,
.defect h2,
.nav a:hover {
  color: var(--colorS);
}
.nav ul {
  gap: 2.25rem;
  @media screen and (max-width: 600px) {
    gap: 0;
  }
}
header {
  margin: 1rem 0 2.25rem 0;
}
header input,
input[type="button"],
.submit {
  width: fit-content;
  height: 44px;
  padding: 0.5rem 2rem;
  background-color: var(--colorS);
  transition: all 0.5s;
}
header input:hover,
input[type="button"]:hover,
.submit:hover {
  background-color: var(--colorT);
  color: var(--colorM);
}
.nav__column {
  display: flex;
  flex-direction: column;
}
.container {
  width: 1174px;
  margin-right: auto;
  margin-left: auto;
}
.dFlex {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.flexColumn {
  flex-direction: column;
}
.justifyStart {
  justify-content: flex-start;
}
.justifyCenter {
  justify-content: center;
}
.justifyEvenly {
  justify-content: space-evenly;
}
.alignCenter {
  align-items: center;
}
.grid {
  display: grid;
}
.textCenter {
  text-align: center;
}
.textLarge {
  font-size: 6rem;
  font-weight: 600;
  text-transform: uppercase;
}
h1 {
  margin-bottom: 1.75rem;
  color: var(--colorT);
  font-size: 2.5rem;
  font-weight: 600;
}
h1 ~ a input {
  margin-top: 1.75rem;
}
h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 500;
}
ul.discRed {
  margin-bottom: 1.5rem;
  list-style: disc;
}
.blockH1 .text-item {
  color: var(--colorT);
}
.blockH1 input {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
}
main > * {
  margin-top: 4rem;
}
main > *:first-child {
  margin-top: 0;
}

.about--item {
  font-size: var(--textMiddle);
}
.about--item-title {
  margin-bottom: 2rem;
  font-size: 6rem;
  font-weight: 900;
  text-align: center;
}
.repear {
  gap: 4.5rem;
}
.repear > div {
  max-width: 598px;
}
.repear input {
  margin-top: 2rem;
}
.discount {
  padding: 3.5rem 0;
  background-color: var(--colorS);
}
.discount span {
  color: var(--colorM);
  font-size: 5.5rem;
  @media screen and (max-width: 600px) {
    font-size: 1.5rem;
  }
}
.discount span::after {
  content: url(../images/arrow.svg);
  position: absolute;
  margin-top: -0.7em;
  margin-left: -0.65em;
}
.discount a,
.form input[type="button"],
.form .submit {
  position: relative;
  height: fit-content;
  margin-top: 2.5rem;
  margin-right: auto;
  border: 1px solid var(--colorM);
  background-color: var(--colorM);
  color: var(--colorT);
  transition: all 0.5s;
}
.discount input:hover,
.form input[type="button"]:hover,
.form .submit:hover {
  background-color: var(--colorT);
  color: var(--colorM);
}
.harantly {
  margin-top: 10rem;
  margin-bottom: 10rem;
  @media screen and (max-width: 600px) {
    margin: 2rem 0;
  }
}
.harantly ul li {
  counter-reset: item;
  counter-increment: li 0;
  margin-bottom: 2rem;
  font-size: 4.5rem;
}
.harantly ul li::before {
  content: counter(li);
  counter-increment: li;
  display: inline-block;
  width: 1.3em;
  margin-right: 0.5em;
  padding: 0 1rem;
  border: 2px solid var(--colorS);
  border-radius: 50%;
  text-align: center;
  @media screen and (max-width: 600px) {
    width: 1.5em;
    padding: 0;
  }
}
.slider--wrapper {
  display: flex;
  gap: 7.5rem;
  overflow: hidden;
  @media screen and (max-width: 600px) {
    gap: 0.5rem;
  }
}
.slider--item {
  transition: all 1s;
}
.price .grid {
  grid-template-rows: auto auto auto;
  grid-template-columns: auto auto auto;
  gap: 2rem;
}
.form {
  padding: 4rem 0;
  background-color: var(--colorS);
}
.form input,
.form .submit {
  width: 100%;
  height: 44px;
  padding: 0.5rem 2rem;
  border: 1px solid;
  border-radius: 0;
}
.form .submit {
  margin-top: 0;
}
.question {
  display: flex;
  color: var(--colorS);
  font-size: var(--textMiddle);
  align-items: center;
}
.question::after {
  content: url(../images/up.svg);
  margin-left: auto;
  transform: rotate(180deg);
  transition: all 0.5s;
}
.arrowTern::after {
  transform: rotate(0);
}
.answer {
  max-height: 0;
  margin: 2rem 0 2rem 9rem;
  transition: all 1s;
  overflow: hidden;
  @media screen and (max-width: 600px) {
    margin: 1rem 0;
  }
}
.defect {
  margin-bottom: 4rem;
}
.footer {
  border-top: 2px solid var(--colorT);
}
.footer--nav {
  padding: 4rem 0 2rem 0;
}
.footer--rule {
  padding: 2rem 0;
  background-color: var(--colorS);
}
@media screen and (max-width: 600px) {
  .container,
  .form--item,
  .half,
  .services--list,
  .process--list,
  .price--list,
  img,
  input {
    width: 100% !important;
  }
  h2 {
    font-size: 1.5rem;
    text-align: center;
    hyphens: auto;
    word-wrap: normal;
  }
  body {
    padding-left: 0.5rem;
  }
  .dFlex,
  .header,
  .nav > ul {
    flex-direction: column;
  }
  footer .dFlex {
    gap: 1rem;
  }
  .price .grid {
    grid-template-rows: auto;
    grid-template-columns: auto;
    text-align: center;
  }
  .textLarge,
  .harantly ul li,
  h1 {
    font-size: 2.5rem;
    @media screen and (max-width: 600px) {
      font-size: 1.5rem;
    }
  }
  .answer {
    margin-left: 0;
  }
  h1 {
    word-wrap: break-word;
  }
}
.floatForm {
  display: none;
  position: fixed;
  z-index: 20;
  top: 10%;
  left: 40%;
  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"));
  }
} */
.submit {
  width: 100%;
  border: 1px solid;
  border-radius: 2rem;
}
.grecaptcha-badge {
  visibility: hidden;
}
