.footer{
  background-color: var(--color-gray);
  position: relative;
  flex-direction: column;
}

.o-footer {
  flex-direction: column;
  gap: 1.9rem;
  position: relative;
  z-index: 1;
}

.o-footer__content {
  display: flex;
  flex-wrap: wrap;
  padding-top: 5rem;
  gap: 4rem;
  justify-content: space-between;
  align-items: flex-start;
}

.o-footer__logo {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.o-footer__logo-img {
  width: 25rem;
  height: 12.8rem;
  margin-bottom: 1rem;
  object-fit: contain;
}

.o-footer__text {
  font-style: italic;
  font-weight: 200;
}

.o-footer__logo-slogan {
  position: absolute;
  bottom: -20rem;
}

.o-footer__logo-slogan-img {
  object-fit: contain;
  height: 11rem;
  position: relative;
  left: -2rem;
}

.o-footer__logo-slogan-text{
  font-style: italic;
  font-weight: 200;
}

.footer ul{
  list-style: none;
  height: 100%;
}

.footer .menu-item {
  margin-bottom: 2rem;
}

.o-footer__legal,
.o-footer__navigation {
  border-left: solid var(--color-primary) 0.2rem;
  padding-left: 3.1rem;
}

.o-footer__titles{
  font-size: 2rem;
  margin-bottom: 2rem;
}

.o-footer__bottom-bid {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: -4rem;
  position: relative;
}

.o-footer__logo-bid {
  position: absolute;
  right: 0px;
  max-width: var(--max-width);
  margin: var(--section-margin);
  bottom: 2.7rem;
  width: 16rem;
  height: 3.8rem;
}

.o-footer__background-bid{
  padding-top: 2rem;
}

@media(max-width: 768px) {
  .o-footer__logo{
    width: 100%;
  }

  .o-footer__logo-img {
    width: 100%;
    height: 13rem;
  }

  .o-footer__logo-slogan{
    position: relative;
    bottom: 0rem;
  }

  .footer .menu-item{
    margin-bottom: 1rem;
  }

  .o-footer__bottom-bid{
    margin-top: 0rem;
  }

  .o-footer__background-bid {
    height: 17.2rem;
    object-fit: cover;
  }
}