.content-page__projects {
  z-index: 20;
  position: absolute;
  top: 48px;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 4rem 2rem 8rem 2rem;
  box-sizing: border-box;
  display: none;
  gap: 24px;
}

.content-page__projects__list {
  width: fit-content;
  height: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  background: rgba(255, 255, 255, 0.1);
}

.content-page__projects__list__boxes {
  position: absolute;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 17%;
  bottom: 6%;
  top: 58%;
  overflow: hidden;
}

.content-page__projects__list__boxes div {
  width: 100%;
  aspect-ratio: 1/0.35;
  background: black;
  flex-shrink: 0;
}

.content-page__projects__list__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  box-sizing: border-box;
}

.content-page__projects__list__content__selections {
  display: flex;
  gap: 16px;
  margin-left: auto;
  justify-content: end;
}

.content-page__projects__list__content__selections__selection {
  width: 40%;
  --text-fill: black;
  user-select: none;
  cursor: pointer;
}

.content-page__projects__list__content__selections__selection.active {
  --text-fill: white;
  --fill: black;
}

.content-page__projects__list__content__selections__selection:hover {
  --text-fill: white;
  --fill: rgba(0, 0, 0, 0.82);

}

.content-page__projects__list__content__content {
  height: 93%;
  width: 100%;
  position: relative;
  display: flex;
  gap: 16px;
}

.content-page__projects__list__content__content__active-type {
  width: 15%;
  height: 53%;
  position: relative;
  flex-shrink: 0;
}

.content-page__projects__list__content__content__active-type p {
  color: black;
  font-size: 2rem;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-51%, -50%) rotate(-90deg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1rem;
}

.content-page__projects__list__content__content__projects {
  /*background: #A4A4A4;*/
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: end;
  overflow: hidden auto;
  margin-top: 24px;
  padding-right: 4px;
}

.content-page__projects__list__content__content__projects__item {
  width: 100%;
  user-select: none;
  cursor: pointer;
}

.content-page__projects__list__content__content__projects__item:hover {
  filter: opacity(0.8);
}

.content-page__projects__list__content__content__projects__item:active {
  filter: opacity(0.6);
}

.content-page__projects__list__content__content__projects__item__title {
  font-size: 1.3rem;
  text-align: right;
  font-weight: 500;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-page__projects__list__content__content__projects__item__desc {
  width: 80%;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: auto;
  text-align: right;
  font-size: .8rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
}

.content-page__projects__content {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.content-page__projects__content__borders {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  --border: 5px solid black;
  display: flex;
  flex-direction: column;
}

.content-page__projects__content__borders__middle {
  height: 100%;
}

.content-page__projects__content__borders__middle {
  display: flex;
}

.content-page__projects__content__borders__middle__content,
.content-page__projects__content__borders__bottom__content {
  box-sizing: border-box;
}

.content-page__projects__content__borders__middle__content:nth-of-type(1) {
  border-left: var(--border);
  border-top: var(--border);
  border-bottom: var(--border);
  height: 100%;
  width: 20%;
  flex-shrink: 0;
}

.content-page__projects__content__borders__middle__content:nth-of-type(2) {
  border-top: var(--border);
  height: 100%;
  width: 20%;
  flex-shrink: 0;
}

.content-page__projects__content__borders__middle__content:nth-of-type(3) {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.content-page__projects__content__borders__middle__content:nth-of-type(3) div:first-of-type,
.content-page__projects__content__borders__middle__content:nth-of-type(3) div:nth-of-type(2),
.content-page__projects__content__borders__middle__content:nth-of-type(3) div:last-of-type {
  position: absolute;
  top: 25px;
  border-top: 4px solid black;
  width: 70px;
}

.content-page__projects__content__borders__middle__content:nth-of-type(3) div:first-of-type {
  rotate: 45deg;
  left: -11px;
}

.content-page__projects__content__borders__middle__content:nth-of-type(3) div:nth-of-type(2) {
  border-top: var(--border);
  top: 48px;
  --space: 47px;
  left: var(--space);
  right: var(--space);
  width: unset;
}

.content-page__projects__content__borders__middle__content:nth-of-type(3) div:last-of-type {
  rotate: -45deg;
  right: -11px;
}

.content-page__projects__content__borders__middle__content:nth-of-type(4) {
  border-right: var(--border);
  border-top: var(--border);
  height: 100%;
  width: 20%;
  flex-shrink: 0;
}

.content-page__projects__content__borders__bottom {
  height: 80px;
  display: flex;
  flex-shrink: 0;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(1) {
  height: 100%;
  width: 20%;
  flex-shrink: 0;
  padding-top: 10px;
  box-sizing: border-box;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(1) div[data-position = "first"] {
  width: calc(100% + 20px);
  overflow-x: hidden;
  padding-left: 25px;
  transform: skew(37deg) translateX(-25px);
}

.content-page__projects__content__borders__bottom__content:nth-of-type(1) div[data-position = "second"] {
  display: flex;
  transform: skew(-37deg);
}

.content-page__projects__content__borders__bottom__content:nth-of-type(1) svg {
  margin-right: -38px;
  flex-shrink: 0;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(2) {
  display: flex;
  height: 100%;
  width: 20%;
  flex-shrink: 0;
  align-items: center;
  position: relative;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(2) div:last-of-type {
  border-bottom: var(--border);
  width: unset;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 57px;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(2) div:first-of-type {
  position: relative;
  width: 92px;
  height: fit-content;
  border-top: 4px solid black;
  rotate: 53deg;
  flex-shrink: 0;
  left: -18px;
  top: -3px;
  scale: 1.1;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(3) {
  border-bottom: var(--border);
  height: 100%;
  width: 100%;
}

.content-page__projects__content__borders__bottom__content:nth-of-type(4) {
  border-bottom: var(--border);
  border-right: var(--border);
  height: 100%;
  width: 20%;
  flex-shrink: 0;
}

.content-page__projects__content__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 64px 24px 90px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-page__projects__content__content__back {
  position: absolute;
  height: 30px;
  width: fit-content;
  top: 20px;
  display: none;
  cursor: pointer;
  user-select: none;
}

.content-page__projects__content__content__back:hover {
  filter: opacity(0.8);
}

.content-page__projects__content__content__back:active {
  filter: opacity(0.6);
}

.content-page__projects__content__content__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
}

.content-page__projects__content__content__desc {
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.7);
}

.content-page__projects__content__content__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.content-page__projects__content__content__links__link {
  width: fit-content;
}

.content-page__projects__content__content__images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  height: 100%;
  align-items: start;
  overflow: hidden;
}

/*@media screen and (max-width: 1000px) {*/
/*  .content-page__projects__content__content__images {*/
/*    grid-template-columns: repeat(1, 1fr);*/
/*  }*/
/*}*/

.content-page__projects__content__content__images__image {
  max-width: 100%;
  max-height: 100%;
}

.content-page__projects__content__triangle {
  height: 120px;
  position: absolute;
  bottom: 24px;
  right: 24px;
}

.content-page__projects__content__content__tags {
  display: flex;
  gap: 16px;
  position: absolute;
  bottom: 32px;
  left: 25%;
  right: 150px;
  overflow: hidden;
  flex-wrap: wrap;
}

.content-page__projects__content__content__youtube {
  max-height: 50%;
}

.content-page__projects__content__content__youtube__iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  max-height: 100%;
}

.content-page__projects__content__content__tags__tag {
  color: black;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-size: .9rem;
  position: relative;
  padding: .5rem 1rem .5rem .5rem;
  height: fit-content;
  --border-width: 3px;
  --border-color: black;
}

.content-page__projects__content__content__tags__tag .top {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100%);
  height: var(--border-width);
  background: var(--border-color);
}

.content-page__projects__content__content__tags__tag .bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 13px);
  height: var(--border-width);
  background: var(--border-color);
}

.content-page__projects__content__content__tags__tag .left {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--border-width);
  height: calc(100%);
  background: var(--border-color);
}

.content-page__projects__content__content__tags__tag .right {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--border-width);
  height: calc(100% - 13px);
  background: var(--border-color);
}

.content-page__projects__content__content__tags__tag .diagonal {
  position: absolute;
  right: 0;
  bottom: 0;
}

.content-page__projects__content__content__tags__tag .diagonal::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: 0;
  width: 18px;
  height: var(--border-width);
  background: black;
  transform: rotate(-45deg);
  transform-origin: left bottom;
}
