@import url("https://fonts.googleapis.com/css2?family=Inconsolata&display=swap");

header {
  width: 90vw;
  max-width: 1100px;
  margin: 0 auto;
  text-align: start;
  padding: 6% 0;
  min-height: 40vh;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.header-title > h1 {
  font-size: 3rem;
  font-weight: 400;
  font-family: "Inconsolata", monospace;
}

.header-title > p {
  font-size: 1.2rem;
  line-height: 2;
}

.header-title > p > span {
  border-bottom: 2px solid #f0db51;
}
#domProjectSection {
  background-color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10vh;
}
#domProjectSection > h2 {
  font-size: 2rem;
  font-weight: 400;
  margin: 1rem;
  font-family: "Inconsolata", monospace;
}

#domProjectSection > ul {
  list-style: none;
  width: 90vw;
  max-width: 1100px;
  margin: 2rem auto;
  display: grid;
  gap: 3rem 2rem;
  padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.project-card {
  width: 300px;
  background-color: whitesmoke;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.project-card:hover {
  width: 310px;
  height: 240px;
  position: relative;
  left: -5px;
  top: -5px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.2);
}

.project-card > a {
  text-decoration: none;
  height: 100%;
  display: block;
}

.project-card > a > p {
  margin: 0;
  text-align: center;
  color: black;
  font-size: 1rem;
  margin: 1rem;
}

.project-img {
  max-height: 190px;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 800px) {
  .header-content {
    display: block;
  }
  .header-img {
    display: none;
  }
}
