body {
  margin: 0;
  background-color: #ab6f94;
  font-family: "Trebuchet MS", sans-serif;
}

.top-container {
  text-align: center;
  height: 100vh;
  padding: 24px;
}

.profile-picture {
  width: 100%;
  border-radius: 50%;
  max-width: 40vh;
  max-height: 40vh;
  box-shadow:
    0 10px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.projects-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 24px;
  gap: 12px;
}

.project {
  text-decoration: none;
  color: black;
  border-radius: 8px;
  flex: 1;
  background-color: #7ac2aa;
  display: flex;
  box-shadow:
    0 8px 12px 0 rgba(0, 0, 0, 0.2),
    0 6px 12px 0 rgba(0, 0, 0, 0.17);
  min-width: 300px;
  transition: transform 250ms;
  padding: 12px;
  gap: 12px;
}

.project:hover {
  background-color: #6dad98;
  transform: translateY(-8px);
  cursor: pointer;
}

.project-logo-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.project-body {
  flex: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: left;
}

.about {
  margin-left: auto;
  margin-right: auto;
  flex: 1;
  background-color: var(--background-color-2);
  border: 1px solid var(--border-color);
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  max-width: 600px;
  line-break: anywhere;
}

.about-text {
  flex: 4;
  text-align: left;
}

.avatar {
  flex: 2;
}

@media (max-width: 500px) {
  .projects-grid {
    padding: 12px;
  }

  .project {
    min-width: 200px;
  }

  .project-logo-container {
    font-size: 3rem;
  }

  .about {
    flex-direction: column;
    gap: 12px;
  }
}
