footer{
  height: 8rem;
  background: rgb(75,7,152);
  background: linear-gradient(90deg, rgba(42, 7, 83) 0%, rgba(29,20,47,1) 50%, rgb(42, 7, 83) 100%);
  box-shadow: 0px 8px 16px 0px rgba(64, 7, 93, 0.2);
  z-index: 1000;
}
footer .container{
  display: flex;
  justify-content:space-between;
  align-items: center;
  height: 100%;
}
footer a{
  color: var(--gray-light);
  margin-left: 10px;
}
footer a:hover{
  color: var(--green);
}

@media (max-width: 1024px) {
  footer {
    height: auto;
    padding: 2rem;
  } 
  
  footer .item{
    padding: 1rem;
  }

  .back-to-top{
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    width: 40px;
  }

  footer .container {
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  }

  footer a {
    margin: 10px 0;
  }
}

@media (max-width: 768px) {

  footer .item{
    padding: 1rem;
  }

  footer .container {
    flex-direction: column;
    padding: 10px;
  }

  footer a {
    margin: 5px 0;
  }
  .back-to-top{
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 40px;
  }
}