.socials {
  max-width: 500px;
  width: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  flex-wrap: wrap;
  margin: auto;
}

main {
  min-height: 90vh;
}

.socials > a > img {
  width: 64px;
  height: 64px;
}

.socials > a:hover {
  background-color: rgb(240, 240, 240);
}

.socials > a {
  transition: background-color 0.3s ease-in-out;
  padding: 1rem 0;
  gap: 1rem;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.6);
  border-radius: 0.5rem;
  align-items: center;
  width: calc(50% - 1.5rem);
  display: flex;
  flex-direction: column;
}

.socials > a > .wbr {
  display: inline;
}

.socials > a > p {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (min-width: 700px) {
  .socials {
    padding-top: 7rem;
    max-width: none;
  }

  .socials > a {
    font-size: 1.5em;
  }
}

@media (min-width: 1200px) {
  .socials {
    padding: 10rem 7rem 0;
    max-width: none;
  }

  .socials > a {
    width: calc(25% - 2.25rem);
    font-size: 1.5em;
  }
}
