.projects {
  background-color: var(--primary);
  padding: 200px 0;
  margin-top: -100px;
  position: relative;
  z-index: 8;
}
.project_img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
}
.project_carousal {
  margin-top: 50px;
}
.project_item {
  padding: 10px;
  background-color: var(--background);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 3px 5px 10px var(--color-fade);
  /* min-height: 400px; */
}
.project_item_wrapper {
  padding-bottom: 15px;
}
.project_links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.project_links > a {
  text-decoration: none;
  color: var(--color);
  padding: 5px 20px 5px 5px;
  background-color: var(--primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}
.project_links > a > svg {
  display: flex;
  background-color: var(--background);
  border-radius: 4px;
  padding: 5px;
  width: 20px;
  height: 20px;
}
.tns-outer {
  position: relative;
}
.tns-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: -25px;
  top: 33%;
  z-index: 8;
}
.tns-controls > button {
  border: none;
  /* background: linear-gradient( */
  /*   to right, */
  /*   var(--gradient-two), */
  /*   var(--gradient-one) */
  /* ); */
  background: linear-gradient(to right bottom, #252525, #7c7a7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  box-shadow: 0px 5px 10px var(--color-fade);
}
.tns-controls > button > svg {
  display: flex;
}
.tns-controls > button > svg > path {
  stroke: var(--primary);
  stroke-width: 4px;
}
.project_title {
  font-weight: 600;
}
.project_gradient {
  background: linear-gradient(to right bottom, #252525, #7c7a7a);
  display: flex;
  padding: 5px;
  border-radius: 10px;
  color: var(--background);
}
.discontinued {
  font-style: italic;
  opacity: 50%;
}

/* --------------------------------- */
/* RESPONSIVE */
/* --------------------------------- */
@media screen and (max-width: 1024px) {
  .project_title {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 768px) {
  .tns-controls {
    right: -20px;
  }
}
@media screen and (max-width: 600px) {
  .tns-controls {
    right: -10px;
  }
  .br_hide {
    display: none;
  }
}
@media screen and (max-width: 375px) {
  .tns-controls {
    right: -20px;
  }
}
