#contacts {
  width: 100%;
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  color: white;
  text-decoration: none;
  padding: 2%;
  display: block;
  text-align: center;
  width: fit-content;
  margin: auto;
}

.text div {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 2%;
}

.text h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 60px;
}

a:hover,
a.selected {
  color: white;
}
a img:hover {
  opacity: 100%;
}

@media (max-width: 950px) {
  #contacts {
    height: 65vh;
  }

  .text a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 2%;
    display: block;
    text-align: center;
    width: fit-content;
    margin: auto;
  }

  .text h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 50px;
  }
}

@media (min-width: 2000px) {
  #contacts {
    height: 65vh;
  }

  .text a {
    font-size: 30px;
    color: white;
    text-decoration: none;
    padding: 2%;
    display: block;
    text-align: center;
    width: fit-content;
    margin: auto;
  }

  .text h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 50px;
  }
}
