html {
  overflow-x: hidden;
  /* disable horizontal scrolling */
}

body {
  margin: 0;
  background-color: #e9ebe8;
  /* overflow-x: hidden; */
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

a {
  color: black;
  text-decoration: none;
  /* optional: removes underline */
}

p a:hover {
  text-decoration: underline;
}

a .material-symbols-outlined {
  font-size: 25px;
}

.bungee-shade-regular {
  font-family: "Bungee Shade", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 10px;
  width: 100%;
  margin: auto;
  align-items: end;
  padding-top: 10px;
}

.tech-item {
  text-align: center;
}

.tech-icon {
  width: clamp(10px, 8vw, 40px);
  /* height: auto; */
  display: block;
  margin: 0 auto;
}

.material-symbols-outlined {
  display: block;
  margin: 0 auto;
  width: clamp(10px, 8vw, 45px);
}

.tech-label {
  margin-top: 8px;
  font-weight: bold;
  font-size: clamp(10px, 5vw, 12px);
}

/* CONTAINER 1 */
.container-content1 {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
}

.container-content1 .row,
.container-content2 .row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.container-content1 .column,
.container-content2 .column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.container-content1 .column-left {
  padding-left: clamp(10px, 10vw, 150px);
  width: clamp(280px, 60vw, 700px);
}

.container-content1 .column-right {
  height: 100vh;
  align-items: start;
}


.container-content1 p {
  width: 100%;
  font-size: 18px;
}

.container-content1 h1,
.container-content2 h1 {
  font-family: "Bungee Shade", sans-serif;
  font-size: clamp(40px, 6vw, 70px);
  margin: 0;
}

.container-content3 h1,
.container-content4 h1,
.container-content5 h1 {
  font-family: "Bungee Shade", sans-serif;
  font-size: clamp(40px, 6vw, 40px);
  margin: 0;
}

.container-content1 .coding-svg {
  width: min(calc(50vw - 200px), calc(50vh - 50px));
  height: auto;
  display: block;
}

.container-content2 .rounded-img {
  width: clamp(200px, 30vw, 350px);
  height: auto;
  border-radius: 175px 175px 0 175px;
  position: static;
}

.container-content2 .column-left {
  align-items: end;
  height: 100%;
  width: 100%;
  position: relative;
}

.container-content2 .column-right {
  padding-left: clamp(10px, 10vw, 90px);
  padding-right: clamp(10px, 90vw, 40px);
  flex: 4;
  height: 100%;
  align-items: start;
  justify-content: center;
}

.container-content2 p {
  width: clamp(320px, 50vw, 600px);
  text-align: justify;
  font-size: 18px;
}

.container-content2 .aboutme-mobile {
  display: none;
}


:root {
  --marquee-width: min(100vw, 1600px);
  --marquee-height: 30vh;
  --marquee-elements: 7;
  /*exclude the duplicated ones*/
  --marquee-element-displayed: 4;
  --marquee-element-width: calc(var(--marquee-width)/var(--marquee-element-displayed));
  --marquee-animation-duration: calc(var(--marquee-elements)*2s);
}

.container-content3 .marquee {
  /* background-color: darkgrey; */
  width: var(--marquee-width);
  height: var(--marquee-height);
  margin: 0 auto;
  overflow: hidden;
  /* position: absolute; */
  z-index: 8;
}

.container-content3 .marquee:before,
.container-content3 .marquee:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

.container-content3 .marquee:before {
  left: 0;
  background: linear-gradient(to right, #e9ebe8 0%, transparent 100%);
}

.container-content3 .marquee:after {
  right: 0;
  background: linear-gradient(to left, #e9ebe8 0%, transparent 100%);
}

.container-content3 .marquee-content {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  height: 100%;
  animation: scrolling var(--marquee-animation-duration) linear infinite;
}

.container-content3 .marquee-content:hover {
  animation-play-state: paused;
}

.container-content3 .marquee-content li {
  display: flex;
  justify-content: center;
  align-items: start;
  text-align: center;
  /* border: 3px solid teal; */
  flex-shrink: 0;
  font-size: calc(var(--marquee-height)*2/3);
  white-space: nowrap;
  width: calc(var(--marquee-element-width) - 42px);
  /*border pixel and margin*/
  z-index: 8;
  margin-right: 40px;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.433);
  border-radius: 30px;
  /* width: 20vw; */
}

.container-content3 .marquee-content p {
  font-size: 14px;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }

  /* 100% {transform: translateX(-180%);} */
  100% {
    transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
  }
}

@media (max-width: 1280px) {
  :root {
    --marquee-element-displayed: 3;
  }
}

@media (max-width: 968px) {
  :root {
    --marquee-element-displayed: 2;
  }

  .container-content3 .marquee:before,
  .container-content3 .marquee:after {
    width: 3rem;
  }
}

@media (max-width: 575px) {
  :root {
    --marquee-element-displayed: 1.4;
  }

  .container-content3 .marquee:before,
  .container-content3 .marquee:after {
    width: 3rem;
  }
}

.container-content3 h1,
.container-content4 h1,
.container-content5 h1 {
  padding-top: clamp(10px, 20vh, 20px);
  padding-bottom: 25px;
  padding-left: clamp(100px, 30vw, 50px);
}

.container-content4 {
  position: relative;
  /* padding: 20px 20px 20px 20px; */
  width: 100%;
  height: 100%;
}

.container-content4 .rec {
  position: absolute;
  width: clamp(200px, 50vw, 420px);
  height: clamp(150px, 20vh, 200px);
  display: flex;
  align-items: center;
  z-index: 7;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.929);
  border-radius: 30px;
  padding: 2px 10px 2px 10px;
}

.container-content4 .rec1 {
  left: 15vw;
  top: 15vh;
}

.container-content4 .rec2 {
  right: 10vw;
  top: 42vh;
}

.container-content4 .rec3 {
  left: 25vw;
  bottom: 8vh;
}

.container-content5 {
  background-color: #e9ebe8;
  align-items: start;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.container-content5 .wrapper {
  justify-content: center;
  display: flex;
  height: 100%;
  /* border: 1px solid; */
  display: flex;
  overflow-x: scroll;
  /* width: clamp(365px, 90vw, 1600px) */
  width: 100%;
}

.container-content5 .wrapper::-webkit-scrollbar {
  width: 0;
}

.container-content5 .item {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  max-width: 320px;
  /* height: 25vh; */
  height: calc(100vh /2 - 105px);
  margin: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 14px;
}

/* .container-content5 .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} */

.project-title {
  font-size: 1.4rem;
  margin: 0 0 8px 0;
  color: #333;
}

.project-desc {
  font-size: 0.9rem;
  color: #666;
  /* flex-grow: 1; */
}

.project-tech {
  display: flex;
  gap: 10px;
  /* margin: 12px 0; */
}

.project-tech span {
  background: #e0e0e0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #444;
}

.project-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  font-size: 0.85rem;
}

.status {
  /* font-weight: bold; */
  background: rgba(1, 163, 1, 0.876);
  height: 15px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: white;
}

.visit-link {
  text-decoration: none;
  color: #1976d2;
  font-weight: 500;
}

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

.project-image {
  text-align: center;
  margin-top: 15px;
}

.project-image img {
  height: 15vh;
  object-fit: contain;
}

.container-content5 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 46, 46, 0.6);
  /* semi-transparent black */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  z-index: 10;
}

.container-content6 {
  position: absolute;
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.container-content6 h1 {
  font-family: "Bungee Shade", sans-serif;
  /* font-size: clamp(25px, 50vw, 40px); */
  text-align: center;
  font-size: clamp(30px, 5vw, 70px);
  margin: 0;
}

.container-content6 p {
  margin: 0;
  font-size: .9rem;
  text-align: center;
}

.svg-container .svg-mobile {
  display: none;
}

/* This width should be calculated */
@media (max-width: 1280px) {
  .container-content5 .wrapper {
    margin: 0px;
    justify-content: start;
  }
}

@media (max-width: 768px) {
  .container-content1 .column-right {
    display: none;
  }

  .container-content1 .column-left {
    /* padding-right: clamp(40px, 10vw, 50px) */
    padding-left: 30px;
    /* padding-right: 20px; */
    width: clamp(280px, 90vw, 500px);
  }

  .container-content2 .row {
    flex-direction: column;
  }

  .container-content2 .rounded-img {
    position: absolute;
    top: calc(100vh/8);
    left: calc(100vw*.370);
  }

  .container-content2 .aboutme-mobile {
    display: block;
    position: absolute;
    top: calc(100vh*.4);
    left: calc(100vw*.20);
  }

  .container-content2 .aboutme-desktop {
    display: none;
  }

  .container-content2 .column-right {
    justify-content: start;
    align-items: center;
    padding-top: 120px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .container-content3 h1,
  .container-content4 h1,
  .container-content5 h1 {
    padding-left: 50px;
  }

  .container-content5 .wrapper {
    margin: 0px;
    justify-content: start;
  }

  .container-content4 .rec {
    position: absolute;
    width: 340px;
    width: clamp(280px, 50vw, 700px);
    height: 155px;
    z-index: 7;
    font-size: .85rem;
  }

  .container-content4 .rec1 {
    left: 5vw;
    top: 17vh;
  }

  .container-content4 .rec2 {
    right: 5vw;
    top: 43.5vh;
  }

  .container-content4 .rec3 {
    left: 5vw;
    bottom: 5vh;
  }

  .container-content2 h1,
  .container-content3 h1,
  .container-content4 h1,
  .container-content5 h1 {
    font-size: clamp(30px, 6vw, 70px);
    margin: 0;
  }

  .container-content6 p {
    width: 300px;
  }

  .svg-container .svg-desktop {
    display: none;
  }

  .svg-container .svg-mobile {
    display: flex;
  }
}

/* circle start */

.circle {
  will-change: transform, filter;
  /* background-color: #738fbd; */
  width: min(50vw, 300px);
  height: min(50vw, 300px);
  border-radius: 50%;
  position: relative;
  animation: one 15s infinite;
  z-index: 1;
  /* background: radial-gradient(circle, rgba(115, 143, 189, 0.5) 0%, transparent 70%); */
  /* filter: blur(30px);  */
  opacity: .5;
}

.circle-blue {
  animation: one 15s infinite;
  background: radial-gradient(circle, rgba(115, 143, 189, 0.5) 0%, transparent 70%);
}

.circle-pink {
  animation: two 15s infinite;
  background: radial-gradient(circle, #eec6c7 0%, transparent 70%);
}

@keyframes one {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(calc(min(98vw, 1600px) - 300px),
        calc(100vh - 300px));
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes two {
  0% {
    transform: translate(calc(98vw - 350px), 0);
  }

  25% {
    transform: translate(50vw, 25vh);
  }

  50% {
    transform: translate(0, 0);
  }

  75% {
    transform: translate(50vw, 25vh);
  }

  100% {
    transform: translate(calc(98vw - 350px), 0);
  }
}

/* circle end */

.svg-container {
  position: absolute;
  top: 0px;
  left: 10px;
  width: calc(min(100vw, 1600px) - 15px);
  /* vw - left padding, idk where the 15 came from*/
  height: calc(100vh*3 + 50vh*3);
  /* height of the contents */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.svg-container svg {
  width: 100%;
  height: 104.5%;
  z-index: 5;
  pointer-events: none;
}

.rounded-button {
  /* width: 150px; */
  display: flex;
  align-items: center;
  background-color: black;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  z-index: 6;
}

.rounded-button:hover {
  background-color: darkgray;
  z-index: 6;
}