body {
  margin: 0; /* remove default margin from body */
  background-color: #1e1e1e;
}

html {
  cursor: none;
  font-size: 16px !important;
  line-height: 1.2 !important;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #ffffff;
}

.cursor.hover {
  -webkit-transform: scale(1.5) translate(-30%, -30%);
          transform: scale(1.5) translate(-30%, -30%);
}

.cursor {
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 50%;
  z-index: 999;
  pointer-events: none;
  background-color: rgb(255, 255, 255);
  mix-blend-mode: difference;
}

.container_button {
  position: fixed;
  top: 50%;
  right: -200px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px;
  border-radius: 5px 0 0 5px;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  z-index: 999;
}

.container_button label {
  color: #fff;
  margin-right: 10px;
  font-family: "Chivo Mono", monospace;
}

.container_button input[type=range] {
  -webkit-appearance: none;
  width: 500px;
  height: 20px;
  background: rgba(255, 255, 255, 0);
  border-radius: 50px;
  outline: none;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.container_button input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #1e1e1e; /* Change this color to your desired thumb color */
  cursor: pointer;
  border-radius: 50%;
  border: solid 1px #ffffff;
  -webkit-transform: translate(0, -45%);
          transform: translate(0, -45%);
  margin-top: -6;
}

.container_button input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #1e1e1e; /* Change this color to your desired thumb color */
  cursor: pointer;
  border-radius: 50%;
  border: solid 1px #ffffff;
}

.container_button input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #ffffff; /* Change this color to your desired track color */
  border-radius: 50px;
  -webkit-transform: translate(0, -30%);
          transform: translate(0, -30%);
}

.container_button input[type=range]::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #ffffff; /* Change this color to your desired track color */
  border-radius: 50px;
}

#gallery {
  margin-top: 50px;
}

.slider-container {
  position: fixed;
  top: 50%;
  right: -230px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px;
  border-radius: 5px 0 0 5px;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  z-index: 999;
}

.slider-container label {
  color: #fff;
  margin-right: 10px;
  font-family: "Chivo Mono", monospace;
}

.slider-container input[type=range] {
  -webkit-appearance: none;
  width: 500px;
  height: 20px;
  background: rgba(255, 255, 255, 0);
  border-radius: 50px;
  outline: none;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.slider-container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #1e1e1e; /* Change this color to your desired thumb color */
  cursor: pointer;
  border-radius: 50%;
  border: solid 1px #ffffff;
  -webkit-transform: translate(0, -45%);
          transform: translate(0, -45%);
  margin-top: -6;
}

.slider-container input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #1e1e1e; /* Change this color to your desired thumb color */
  cursor: pointer;
  border-radius: 50%;
  border: solid 1px #ffffff;
}

.slider-container input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #ffffff; /* Change this color to your desired track color */
  border-radius: 50px;
  -webkit-transform: translate(0, -30%);
          transform: translate(0, -30%);
}

.slider-container input[type=range]::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #ffffff; /* Change this color to your desired track color */
  border-radius: 50px;
}

header {
  width: 100%; /* make header full width */
  padding-left: 40px; /* keep padding for inner content */
  padding-right: 40px;
  background-color: #1e1e1e;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* or you can use box-sizing to include padding in width */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: "Chivo Mono", monospace;
}

.logo {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; /* Adjust to space out the elements */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%; /* Ensure the logo spans the full width */
}

.logo img {
  position: absolute;
  top: 50px;
  max-width: 90vw;
  /* Make the logo image responsive */
  height: auto;
  -webkit-filter: invert(100%);
          filter: invert(100%); /* Invert the color of the image */
}

.logo > span:nth-child(1) {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  margin-top: -400px;
  margin-left: -900px;
}

.logo > span:nth-child(2) {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  margin-top: -100px;
  width: 100%;
}

.nav {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  position: absolute;
  top: 125px;
  right: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px; /* Add gap between navigation links */
  font-size: 1.5vw;
  margin: 20px; /* Add some margin for spacing */
}

.nav a {
  color: #bc51ff;
  text-decoration: none;
}

a:hover {
  color: #ccc;
  cursor: none;
}

@font-face {
  font-family: "MyCustomFont";
  src: url("/img/NewFont-Regular.woff") format("truetype");
}
.logo span {
  font-family: "MyCustomFont", sans-serif;
  font-size: 45vw;
  position: absolute;
  top: 50px;
}

.nav a {
  color: #bc51ff;
  text-decoration: none;
  margin-left: 20px;
}

a:hover {
  color: #ccc;
  cursor: none;
}

.container {
  margin-top: 110vh;
  margin-left: 25px;
  color: white;
  width: 80vw;
  position: relative;
  z-index: 998;
}

.background-image-body {
  z-index: 997;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.project-list {
  list-style-type: none;
  padding: 0;
}

.project-list li {
  font-size: 1.7rem;
  border-top: 1px solid white;
  height: 10vh;
  padding-left: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; /* add this */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* add this */
  /* justify-content: center; */
  position: static; /* add this */
}

.last_project {
  border-bottom: 1px solid white;
  margin-bottom: 100px;
}

.project-list li:hover {
  background-color: #1e1e1e;
  color: rgb(255, 255, 255);
}

.project-list strong {
  font-weight: 400;
}

.strong strong {
  font-size: 15px;
}

.project-list span {
  font-weight: 100;
  font-size: 15px;
  color: #bc51ff;
}

.project-list li:hover .project-popup {
  visibility: visible; /* add this */
  opacity: 1; /* add this */
}

.project-popup {
  position: fixed; /* add this */
  top: 50%; /* add this */
  left: 50vw; /* add this */
  -webkit-transform: translate(0%, -50%);
          transform: translate(0%, -50%); /* add this */
  visibility: hidden; /* add this */
  opacity: 0; /* add this */
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s; /* add this */
  z-index: 100;
  padding: 1rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.project-popup img {
  width: 700px; /* adjust the width and height to your liking */
  margin: 10px;
  border-radius: 10px;
}

.project-popup video { /* adjust the width and height to your liking */
  margin: 10px;
  border-radius: 10px;
  width: 700px;
}

.project-popup p {
  font-size: 15px;
}

.side-image {
  position: fixed; /* add this */
  top: 112.5% !important; /* add this */
  left: 30vw; /* add this */
  z-index: 999;
  width: 60vw;
  visibility: hidden; /* add this */
}

.my-work-btn {
  color: #bc51ff; /* change to your desired color */
  border: none;
  padding: 10px 20px;
  font-size: 1.5em;
  cursor: pointer;
  position: absolute;
  bottom: 6vh;
  right: 2.7vw;
  z-index: 999;
  /* Add a pseudo-element for the arrow */
  /* Animate the arrow */
  /* Define the animation keyframes */
}
.my-work-btn::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23ffF' viewBox='0 -960 960 960'%3E%3Cpath d='M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487h-80Z'/%3E%3C/svg%3E");
  background-size: contain;
  width: 2em;
  height: 2em;
  display: inline-block;
  position: absolute;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.my-work-btn.click:after {
  content: unset;
}
.my-work-btn::after {
  -webkit-animation: arrowAnim 1s ease-in-out infinite;
          animation: arrowAnim 1s ease-in-out infinite;
}
@-webkit-keyframes arrowAnim {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0.5em);
            transform: translateY(0.5em);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes arrowAnim {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0.5em);
            transform: translateY(0.5em);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}