.footer {
  background-color: #041053;
  /* margin-top: 80px; */
  padding: 30px 0;
}

.footer_top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.footer_logo {
  display: flex;
  /* z-index: 10; */
  flex-direction: column;
}

.footer_logo a {
  display: block;
  /* width: 100%; */
  /* width: 200px; */
  height: 40px;
}

.footer_logo a img {
  /* width: 100%; */
  height: 100%;
  object-fit: contain;
}

.footer_text {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  /* padding: 20px 0 0; */
  color: var(--white);
  margin: 10px 0;
}

.footer_nav-inner {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* gap: 60px; */
}

.footer_nav {
  /* width: 100%; */
  transition: ease-out 1s;
}

.footer_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  transition: ease-out 1s;
  margin: 0 auto;
}

.footer_nav-link {
  color: #fff;
  transition: color 0.2s ease;
}

.footer_nav-link:last-child {
  margin-right: 0;
}

.footer_nav-link:hover {
  color: #e4c915;
}

.footer_icon {
  margin-right: 14px;
  display: flex;
  align-items: center;
}

.footer_phone {
  font-weight: 400;
  font-size: 0.875rem;
  color: #fff;
}

.footer_phone-link:hover {
  background-color: #515EA9;
}

.footer_icon img {
  width: 19px;
}

.footer_phone-link {
  display: flex;
  background-color: #27326f;
  padding: 15px 30px;
  border-radius: 60px;
}

.footer_bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 0 0;
}

.footer_bottom span,
.footer_bottom a {
  color: var(--white);
}

.footer_bottom a {
  text-decoration: none;
}

.footer_bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .footer_nav-inner {
    width: 80%;
  }
}

@media (max-width: 1100px) {
  .footer_nav-inner {
    width: 79%;
  }

  .footer_wrapper {
    width: 400px;
  }
}

@media (max-width: 1000px) {

  .footer_logo a img {
    width: 100%;
  }

  .footer_top,
  .footer_bottom {
    flex-direction: column;
  }

  .footer_text {
    font-size: 16px;
    margin: 0;
    padding: 20px 0;
  }

  .footer_nav {
    padding: 0 0 20px;
  }

  .footer_bottom span {
    text-align: center;
    padding: 0 0 20px;
  }

  .footer_bottom span:last-child {
    padding: 0;
  }
}

@media (max-width: 900px) {
  .footer_wrapper {
    width: 300px;
  }
}

@media (max-width: 800px) {
  .footer_inner {
    flex-direction: column;
  }

  .footer_logo a {
    /* width: 253px; */
    /* height: 50%; */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer_text {
    text-align: center;
  }

  .footer_nav {
    position: inherit;
    flex-direction: column;
    justify-content: flex-start;
    top: -100%;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    overflow: hidden;
    z-index: 10;
  }

  .footer_wrapper {
    padding: 30px 15px;
    border-radius: 0px 0px 20px 20px;
    flex-direction: column;
    /* gap: 30px; */
    width: 100%;
  }

  .footer_nav-inner {
    flex-direction: column;
    gap: 20px;
    width: 93%;
  }

  .footer_nav-link {
    display: block;
    margin-right: 0;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .nav {
    max-width: none;
  }
}

@media (max-width: 500px) {
  .container {
    max-width: 450px;
  }

  .contacts_icon {
    width: 100px;
    height: 100px;
  }

  .contacts_icon img {
    padding: 20px;
  }
}

@media (max-width: 400px) {}