#projects {
  margin-bottom: 1rem;
}

.inner-section {
  display: flex;
  outline: 1px solid black;
  height: 400px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  margin-bottom: 2rem;
}

.inner-section-desc {
  padding: 0rem 1rem;
  margin-top: 0.5rem;
  width: 65%;
  display: flex;
  flex-direction: column;
}

.inner-section-img {
  width: 35%;
}

.inner-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.project-title {
  margin-top: 1rem;
}

.project-desc-link {
  display: flex;
  text-decoration: none;
  margin-top: auto;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: white;
  color: black;
  border: 1px solid black;
  width: 35%;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.project-desc-link:hover {
  color: white;
  background-color: black;
}

@media (max-width: 1250px) {
  .inner-section {
    flex-direction: column;
    padding: 1.2rem 1rem;
    height: auto;
  }

  .inner-section-desc {
    padding: 0rem 1rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .inner-section-img {
    width: 100%;
  }

  .project-desc-link {
    color: white;
    background-color: black;
    width: 50%;
  }
}
