.Projects_container {
  margin: 0 auto;
  background-color: #020912;
  position: relative;
  z-index: 10;
  padding: 30px 15px 30px 15px;
  margin-top: -10px;
  overflow: hidden;
}

.project_head {
  color: white;
  font-family: var(--font-family-main);
  text-align: center;
  font-size: calc(var(--heading-1) + 1rem);
  /* margin: 50px 0; */
}

.project_img {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  outline: 1px solid white;
  outline-offset: 2px;
}

.project_img img{
  max-width: 100%;
  height: auto;
}

.project-card h1 {
  color: white;
  font-family: var(--font-family-primary);
  font-size: var(--heading-1);
}

.project_description {
  font-family: var(--font-family-primary);
  color: wheat;
  font-size: calc(var(--heading-2) - 0.4rem);
  margin: 20px 0;
}

.project-card {
  gap: 20px;
  margin: 40px 0;
  transform: scale(0);
  transition: all 0.5s ease-in-out;
}

.project-card_one {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  object-fit: cover;
}

.project-card_two {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}

.project-card_three {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.project-card_four {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}

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

  .project-card_two {
    grid-template-columns: 1fr;
  }

  .project-card_two .project_details {
    order: 1;
  }

  .project-card_three {
    grid-template-columns: 1fr;
  }

  .project-card_four {
    grid-template-columns: 1fr;
  }

  .project-card_four .project_details {
    order: 1;
  }
}

.stack {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
  /* font-family: var(--font-family-secondary); */
}

.stack span {
  font-size: 20px;
  background: rgb(28, 28, 29);
  color: white;
  padding: 4px 8px;
  border-radius: 10px;
}

.project_details {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.project_links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project_links a {
  text-decoration: none;
  background-color: white;
  color: black;
  padding: 5px 10px;
  text-align: center;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 10px;
  transition: all .2s linear;
  /* width: 50px; */
}


.project_links > :last-child{
  color: white;
  background-color: rgb(0, 0, 0);
}

.project_links a:hover{
  box-shadow: 0px 0px 13px 0px rgba(203, 31, 31, 0.797);
  color: red;
  transform: scale(1.1);
}