.image-container-generic {
  width: 100%;
  max-width: 100%;
  margin: 2% 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-container-generic img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.video-container {
  width: 100%;
  max-width: 100%;
  margin: 2% 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.text-wrapper {
  position: relative;
  display: inline-block;
}

.titleShaded {
  font-family: inherit;
  font-weight: bold;
  margin: 0;
  padding: 0;
  background-color: rgb(182, 175, 176);
  color: transparent;
  background-clip: text;
  -webkit-text-stroke: 0px #eeeeee;
}

.maskText {
  position: absolute;
  top: 0;
  left: 0;
  font-family: inherit;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #efecff;
  color: #0000cd;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: large;
}

.main-container {
  position: absolute;
  top: 20%;
  right: 15%;
  bottom: 10%;
  left: 15%;
  background-color: #efecff;
  border-bottom-right-radius: 80px;
  box-sizing: border-box;
  display: flex;
}

.footer {
  position: absolute;
  bottom: 0;
  right: 10%;
  left: 15%;
  height: 10%;
  border-left: 5px solid #0000cd;
  box-sizing: border-box;
}

.debug-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-size: 10px;
  color: #0000cd;
  word-wrap: break-word;
  white-space: normal;
}

.left-container {
  width: 70%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  box-sizing: border-box;
  flex-direction: column;
  counter-reset: project-index 100;
}

.left-container .project-nav-container {
  counter-increment: project-index -1;
  z-index: counter(project-index);
}

.left-container::-webkit-scrollbar {
  width: 5px;
  background-color: #0000cd;
}

.left-container::-webkit-scrollbar-thumb {
  background-color: #c9c3c4;
}

.right-container {
  flex: 1;
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.right-top {
  height: 50%;
  padding: 2%;
  box-sizing: border-box;
}

.right-bottom {
  height: 50%;
  position: relative;
  overflow: hidden;
  border-bottom-right-radius: 76px;
}

.right-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-right-radius: 76px;
}

.corner-image-star {
  position: absolute;
  top: -145.265px;
  left: -119.8px;
  width: 200px;
  height: 200px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.corner-image-eye {
  position: absolute;
  top: -34px;
  left: -28px;
  width: 42px;
  height: 40px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
}

.corner-image-star svg {
  width: 100%;
  height: 100%;
}

.corner-image-eye svg {
  width: 100%;
  height: 100%;
}

.top-nav {
  position: absolute;
  top: 10%;
  right: 10%;
  left: 15%;
  height: 10%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 5px;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.name-text {
  margin: 0;
  font-size: 14px;
  color: #0000cd;
}

.username-link {
  margin: 0;
  font-size: 14px;
  color: #0000cd;
  text-decoration: none;
  cursor: pointer;
}

.username-link:hover {
  text-decoration: underline;
}

.email-text {
  margin: 0;
  font-size: 14px;
  color: #0000cd;
}

.circled {
  border-radius: 100%;
}

/* =========================
   PROJECTNAV
   ========================= */

.project-nav-btn {
  color: #0000cd;
  font-size: large;
  font-weight: 700;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: #e5e1ff;
  cursor: pointer;
}

.left-align {
  text-align: left;
  padding-left: 2%;
  margin-right: 30%;
  border-top-right-radius: 30px;
}

.right-align {
  text-align: right;
  padding-right: 2%;
  margin-left: 30%;
  border-top-left-radius: 30px;
}

.project-footer {
  height: 13cqmax;
  background: url("https://brittlebones.digital/jan/archive/images/noise/DitherGradient_p.png");
  background-blend-mode: darken;
  background-size: inherit;
}

.project-desc-box {
  width: 100%;
  background-color: #e5e1ff;
  padding: 10px;
  box-sizing: border-box;
  text-align: left;
  font-size: 0.9em;
  color: #0000cd;
  cursor: pointer;
  height: 2cqmax;
}

.project-nav-btn.hover,
.project-desc-box.hover {
  background-color: #d7d2f8;
}

.project-expanded-content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
  background-color: #e5e1ff;
}

.project-nav-container {
  color: #0000cd;
  font-size: large;
  font-weight: 500;
  margin-top: 10%;
  margin-bottom: -30%;
  position: relative;
  overflow: visible;
}

.project-expanded-content.active {
  z-index: 101;
}

.expanded-inner {
  padding: 15px;
  color: #0000cd;
}

.expanded-inner h3 {
  margin-top: 0;
  font-size: 1.1em;
  margin-bottom: 5%;
}

.expanded-inner p {
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 5%;
}

/* =========================
   SHADER
   ========================= */

.shader {
  overflow: hidden;
  backface-visibility: hidden;
}

.shaderLayer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 100%;
  background-position: center;
}

.maskStandart {
  background-size: 1000%;
}

.mask2Standart {
  background-size: 100%;
  background-image: url("https://discourse.panda3d.org/uploads/default/original/2X/c/cce3b82324ce42031a42e4dad3477d5410a18ee8.jpg");
}

.mask3Standart {
  background-size: 2000%;
}

.specularGreenStandart {
  background-size: 900%;
}

.maskTextType {
  background-size: 300%;
}

.mask2TextType {
  background-size: 200%;
  background-image: url("https://filterforge.com/filters/10885.jpg");
}

.mask3TextType {
  background-size: 200%;
}

.specularGreenTextType {
  background-size: 120%;
}

.mask {
  mix-blend-mode: multiply;
  background-image: url("https://brittlebones.digital/jan/archive/images/noise/Swirl_4_2.png");
}

.mask2 {
  mix-blend-mode: difference;
}

.mask3 {
  mix-blend-mode: difference;
  background-image: url("https://brittlebones.digital/jan/archive/images/noise/Marble_8.png");
}

.specularGreen {
  mix-blend-mode: difference;
  background-image: radial-gradient(
    circle,
    hsl(80, 100%, 40%) 0%,
    hsl(105deg 100% 50%) 25%,
    hsl(130deg 100% 50%) 75%,
    hsl(150, 100%, 50%) 100%
  );
}

/* =========================
   RESPONSIVE PROFILES
   ========================= */

/* Retro 4:3 Profile (800x600, 1024x768) */
@media (max-width: 1024px) and (aspect-ratio: 4/3) {
  :root {
    --profile-name: "retro";
    --debug-font-size: 8px;
  }

  .left-align {
    border-right: 4px solid #0000cd;
  }

  .right-align {
    border-left: 4px solid #0000cd;
  }

  .project-desc-box {
    border-top: 4px solid #0000cd;
    border-bottom: 4px solid #0000cd;
  }

  .project-nav-btn {
    font-size: medium;
    border-top: 4px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: small;
  }

  .dynamic-text-bottom-right {
    font-size: x-small;
  }

  .main-container {
    top: 20%;
    right: 10%;
    bottom: 10%;
    left: 15%;
    border: 5px solid #0000cd;
  }

  .footer {
    right: 10%;
    left: 15%;
    height: 10%;
    border-left: 5px solid #0000cd;
  }

  .left-container::-webkit-scrollbar {
    width: 5px;
  }

  .right-bottom {
    border-top: 5px solid #0000cd;
  }

  .corner-image-star {
    top: -145.265px;
    left: -119.8px;
    width: 200px;
    height: 200px;
  }

  .corner-image-eye {
    top: -25px;
    left: -24px;
    width: 40px;
    height: 40px;
  }

  .top-nav {
    top: 10%;
    right: 10%;
    left: 15%;
    height: 10%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 14px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}

/* Small Mobile Profile (320px - 480px) */
@media (min-width: 320px) and (max-width: 480px) {
  :root {
    --profile-name: "small_mobile";
    --debug-font-size: 8px;
  }

  .left-align {
    border-right: 2px solid #0000cd;
  }

  .right-align {
    border-left: 2px solid #0000cd;
  }

  .project-desc-box {
    border-top: 2px solid #0000cd;
    border-bottom: 2px solid #0000cd;
  }

  .project-nav-btn {
    font-size: medium;
    border-top: 2px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: medium;
  }

  .dynamic-text-bottom-right {
    font-size: x-small;
  }

  .main-container {
    top: 12%;
    right: 5%;
    bottom: 5%;
    left: 13%;
    border-top: 3px solid #0000cd;
    border-left: 3px solid #0000cd;
    border-bottom: 3px solid #0000cd;
    flex-direction: column;
  }

  .footer {
    right: 5%;
    left: 13%;
    height: 10%;
    border-left: 3px solid #0000cd;
  }

  .left-container {
    width: 100%;
    height: 70%;
  }

  .left-container::-webkit-scrollbar {
    width: 3px;
  }

  .right-container {
    width: 100%;
    height: 30%;
    border-top: 3px solid #0000cd;
    flex-direction: row;
  }

  .right-top {
    border-right: 3px solid #0000cd;
    padding: 2%;
    width: 50%;
    height: 100%;
  }

  .right-bottom {
    border-right: 3px solid #0000cd;
    width: 50%;
    height: 100%;
  }

  .corner-image-star {
    top: -73px;
    left: -60px;
    width: 100px;
    height: 100px;
  }

  .corner-image-eye {
    top: -12px;
    left: -12px;
    width: 21px;
    height: 21px;
  }

  .top-nav {
    top: 1.5%;
    right: 5%;
    left: 13%;
    height: 10%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 12px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}

/* Medium Mobile Profile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  :root {
    --profile-name: "medium_mobile";
    --debug-font-size: 9px;
  }

  .project-nav-btn {
    border-top: 2px solid #0000cd;
  }

  .left-align {
    border-right: 2px solid #0000cd;
  }

  .right-align {
    border-left: 2px solid #0000cd;
  }

  .project-desc-box {
    border-top: 2px solid #0000cd;
    border-bottom: 2px solid #0000cd;
  }

  .project-nav-btn {
    font-size: large;
    border-top: 2px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: medium;
  }

  .dynamic-text-bottom-right {
    font-size: small;
  }

  .main-container {
    top: 10%;
    right: 5%;
    bottom: 5%;
    left: 12%;
    border-top: 3px solid #0000cd;
    border-left: 3px solid #0000cd;
    border-bottom: 3px solid #0000cd;
    flex-direction: column;
  }

  .footer {
    right: 5%;
    left: 12%;
    height: 7%;
    border-left: 3px solid #0000cd;
  }

  .left-container {
    width: 100%;
    height: 70%;
  }

  .left-container::-webkit-scrollbar {
    width: 3px;
  }

  .right-container {
    width: 100%;
    height: 30%;
    border-top: 3px solid #0000cd;
    flex-direction: row;
  }

  .right-top {
    border-right: 3px solid #0000cd;
    padding: 1%;
    width: 50%;
    height: 100%;
  }

  .right-bottom {
    border-right: 3px solid #0000cd;
    width: 50%;
    height: 100%;
  }

  .corner-image-star {
    top: -73px;
    left: -60px;
    width: 100px;
    height: 100px;
  }

  .corner-image-eye {
    top: -12px;
    left: -12px;
    width: 21px;
    height: 21px;
  }

  .top-nav {
    top: -0.5%;
    right: 5%;
    left: 12%;
    height: 10%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 13px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}

/* Large Mobile/Tablet Profile (768px - 991px) */
@media (min-width: 768px) and (max-width: 1250px) {
  :root {
    --profile-name: "large_mobile/tablet";
    --debug-font-size: 10px;
  }

  .project-nav-btn {
    border-top: 4px solid #0000cd;
  }

  .left-align {
    border-right: 4px solid #0000cd;
  }

  .right-align {
    border-left: 4px solid #0000cd;
  }

  .project-desc-box {
    border-top: 4px solid #0000cd;
    border-bottom: 4px solid #0000cd;
  }

  .project-nav-btn {
    font-size: x-large;
    border-top: 4px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: x-large;
  }

  .dynamic-text-bottom-right {
    font-size: medium;
  }

  .main-container {
    top: 20%;
    right: 6%;
    bottom: 8%;
    left: 13%;
    border: 5px solid #0000cd;
  }

  .footer {
    right: 6%;
    left: 13%;
    height: 8%;
    border-left: 5px solid #0000cd;
  }

  .left-container {
    width: 60%;
  }

  .left-container::-webkit-scrollbar {
    width: 5px;
  }

  .right-container {
    width: 40%;
  }

  .right-top {
    padding: 2%;
  }

  .right-bottom {
    border-top: 5px solid #0000cd;
  }

  .corner-image-star {
    top: -131px;
    left: -108px;
    width: 180px;
    height: 180px;
  }

  .corner-image-eye {
    top: -21px;
    left: -20px;
    width: 36px;
    height: 36px;
  }

  .top-nav {
    top: 11.5%;
    right: 6%;
    left: 13%;
    height: 8%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 13px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}

/* Standard Desktop Profile (1080p: 1225px - 1919px) */
@media (min-width: 1225px) and (max-width: 1920px) {
  :root {
    --profile-name: "desktop_default";
    --debug-font-size: 10px;
  }

  .project-nav-btn {
    border-top: 4px solid #0000cd;
  }

  .left-align {
    border-right: 4px solid #0000cd;
  }

  .right-align {
    border-left: 4px solid #0000cd;
  }

  .project-desc-box {
    border-top: 4px solid #0000cd;
    border-bottom: 4px solid #0000cd;
  }

  .project-nav-btn {
    font-size: xx-large;
    border-top: 4px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: xx-large;
  }

  .dynamic-text-bottom-right {
    font-size: x-large;
  }

  .main-container {
    top: 20%;
    right: 10%;
    bottom: 10%;
    left: 15%;
    border: 5px solid #0000cd;
  }

  .footer {
    right: 10%;
    left: 15%;
    height: 10%;
    border-left: 5px solid #0000cd;
  }

  .left-container::-webkit-scrollbar {
    width: 5px;
  }

  .right-top {
    padding: 5%;
  }

  .right-bottom {
    border-top: 5px solid #0000cd;
  }

  .corner-image-star {
    top: -145.265px;
    left: -119.8px;
    width: 200px;
    height: 200px;
  }

  .corner-image-eye {
    top: -25px;
    left: -23px;
    width: 42px;
    height: 42px;
  }

  .top-nav {
    top: 10%;
    right: 10%;
    left: 15%;
    height: 10%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 14px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}

/* Medium Desktop Profile (1920px - 2559px) */
@media (min-width: 1921px) and (max-width: 2559px) {
  :root {
    --profile-name: "desktop_medium";
    --debug-font-size: 12px;
  }

  .project-nav-btn {
    border-top: 5px solid #0000cd;
  }

  .left-align {
    border-right: 5px solid #0000cd;
  }

  .right-align {
    border-left: 5px solid #0000cd;
  }

  .project-desc-box {
    border-top: 5px solid #0000cd;
    border-bottom: 5px solid #0000cd;
  }

  .project-nav-btn {
    font-size: xxx-large;
    border-top: 5px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: xxx-large;
  }

  .dynamic-text-bottom-right {
    font-size: xx-large;
  }

  .main-container {
    top: 20%;
    right: 12%;
    bottom: 10%;
    left: 18%;
    border: 6px solid #0000cd;
  }

  .footer {
    right: 12%;
    left: 18%;
    height: 10%;
    border-left: 6px solid #0000cd;
  }

  .left-container::-webkit-scrollbar {
    width: 6px;
  }

  .right-top {
    padding: 6%;
  }

  .right-bottom {
    border-top: 6px solid #0000cd;
  }

  .corner-image-star {
    top: -182px;
    left: -150px;
    width: 250px;
    height: 250px;
  }

  .corner-image-eye {
    top: -30px;
    left: -28px;
    width: 50px;
    height: 50px;
  }

  .top-nav {
    top: 10%;
    right: 12%;
    left: 18%;
    height: 10%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 16px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}

/* Large Desktop Profile (2560px and above) */
@media (min-width: 2560px) {
  :root {
    --profile-name: "desktop_large";
    --debug-font-size: 14px;
  }

  .project-nav-btn {
    border-top: 7px solid #0000cd;
  }

  .left-align {
    border-right: 7px solid #0000cd;
  }

  .right-align {
    border-left: 7px solid #0000cd;
  }

  .project-desc-box {
    border-top: 7px solid #0000cd;
    border-bottom: 7px solid #0000cd;
  }

  .project-nav-btn {
    font-size: xxx-large;
    border-top: 7px solid #0000cd;
  }

  .titleShaded,
  .maskText {
    font-size: xxx-large;
  }

  .dynamic-text-bottom-right {
    font-size: xx-large;
  }

  .main-container {
    top: 20%;
    right: 15%;
    bottom: 10%;
    left: 20%;
    border: 8px solid #0000cd;
  }

  .footer {
    right: 15%;
    left: 20%;
    height: 10%;
    border-left: 8px solid #0000cd;
  }

  .left-container::-webkit-scrollbar {
    width: 8px;
  }

  .right-top {
    padding: 8%;
  }

  .right-bottom {
    border-top: 8px solid #0000cd;
  }

  .corner-image-star {
    top: -219px;
    left: -180px;
    width: 300px;
    height: 300px;
  }

  .corner-image-eye {
    top: -37px;
    left: -34px;
    width: 60px;
    height: 60px;
  }

  .top-nav {
    top: 10%;
    right: 15%;
    left: 20%;
    height: 10%;
  }

  .name-text,
  .username-link,
  .email-text {
    font-size: 18px;
  }

  .debug-info {
    font-size: var(--debug-font-size);
  }
}
