html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

a,
input,
button,
textarea {
  outline: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  appearance: none;
}

.same-color {
  background-color: #f6f6f8;
}

.mixitup-control-active {
  color: #2352de;
}

body {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333333;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 140px 0;
}

.title {
  position: relative;
  display: inline-block;
  margin-bottom: 60px;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.3;
}

.title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 15px;
  background-color: rgba(35, 82, 222, 0.1);
}

.animation {
  font-weight: 600;
  border-radius: 3px;
  text-decoration: underline transparent;
  transition: box-shadow 0.3s ease-in, text-decoration 0.3s ease-in, opacity 0.3s ease-in;
}

.animation:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.animation:hover {
  text-decoration: underline;
}

.animation:active {
  opacity: 0.7;
}

.button {
  padding: 11px 23px;
  font-weight: 600;
  line-height: 1.3;
  background-color: #2352de;
  color: #ffffff;
  border: 1px solid transparent;
  transition: background-color 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in, border-color 0.3s ease-in;
}

.button:focus {
  box-shadow: 0 0 0 3px rgba(35, 82, 222, 0.5);
}

.button:hover {
  border-color: #2352de;
  background-color: #ffffff;
  color: #2352de;
}

.button:active {
  background-color: #2352de;
  color: #ffffff;
  box-shadow: inset 0 7px 4px rgba(0, 0, 0, 0.25);
}

.header {
  position: relative;
  z-index: 1;
  padding-top: 128px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  line-height: 1.3;
  color: #ffffff;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: rgba(35, 82, 222, 0.5);
}

.header__top {
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 75px;
  transition: background-color 0.3s ease-in, padding 0.3s ease-in;
}

.header__top.header__top--bg {
  padding: 25px 0;
  background-color: #7792e0;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  transition: box-shadow 0.3s ease-in, opacity 0.3s ease-in;
}

.logo:focus {
  box-shadow: 0 0 0 3px #2352de;
}

.logo:hover {
  opacity: 0.7;
}

.logo:active {
  opacity: 0.5;
}

.burger {
  display: none;
}

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 10;
}

.burger__line,
.burger::after,
.burger::before {
  content: '';
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.burger__line {
  top: 50%;
  transform: translateY(-50%);
}

.burger.active .burger__line {
  transform: scale(0);
}

.burger::after {
  bottom: 11px;
}

.burger.active::after {
  transform: rotate(-45deg);
  bottom: 21px;
}

.burger::before {
  top: 11px;
}

.burger.active::before {
  transform: rotate(45deg);
  top: 21px;
}

.menu__list {
  display: flex;
  align-items: center;
}

.menu__list.active {
  transform: translateY(0);
}

.menu__item:not(:last-child) {
  margin-right: 35px;
}

.header__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - 128px);
}

.header__title {
  max-width: 630px;
  margin: auto 0;
  font-weight: 700;
  font-size: 90px;
}

.header__text {
  display: block;
  font-weight: 400;
  font-size: 48px;
}

.header__link {
  position: absolute;
  bottom: 30px;
  padding-bottom: 33px;
  align-self: center;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 37px;
  height: 23px;
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: translateX(-50%);
}

.about__text:not(:last-child) {
  margin-bottom: 24px;
}

.skills__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skills__img {
  margin-right: 30px;
}

.skills__items {
  max-width: 664px;
  width: 100%;
}

.skills__item span {
  display: block;
  max-width: 50px;
  width: 100%;
  margin-right: 5px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.skills__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills__item:not(:last-child) {
  margin-bottom: 86px;
}

.skills__progress {
  max-width: 600px;
  width: 100%;
  height: 32px;
  background-color: #dbdbed;
}

.skills__percent {
  height: 32px;
  background-color: #2352de;
}

.services,
.numbers {
  padding-top: 140px;
}

.services__items {
  display: flex;
  justify-content: space-between;
}

.services__item {
  position: relative;
  margin-right: 20px;
  padding-top: 90px;
  max-width: 330px;
  width: 100%;
}

.services__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.services__item--dev::before {
  background-image: url("../images/services-icon1.svg");
}

.services__item--cms::before {
  background-image: url("../images/services-icon2.svg");

}

.services__item--sup::before {
  background-image: url("../images/services-icon3.svg");
}

.services__heading {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.3;
}

.services__text {
  font-size: 16px;
}

.portfolio {
  text-align: center;
}

.portfolio__list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.portfolio__filter:not(:last-child) {
  margin-right: 35px;
}

.portfolio__btn {
  font-weight: 600;
  font-size: 24px;
  border-radius: 3px;
  text-decoration: underline transparent;
  transition: text-decoration 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;
}

.portfolio__btn:hover {
  text-decoration: underline;
  color: #2352de;
}

.portfolio__btn:focus {
  box-shadow: 0 0 0 2px rgba(35, 82, 222, 0.5);
}

.portfolio__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-bottom: 60px;
}

.reviews {
  text-align: center;
}

.reviews__box {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.reviews__box-inner {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin-right: 15px;
  font-size: 24px;
  line-height: 1.3;
}

.reviews__figure {
  margin-bottom: 20px;
  text-align: center;
}

.reviews__img {
  margin: 0 auto 20px;
  border-radius: 50%;
}

.reviews__author {
  font-weight: 600;
  color: #2352DE;
}

.reviews__blockquote p {
  font-style: italic;
  font-weight: 300;
}

.reviews__video {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 570px;
  width: 100%;
  height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: box-shadow 0.3s ease-in;
}

.reviews__video:focus {
  box-shadow: 0 0 0 3px rgba(35, 82, 222, 0.5);
}

.reviews__video::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease-in;
}

.reviews__video:focus::after {
  background-color: rgba(0, 0, 0, 0.3);
}

.reviews__video:hover::after {
  background-color: rgba(0, 0, 0, 0.6);
}

.reviews__video:active::after {
  background-color: rgba(0, 0, 0, 0.45);
}

.reviews__video::before {
  content: '';
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-left: 100px solid #ffffff;
  border-bottom: 50px solid transparent;
  transition: transform 0.3s ease-in;
}

.reviews__video:hover::before {
  transform: scale(1.5);
}

.reviews__video:active::before {
  transform: scale(0.5);
}

.numbers__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.numbers__item {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 280px;
  width: 100%;
  padding: 150px 20px 50px;
  text-align: center;
  border: 1px solid #dbdbed;
}

.numbers__item::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: translateX(-50%);
}

.numbers__item--56::before {
  background-image: url('../images/numbers-icon1.svg');
  width: 97px;
}

.numbers__item--23::before {
  background-image: url('../images/numbers-icon2.svg');
  width: 92px;
}

.numbers__item--477::before {
  background-image: url('../images/numbers-icon3.svg');
}

.numbers__item--48::before {
  background-image: url('../images/numbers-icon4.svg');
}

.numbers__text {
  display: block;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
}

.numbers__title {
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
}

.contacts__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contacts__info {
  max-width: 530px;
  margin-right: 25px;
  font-style: normal;
}

.contacts__text {
  margin-bottom: 30px;
  font-size: 16px;
}

.contacts__links {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.3;
  color: #2352de;
}

.contacts__details:not(:last-child) {
  margin-bottom: 15px;
}

.contacts__link {
  font-weight: 400;
}

.contacts__link:focus,
.socials__link:focus {
  box-shadow: 0 0 0 2px rgba(35, 82, 222, 0.5);
}

.socials {
  display: flex;
  align-items: center;
}

.socials__link {
  display: block;
  width: 44px;
  height: 44px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  transition: opacity 0.3s ease-in, box-shadow 0.3s ease-in;
}

.socials__link:hover {
  opacity: 0.7;
}

.socials__link:active {
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.15)
}

.socials__icon:not(:last-child) {
  margin-right: 20px;
}

.form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 540px;
}

.form__label {
  max-width: 255px;
  width: 100%;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.form__label span {
  display: inline-block;
  margin-bottom: 10px;
}

.form__label--textarea {
  margin-bottom: 30px;
  max-width: 540px;
}

.form__input {
  width: 100%;
  height: 44px;
  padding: 13px 15px;
  border: none;
  box-shadow: 0.3s ease-in;
}

.form__input--textarea {
  min-height: 115px;
  resize: vertical;
}

.form__input::placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: #9c9cab;
  transition: color 0.3s ease-in;
}

.form__input:hover::placeholder {
  color: #000000;
}

.form__input:focus {
  box-shadow: 0 0 0 3px rgba(35, 82, 222, 0.5);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  background-color: #343740;
}

@media (max-width: 1200px) {
  .contacts__info {
    flex-shrink: 2;
  }
}

@media (max-width: 992px) {
  body.lock {
    overflow: hidden;
  }

  .header {
    padding-top: 54px;
  }

  .header__content {
    height: calc(100vh - 54px);
  }

  .header__top {
    padding-top: 10px;
  }

  .header__top.header__top--bg {
    padding: 5px 0;
  }

  .skills__img {
    width: 45%;
  }

  .section {
    padding: 75px 0;
  }

  .services,
  .numbers {
    padding-top: 75px;
  }

  .logo {
    z-index: 10;
  }

  .logo__img {
    width: 110px;
    height: 36px;
  }

  .burger {
    display: block;
  }

  .menu__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    z-index: 8;
    padding: 80px 0 80px;
    display: block;
    overflow-y: auto;
    background-color: #7792e0;
    text-align: center;
    transform: translateY(-200%);
    transition: transform 0.4s ease;
  }

  .menu__item:not(:last-child) {
    margin-right: 0;
  }

  .menu__link {
    display: block;
    padding: 11px;
    transition: background-color 0.1s ease;
  }

  .menu__link:active {
    background-color: rgba(35, 82, 222, 0.7);
    opacity: 1;
  }

  .menu__link:hover {
    text-decoration: none;
  }

  .header__title {
    font-size: 72px;
  }

  .header__text {
    font-size: 40px;
  }

  .title {
    margin-bottom: 40px;
    font-size: 36px;
  }

  .skills__item:not(:last-child) {
    margin-bottom: 40px;
  }

  .skills__item {
    flex-direction: column;
    text-align: center;
  }

  .skills__item span {
    margin: 0 0 5px;
  }

  .services__item {
    padding-top: 70px;
  }

  .services__heading {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .services__item::before {
    width: 50px;
    height: 50px;
  }

  .portfolio__list {
    margin-bottom: 40px;
  }

  .portfolio__filter:not(:last-child) {
    margin-right: 25px;
  }

  .portfolio__content {
    margin-bottom: 40px;
  }

  .reviews__video::before {
    border-top: 40px solid transparent;
    border-left: 80px solid #ffffff;
    border-bottom: 40px solid transparent;
  }

  .numbers__title {
    margin-top: 15px;
    font-size: 40px;
  }

  .numbers__text {
    margin: auto 0;
    font-size: 16px;
    white-space: normal;
  }

  .numbers__item {
    padding: 100px 15px 30px;
  }

  .numbers__item::before {
    top: 25px;
  }

  .numbers__item::before {
    width: 65px;
    height: 65px;
  }

  .numbers__item--56::before {
    width: 78px;
  }

  .numbers__item--23::before {
    width: 74px;
  }

  .contacts__info {
    flex-shrink: 1;
  }

  .form__label {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .services {
    padding: 50px 0 13px;
  }

  .numbers {
    padding-top: 50px;
  }

  .title {
    margin-bottom: 30px;
    left: 50%;
    font-size: 28px;
    transform: translateX(-50%);
  }

  .portfolio__title {
    margin-bottom: 23px;
  }

  .portfolio__title,
  .reviews__title {
    left: 0;
    transform: translateX(0);
  }

  .title::before {
    height: 10px;
    bottom: 3px;
  }

  .header__title {
    font-size: 64px;
  }

  .header__text {
    font-size: 35px;
  }

  .header__link {
    font-size: 16px;
  }

  .about__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .about__text:not(:last-child) {
    margin-bottom: 15px;
  }

  .skills__box {
    flex-direction: column;
  }

  .skills__img {
    max-width: 415px;
    width: 100%;
    margin: 0 auto 30px;
  }

  .skills__item:not(:last-child) {
    margin-bottom: 24px;
  }

  .services__items {
    display: block;
  }

  .services__item {
    max-width: 100%;
    padding-top: 50px;
  }

  .services__item:not(:last-child) {
    margin: 0 0 30px;
  }

  .services__item::before {
    width: 40px;
    height: 40px;
  }

  .services__heading {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .portfolio__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
  }

  .portfolio__list {
    flex-direction: column;
    margin-bottom: 23px;
  }

  .portfolio__filter:not(:last-child) {
    margin-right: 0;
  }

  .portfolio__btn {
    padding: 7px 0;
    font-size: 20px;
  }

  .reviews__box {
    flex-direction: column;
  }

  .reviews__box-inner {
    margin: 0 0 30px;
  }

  .reviews__img {
    margin-bottom: 30px;
  }

  .reviews__author {
    font-size: 20px;
  }

  .reviews__blockquote p {
    font-size: 16px;
  }

  .numbers__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers__item {
    max-width: 100%;
  }

  .numbers__item:last-child {
    margin-bottom: 0;
  }

  .contacts__inner {
    flex-direction: column;
  }

  .contacts__info {
    max-width: 100%;
    margin: 0 0 31.7px;
  }

  .contacts__links {
    margin-bottom: 30px;
  }

  .form {
    max-width: 100%;
  }

  .form__label {
    margin-bottom: 15px;
  }

  .footer {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .header__title {
    font-size: 40px;
  }

  .header__text {
    font-size: 28px;
  }

  .header__link {
    bottom: 15px;
    font-size: 14px;
  }

  .skills__box {
    padding: 0 22.5px;
  }

  .portfolio__btn {
    font-size: 18px;
  }

  .reviews__box-inner {
    margin-bottom: 0;
  }

  .reviews__blockquote p {
    max-width: 275px;
  }

  .reviews__box {
    position: relative;
  }

  .reviews__video {
    position: absolute;
    top: 91px;
    left: 50%;
    transform: translateX(27px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .reviews__video::before {
    left: 43px;
    top: 21px;
    transform: translateX(-19px);
    border-top: 10px solid transparent;
    border-left: 20px solid #ffffff;
    border-bottom: 10px solid transparent;
  }

  .reviews__video::after {
    border-radius: 50%;
  }

  .numbers__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 15px;
  }

  .numbers__item {
    margin: 0;
    padding: 70px 15px 25px;
  }

  .numbers__item::before {
    top: 25px;
  }

  .numbers__text {
    font-size: 14px;
  }

  .numbers__title {
    margin-top: 10px;
    font-size: 30px;
  }

  .numbers__item::before {
    width: 35px;
    height: 35px;
  }

  .numbers__item--56::before {
    width: 42px;
  }

  .numbers__item--23::before {
    width: 40px;
  }

  .footer {
    padding: 32px 0;
  }
}

@media (max-height: 576px) {
  .header__title {
    font-size: 40px;
  }

  .header__text {
    font-size: 28px;
  }

  .header__link {
    bottom: 12px;
  }

  .header__link::after {
    bottom: 10px;
    width: 30px;
    height: 14px;
  }
}