@import url("reset.css");
@import url("./fonts/stylesheet.css");
:root {
  --colorDark: #0e262d;
  --colorWhite: #eae2fe;
  --colorOrange: #f1c94c;
  --colorGreen: #00d07c;
  --textMedium: 20px;
  --textSmall: 12px;
  height: 100%;
  color: var(--colorDark);
  font-size: 16px;
  font-family: sans-serif;
  scroll-behavior: smooth;
}
.body {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: var(--colorWhite);
  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 {
  background-color: var(--colorDark);
  color: var(--colorWhite);
}
.header > *,
.header .nav > ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  font-size: 30px;
  line-height: 1rem;
}
.ex {
  color: var(--colorGreen);
  font-weight: 600;
}
.small {
  font-size: var(--textSmall);
}
.fwBolder {
  font-weight: 700;
}
.phone {
  font-size: var(--textMedium);
  font-weight: 600;
}
.logo,
.nav ul li,
header .phone {
  margin-bottom: 2px;
  padding: 1rem 0;
}
.nav {
  width: 445px;
}
.nav ul li a::after {
  content: "";
  display: block;
  width: 0%;
  height: 1px;
  background-color: var(--colorWhite);
  transition: all 0.3s;
}
.nav ul li a:hover:after,
.nav ul li a:focus:after {
  width: 100%;
}
.aLeft,
.aRight {
  transition: filter 0.3s;
  background: var(--colorDark);
}
header button,
footer button,
.technique .text-item button,
.breakdowns input,
.form input {
  margin: auto 0;
  padding: 12px 1rem;
  background-color: var(--colorOrange);
}
header button img,
footer button img,
.technique .text-item button img {
  margin-right: 1rem;
  vertical-align: text-top;
}
main > * {
  padding: 5rem 0;
}
.head {
  padding: 3rem 0;
}
.imgs {
  position: relative;
  z-index: -1;
  margin-top: -25rem;
  text-align: right;
}
.imgs picture {
  position: relative;
  margin-left: -3rem;
}
.imgs picture:nth-child(1) {
  z-index: 3;
}
.imgs picture:nth-child(2) {
  z-index: 2;
}
.imgs picture:nth-child(3) {
  z-index: 1;
}
.technique,
.stages,
.sliderTechnique {
  background-color: var(--colorDark);
  color: var(--colorWhite);
}
.footer .nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nav__column {
  display: flex;
  flex-direction: column;
}
.container {
  width: 1174px;
  margin: auto;
}
.dFlex {
  display: flex;
  justify-content: space-between;
}
.textCenter {
  text-align: center;
}
h1 {
  font-size: 7.5rem;
  font-weight: 700;
}
h1 span {
  color: var(--colorOrange);
}
h2 {
  max-width: 700px;
  margin-bottom: 3rem;
  font-size: 4rem;
  font-weight: 700;
}
h2 span {
  color: var(--colorOrange);
}
h3 {
  margin-bottom: var(--textMedium);
  font-size: 1.5rem;
  font-weight: 700;
}
.technique .text-item {
  display: flex;
  position: relative;
  width: 65%;
  margin-top: -12rem;
  margin-left: auto;
  flex-direction: column;
}
.technique .text-item .dFlex > div {
  line-height: 1.5rem;
}
.technique .text-item button {
  width: fit-content;
  height: calc(2.5rem + 2px);
  margin-top: var(--textMedium);
  border: 1px solid;
  background-color: #fff0;
  color: var(--colorOrange);
  transition: all 0.3s;
}
.technique .text-item button svg {
  margin-right: 1rem;
  transition: all 0.3s;
  fill: var(--colorOrange);
  vertical-align: text-top;
}
.technique .text-item button:hover {
  background-color: var(--colorOrange);
  color: var(--colorDark);
}
.technique .text-item button:hover svg {
  fill: var(--colorDark);
}
header button,
footer button,
.form form input[type="button"],
.submit {
  transition: all 0.3s;
}
header button:hover,
footer button:hover,
.form form input[type="button"]:hover,
.submit:hover {
  background-color: var(--colorGreen);
}
.grid {
  display: grid;
}
.breakdowns .grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.breakdowns .grid > div {
  padding: 1.6rem;
  border: 1px solid;
}
.breakdowns input {
  margin: var(--textMedium) 100% var(--textMedium) 0;
  background-color: var(--colorGreen);
  color: var(--colorDark);
  font-weight: 700;
}
.stages .dFlex {
  gap: 2rem;
}
.stages--item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.stages--text {
}
.form form {
  padding: 2rem;
  flex-direction: column;
}
.form form input,
.form textarea {
  margin: 0;
  border: 1px solid;
  background-color: #fff0;
}
.form form input[type="button"],
.submit {
  border: none;
  background-color: var(--colorOrange);
}
.form textarea {
  height: 10rem;
  padding: 12px 1rem;
}
.sliderTechnique .dFlex {
  padding: 0 4rem 0 0;
  gap: 1rem;
}
.arrow {
  margin-top: 90px;
}
.slider--wrapper {
  width: 1150px;
  margin: auto;
  overflow: hidden;
}
.slider--img {
  text-align: center;
}
.slider--item {
  transition: all 1s;
}
.slider--text {
  width: 372px;
}
.slider--item span {
  color: var(--colorOrange);
}
.sliderTechnique h2 {
  max-width: 100%;
  margin-top: 1em;
}
.textM {
  font-size: var(--textMedium);
}
.sliderTechnique .textM > div > div {
  margin-bottom: 40px;
  margin-left: 4rem;
}
footer {
  padding: 1rem 0 2rem 0;
  background-color: #041418;
  color: var(--colorWhite);
}
footer .contacts {
  flex-direction: column;
  justify-content: flex-start;
}
footer button {
  margin: 1rem 0;
}
footer .nav ul {
  display: grid;
  margin-left: 5rem;
  padding: 1rem 0;
  gap: 1rem 10rem;
  grid-template-areas:
    "a c"
    "b d"
    ". e";
}
footer .nav ul li {
  height: auto;
  padding: 0;
}
footer .nav ul li:nth-child(1) {
  grid-area: a;
}
footer .nav ul li:nth-child(2) {
  grid-area: b;
}
footer .nav ul li:nth-child(3) {
  grid-area: c;
}
footer .nav ul li:nth-child(4) {
  grid-area: d;
}
footer .nav ul li:nth-child(5) {
  grid-area: e;
}

@media screen and (max-width: 600px) {
  input,
  header button,
  footer button,
  .technique .text-item button,
  .breakdowns input,
  .form input,
  .container,
  picture img,
  .technique .text-item,
  .nav,
  .slider--text {
    width: 100%;
  }
  .imgs {
    margin-top: 0;
  }
  .imgs img {
    width: auto;
  }
  .imgs picture:nth-child(4) img {
    margin-top: -473px;
  }
  .imgs picture:nth-child(5) img {
    margin-top: -450px;
    margin-right: 45%;
  }
  main > * > * {
    padding: 0 1rem;
  }
  .grid,
  footer .nav ul {
    display: flex;
  }
  .dFlex,
  .grid,
  .header > *,
  .header .nav > ul,
  footer .nav ul {
    flex-direction: column;
  }
  h1 {
    font-size: 5rem;
  }
  .nav {
    display: none;
  }
  .technique .text-item {
    margin-top: 0;
  }
  .form form input,
  .form textarea {
    margin: 0.5rem 0;
  }
  .breakdowns input {
    margin: var(--textMedium) 0;
    font-size: var(--textSmall);
  }
  .footer .nav {
    display: block;
  }
  footer {
    padding: 3rem 0.5rem;
  }
  footer .nav ul {
    margin-left: 0;
  }
  .header,
  footer {
    text-align: center;
  }
  footer .contacts {
    gap: 1rem;
  }
  .breakdowns .grid > div {
    padding: 0.5rem;
  }
}
@media screen and (max-width: 600px) {
  h1,
  h2 {
    font-size: 2rem;
    hyphens: auto;
  }
  .slider--wrapper {
    width: 100%;
  }
  .sliderTechnique .dFlex {
    padding: 0;
  }
  .arrow {
    display: none;
  }
  .sliderTechnique .textM > div > div {
    margin-left: 0;
  }
}
.floatForm {
  display: none;
  position: fixed;
  z-index: 20;
  top: 10%;
  left: 40%;
  padding: 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%;
  }
}
.submit {
  background-color: var(--colorWhite);
  border: 1px solid;
  padding: 1rem 0;
}
.grecaptcha-badge {
  visibility: hidden;
}
