/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

h2 {
  font-size: 36px;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.container {
  display: flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 45px;
  padding-right: 45px;
  max-width: 1150px;
}

.hero {
  display: flex;
  flex-direction: column;
  background: url('../img/hero.jpg');
  height: 100vh;
  background-position: center;
  background-size: cover;
  align-items: center;
  justify-content: space-between;
}

.hero_cont {
  display: flex;
  flex-direction: column;
  background: url('../img/hero.jpg');
  height: 100vh;
  background-position: center;
  background-size: cover;
  align-items: center;
  justify-content: space-between;
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #A1A1A1;
}

.logo {
  width: 100px;
}

.menu_items {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menu_items a {
  padding-left: 30px;
  color: #ffffff;
}

.page_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
}

.page_title h1 {
  text-align: center;
  text-transform: uppercase;
}

.page_title p {
  color: #ffffff;
  text-align: center;
}

.arrow {
  width: 20px;
  margin-bottom: 15px;
}

.section_distance {
  margin-top: 150px;
}

@media (max-width: 800px) {
  .section_distance {
    margin-top: 110px;
  }
}

.migration {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.migration h2 {
  margin-top: 20px;
}

.migration h2, .migration p {
  width: 100%;
  text-align: center;
  max-width: 600px;
}

.migration_content {
  margin-top: 40px;
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.migration_content div {
  display: flex;
  width: 30%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.migration_content div img {
  width: 75%;
  max-width: 300px;
  min-width: 100px;
}

.migration_content div h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
}

.software {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.software_content {
  width: 40%;
  display: flex;
  flex-direction: column;
}

.software img {
  width: 50%;
  border-radius: 20px;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

form {
  width: 50%;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin-top: 40px;
}

form div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

form div input {
  width: 48%;
  border: 1px solid #414142;
  background: inherit;
  padding: 20px;
  margin-bottom: 25px;
  -webkit-appearance: none !important;
  border-radius: 0 !important; 
}

form textarea {
  width: 100%;
  border: 1px solid #414142;
  background: inherit;
  padding: 20px;
  margin-bottom: 25px;
  -webkit-appearance: none !important;
  border-radius: 0 !important; 
}

textarea {
  resize: none;
}

form input:focus {
  outline: none;
}

form textarea:focus {
  outline: none;
}

.sendmessage {
  border: none;
  background: #5DBBFF;
  color: #ffffff;
  margin-bottom: 0;
  padding: 20px;
}

footer {
  display: flex;
  width: 100%;
  background: #F6FBFF;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menu_footer a {
  color: #000000;
}

.menu_fot {
  border: none;
}

.menu_open {
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #ffffff;
}

.menu_open img {
  width: 50%;
}

@media (max-width: 950px) {
  .menu_items {
    display: none;
  }
  .menu_open {
    display: flex;
  }
}

@media (max-width: 830px) {
  .migration_content {
    flex-direction: column;
  }
  .migration_content div {
    width: 100%;
  }
  .software {
    flex-direction: column;
  }
  .soft1 {
    flex-direction: column-reverse;
  }
  .software_content {
    width: 100%;
  }
  .software img {
    width: 100%;
    margin-bottom: 20px;
  }
  form {
    width: 100%;
  }
  .page_title {
    width: 100%;
  }
  .page_title h1 {
    font-size: 28px;
  }
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  .migration_content div {
    margin-bottom: 30px;
  }
  .migration_content div h3 {
    margin-top: 0;
  }
  .menu_footer {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 7px;
  }
  .menu_footer a {
    margin-top: 7px;
  }
  .menu_fot {
    flex-direction: column;
    align-items: center;
  }
  .menu_footer a {
    padding-left: 0;
  }
  form div {
    flex-direction: column;
  }
  form div input {
    width: 100%;
  }
}

.menu_opened {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #5DBBFF;
}

.menu_close {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #ffffff;
  position: fixed;
  top: 20px;
  right: 25px;
}

.menu_close img {
  width: 50%;
}

.menu_opened_items {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.menu_opened_items a {
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 15px; 
  font-weight: bold;
  text-align: center;
}

.dflex {
  display: flex !important;
}