#projectsTitle {
  margin-top: 350px;
  font-size: 69px;
  font-weight: 200;
  text-align: center;
  text-shadow: 0px 0px 4px #ce0e0e;
}

#projectsContainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 100px;
  margin-bottom: 150px;
}

.project {
  color: #f8f8ff;
  width: 325px;
  background: #0c0c0c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0px 7px #1d1d1d;
  margin: 20px;
  transition: transform 0.2s;
}

.project:hover {
  transform: scale(1.15);
}

.imgContainer {
  width: 325px;
  height: 210px;
  overflow: hidden;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projectName {
  font-size: 28px;
  height: 75px;
}

.projectContent {
  padding: 16px;
}

.projectContent p {
  font-size: 14px;
  line-height: 22px;
  height: 180px;
}

.projectBtn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1b1b1b;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 16px;
  color: #fff;
  transition: all 0.25s;
}

.demo {
  border-style: solid;
  border-width: 1px;
  border-color: #8d0000;
  background-color: rgb(8, 8, 8);
}

.src:hover {
  opacity: 0.5;
}

.demo:hover {
  transform: scale(0.85);
}

@media (max-width: 768px) {
  .project {
    width: 310px;
  }

  .imgContainer {
    width: 310px;
  }

  .projectName {
    font-size: 26px;
  }
}
