footer {
  background-color: #0d0d0d;
  height: 360px;
  padding: 90px;
  position: relative;
}

footer p {
  margin: 30px 0;
}

.footer-wrapper {
  display: grid;
  grid-gap: 100px;
  grid-template-columns: 0.4fr 1fr;
}

.footer-logo__image {
  height: 34px;
  width: 232px;
}

.footer-logo__text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
}

.footer-links {
  display: grid;
  grid-gap: 54px;
  grid-template-columns: 200px 200px 200px;
}

.footer-links__categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links__categories__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  text-transform: uppercase;
}

.footer-links__categories__link {
  color: #e4e5e9;
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}

.footer-rights__wrapper {
  border-top: 1px solid #455a64;
  display: flex;
  justify-content: space-between;
  margin-top: 95px;
  width: 85%;
}

.footer-rights__text {
  color: #8c9ba5;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.footer-image__img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 470px;
}

@media screen and (max-width: 1260px) {
  footer {
    height: 100%;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    grid-gap: 48px;
  }

  .footer-rights__wrapper {
    flex-direction: column;
  }

  .footer-image__img {
    height: 300px;
  }
}
