/* About */

.about-me {
  text-align: center;
  margin: auto;
  max-width: var(--max-width);
  padding: var(--page-margin);
}

.about-me a {
  margin-bottom: 40px;
}

.intro-info {
  display: flex;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 770px;
}

.intro-info img {
  max-width: 140px;
  flex-grow: 1;
  margin: 0 1rem 1rem;
}

.intro-info p {
  color: var(--text-secondary);
  text-align: left;
  margin: 0 1rem;
  line-height: 1.75;
  flex-grow: 0;
}

/* Projects */


.projects {
  margin: auto;
  max-width: var(--max-width);
  padding: 2rem var(--page-margin) 0.5rem;
}

.projects h1 {
  color: var(--dark);
  font-size: 2.5rem;
  font-weight: 800;
}

.project-list {
  display: grid;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 2rem auto 3rem;
  gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.project-container {
  text-align: left;
  flex: 1;
}

.project-container.double {
  flex-basis: 100%;
}

.project {
  position: relative;
  display: block;
  margin: 0 0 2rem;
}

.project h2 {
  margin: 0.4rem 0 0.25rem;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.projects p {
  color: var(--text-secondary);
}

.project a {
  text-decoration: none;
}

.project .feature-image-container {
}

.project .feature-image {
  padding-bottom: 55%;
  background-color: #ddd;
  background-position: center;
  background-size: cover;
  border: var(--image-border);
  border-radius: 8px;
}

@media only screen and (max-width: 1100px) {
  .project-list {
    grid-template-columns: 1fr 1fr;
  }
}



@media only screen and (max-width: 700px) {
  .project-list {
    grid-template-columns: 1fr;
  }

  .intro-info {
    flex-direction: column;
  }

  .project-list {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}
