@import url("reset.css");
@import url("./fonts/stylesheet.css");
:root {
  --colorM: #a1a1a1;
  --colorS: #91a5b4;
  --colorTextM: #0c0323;
  --colorTextS: #f9fbfd;
  --colorRedF: #dd2929;
  --textMiddle: 20px;
  --textSmall: 16px;
  height: 100%;
  color: var(--colorTextM);
  font-size: 24px;
  font-family: "Merriweather Sans", sans-serif;
  scroll-behavior: smooth;
}
.body {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: var(--colorTextS);
  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 {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid;
  background-color: #00000047;
  color: var(--colorTextS);
}
main {
  position: relative;
  z-index: 1;
  margin-top: -70px;
}
.header > *,
.header .nav > ul {
  display: flex;
  justify-content: space-around;
}
.logo,
.nav ul li {
  height: 64px;
  margin-bottom: 2px;
  padding: 0.5rem 0;
}
header .nav ul li:hover {
  border-bottom: 2px solid var(--colorRedF);
}
.nav__column {
  display: flex;
  flex-direction: column;
}
.gap2 > * {
  gap: 60px;
}
.container {
  width: 1174px;
  margin: auto;
}
.dFlex {
  display: flex;
}
.spaceBetween {
  justify-content: space-between;
}
.flexColumn {
  flex-direction: column;
}
.bgWhite,
.blockSpace {
  padding: 5rem 0;
}
.process .bgWhite,
.form .bgWhite {
  padding: 0;
}
.greeting,
.greeting ul li,
.services,
.process,
.process ul li,
.price,
.price--list li,
.borderBottom {
  border-bottom: 1px solid var(--colorS);
}
.greeting ul li:last-child,
.price--list li:last-child {
  border: none;
}
h2,
.discRed li::marker,
.blockH1 input,
.textLarge,
.inLine li,
header .nav ul li:hover,
footer .nav a:hover,
.contacts a:hover,
.price--list li,
.warranty h2 span,
.warranty .text-item span {
  color: var(--colorRedF);
}
.price h2 span,
.price--list li div,
.warranty h2 {
  color: var(--colorTextM);
}
.process,
.price--list li,
.inLine li {
  font-size: var(--textMiddle);
}
.textCenter {
  text-align: center;
}
.bgColorS {
  background-color: var(--colorS);
}
.textWhite {
  color: var(--colorTextS);
}
.half {
  width: 55%;
}
.blockH1 {
  height: 960px;
  background-image: url(../images/bgKettle.jpg);
  background-position: right;
  background-size: initial;
  background-repeat: no-repeat;
}
@supports (
  background-image: -webkit-image-set(url("../images/bgKettle.webp"))
) {
  .blockH1 {
    background-image: -webkit-image-set(url("../images/bgKettle.webp"));
  }
}
.textLarge {
  font-size: 10rem;
  font-weight: 600;
}
h1 {
  margin-bottom: 1rem;
  color: var(--colorTextS);
  font-size: 2.5rem;
  font-weight: 500;
  text-transform: uppercase;
}
h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
}
ul.discRed {
  margin-bottom: 1.5rem;
  list-style: disc;
}
.blockH1 .text-item {
  color: var(--colorTextS);
}
.blockH1 input {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
}
.greeting ul {
  font-size: 1.5rem;
  font-weight: 400;
  @media screen and (max-width: 600px) {
    font-size: 1rem;
  }
}
.greeting ul li {
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
}
.greeting ul li div {
  width: 1.4em;
  margin-top: 0.5em;
  margin-right: 4em;
  border: 1px solid var(--colorRedF);
  border-radius: 50%;
  text-align: center;
  float: left;
}
.services {
  background-image: url(../images/bgServices.jpg);
  background-position: left;
  background-repeat: no-repeat;
}
@supports (
  background-image: -webkit-image-set(url("../images/bgServices.webp"))
) {
  .services {
    background-image: -webkit-image-set(url("../images/bgServices.webp"));
  }
}
.services--list {
  width: 40%;
  margin-right: 4rem;
  margin-left: auto;
  @media screen and (max-width: 600px) {
    width: 100%;
    margin-right: 0;
  }
}
.services--list h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  @media screen and (max-width: 600px) {
    font-size: 1.2rem;
  }
}
.services--list input {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background-color: var(--colorRedF);
  color: var(--colorTextS);
}
.advantages img {
  margin-right: 15px;
  padding: 0.5em;
  border-radius: 50%;
  background-color: var(--colorTextS);
  float: left;
}
.advantages .dFlex {
  gap: 15px;
}
.advantages .dFlex > div {
  width: 100%;
  font-size: 17px;
}
.process {
  background-image: url(../images/process.jpg);
  background-position: right;
  background-size: initial;
  background-repeat: no-repeat;
}
@supports (background-image: -webkit-image-set(url("../images/process.webp"))) {
  .process {
    background-image: -webkit-image-set(url("../images/process.webp"));
  }
}
.process--list {
  width: 40%;
  padding: 4.5rem 0;
}
.process ul li {
  padding: 1.5rem;
}
.process .text-item {
  font-size: 0.6rem;
}
.process input {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.2rem 0;
  background-color: var(--colorRedF);
  color: var(--colorTextS);
}
.inLine {
  display: flex;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.inLine li {
  padding: 36px 40px 40px 40px;
  border: 1px solid var(--colorTextM);
  text-align: right;
  flex: 1;
  @media screen and (max-width: 600px) {
    padding: 0.5rem;
  }
}
.inLine li div {
  min-height: 5rem;
  color: var(--colorTextM);
  text-align: left;
}
.price > ul {
  margin-bottom: 1.5rem;
}
.price .text-item {
  font-size: var(--textSmall);
  flex-basis: 35%;
}
.price--list {
  flex-basis: 60%;
}
.price--list li {
  display: flex;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  justify-content: space-between;
}
.warranty--img {
  margin: 0 2rem 5rem;
}
.warranty .text-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  font-size: 1.5rem;
  @media screen and (max-width: 600px) {
    font-size: 1rem;
  }
}
.warranty h2 {
  @media screen and (max-width: 600px) {
    font-size: 1rem;
  }
}
.form {
  background-image: url(../images/bgForm.jpg);
  background-position: left;
  background-repeat: no-repeat;
  @media screen and (max-width: 600px) {
    background-position: right;
  }
}
@supports (background-image: -webkit-image-set(url("../images/bgForm.webp"))) {
  .form {
    background-image: -webkit-image-set(url("../images/bgForm.webp"));
  }
}
input[type="button"] {
  cursor: pointer;
}
.form--item {
  width: 50%;
  margin-right: 3rem;
  margin-left: auto;
}
.form h2 {
  padding-top: 5rem;
}
.form h3 {
  margin-bottom: 1em;
  font-size: 1.5rem;
}
.form .text-item {
  margin-bottom: 1.5rem;
}
.form lable,
.textSmall {
  font-size: var(--textSmall);
}
.textMiddle {
  font-size: var(--textMiddle);
}
.form input {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--colorS);
}
.form input[type="submit"] {
  padding: 0.25rem 1.5rem;
  border: none;
  background-color: var(--colorRedF);
  color: var(--colorTextS);
}
.checkBoxItem {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: flex-start;
}
input.checkBox {
  width: 1rem;
  height: 1rem;
  margin-right: 1em;
  accent-color: var(--colorRedF);
}
.form form {
  padding-bottom: 5rem;
}
footer {
  padding: 5rem 0;
  background-color: var(--colorS);
  color: var(--colorTextS);
}
footer > div:first-child {
  padding: 2rem;
  border-top: 1px solid var(--colorTextS);
  border-bottom: 1px solid var(--colorTextS);
}
footer img {
  width: 100%;
}
footer .nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2rem 2rem 2rem;
  gap: 0;
}
footer .nav ul li {
  margin: 0;
  padding: 0;
}
footer .nav a:hover,
.contacts a:hover {
  text-decoration: underline;
}
footer > div:last-child {
  display: flex;
  margin-top: 2rem;
  font-size: var(--textSmall);
  justify-content: flex-end;
  gap: 2rem;
}
.contacts {
  gap: 1rem;
}
@media screen and (max-width: 1750px) {
  .bgWhite {
    width: 100%;
    background-color: #ffffff96;
  }
}
@media screen and (max-width: 600px) {
  @supports (
    background-image: -webkit-image-set(url("../images/bgKettle-mobile.webp"))
  ) {
    .blockH1 {
      background-image: -webkit-image-set(
        url("../images/bgKettle-mobile.webp")
      );
    }
  }
  .container,
  .form--item,
  .half,
  .services--list,
  .process--list,
  .price--list,
  img {
    width: 100%;
  }
  main > *,
  .container {
    padding: 0;
    & > * {
      padding: 0 0.5rem;
    }
  }
  .bgWhite {
    width: 100%;
    background-color: #ffffff96;
  }
  h1,
  h2 {
    font-size: 1.2rem;
    text-align: center;
    hyphens: auto;
    word-wrap: normal;
  }
  .blockH1 input {
    width: 100%;
    font-size: var(--textSmall);
  }
  .inLine,
  .spaceBetween {
    flex-direction: column;
  }
  .bgWhite,
  .blockSpace {
    padding: 1rem 0;
  }
  header .nav {
    display: none;
  }
  .warranty--img {
    margin: 0;
  }
  .blockH1 {
    background-image: url(../images/bgKettle-mobile.jpg);
    background-position: center;
  }
  .services--list input {
    font-size: large;
  }
  .greeting ul li div {
    margin-right: 100%;
  }
  .dFlex,
  .price--list li {
    flex-direction: column;
  }
  footer > div:first-child {
    padding: 0.5rem;
  }
  footer .dFlex {
    gap: 1rem;
  }
  .bgGrey {
    background-color: #0000006b;
  }
}
.getForm {
  cursor: pointer;
}
.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%;
    min-height: 44px;
    margin-bottom: 1rem;
    padding: 0.5rem 2rem;
    border: 1px solid;
    border-radius: 5rem;
    transition: all 0.5s;
    &[type="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%;
  }
}
