h2,
.project,
.project {
  color: var(--text-color);
}

.project {
  margin-bottom: 50px;
}

main > ul {
  margin: 0;
  padding: 0;
}

.project > a {
  color: #ffffff;
  background-color: var(--button-color);
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 0.5rem;
  font-size: 100%;
  border-radius: 0.25rem;
  transition: all 0.5s; /* auto transition for fade out and fade in */
}

.project > a:hover,
.project > a:focus,
.project > a:active {
  background-color: var(--button-color-hover);
  border: 1px solid var(--button-color);
  transform: scale(1.1); /* corrected from "scale: 1.1;" to "transform: scale(1.1);" */
}

p {
  width: 60%;
}

li.project:first-child {
  margin-top: 0;
}

li.project {
  margin-bottom: 20px;
}

@media screen and (max-width: 820px) and (min-width: 401px) {
  .project-info > a {
    font-size: 15px;
  }
  
  p {
    width: 100%;
  }
}
q {
  font-style: italic;
  color: blueviolet;
}

@media screen and (max-width: 400px) {
  p {
    width: 90%;
  }
}
