@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500;900&display=swap");
body,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  border: 0;
  cursor: pointer;
}

html {
  font-size: 100%;
}
@media (max-width: 1080px) {
  html {
    font-size: 100%;
  }
}

body {
  background: #f0f0f0;
  width: 100%;
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  font-size: 12px;
  color: #666666;
}

.body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
  max-width: 660px;
}

.section__head, .section__skills, .section__footer {
  background: url(./../images/sprites/png/body.png);
  width: 100%;
  position: relative;
  border-bottom: 2px solid #f0f0f0;
  margin-right: 20px;
  margin-left: 20px;
}
.section__head:nth-child(2), .section__skills:nth-child(2), .section__footer:nth-child(2) {
  padding: 36px 19px 40px;
}
.section__head:nth-child(3), .section__skills:nth-child(3), .section__footer:nth-child(3) {
  border: none;
  padding: 38px 20px 59px;
}
.section__head h1, .section__skills h1, .section__footer h1 {
  font-size: 18px;
  color: #010101;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
}

.form__head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 30px 20px 32px;
}
@media (max-width: 650px) {
  .form__head {
    justify-content: center;
  }
}
.form__img {
  width: 25%;
}
@media (max-width: 650px) {
  .form__img {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}
.form__info {
  width: 75%;
}
@media (max-width: 650px) {
  .form__info {
    width: 100%;
  }
}
.form__input {
  border-bottom: 2px solid #333333;
  padding-bottom: 8px;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
  letter-spacing: 0.0625em;
  font-size: 10px;
}
.form__input:nth-child(2), .form__input:nth-child(4) {
  padding-top: 34px;
}
.form__input:nth-child(3) {
  padding-top: 36px;
}
.form__print {
  background: url(./../images/sprites/png/print.png) no-repeat 100% 100%;
  width: 184px;
  height: 166px;
  position: absolute;
  right: 4px;
  bottom: 13px;
}
@media (max-width: 650px) {
  .form__print {
    width: 25%;
    height: 100%;
    background-size: contain;
  }
}

.skills__blocks {
  display: flex;
  flex-direction: row;
  margin-top: 26px;
}
@media (max-width: 650px) {
  .skills__blocks {
    flex-wrap: wrap;
  }
}
.skills__block {
  width: 50%;
}
.skills__item {
  margin-bottom: 40px;
}
@media (max-width: 650px) {
  .skills__item {
    margin-bottom: 20px;
  }
  .skills__item:nth-child(3n) {
    margin-bottom: 20px !important;
  }
}
.skills__item:nth-child(3n) {
  margin: 0;
}
.skills__text {
  display: flex;
  align-items: center;
  letter-spacing: 0.0625em;
  font-weight: 700;
  line-height: 1.834;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #666;
}

.counter__blocks {
  display: flex;
  flex-direction: row;
  align-items: center;
}
@media (max-width: 650px) {
  .counter__blocks {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.counter__text {
  color: #010101;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
.counter__number {
  color: #0093d7;
  font-weight: 900;
  font-size: 50px;
}
.counter__texts {
  margin-left: 67px;
}
@media (max-width: 650px) {
  .counter__texts {
    margin: 20px 0 0;
    width: 100%;
    text-align: center;
  }
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox]:checked + label span {
  background: #0093d7;
}
input[type=checkbox]:checked + label span svg {
  opacity: 1;
  margin: 0 3px;
}

input[type=checkbox] + label span {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  background: #eeeeee;
  cursor: pointer;
  border-radius: 2px;
}
input[type=checkbox] + label span svg {
  opacity: 0;
}