@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  src: url(../assets/Roboto-Regular-BL6NZHjI.woff2) format("woff2");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  src: url(../assets/Roboto-Bold-oLOLjql4.woff2) format("woff2");
}
*,
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #000;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  line-height: 20px;
  min-height: calc(100vh - 50px);
  position: relative;
}
a {
  color: #0080ff;
}
hr {
  background-color: #f2f2f2;
  border: 0;
  height: 1px;
}
.container {
  margin: 0 auto;
  max-width: 1120px;
}
header {
  margin-top: 48px;
}
.header_logo,
.header_text {
  margin-bottom: 40px;
}
.header_text {
  line-height: 22px;
  max-width: 640px;
}
main .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.blocks_item {
  margin-top: 40px;
  max-width: 344px;
}
.blocks_title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}
footer {
  background: #fafafa;
  bottom: 0;
  position: absolute;
  width: 100%;
}
.footer_copyright {
  color: gray;
  margin: 0;
}
.footer_menu a {
  color: #000;
  text-decoration: none;
}
.footer_menu {
  flex-wrap: wrap;
  gap: 24px;
}
.footer_content,
.footer_menu {
  align-items: center;
  display: flex;
}
.footer_content {
  font-size: 14px;
  justify-content: space-between;
  padding: 10px 0;
}
@media (max-width: 1200px) {
  .container {
    margin: 0 20px;
    max-width: 1120px;
  }
  .header_logo,
  .header_text {
    margin-bottom: 24px;
  }
  .blocks_item {
    margin-top: 24px;
    max-width: 380px;
  }
}
@media (max-width: 768px) {
  .footer_content {
    align-items: start;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
  }
  .footer_menu {
    gap: 16px;
  }
  .footer_copyright {
    margin-bottom: 20px;
  }
  footer {
    margin-top: 48px;
    position: relative;
  }
}
