@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Source Code Pro", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
}

p,
a {
  color: #777777;
}

section {
  padding: 2rem 0;
  font-size: large;
}

.content {
  margin: 5rem auto auto auto;
  display: block;
  max-width: 800px;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.container a {
  color: #777777;
  font-size: 2rem;
  padding: 0.2rem;
  border: 1px solid #dbdbdb;
  border-radius: 15%;
}

.container img {
  width: 10rem;
  border-radius: 15%;
  margin: auto;
}

.cards {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.card {
  min-width: 200px;
  border: 1px solid #dbdbdb;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  flex: 1 0 21%;
}

.card a {
  font-size: 2rem;
}

@media screen and (max-width:850px) {
  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem;
  }
}

@media screen and (max-width: 700px) {
  .container {
    margin: auto;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }
}