footer {
  padding-top: 100px;
  padding-bottom: 100px;
  height: auto;
  background-color: rgb(17, 17, 18);
  color: white;
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
  max-width: 90%;
  width: 95%;
}

.phone_number {
  white-space: nowrap;
}

.google_map {
  height: 300px;
}

footer h4 {
  text-transform: uppercase;
}

.footer_blocks {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.footer_blocks_block1 {
  width: 55%;
  gap: 20px;
  display: flex;
  justify-content: space-between;
}

.footer_blocks_block2 {
  width: 40%;
}

.footer_block {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer_block a {
  text-decoration: none;
  color: #7e7c7c;
  font-size: 16px;
  font-weight: 600;
}

.footer_block p {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.footer_block a:hover {
  color: white;
}

.footer_links,
.footer_links_small,
.footer_links_doc {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer_links_small {
  display: none;
}

.socials_block {
  display: flex;
  flex-direction: column;
}

.socials {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  width: 250px;
}

@media (max-width: 1378px) {
  .footer_blocks {
    flex-direction: column;
    align-items: center;
  }

  .footer_blocks_block1 {
    width: 100%;
  }

  .footer_blocks_block2 {
    width: 100%;
  }

  .footer_blocks_block2 {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1279px) {
  .footer_links {
    display: none;
  }

  .footer_links_small {
    display: flex;
  }
}

@media (max-width: 568px) {
  .popup_form {
    padding: 1.5rem;
  }

  .socials_block {
    align-items: center;
  }

  .footer_block {
    text-align: center;
  }

  .footer_blocks_block1 {
    flex-direction: column;
  }

  .google_map {
    width: 95%;
  }

  .socials {
    width: 220px;
  }

  .footer_block {
    align-items: center;
  }

  .footer_links_small,
  .footer_links_doc {
    align-items: center;
  }
}

h1 {
  font-size: 48px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 22px;
}
@media (max-width: 978px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 18px;
  }
}

.socials_block {
  display: none;
}

.btn {
  align-items: center;
  background-color: #000;
  border: none;
  border-radius: 50px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  min-width: 142px;
  overflow: hidden;
  padding: 12px 24px;
  text-transform: uppercase;
}
.btn,
.btn-text {
  position: relative;
  transition: all 0.3s ease;
}
.btn-text {
  line-height: 18px;
  margin-right: 10px;
  z-index: 2;
}
.btn:after {
  align-items: center;
  background-color: #ffd71d;
  border-radius: 50%;
  color: #000;
  content: "➜";
  display: flex;
  font-size: 14px;
  height: 30px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  width: 30px;
}
.btn:hover .btn-text {
  transform: translateX(-15px);
}
.btn:hover:after {
  opacity: 1;
  right: 10px;
}
