html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", Arial, sans-serif;
  /* min-width: 1020px; */
  scroll-behavior: smooth;
}

/* singolo1 */

/* .wrapper {
  margin: 0 auto;
} */

.header-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0px 35px 0px;
  border: transparent 1px solid;
}

a {
  text-decoration: none;
}

header {
  background-color: #2d303a;
  height: 95px;
  box-sizing: border-box;
  border-bottom: #323746 6px solid;
  position: sticky;
  top: 0;
  z-index: 1;
}

header a {
  color: white;
  text-transform: uppercase;
}

header a:hover {
  color: #f06c64;
}
.logo {
  padding-left: 40px;
}

.logo span {
  font-size: 25px;
  line-height: 6px;
  font-weight: bold;
  color: #f06c64;
  margin-left: -3px;
  display: inline-block;
}

.logo h1 {
  margin: 0;
  display: inline-block;
  font-size: 25px;
  line-height: 6px;
  font-weight: bold;
  letter-spacing: -0.5px;
}

nav {
  padding-right: 40px;
}

nav ul {
  list-style-type: none;
  display: flex;
  width: 371px;
  padding: 0;
  justify-content: space-between;
}

nav a {
  font-size: 12px;
  line-height: 6px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-active {
  color: #bf5d5a;
}

nav li:hover,
nav li:focus {
  opacity: 0.4;
}

nav li:active {
  opacity: 0;
}

nav li::before {
  content: ".";
  color: #494e62;
  font-size: 12px;
  line-height: 6px;
  font-weight: 700;
  position: relative;
  left: -14px;
  top: -2px;
}

nav li:first-child::before {
  content: "";
}

.slider-container {
  position: relative;
  /* height: 600px; */
  box-sizing: border-box;

  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

.arrow {
  opacity: 0.3;
}

.slider-img {
  display: none;
  animation: 0.5s ease-in-out;
  position: relative;
  min-width: calc(100vw - 17px);
  width: 100vw;
  height: 594px;
}

.slider-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-content: center;
  margin: 0 auto;
}
.phone-vertical {
  position: absolute;
  top: 0px;
  left: 0px;
}

.phone-horizontal {
  position: absolute;
}
.button-container-left {
  position: absolute;
  top: 47%;
  left: calc(50% - 480px);
  display: flex;
  align-items: center;
}
.button-container-right {
  position: absolute;
  display: flex;
  align-items: center;
  top: 47%;
  right: calc(50% - 480px);
}
.button-left {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.button-right {
  background-color: transparent;
  border: none;
  cursor: pointer;
  transform: rotateY(180deg);
  padding: 0px;
  margin-right: 10px;
}

.button-left:hover,
.button-right:hover {
  outline: lightpink 2px solid;
}

.services {
  background-color: #f2f2f2;
  border-bottom: white 6px solid;
  box-sizing: border-box;
  position: relative;
}

.services-wrapper {
  max-width: 1020px;
  height: 494px;
  margin: 0 auto;
}

.services h2 {
  margin: 0;
  padding-left: 40px;
  padding-top: 68px;
  font-size: 30px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  text-transform: capitalize;
  letter-spacing: -0.2px;
  width: 250px;
}

.services p {
  font-size: 18px;
  line-height: 30px;
  color: #767e9e;
  font-weight: 300;
  width: 939px;
  padding-left: 41px;
  padding-top: 9px;
  letter-spacing: 0.1px;
  text-align: justify;
}

.services-list {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 40px;
  padding-right: 30px;
  padding-bottom: 41px;
  box-sizing: border-box;
}
/* ? template is not so symmetrical, so I have to change elements width a bit */
.services-item {
  margin-top: -38px;
  margin-bottom: -12px;
  width: 312px;
}
.services-item:nth-child(3),
.services-item:nth-child(6) {
  width: 311px;
}
.services-item:nth-child(2),
.services-item:nth-child(5) {
  width: 313px;
}

.services-list img {
  position: relative;
  top: 66px;
  display: inline-block;
}
.services-list h3 {
  margin: 0;
  padding-left: 80px;
  padding-top: 1px;
  font-size: 18px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.services-list p {
  display: inline-block;
  width: 215px;
  padding-left: 80px;
  padding-top: 0px;
  margin-top: 9px;
  font-size: 12px;
  line-height: 22px;
  color: #767e9e;
  font-weight: 400;
  letter-spacing: -0.1px;
  text-align: justify;
  overflow: hidden;
  -moz-overflow: hidden;
  max-height: 66px;
}

/*? This is because original PSD is bit messed up */

.services-item:nth-child(3) h3,
.services-item:nth-child(6) h3 {
  padding-left: 82.5px;
}

/* singolo2 */

.portfolio {
  padding-top: 44px;
  padding-bottom: 48px;
  display: flex;
  justify-content: center;
  background-color: #2d303a;
  border-bottom: #323746 6px solid;
  border-top: transparent 1px solid;
  margin-top: 0;
}

.portfolio-wrapper {
  width: 1020px;
  padding-left: 40px;
  box-sizing: border-box;
}

.portfolio-wrapper h2 {
  font-size: 30px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  margin-top: 24px;
  margin-bottom: 25px;
  width: 250px;
  /* margin: 24px 0; */
}

.portfolio-wrapper p {
  padding-top: 2px;
  margin-bottom: 0px;
  font-size: 18px;
  line-height: 30px;
  color: #767e9e;
  font-weight: 300;
}

.portfolio-filter {
  margin: 0;
  padding: 0;
  margin-top: 11px;
  padding-left: 1px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  width: 288px;
  margin-bottom: 19px;
}

/* ? Changing elements width manually due to PixelPerfect */

.filter-element:first-child a {
  width: 29px;
}
.filter-element:nth-child(2) a {
  width: 78px;
}
.filter-element:nth-child(3) a {
  width: 93px;
}
.filter-element:last-child a {
  width: 58px;
}

.filter-element-a {
  border: 1px solid #767e9e;
  border-radius: 5px;
  box-sizing: border-box;
  height: 22px;
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  line-height: 13px;
  color: #767e9e;
  font-weight: 400;
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center;
}
.filter-element-active {
  color: white;
  border: 1px solid white;
  border-radius: 5px;
}

.filter-element-a:hover {
  color: white;
  border: 1px solid white;
  border-radius: 5px;
}

.portfolio-list-shuffle {
  flex-direction: row-reverse;
}
.portfolio-list {
  margin: 0;
  margin-left: -1px;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 0;
  height: 620px;
  width: 941px;
  overflow: hidden;
  -moz-overflow: hidden;
}

.portfolio-element {
  margin-bottom: 17px;
}
.portfolio-img {
  box-sizing: border-box;
  width: 220px;
  height: 187px;
}
.portfolio-element .portfolio-img:focus {
  border: #f06c64 solid 5px;
}

/* Section about us */

.feedback-anchor,
.about-us-anchor,
.portfolio-anchor,
.services-anchor {
  height: 95px;
  margin-top: -95px;
}
.about-us {
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  height: 734px;
  box-sizing: border-box;
  border-bottom: #ffffff 6px solid;
}
.about-us-wrapper {
  width: 1020px;
  padding-left: 40px;
  box-sizing: border-box;
}

.about-us-h {
  font-size: 30px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  padding-top: 43px;
  letter-spacing: -0.2px;
  width: 250px;
}

.about-us-text {
  font-size: 18px;
  line-height: 30px;
  color: #767e9e;
  font-weight: 300;
  padding-top: 2px;
  width: 940px;
  text-align: justify;
}

.us-people {
  padding: 0;
  padding-top: 27px;
  display: flex;
  width: 940px;
  justify-content: space-between;
}

.people-element {
  display: inline-block;
  width: 301px;
}
/* ? pixel perfect  */
.people-element:first-child {
  margin-left: -1px;
  margin-right: 0px;
  width: 299px;
}

.people-element:nth-child(2) {
  margin-left: 3px;
  margin-right: 4px;
}

.people-element:last-child {
  margin-left: 0px;
  margin-right: -1px;
}

.people-name {
  font-size: 18px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  height: 18px;
  width: 300px;
  overflow: hidden;
  -moz-overflow: hidden;
  margin-top: 14px;
  margin-bottom: 0px;
}

.people-descr {
  width: 300px;
  height: 60px;
  font-size: 12px;
  line-height: 21px;
  color: #767e9e;
  font-weight: 400;
  overflow: hidden;
  -moz-overflow: hidden;
  margin-top: 10px;
  margin-bottom: 0px;
  letter-spacing: -0.2px;
  text-align: justify;
}

/* ? Due to pixel perfect again */
.people-name:nth-child(2),
.people-descr:nth-child(2) {
  margin-left: 1px;
}

.people-social-list {
  padding-left: 0px;
  padding-top: 5px;
  padding-left: 1px;
  display: flex;
  justify-content: space-between;
  width: 154px;
  height: 34px;
  list-style-type: none;
}
/* ? Due to pixel perfect again. This template is not so symmetrical */
.people-element:last-child .people-name {
  margin-left: -1px;
}

.people-element:last-child .people-social-list {
  margin-left: -2px;
}

.people-social-list li:hover,
.people-social-list li:focus {
  opacity: 0.6;
}

.people-social-list li:active {
  opacity: 0.3;
}

/* singolo3 */
.feedback {
  background-color: #f06c64;
  display: flex;
  justify-content: center;
  border-bottom: #ea676b 6px solid;
  height: 648px;
}

.feedback-wrapper {
  width: 1020px;
  margin-left: 40px;
  padding-top: 43px;
}

.feedback-heading {
  font-size: 30px;
  line-height: 18px;
  color: #f0d8d9;
  font-weight: 900;
  width: 250px;
}
.feedback-descr {
  width: 939px;
  font-size: 18px;
  line-height: 30px;
  color: #f0d8d9;
  font-weight: 300;
  overflow: hidden;
  -moz-overflow: hidden;
  margin-top: 27px;
  letter-spacing: -0.4px;
  text-align: justify;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
  margin-right: 30px;
}

.contacts-descr {
  width: 301px;
}

.contact-form input,
textarea {
  width: 604px;
  height: 37px;
  background-color: #d6564f;
  border: none;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #f0d8d9;
  font-weight: 600;
  padding-left: 15px;
  padding-top: 0px;
  line-height: 38px;
}

textarea {
  height: 193px;
  resize: none;
  width: 602px;
  padding-top: 7px;
}

.contact-form input::placeholder,
textarea::placeholder {
  color: #f48c8f;
  font-size: 12px;
  line-height: 20px;
}
.contact-form input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #f48c8f;
  font-size: 12px;
  line-height: 36px;
  padding-top: 5px;
}

input.button-submit {
  margin-bottom: 0;
  height: 40px;
  width: 620px;
  cursor: pointer;
}

input.button-submit:hover {
  opacity: 0.8;
}

input.button-submit:active {
  opacity: 0.4;
}

.contacts-heading {
  margin: 0;
  font-size: 18px;
  line-height: 18px;
  color: #f0d8d9;
  font-weight: 900;
}

.contacts-descr {
  width: 300px;
  height: 96px;
  font-size: 12px;
  line-height: 22px;
  color: #f0d8d9;
  font-weight: 400;
  text-align: justify;
  letter-spacing: -0.2px;
  margin-top: 10px;
}

.contacts-address-wrapper,
.contacts-phone-wrapper,
.contacts-mail-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
}

.contacts-address-wrapper img {
  margin-right: 13px;
  margin-left: 3px;
  margin-top: 0px;
}

.contacts-phone-wrapper img {
  margin-right: 11px;
  margin-left: 1px;
  margin-top: 0px;
}

.contacts-mail-wrapper img {
  margin-right: 10px;
  margin-left: 0px;
  margin-top: 6x;
  margin-bottom: -4px;
}

.contacts-address-wrapper p,
.contacts-phone-wrapper p,
.contacts-mail-wrapper p {
  font-size: 12px;
  line-height: 22px;
  color: #f0d8d9;
  font-weight: 400;
  text-align: left;
  margin-top: 0;
  margin-bottom: -1px;
}
.contacts-mail-wrapper:hover,
.contacts-phone-wrapper:hover {
  opacity: 0.6;
}

.contacts-mail-wrapper:active,
.contacts-phone-wrapper:active {
  opacity: 0.2;
}

.contacts-mail-wrapper p {
  margin-top: 1px;
}
footer {
  display: flex;
  justify-content: center;
  background-color: #2d303a;
  height: 76px;
}

.footer-wrapper {
  width: 1020px;
  display: flex;
  justify-content: space-between;
}
.footer-social {
  list-style-type: none;
  display: flex;
  padding-top: 5px;
  padding-right: 39px;
  justify-content: space-between;
  width: 154px;
  height: 34px;
}

.footer-social li:hover,
.footer-social li:focus {
  opacity: 0.6;
}
.footer-social li:active {
  opacity: 0.2;
}

.footer-copyright {
  font-size: 12px;
  line-height: 22px;
  color: #666d89;
  font-weight: 400;
  margin-top: 27px;
  margin-left: 42px;
}

.phone-horizontal-container {
  position: relative;
  top: 122px;
  width: 300px;
  right: 83px;
}

.phone-vertical-container {
  position: relative;
  top: 2px;
  left: -96px;
  width: 300px;
}

.phones-container {
  position: relative;
  top: 53px;
  display: flex;
  justify-content: center;
}

.black-screen-vertical {
  width: 189px;
  height: 333px;
  position: absolute;
  background-color: black;
  top: 64px;
  left: 14px;
}

.black-screen-horizontal {
  width: 333px;
  height: 188px;
  position: absolute;
  background-color: black;
  top: 14px;
  left: 60px;
}
.phone-vertical-click-zone {
  position: absolute;
  width: 215px;
  height: 457px;
  z-index: 2;
  top: 0px;
  left: 0px;
  border-radius: 25px;
  cursor: pointer;
}
.phone-horizontal-click-zone {
  position: absolute;
  width: 458px;
  height: 215px;
  z-index: 2;
  border-radius: 25px;
  cursor: pointer;
}

.slide-1 {
  background-color: #f06c64;
  border-bottom: #ea676b 6px solid;
}
.slide-2 {
  background-color: #648bf0;
  border-bottom: rgb(76, 121, 236) 6px solid;
}

.visually-hidden {
  display: none;
}

.message-block {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}
.burger_background {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  /* z-index: 1; */
}

.message {
  position: absolute;
  padding: 30px;
  top: calc(50% - 100px);
  left: calc(50% - 100px);
  border: 4px solid rgb(76, 121, 236);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.active,
.next {
  display: block;
}
.next {
  position: absolute;
  top: 0;
  width: 100%;
}

.to-left {
  animation-name: left;
}
.to-right {
  animation-name: right;
  animation-direction: reverse;
}

.from-left {
  animation-name: left;
  animation-direction: reverse;
}
.from-right {
  animation-name: right;
}
@keyframes left {
  from {
    left: 0;
  }
  to {
    left: -100%;
  }
}

@keyframes right {
  from {
    left: 100%;
  }
  to {
    left: 0;
  }
}

@media only screen and (max-width: 1019px) {
  body {
    min-width: calc(100vw - 17px);
  }

  .wrapper {
    width: calc(100vw - 80px);
    min-width: 689px;
  }

  .logo {
    padding-left: 0px;
  }

  nav {
    padding-right: 2px;
    margin-top: -3px;
  }

  .slider-img {
    height: 446px;
  }

  .button-container-left {
    left: 4%;
  }

  .button-container-right {
    right: 2%;
  }

  .phone-vertical {
    height: 364px;
    width: 181px;
  }

  .phone-vertical-container {
    left: 0px;
    top: -12px;
  }

  .phone-vertical-click-zone {
    width: 163px;
    height: 346px;
  }

  .phone-horizontal-click-zone {
    width: 163px;
    height: 346px;
  }

  .black-screen-vertical {
    width: 142px;
    height: 252px;
    top: 48px;
    left: 11px;
  }

  .black-screen-horizontal {
    width: 251px;
    height: 143px;
    top: 10px;
    left: 45px;
  }

  .phone-horizontal {
    width: 364px;
    height: 181px;
  }

  .phone-horizontal-container {
    left: -65px;
    top: 80px;
  }

  .slide-2 img {
    width: 368px;
    height: 373px;
  }

  .services {
    border: none;
  }

  .services-wrapper {
    width: 94.9vw;
    height: 674px;
  }

  li.services-item {
    width: 314px;

    margin-bottom: 11px;
  }

  .services h2 {
    padding-left: 21px;
    padding-top: 48px;
  }

  .services p {
    padding-left: 22px;
    width: 688px;
    margin-bottom: 8px;
  }

  .services-list {
    width: 91vw;
    padding-left: 0px;
    padding-right: 0px;
    justify-content: space-around;
    margin-top: 0px;
  }

  .services-list p {
    width: 220px;
    padding-left: 80px;
  }

  .services-list h3 {
    padding-top: 3px;
  }

  .portfolio-wrapper {
    padding-left: 0;
    letter-spacing: 0.5px;
  }
  .portfolio{
    border-bottom: #2d303a 6px solid;
  }

  .portfolio-filter {
    margin-bottom: 29px;
  }

  .portfolio-list {
    width: 689px;
    height: 812px;
    margin-left: -2px;
    margin: 0 auto;
  }

  .portfolio-img {
    width: 216px;
    height: 183px;
  }

  .about-us {
    height: 668px;
    border-bottom: #f2f2f2 6px solid;
  }

  .about-us-wrapper {
    padding-left: 0;
  }

  .about-us-h {
    padding-top: 36px;
  }

  .about-us-text {
    width: 688px;
  }

  .faces {
    width: calc((86vw) / 3);
  }

  .people-element:nth-child(2) {
    margin-left: 4px;
  }

  .people-element:last-child {
    margin-right: -2px;
  }

  .people-element:first-child {
    margin-left: 1px;
  }
  .us-people {
    min-width: 688px;
    width: calc(100vw - 80px);
    padding-top: 19px;
  }

  .people-descr {
    width: calc((86vw) / 3);
    margin-top: 1px;
    margin-bottom: 11px;
    line-height: 22px;
  }

  .people-name {
    width: calc((86vw) / 3);
    margin-top: 10px;
  }

  .feedback {
    height: 626px;
  }

  .feedback-wrapper {
    margin-left: -1px;
  }

  .feedback-heading {
    margin-top: 18px;
    margin-left: 3px;
  }

  .contact-form input {
    width: 56.2vw;
    min-width: 427px;
    margin-bottom: 12px;
    padding-left: 10px;
  }

  textarea {
    width: 56.2vw;
    min-width: 427px;
    height: 151px;
    margin-bottom: 14px;
    padding-left: 10px;
  }

  .contacts-descr {
    width: 25vw;
    min-width: 220px;
    margin-top: 3px;
    margin-bottom: 47px;
  }

  .feedback-descr {
    width: 88vw;
    margin-bottom: -18px;
  }

  input.button-submit {
    min-width: 137px;
    width: 137px;
    height: 38px;
    margin-bottom: 0;
  }

  .footer-copyright {
    margin-left: 0;
    font-size: 13px;
  }
  .footer-social {
    padding-right: 2px;
  }
}

@media only screen and (max-width: 764px) {
  .wrapper {
    min-width: 314px;
  }

  nav {
    width: 278px;
    position: absolute;
    top: 67px;
    left: 0;
    height: 110vh;
    background-color: #2d303a;
    display: none;
    z-index: 5;
    transition: width 2s;
  }

  nav ul {
    flex-wrap: wrap;

    position: absolute;
    top: 165px;
    left: 71px;

    flex-direction: column;
    width: 135px;
    z-index: 5;
  }
  nav li::before {
    content: "";
  }
  nav li {
    margin-bottom: 27px;
  }
  nav a {
    font-size: 24px;
  }

  header {
    height: 71px;
  }

  .logo {
    margin: 0 auto;
    padding-left: 13px;
  }
  .burger-button {
    display: block;
    position: absolute;
    top: 23px;
    left: 23px;
    cursor: pointer;
    transition: transform 1s;
  }
  .rotate {
    transform: rotate(90deg);
  }
  header a:hover {
    color: yellowgreen;
  }

  .logo h1,
  .logo span {
    font-size: 19px;
  }

  .header-wrapper {
    padding-top: 27px;
  }

  .phone-vertical {
    height: 177px;
    width: 88px;
  }

  .phone-horizontal {
    width: 177px;
    height: 88px;
  }

  .slider-img {
    height: 214px;
  }

  .button-container-left {
    left: 2.5%;
    top: 45%;
  }

  .button-container-right {
    right: 0.5%;
    top: 45%;
  }

  .phone-vertical-container {
    left: 41px;
    top: -32px;
  }

  .phone-horizontal-container {
    left: -32px;
    top: 12px;
  }

  .slide-2 img {
    width: 150px;
    height: 150px;
  }

  .phone-vertical-click-zone {
    width: 80px;
    height: 168px;
    z-index: 0;
  }
  .black-screen-vertical {
    width: 70px;
    height: 123px;
    top: 23px;
    left: 5px;
  }

  .black-screen-horizontal {
    width: 123px;
    height: 70px;
    top: 5px;
    left: 21px;
  }

  .phone-horizontal-click-zone {
    width: 168px;
    height: 79px;
  }

  .services h2 {
    padding-top: 35px;
    padding-left: 22px;
  }
  .services p {
    width: 314px;
    margin-bottom: 0;
  }

  li.services-item {
    width: 300px;
    margin-bottom: -6px;
  }

  .services-list p {
    width: 220px;
  }

  .services-wrapper {
    height: 1033px;
  }

  .services-item:nth-child(2),
  .services-item:nth-child(5) {
    width: 300px;
  }

  .services-item:nth-child(3),
  .services-item:nth-child(6) {
    width: 300px;
  }

  .portfolio-wrapper h2 {
    margin-top: 7px;
  }

  .portfolio {
    padding-bottom: 30px;
  }

  .portfolio-filter {
    padding-top: 4px;
    margin-bottom: 25px;
  }

  .portfolio-list {
    width: 315px;
    height: 559px;
  }

  .portfolio-img {
    width: 151px;
    height: 128px;
  }

  .portfolio-element {
    margin-bottom: 11px;
  }

  .about-us-h {
    padding-top: 16px;
  }

  .about-us-text {
    width: 315px;
    margin-bottom: 36px;
  }

  .us-people {
    min-width: 290px;
  }

  .faces {
    width: calc((84vw));
    max-width: 400px;
  }

  .about-us {
    height: calc((174vw + 1100px));
    max-height: 1980px;
  }

  .us-people {
    flex-wrap: wrap;
    max-width: 450px;
    margin: 0 auto;
    justify-content: center;
  }

  .people-element:first-child {
    margin-left: -1px;
  }

  .people-name {
    width: calc((84vw));
    margin-top: 14px;
    max-width: 300px;
  }

  .people-descr {
    width: calc((84vw));
    margin-top: 4px;
    margin-bottom: 0px;
    height: 49px;
    max-width: 300px;
  }

  .people-social-list {
    margin-bottom: 33px;
    padding-left: 0;
  }

  .people-element:nth-child(2) {
    margin: 0;
  }
  .people-element {
    width: auto;
  }

  .people-element:first-child {
    width: auto;
  }

  .feedback-heading {
    margin-top: 11px;
    margin-left: 1px;
  }
  .contact-wrapper {
    flex-wrap: wrap;
  }

  .feedback-descr {
    width: 80vw;
    margin-bottom: -22px;
  }

  .contact-form input {
    min-width: 303px;
  }

  textarea {
    min-width: 303px;
    margin-bottom: 10px;
  }

  .feedback {
    height: 963px;
  }

  .contact-form .button-submit {
    width: 84vw;
    padding: 0;
    height: 50px;
  }

  form {
    margin-bottom: 33px;
  }

  .contacts-descr {
    width: 84vw;
    margin-bottom: 2px;
  }

  .contacts-phone-wrapper {
    margin-top: 5px;
    margin-bottom: 2px;
  }

  .footer-copyright {
    display: none;
  }

  .footer-wrapper {
    justify-content: center;
  }

  .footer-social {
    padding-right: 0;
    padding-left: 0;
  }
}

/* ultra small media */
@media only screen and (max-width: 374px) {
  .about-us {
    /* height: 1754px; */
    height: calc((387.7333333vw + 360px));
  }

  .services p {
    width: 280px;
  }

  .services ul p {
    width: 210px;
  }

  li.services-item {
    margin-bottom: -14px;
  }

  .contact-form .button-submit {
    width: 85vw;
    min-width: 312px;
  }

  .footer-social {
    padding: 0;
    margin: auto;
  }
  .button-container-right {
    right: 1%;
  }
  .button-right{
    margin-right: 0;
  }
}
