html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --text-color: #FFFFFF;
    --main-color: #00ADB5;
    --back-color: #222831;
}


.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
  }

  .oswald-bold {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }
  


  body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--text-color);
  }

  p {
    display: block;
    padding: 0;
    margin: 0
  }

  .container {
    margin: 0 auto;
  }

  .main {
    display: flex;
    flex-direction: column;
    background-color: var(--back-color);
    background-repeat: no-repeat;
    max-width: 1440px;
    min-height: 1024px;
    overflow: hidden;
    z-index: -10;
  }

  .header {
    position: relative;
    display: flex;
    z-index: 2;
    justify-content: space-between;
    padding: 48px 96px;
    border-bottom: solid;
    border-color: #EEEEEE1A;
    border-width: 2px;
  }

  .header-left {
    display: flex;
    align-items: center;
    font-size: 24px;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 48px;
    font-size: 18px;

  }


.content {
    display: flex;
    justify-content: space-between;
    padding: 0 96px;
    margin-top: 120px;
}



.text-picture-content {
  position: relative;
  display: flex;
  flex-direction: column;
}


.text-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 64px;
}

.mind-par {
  position: relative;
  top: -20px;
  color: var(--main-color);
}

.main-pic {
  position: relative;
  width: 255px;
  height: 348px;
  z-index: 6;
  left: 205px;
}

.left-pic {
  position: relative;
  top: -315px;
  left: 87px;
  width: 113px;
  height: 170px;
}

.keyb {
  width: 140px;
  height: 63px;
  position: relative;
  left: 880px;
  top: -827px;
}

.mail {
  left: 950px;
  position: relative;
  top: -100px;
  width: 58px;
  height: 50px;
}

.ellipse {
  width: 190px;
  height: 24px;
  left: 187px;
  top: -11px;
  z-index: 5;
  position: relative;
}

.form-content {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  gap:30px;
}

.first-row {
  display: flex;
  gap:20px;
}


.message-input {
  min-height: 250px;
  text-align: -webkit-center;
}


.button-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 255px;
  height: 60px;
  background-color: var(--main-color);
  border-radius: 24px;
  font-size: 18px;
  
}


.button-content {
  display: flex;
  gap:10px;
  justify-content: center;
  align-items: center;
}

.button-content p {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.send_img {
  display: flex;
  justify-content: center;
}

.send-img img {
  width: 100%;
  height: 100%;
}


.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: solid 2px #EEEEEE1A ;
  padding: 48px 96px;
  gap:35px;
}

.link-icons-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  font-size: 18px;
}

.link-icon-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: normal;
  gap: 14px;
  padding: 10px;
}

.item-img {
  width: 24px;
  height: 24px;
}

.item-img img {
  width: 100%;
  height: 100%;
}

.circle-link-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.circle-item {
  display: flex;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50px;
  padding: 12px;
  background-color: #393E46;
  border-radius: 50px;
}

.circle-item img {
  width: 100%;
  height: 100%;

}


.git-hub {
  padding: 4px;  
}

.main-pic img, .ellipse img, .left-pic img, .keyb img, .mail img {
  width: 100%;
  height: 100%;
}



/* стилизация форм */

/* 1 – Изменим стили шрифтов */
/* 2 – Удалим margin в Firefox и Safari */
input[type="text"] {
  font-family: inherit; /* 1 */
  font-size: inherit; /* 1 */
  line-height: inherit; /* 1 */
  margin: 0; /* 2 */
}

/* установим отступ 1rem от нижнего края элемента */
.text-field {
  margin-bottom: 1rem;
  font-size: 18px;
}
/* стили для label */
.text-field__label {
  display: block;
  margin-bottom: 0.25rem;
}
/* стили для input */
.text-field__input {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-family: inherit;
  /* font-size: 1rem;
  font-weight: 400; */
  line-height: 1.5;
  color: #EEEEEE80;
  background-color: #393E46;
  background-clip: padding-box;
  border: 1px solid #393E46;
  border-radius: 16px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.text-field__input::placeholder {
  color: #212529;
  opacity: 0.4;
}


.text-field__input:focus {
  color: white;
  background-color: #393E46;
  /* border-color: #bdbdbd; */
  outline: 0;
  /* box-shadow: 0 0 0 0.2rem rgba(158, 158, 158, 0.25); */
}

.text-field__input:disabled,
.text-field__input[readonly] {
  background-color: #393E46;
  opacity: 1;
}

@media screen and (max-width: 767px) {

  .header {
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 15px;
    padding: 24px 24px;
    align-items: center;
  }

  .header-left {
    font-size: 18px;
  }

  .header-right {
    font-size: 14px;
  }


  .content {
    margin-top: 70px;
    flex-wrap: wrap;
    padding: 0px 48px;
  }


  .first-row {
    flex-direction: column;
    gap:10px;
  }

  .text-head {
    font-size: 38px;
  }

  .mind-par {
    top:-10px;
  }

  .keyb {
    width: 115px;
    height: 63px;
    position: relative;
    left: 97px;
    top: -41px;
  }

  .form-content {
    position: relative;
    top: -50px;
  }

  .text-field {
    font-size: 14px;
  }

  .button-submit {
    width: 175px;
    height: 50px;
  }

  .button-submit p {
    font-size: 14px;
  }


  .send_img {
    width: 30px;
    height: 30px;
  }

  .main-pic {
    left: 77px;
    width: 156px;
    height: 193px;
  }

  .ellipse {
    left: 64px;
  }


  .left-pic {
    position: relative;
    top: -194px;
    left: 3px;
    width: 78px;
    height: 101px;
    rotate: 12deg;
  }

  .footer {
    padding: 24px 48px;
    margin-top: 30px;
    gap:15px;
  }

  .link-icons-block {
    gap: 20px;
    font-size: 12px;
  }

  .item-img {
    width: 16px;
    height: 16px;
  }

  .circle-item {
    width: 24px;
    height: 24px;
    padding: 6px;
    align-items: center;
  }

}