.footer {
    margin: 86px auto 28px;
  	max-width: 100%;
  	overflow: hidden;
}

.first-row {
    margin-bottom: 24px;
}

.first-row .footer__item {
    color: #cdcdcd;
    font-size: 19px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.02em;
    margin: 0 16px;
    text-decoration: none;
    transition: all .3s;
}

.first-row .footer__item:hover {
    color: white;
}

.first-row .top-navigation__home {
  display: none;
}

.second-row {
  	width: 100%;
    max-width: 608px;
    justify-content: space-between;
    margin-bottom: 10px;
  	flex-wrap: wrap;
}

.second-row a {
  display: inline-block;
  opacity: 0.7;
  transition: all 0.3s;
}

.second-row a:hover {
  opacity: 1;
}

.third-row {
    margin-bottom: 10px;
}

.third-row .footer__item {
    color: #cdcdcd;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fourth-row .footer__item {
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.02em;
}

@media screen and (max-width: 600px) {
  .footer {
    margin-top: 54px;
  }
  
  .first-row {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
  }
  
  .first-row .footer__item {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 20px;
  }
  
  .second-row {
    margin-top: 18px;
    justify-content: space-around;
  }
  
  .second-row .footer__item {
    margin: 0 20px 12px;
  }
  
  .second-row .footer__item:nth-child(1) img {
    height: 40px;
  }
  
  .second-row .footer__item:nth-child(2) img {
    height: 24px;
  }
  
  .second-row .footer__item:nth-child(3) img {
    height: 42px;
  }
  
  .third-row {
    margin-bottom: 10px;
  }
  
  .third-row .footer__item,
  .fourth-row .footer__item {
    font-size: 12px;
  }
}
