footer {
  background: #fafafa;
  color: #636363;
  padding: 1.5rem 2rem;
  margin: 0 auto;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
}
footer .contact{
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
}

footer .block .component{
  padding: 1.5em 3em;
  background: #fff;
  border-radius: 2rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 1em;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
  font-size: 1rem;
}
footer .block .component:hover{
  background: #029b30;
  color: #fff;
}
footer .block .component i{
  font-size: 1.1rem;
}
footer p {
  text-align: center;
  margin: 0;
  font-weight: 500;
}


@media screen and (max-width:1256px) and (min-width:912px) {
   footer{
    grid-template-columns: repeat(4, 1fr);
    border-radius: 0;
    min-height: 10vh;
  }
  footer .block > :first-child {
    justify-self: end;
    width: max-content;
  }
  footer .block > :last-child {
    justify-self: start;
  }
  footer .block{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min-content;
    justify-content: center;
    grid-template-columns: 48% 48%;
    grid-auto-columns: min-content;
    column-gap: 4%;
  }
}
@media screen and (min-width:1256px) {
   footer{
    width: 90%;
    border-radius: 2rem 2rem 0 0 ;
    min-height: 15vh;
  }
  footer .block > :first-child {
    justify-self: end;
    width: max-content;
  }
  footer .block > :last-child {
    justify-self: start;
  }
  footer .block{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min-content;
    justify-content: center;
    grid-template-columns: 45% 45%;
    grid-auto-columns: min-content;
    column-gap: 10%;
  }
}

@media screen and (min-width:912px) {
  footer p{
    font-size: 1.1rem;
  }
}
@media screen and (max-width:912px) {
  footer p{
    font-size: .9rem;
  }
  
  footer .block > :first-child {
    justify-self: end;
    width: max-content;
  }
  footer .block > :last-child {
    justify-self: start;
  }
  footer .contact{
    width: auto;
  }
  footer .block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
  }
  footer .block .component{
    padding: 1em 1em;
    width: 100%;
    flex-wrap: wrap;
    max-width: 100%;
    word-break: break-word;
    font-size: .9rem;
    justify-content: center;
    text-align: center;
  }
  footer .block .component i{
    font-size: 1rem;
  }
}