:root {
  --neon-blue: #00f2ff;
  --neon-purple: #9b5cff;
  --page-footer-height: 52px;
  --hamburger-menu-max-width: 1074px;

  --section-frame-border-t-width: 293;
  --section-frame-border-r-width: 324;
  --section-frame-border-b-width: 280;
  --section-frame-border-l-width: 329;
  --section-frame-padding: 96px;
  --section-frame-scale: .75;
  --page-header-height: 52px;
}

/* @media (max-width: 720px) {
  :root {
    --section-frame-scale: .5;
  }
} */

@media (max-width: 1104px) {
  :root {
    --section-frame-scale: .5;
  }
}
  
@media (max-width: 420px) {
  :root {
    --section-frame-scale: .3;
  }
}

@media (min-width: 1104px) {
  :root {
    --section-frame-scale: .75;
  }
}

* { box-sizing: border-box; }

html, body {
  color-scheme: light dark;
  scroll-behavior: smooth;
  scrollbar-color: transparent;
  scroll-behavior: smooth;
  /* height: 100%; */
  /* overflow-y: auto; */
}

/* html {
  overflow-x: hidden;
} */

body {
  margin: 0;
  font-family: "Fira Sans", sans-serif;
  color: white;
  /* background: transparent; */
  background: radial-gradient(circle at bottom, #2b0b5e, #050815 60%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 40px;
  z-index: 1;
  /* background:
    linear-gradient(transparent 95%, rgba(0,242,255,0.15) 96%),
    linear-gradient(90deg, transparent 95%, rgba(155,92,255,0.15) 96%); */
  /* background-size: 60px 60px; */
  background-image: linear-gradient(to bottom, #050815, transparent);
  pointer-events: none;
}

#blogger-section--main { display: none; }


#page-header {
  top: 10px;
  margin: 10px auto 0 auto;
  border: solid 1px var(--color-border-1);
  border-radius: 100000vh;
  height: calc(1rem * 2.5 + 2px);
  transition: background-color .2s linear,
              border-color .2s linear;
  isolation: isolate;
}

#page-header.transparent-background {
  background-color: transparent;
  border-color: transparent;
}

#page-header::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: solid 1px transparent;
  border-radius: 100000vh;
  background: transparent;
  backdrop-filter: unset;
  transition: background-color .2s linear,
              border-color .2s linear,
              backdrop-filter .2s linear;
  pointer-events: none;
}

#page-header.transparent-background::before {
  border: solid 1px #fff2;
  background: #8882;
  backdrop-filter: blur(4px);
}

@media (max-width: 1000px) {
  #page-header {
    margin: 10px auto 0 10px;
  }
}

/* @media (max-width: 1000px) {
  #page-header > nav > .menu {
    margin-left: -11px;
    margin-top: -11px;
  }
} */

#page-footer {
  color: #aaa;
}

#background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#scroll-to-top-button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  border-radius: 100000vh;
  width: 64px;
  height: 64px;
  scale: 1;
  opacity: 1;
  /* box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.5); */
  transition: scale .2s cubic-bezier(0, 0, 0, 1),
              opacity .2s linear,
              background-color .2s linear,
              border-color .2s linear,
              box-shadow 2s linear;
}

#scroll-to-top-button.hidden {
  scale: 0;
  opacity: 0;
}

#scroll-to-top-button > .icon {
  font-size: 2rem;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.grid-lines {
  position: absolute;
  top: -100px;
  left: -100px;
  width: calc(100% + 200px);
  height: calc(100% + 200px);
  background-image:
    linear-gradient(rgb(0, 255, 255) 2px, transparent 2px),
    linear-gradient(90deg, rgb(0, 255, 255) 2px, transparent 2px);
  background-size: 50px 50px;
  opacity: 0.1;
  animation: grid-move 40s linear infinite;
}

.grid-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: calc(100% + 200px);
  height: calc(100% + 200px);
  background-image:
  linear-gradient(rgb(255, 0, 255) 2px, transparent 2px),
  linear-gradient(90deg, rgb(255, 0, 255) 2px, transparent 2px);
  background-size: 100px 100px;
  opacity: 0.075;
  animation: grid-move 60s linear infinite reverse;
}

@keyframes grid-move {
  from {
    translate: 0 0;
  }
  
  to {
    translate: 100px 100px;
  }
}


.vos {
  opacity: 0;
}

.vos:not(.vos--invisible) {
  opacity: 1;
  animation: anim-vos-1 .8s cubic-bezier(0, 0, 0, 1), anim-vos-2 .8s linear;
}

@keyframes anim-vos-1 {
  from {
    translate: 0 30px;
  }
  
  to {
    translate: 0 0;
  }
}

@keyframes anim-vos-2 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.container-box-custom-template-1 {
  border-radius: 20px;
  border: solid 1px #2b0b5ecc;
  padding: 19px;
  background-color: #2b0b5e88;
  background-clip: padding-box;
  backdrop-filter: blur(4px);
}

.no-wide-960px {
  margin: 0 auto;
  max-width: 960px;
}

.img-container {
  overflow: hidden;
  /* width: min-content; */
}

.img-container img {
  display: block;
  max-width: 100%;
  /* width: 100%; */
}

.img-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #666;
  color: white;
}

.text-and-img-rows {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.text-and-img-rows.text-and-img-rows--1 {
  --left-width: 320px;
  --right-width: 640px;
}

.text-and-img-rows.text-and-img-rows--2 {
  --left-width: 480px;
  --right-width: 480px;
}

.text-and-img-rows > :is(div, li) {
  display: flex;
  align-items: center;
  gap: 20px 40px;
}

.text-and-img-rows > :is(div, li):not(:first-child) {
  margin-top: 20px;
}

.text-and-img-rows > :is(div, li) > :first-child {
  flex: 1 1 var(--left-width);
  border-radius: 10px;
  min-width: 0; /* only the img can shrink below its basis */
  max-width: var(--left-width);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.text-and-img-rows > :is(div, li):nth-child(2n) > :first-child {
  order: 1;
}

.text-and-img-rows > :is(div, li) > :nth-child(2) {
  flex: 0 0 var(--right-width); /* no grow, no shrink — locked at 480px */
  max-width: var(--right-width);
  margin: 0;
}

.text-and-img-rows > :is(div, li) > :nth-child(2) p:first-child {
  margin-top: 0;
}

.text-and-img-rows > :is(div, li) > :nth-child(2) p:last-child {
  margin-bottom: 0;
}

/* @media (max-width: 900px) {
  .img-and-text, .text-and-img {
    flex-direction: column;
  }

  :is(.img-and-text, .text-and-img) > img {
    flex: 1;
  }
  
  :is(.img-and-text, .text-and-img) > p {
    flex: 0;
  }

  .text-and-img > img {
    order: unset;
  }
} */

@media (max-width: 900px) {
  .text-and-img-rows > :is(div, li) {
    flex-direction: column;
  }

  .text-and-img-rows > :is(div, li) > :first-child {
    flex: 1;
  }

  .text-and-img-rows > :is(div, li):nth-child(2n) > :first-child {
    order: unset;
  }
  
  .text-and-img-rows > :is(div, li) > :nth-child(2) {
    flex: 0;
  }
}

.table-overflow {
  width: 100%;
  overflow: auto;
}

.video-frame {
  display: block;
  margin: 28px auto auto;
  border: solid clamp(2px, 2.5vw, 16px) white;
  border-radius: clamp(8px, 5vw, 32px);
  max-width: 640px;
  width: 100%;
}

.video-frame.video-frame--youtube {
  aspect-ratio: 16/9;
}

.video-frame:fullscreen {
  border: 0 !important;
  border-radius: 0 !important;
}

p {
  text-align: justify;
}

p:last-child {
  margin-bottom: 0;
}

/* table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid black;
  border-radius: 10px;
  overflow: hidden;
} */

/* table tr:first-of-type :is(th, td):first-of-type {
  border-top-left-radius: 10px;
} */

.quote-box {
  position: relative;
  margin: 15px !important;
  border: solid 2px white;
  padding: 15px;
  filter: drop-shadow(0 4px 6px black);
}

.quote-box::before, .quote-box::after {
  position: absolute;
  pointer-events: none;
  font-size: 96px;
  font-weight: bold;
}

.quote-box::before {
  content: "“";
  left: -17px;
  top: -28px;
}

.quote-box::after {
  content: "„";
  right: -17px;
  bottom: -22px;
}


#page-contents {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#page-contents > #pages {
  display: flex;
  flex: 1;
  align-items: flex-start;
  min-height: 0;
  height: 100%;
}

.page {
  box-sizing: border-box;
  display: none;
  min-height: calc(100vh - round(up, var(--page-header-height), 1px) - round(up, var(--page-footer-height), 1px));
  width: 100vw; 
  /* height: 100%; */
  /* background-color: #0f08; */
}

.page.page--current {
  display: block;
}

#page--home, .page > .hero {
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px 0;
}

#page--home::before, .page > .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-style: solid;
  border-image: url("assets/home-page/decorative-edges.svg");
  border-image-slice: 33 172 31 171.5;
  border-image-width: 33 172 31 171.5;
  border-image-repeat: stretch;
}

.page > .hero::before {
  border-image-width: 
    calc(33px * 2)
    calc(172px * 2)
    calc(31px * 2)
    calc(171.5px * 2);
  opacity: .5;
}

#page--home.page--current, .page > .hero {
  display: flex;
}

#page--home {
  padding: 100px 20px;
}

.page > .hero {
  justify-content: center;
  margin-bottom: 28px;
  height: min(200px, 32vw);
}

/* .page-frame {
  border-image-source: url("assets/section-frame-9-slice.png");
  border-image-slice: 746 1126 726 1112 fill;
  border-image-width: calc(746px * var(--section-frame-scale))
    calc(1126px * var(--section-frame-scale))
    calc(726px * var(--section-frame-scale))
    calc(1112px * var(--section-frame-scale));
  border-image-repeat: stretch;
  padding: 80px;
} */

.section-frame {
  box-sizing: content-box;
  margin: 0 auto;
  border-image-source: url("assets/section-frame-9-slice.svg");
  border-image-slice: var(--section-frame-border-t-width)
    var(--section-frame-border-r-width)
    var(--section-frame-border-b-width)
    var(--section-frame-border-l-width)
    fill;
  /* border-image-width: calc(var(--section-frame-border-t-width) * 1px * var(--section-frame-scale) * 1366 / 3840)
    calc(var(--section-frame-border-r-width) * 1px * var(--section-frame-scale) * 1366 / 3840)
    calc(var(--section-frame-border-b-width) * 1px * var(--section-frame-scale) * 1366 / 3840)
    calc(var(--section-frame-border-l-width) * 1px * var(--section-frame-scale) * 1366 / 3840); */
  border-image-width: calc(var(--section-frame-border-t-width) * 1px * var(--section-frame-scale))
    calc(var(--section-frame-border-r-width) * 1px * var(--section-frame-scale))
    calc(var(--section-frame-border-b-width) * 1px * var(--section-frame-scale))
    calc(var(--section-frame-border-l-width) * 1px * var(--section-frame-scale));
  border-image-repeat: stretch;
  padding: calc(var(--section-frame-padding) * var(--section-frame-scale));
  /* padding: calc(96px * var(--section-frame-scale)) max(calc(50% - 480px), calc(96px * var(--section-frame-scale))); */
  min-height: calc(((var(--section-frame-border-b-width) + var(--section-frame-border-t-width)) * 1px - var(--section-frame-padding) * 2) * var(--section-frame-scale));
  max-width: 960px;
}

/* @media (max-width: 400px) {
  .section-frame {
    border-image-width: calc(var(--section-frame-border-t-width) * 1px * var(--section-frame-scale))
      0
      calc(var(--section-frame-border-b-width) * 1px * var(--section-frame-scale))
      0;
    padding-inline: 10px;
  }
} */

/* @media (max-width: 420px) {
  .section-frame {
    /. border-image-width: calc(var(--section-frame-border-t-width) * 1px * var(--section-frame-scale))
      0
      calc(var(--section-frame-border-b-width) * 1px * var(--section-frame-scale))
      0;
    padding-inline: 10px; ./
    margin-left: calc(8px - var(--section-frame-padding) * var(--section-frame-scale));
    margin-right: calc(8px - var(--section-frame-padding) * var(--section-frame-scale));
  }
} */

/* @media (max-width: 480px) {
  .section-frame {
    margin-left: calc(8px + 240px - 50vw - var(--section-frame-padding) * var(--section-frame-scale));
    margin-right: calc(8px + 240px - 50vw - var(--section-frame-padding) * var(--section-frame-scale));
  }
} */

/* @media (max-width: 1000px) {
  .section-frame {
    margin-left: calc(8px - 50vw + 500px - var(--section-frame-padding) * var(--section-frame-scale));
    margin-right: calc(8px - 50vw + 500px - var(--section-frame-padding) * var(--section-frame-scale));
  }
} */


#page--home > .codeavour-logo-and-nationality-flag,
.page > .hero > .codeavour-logo-and-nationality-flag {
  position: absolute;
  top: 10px;
  right: 20px;
  /* margin-top: -90px; */
  width: min(400px, 50vw);
  height: auto;
}

.page > .hero > .codeavour-logo-and-nationality-flag {
  width: min(320px, 50vw);
}

#page--home > .title,
.page > .hero > .title {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  width: max-content;
  text-align: center;
  text-shadow: 0 0 16px;
  color: var(--neon-blue);
  font-family: "Orbitron", var(--ui-font-family) !important;
  font-size: min(4rem, 10vw);
  font-weight: bold;
}

#page--home > .title::after,
.page > .hero > .title::after {
  content: "2.0";
  -webkit-user-select: text; /* Safari/Chrome */
  -moz-user-select: text;    /* Firefox */
  user-select: text;         /* Standard */
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  translate: 40% 30%;
  rotate: -15deg;
  border-radius: .2em;
  padding: .2em;
  background-color: var(--neon-purple);
  color: white;
  line-height: 1;
  font-size: .4em;
  font-family: var(--ui-font-family);
}

#page--home > .after {
  margin-top: 100px;
  text-align: center;
  text-shadow: 0 0 16px;
  color: var(--neon-blue);
  font-family: "Orbitron", var(--ui-font-family);
  font-size: min(4rem, 10vw);
  font-weight: bold;
}

#page--home > .adm-and-healoxa {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
  margin: 0 auto;
  max-width: 100%;
  width: max-content;
  scale: max(1, calc(100vw/1440px));
}

#page--home > .adm-and-healoxa > div {
  display: flex;
  align-items: center;
  width: min-content;
}

#page--home > .adm-and-healoxa > div:nth-child(1) {
  flex-direction: row-reverse;
}

#page--home > .adm-and-healoxa > div:nth-child(2) {
  flex-direction: row;
}

#page--home > .adm-and-healoxa > div > .arrow {
  width: 64px;
}

#page--home > .adm-and-healoxa > div:nth-child(1) > .arrow {
  scale: -1 1;
}

#page--home > .adm-and-healoxa > div > .project-title {
  width: 200px;
  height: auto;
}

/* #page--home > .adm-and-healoxa > div:nth-child(2) > .project-title #text6 {
  scale: -1 1;
} */

@media (max-width: 580px) {
  #page--home > .adm-and-healoxa {
    align-items: flex-end;
  }

  #page--home > .adm-and-healoxa > div {
    flex-direction: column !important;
  }

  #page--home > .adm-and-healoxa > div > .arrow {
    display: none;
  }
}

#page--home > .adm-and-healoxa > div > img {
  width: max-content;
}


#page--home > .adm-and-healoxa > div > p {
  border-style: solid;
  border-image: url("assets/home-page/neon-folder.svg");
  border-image-slice: 176 78 64 248;
  border-image-width: 176px 78px 64px 248px;
  border-image-repeat: stretch;
  padding: calc(176px * 0.7)
           calc(78px * 0.7)
           calc(64px * 0.7)
           calc(248px * 0.7);
  text-align: center;
}

#page--home > div:nth-of-type(2) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px max(20px, 6vw);
  margin: 0 auto;
  max-width: 100%;
  width: max-content;
}

#page--home > div:nth-of-type(2) > .innovation-theme {
  border: solid 4px white;
  border-radius: 10px;
  padding: 10px;
  width: 240px;
  background-color: #00abd9;
  color: white;
  text-align: center;
  font-weight: bold;
  overflow: auto;
  resize: horizontal;
}


.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 50px;
  justify-content: center;
}

.member {
  width: min-content;
  flex-shrink: 0;
  text-align: center;
}

.member > p {
  text-align: center;
}

.mentors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#page--team .achievements {
  display: flex;
  align-items: center;
  gap: 20px;
}

#page--team .achievements > :nth-child(1) {
  flex: 0 0 470px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  container-type: inline-size;
  /* outline: dashed 2px white; */
  aspect-ratio: 470/326;
  width: min(470px, 100%);
  height: auto;
  /* --offset-x: -106px; */
  --offset-x: 0px;
  --offset-y: 0px;
}

#page--team .achievements > :nth-child(1) > svg {
  position: absolute;
  top: 0;
  --scale: calc(100cqw / 470px);
  scale: min(1, var(--scale));
}

#page--team .achievements > :nth-child(1) > .test {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  background-color: red;
  --scale: calc(100cqw / 470px);
  scale: min(1, var(--scale));
  translate:
    calc((0px + var(--offset-x)) * var(--scale))
    calc((0px + var(--offset-y)) * var(--scale));
}

#page--team .achievements > :nth-child(1) > svg:nth-child(1) {
  translate:
    calc((104px + var(--offset-x)) * var(--scale))
    calc((70px + var(--offset-y)) * var(--scale));
  rotate: 7.9deg;
}

#page--team .achievements > :nth-child(1) > svg:nth-child(2) {
  translate:
    calc((-96px + var(--offset-x)) * var(--scale))
    calc((10px + var(--offset-y)) * var(--scale));
  rotate: -4.6deg;
}

#page--team .achievements > :nth-child(1) > svg:nth-child(3) {
  translate:
    calc((-56px + var(--offset-x)) * var(--scale))
    calc((154px + var(--offset-y)) * var(--scale));
  rotate: -2.2deg;
}

#page--team .achievements > :nth-child(2) {
  width: min(480px, 100%);
}

@media (max-width: 860px) {
  #page--team .achievements {
    flex-direction: column;
  }

  #page--team .achievements > :nth-child(1) {
    flex: 0 0 min-content;
  }
}


.background-theme > .container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}

.background-theme > .container > img {
  flex: 1 1 160px;
  min-width: 0;
  max-width: 160px;
  width: 100%;
}

.background-theme > .container > p {
  flex: 1; /* no grow, no shrink — locked at 480px */
  min-width: 200px;
  max-width: 480px;
  width: max-content;
  margin: 0;
}

@media (max-width: 556px) {
  .background-theme > .container {
    flex-direction: column;
  }

  .background-theme > .container > p {
    min-width: 0;
    width: 100%;
  }
}

.problems-list {
  display: grid;
  justify-items: center;
  /* grid-template-columns: repeat(auto-fit, minmax(368px, 1fr)); */
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto;
  max-width: 640px;
}

@media (max-width: 480px) {
  .problems-list {
    grid-template-columns: 1fr;
  }
}

.problems-list > div {
  max-width: 480px;
}

/* .problems-list > div > p {
  margin-bottom: 0;
} */

.problems-list > div > .img-container {
  border-radius: 10px;
}

.problems-list > div > .img-container > img {
  scale: 1.2;
}


.the-codes {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 24px 20px;
}

.the-codes > div {
  /* flex: 1; */
  max-width: 320px;
  width: 100%;
  align-self: stretch;
}

.the-codes > div > img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 16/9;
}

.the-codes > div > h5 {
  text-align: center;
}

.the-codes > .pictoblox-logo {
  max-width: 160px;
  border-radius: 10px;
}

@media (min-width: 720px) {
  .the-codes > .pictoblox-logo {
    width: min(160px, calc(20% - 32px));
  }
}

@media (max-width: 720px) {
  .the-codes {
    flex-direction: column;
  }

  .the-codes > div {
    align-self: center;
  }

  .the-codes > .pictoblox-logo {
    width: 100%;
    order: 1;
  }
}

.user-reviews {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.user-reviews > li > :first-child {
  flex: 1 1 300px;
  aspect-ratio: 5/4;
  max-width: unset;
  max-height: 180px;
}

.user-reviews > li > :first-child > img {
  aspect-ratio: 5/4;
  object-fit: contain;
  max-width: unset;
  width: 100%;
  height: 100%;
}

.user-reviews > li > :nth-child(2) {
  flex: 1 0 400px;
  max-width: 400px;
}

@media (max-width: 900px) {
  .user-reviews > li > :nth-child(2) {
    flex: 1 0;
  }
}


/* .project-development-timeline > li::marker {
  display: block;
  position: relative;
  top: 50%;
  translate: 0 -50%;
} */

.project-development-timeline {
  position: relative;
  list-style-type: none;
  padding-inline-start: 0;
  max-width: 720px;
}

.project-development-timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  /* left: 19px; */
  left: 0;
  right: 0;
  z-index: -1;
  /* width: 2px; */
  height: 100%;
  /* background-color: var(--neon-blue); */
  background-size: 2px auto;
  background-image: linear-gradient(to bottom, #0000, var(--neon-blue) 80px, var(--neon-blue) calc(100% - 80px), #0000 100%);
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 6px var(--neon-blue));
  pointer-events: none;
}

.project-development-timeline > li {
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 10px;
  background-color: #2b0b5e22;
}

.project-development-timeline > li:not(:last-of-type) {
  margin-bottom: 1.5em;
}

/* .project-development-timeline > li::before {
  content: "●";
  flex-shrink: 0;
  display: block;
  position: relative;
  margin-left: -40px;
  width: 40px;
  color: var(--neon-purple);
  text-align: center;
  font-size: 1.5em;
} */

.project-development-timeline > li > div {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.project-development-timeline > li:nth-of-type(2n-1) > div {
  flex-direction: row;
}

.project-development-timeline > li:nth-of-type(2n) > div {
  flex-direction: row-reverse;
}

.project-development-timeline > li > div > .bullet {
  flex: 0 1 24px;
  width: 24px;
  text-align: center;
  color: var(--neon-purple);
  filter: drop-shadow(0 0 6px var(--neon-purple));
  font-size: 1.5em;
  line-height: 1;
}

.project-development-timeline > li > div > :is(:nth-child(1), :nth-child(3)) {
  /* flex: 1 1 auto; */
  flex: 0 0 calc(50% - 28px);
}

.project-development-timeline > li > div > :first-child {
  border-radius: 10000vh;
  max-width: 120px;
  aspect-ratio: 1/1;
}

.project-development-timeline > li > div > .img-container {
  overflow: hidden;
}

.project-development-timeline > li:nth-of-type(2n-1) > div > :first-child {
  margin-left: auto;
}

.project-development-timeline > li:nth-of-type(2n) > div > :first-child {
  margin-right: auto;
}

.project-development-timeline > li > div > :first-child > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-development-timeline > li > div p:last-of-type {
  margin-bottom: 0;
}

.project-development-timeline > li > div > div:nth-child(3) {
  max-width: calc(50% - 28px);
}

.project-development-timeline > li > div > div:nth-child(3) > * {
  width: fit-content;
}

.project-development-timeline > li:nth-of-type(2n-1) > div > div:nth-child(3) > * {
  margin-right: auto;
  text-align: left;
}

.project-development-timeline > li:nth-of-type(2n) > div > div:nth-child(3) > * {
  margin-left: auto;
  text-align: right;
}

/* @media (max-width: 500px) {
  .project-development-timeline > li > div {
    flex-direction: column;
    align-items: flex-start;
  }
} */


.version-differences-visualization {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  margin: 28px auto auto;
  padding: 0;
  list-style-type: none;
}

.version-differences-visualization > li > :nth-child(1) {
  border-radius: 10px;
  min-width: 0;
  width: 100%;
}

.version-differences-visualization > li > :nth-child(2) {
  margin-top: .25em;
  text-align: center;
}

/* @media (min-width: 500px) {
  .version-differences-visualization {
    grid-template-columns: repeat(auto-fit, minmax(368px, 1fr));
  }
} */

@media (max-width: 540px) {
  .version-differences-visualization {
    grid-template-columns: 1fr;
  }
}


.existing-soultions-devices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.existing-soultions-devices > div {
  display: flex;
  align-items: center;
  gap: 20px 40px;
  background-color: #2b0b5e88;
}

.existing-soultions-devices > div > img {
  max-width: 186px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.existing-soultions-devices > div > div > p {
  margin-bottom: 0;
}

.existing-soultions-devices > div:nth-of-type(2n) > img {
  order: 1;
}

@media (max-width: 720px) {
  .existing-soultions-devices > div {
    flex-direction: column;
  }

  .existing-soultions-devices > div:nth-of-type(2n) > img {
    order: unset;
  }
}


.usp-list {
  margin: 28px auto auto;
  max-width: 960px;
}

.usp-list > ul {
  display: grid;
  justify-items: center;
  /* grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); */
  /* grid-template-columns: repeat(auto-fit, minmax(clamp(122px, calc(100vw - 520px), 240px), 1fr)); */
  /* grid-template-columns: repeat(3, 1fr); */
  /* grid-template-columns: repeat(auto-fit, minmax(calc((500px - 40px) / 3), 1fr)); */
  /* grid-template-columns: repeat(auto-fit, minmax(min(calc((500px - 40px) / 3), calc((100% - 40px) / 3)), 1fr)); */
  /* grid-template-columns: repeat(auto-fit, minmax(max(calc((500px - 40px) / 3), calc((100% - 40px) / 3)), 1fr)); */
  /* grid-template-columns: repeat(auto-fit, minmax(clamp(100px, calc(100vw - 520px - 40px), 240px), 1fr)); */
  /* grid-template-columns: repeat(auto-fit, minmax(max(100px, calc(100vw - 96px - 20px - 184px)), 1fr)); */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  /* display: flex;
  flex-wrap: wrap;
  justify-content: center; */
  gap: 24px 20px;
  margin: 0 auto;
  padding-left: 0;
  max-width: 720px;
  list-style-type: none;
}

/* .usp-list > ul {
  grid-template-columns: repeat(auto-fit, minmax(clamp(122px, 186px), 1fr));
} */

/* .usp-list > ul > li {
  flex-grow: 1;
  width: 186px;
  max-width: 225px;
} */

.usp-list > ul > li > :first-child {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.usp-list > ul > li > div > h5 {
  margin: .25em 0;
  font-size: 1.2em;
}

.usp-list > ul > li > div > p {
  margin: 0;
}

@media (max-width: 540px) {
  .usp-list > ul > li > :first-child {
    max-width: 200px;
  }
}

@media (min-width: 540px) {
  .usp-list > ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

.goals-list > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
  padding-left: 0;
  max-width: 960px;
  list-style-type: none;
}

.goals-list > ul > li {
  display: flex;
  flex-direction: column;
  max-width: 280px;
  width: 100%;
}

.goals-list > ul > li > h5 {
  margin-block-end: .5em;
  text-align: center;
  font-size: 1.2em;
}

.goals-list > ul > li > :nth-child(2) {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 16/9;
}
