@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

* {
  scroll-behavior: smooth;
}
/* General styles */
body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

header {
  position: relative;
  text-align: center;
  color: white;
  width: 100vw; /* Ensure the header is a square */
  height: 100vh; /* Ensure the header is a square */
  background-size: contain; /* Cover the entire header */
  background-attachment: fixed;
  overflow: hidden; /* Ensure the content inside the header doesn't overflow the rounded corners */
  z-index: 1; /* Ensure the header is below the nav */
  margin: 0 auto; /* Center the header horizontally */
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  overflow: hidden;
  filter: blur(5px) brightness(78%);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.text-overlay {
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tech {
  background-color: #d5d1b1;
  color: #000;
  padding: 4em;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  z-index: 20;
  height: max-content;
}

.tech .sidebar {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100dvh;
}

.tech .sidebar .sidebar-text {
  writing-mode: vertical-rl;
  font-size: 2em;
  font-weight: 800;
}

.tech .content {
  padding: 4em;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  width: 100%;
  height: 100%;
}

.tech-category {
  background-color: #000000;
  color: #ffcc00;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 20px;
  padding: 20px;
  font-family: "Syne", sans-serif;
  font-size: 0.8em; /* Adjusted font size for better readability */
  font-weight: 700;
  line-height: 1.5;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  height: min-content;
}

.tech-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.tech-category h2 {
  font-size: 1em;
  margin-bottom: 10px;
  color: #ffcc00;
  font-weight: 800;
}

.tech-category ul {
  list-style-type: none;
  padding: 0;
}

.tech-category li {
  margin-bottom: 0.5em;
  color: #fff;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .tech {
    flex-direction: column;
    padding: 2em;
  }

  .tech .content {
    padding: 2em;
    grid-template-columns: 1fr;
  }

  .tech-category {
    font-size: 0.9em;
    margin: 10px;
    padding: 15px;
  }

  .tech-category h2 {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .tech-category {
    font-size: 0.8em;
    margin: 5px;
    padding: 10px;
  }

  .tech-category h2 {
    font-size: 1em;
  }
}

@keyframes magicalGlow {
  0% {
    text-shadow: 0 0 2px #ff6ec4, 0 0 4px #ff6ec4, 0 0 6px #ff6ec4,
      0 0 8px #ff6ec4;
  }
  50% {
    text-shadow: 0 0 2px #f5a623, 0 0 4px #f5a623, 0 0 6px #f5a623,
      0 0 8px #f5a623;
  }
  100% {
    text-shadow: 0 0 2px #ff6ec4, 0 0 4px #ff6ec4, 0 0 6px #ff6ec4,
      0 0 8px #ff6ec4;
  }
}

.highlight {
  animation: magicalGlow 1s infinite;
  color: inherit; /* Ensure the text color remains unchanged */
  position: relative;
  display: inline;
}

/* Existing styles */

.header-content {
  position: relative;
  text-align: center;
  height: 100%;
}

.text-overlay {
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  position: relative;
}

.text-overlay h1 {
  font-size: 3em;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
  color: #fff;
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: bold;
}

.text-overlay p {
  font-size: 1.2em;
  margin: 10px 0;
}

/* Navigation bar styles */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 0;
  margin: auto;
  z-index: 10; /* Ensure the nav is above the header */
  background-color: rgba(
    0,
    0,
    0,
    0
  ); /* Optional: Add a background color to the nav */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

nav .nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px 15px;
  display: block;
  font-weight: 800;
  font-family: "Syne", sans-serif;
  background-color: #6600ff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: rgba(89, 0, 255, 0.01);
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
  border-radius: 5px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.follow-cursor {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Syne", sans-serif;
  font-size: 1em;
  color: #fff;
  pointer-events: none; /* Ensure the text doesn't interfere with mouse events */
  z-index: 1000; /* Ensure the text is above other elements */
  margin-left: 4em;
  margin-top: 2em;
  color: white;
}

.about .sidebar {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100%;
}

.about .sidebar .sidebar-text {
  writing-mode: vertical-rl;
  font-size: 2em;
  font-weight: 800;
}

.about {
  background-color: #000;
  color: #000;
  padding: 4em;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  background-color: #d5d1b1;
  z-index: 20;
}

.about .content {
  padding: 4em;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
}

marquee {
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  color: blanchedalmond;
}

.social .sidebar {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100%;
}

.social .sidebar .sidebar-text {
  writing-mode: vertical-rl;
  font-size: 2em;
  font-weight: 800;
}

.social {
  background-color: #000;
  color: #fff;
  padding: 4em;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 200vh;
  overflow: hidden;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  background-color: #000000;
  z-index: 20;
}

.social .content {
  padding: 4em;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
}

.taggbox {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  width: 80vw;
  height: 100%;
  font-family: "Syne", sans-serif;
  font-weight: 800;
}
.taggbox::-webkit-scrollbar {
  display: none;
}

.physical .sidebar {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100%;
}

.physical .sidebar .sidebar-text {
  writing-mode: vertical-rl;
  font-size: 2em;
  font-weight: 800;
}

.physical {
  background-color: #000;
  color: #000;
  padding: 4em;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 200vh;
  overflow: hidden;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  background-color: #d5d1b1;
  z-index: 20;
}

.physical img {
  width: 50%;
  aspect-ratio: 9/32;
  object-fit: cover;
}

.physical .content {
  padding: 4em;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.projects .sidebar {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100vh;
}

.projects .sidebar .sidebar-text {
  writing-mode: vertical-rl;
  font-size: 2em;
  font-weight: 800;
}

.projects {
  background-color: #000;
  color: #ffffff;
  padding: 4em;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  overflow: hidden;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  background-color: #000;
  z-index: 20;
}

.projects .content {
  padding: 4em;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.read-more {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.read-more:hover {
  text-decoration: underline;
}

.project-card {
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 20px;
  padding: 20px;
  font-family: "Syne", sans-serif;
  font-size: 0.6em;
  font-weight: 700;
  line-height: 1.5;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  height: min-content;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.project-card h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffcc00;
  font-weight: 800;
}

.project-card p {
  margin-bottom: 15px;
}

.project-card a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 800;
}

.project-card a:hover {
  text-decoration: underline;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}

.project-card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.project-card p {
  margin-bottom: 15px;
}

.project-card a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 800;
}

.project-card a:hover {
  text-decoration: underline;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}

.icon {
  display: none;
}

.contact .sidebar {
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100%;
}

.contact .sidebar .sidebar-text {
  writing-mode: vertical-rl;
  font-size: 2em;
  font-weight: 800;
}

.contact {
  background-color: #000;
  color: #fff;
  padding: 4em;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  background-color: #000;
  z-index: 20;
}

.contact .content {
  padding: 4em;
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
  height: 100%;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  overflow: hidden;
}

/* Media Queries for Mobile Compatibility */
@media (max-width: 768px) {
  .text-overlay h1 {
    font-size: 2em;
  }

  .text-overlay p {
    font-size: 1em;
  }

  nav {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.8);

    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    z-index: 100;
  }

  .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #c300ff;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
  }

  .nav-links {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100dvh;
    height: 88dvh;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    overflow-x: hidden;
    z-index: 100;
  }

  .nav-links li {
    margin: 20px 0;
    z-index: 110;
  }

  .nav-links a {
    font-size: 1em;
    background-color: transparent;
  }

  .about,
  .social,
  .physical,
  .projects {
    padding: 2em;
    flex-direction: column;
    height: auto;
  }

  .about .content,
  .social .content,
  .physical .content,
  .projects .content {
    padding: 2em;
  }

  .physical img {
    width: 100%;
  }

  .project-card {
    font-size: 1em;
  }

  .contact {
    flex-direction: column;
    height: 200dvh;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-inline: 0;
  }

  .contact .content {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding-inline: 0;
  }
  .makeforms-js-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
  }
}

footer {
  background: url("./BG-FT.png") no-repeat center center;
  background-size: cover;
  background-position: fixed;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: "syne", sans-serif;
  font-weight: 800;
  width: 100%;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.5);
  background-attachment: fixed;
  backdrop-filter: blur(300px) brightness(10%) saturate(0%);
}

.footer-text {
  font-size: 1.8rem;
  color: #fff;
  position: absolute;
  text-shadow: 0 0 10px #f8bc69;
}

::-webkit-scrollbar {
  display: none;
}

