/** FOOTER STYLES START **/

.background-footer{
    width:100%;
    background: #000000;
    overflow: auto;
}

section.footer{
  width: 100%;
  padding-top: 60px;
  max-width: 1170px;
  margin: 0 auto;
}

footer {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 0 30px;
}

@media (width < 620px) {
  footer {
    flex-direction: column;
  }

  footer.bottom {
    gap: 16px;
    flex-direction: column-reverse;
  }
  a.logo{
      margin: 0 auto;
  }
  footer.top .links{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

footer > img {
  margin-top: 10px;
}

@media (width >= 620px) {
  footer {
    margin: 0 auto;
    max-width: 1170px;
    padding: 0;
  }
}

footer {
  color: #86040b;
}

footer.top {
  border-bottom: 2px solid #333333;
  padding-bottom: 20px;
}

footer.bottom {
  padding: 20px 0;
  justify-content: space-between;
  float: none;
}

footer.top .links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  margin-right: 50px;
}

.links > div {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
  text-align: left;
}

footer h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: #86040b;
}
footer a{
    color: #ffffff;
}

.legal {
  font-size: 12px;
}

.legal > a {
  margin: 0 4px;
}

.legal > span {
  margin-right: 10px;
}

footer.bottom .links {
  display: flex;
  gap: 18px;
}

footer.bottom .links > a {
  font-size: 24px;
}
.nawiekiwiekow{
    color: #ffffff;
    text-align: center;
}
@media (width < 420px) {
    section.footer{
        padding-top: 25px;
    }
    
  footer {
    text-align: center;
    align-items: center;
    padding-top: 0px;
  }

    footer.top .logo{
        width:150px;
    }

  footer.bottom {
    align-items: center;
  }

  .legal > span {
    display: block;
    margin-right: 0;
    margin-bottom: 2px;
  }
}

.social-container{
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}
p.rest-contact{
    color:#ffffff;
    font-size: 13px;
}

.theme-footer-powered-by{
    font-size: 13px;
}
.container-theme .row{
    margin: 0;
}
/** FOOTER STYLES END**/