@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  color: black;
}

footer > div > div > div > div > a {
  color: white;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
hr {
  margin: 0px;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

nav {
  margin: 0 auto;
  z-index: 9998;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border: 1px #cfcfcf solid;
  transition: max-height 1s ease !important;
}

#mobileNav {
  max-height: 0;
  visibility: hidden;
}




.shadow {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border: 1px #cfcfcf solid;
}

section {
  padding: 0 5%;
}

footer {
  padding: 0 5%;
}

.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
  height: 50px;
}

.track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 20s linear infinite;
}

.content {
  height: 10px;
  width: 400px;
  background-color: black;
  border-radius: 5px;
}

textarea:focus {
  outline: none;
}

  #aiSpace {
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
  }

  #aiSpace.ai-visible {
    transform: translateY(0%);
  }

  #aiSpace.ai-hidden {
    transform: translateY(100%);
  }

  #aiResponse > strong {
    font-size: 1.5rem;
  }

  #aiResponse{
    font-size: 1rem;
  }

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-animated-text {
  background: linear-gradient(270deg, #1a0232, #002e5f, #044132);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s ease infinite;
}

ul{
  padding: 0;
}

ul > li{
  list-style: none;
  margin: 1rem 0;
}

.head1{
  font-size: 2rem;
  font-weight: 600;
}

.desc{
  font-size: 1rem;
  margin: 1rem 0;
}

.descArea{
  margin: 1rem 0;
}


@media (max-width: 768px) {
  nav {
    width: 95%;
  }

  #navItems {
    display: none !important;
  }

  button > span {
    display: none !important;
  }

  button > img {
    display: block !important;
  }

  .NavButton {
    background-color: white !important;
    padding: 10px !important;
  }

  #heroDiv {
    width: 80% !important;
  }

  .projects-grid {
    grid-template-columns: 1fr !important;
  }

  .footerResp {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #overlay {
  display: block;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100vw;
  padding: 0;
  margin: 0;
  background-color: black;
  backdrop-filter: blur(2px);
  z-index: 9996;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#overlay.visible {
  opacity: 0.5;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

  .mobileNav {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.6s ease, visibility 0s linear 0.6s;
  }

  .mobileNav.open {
    max-height: 500px !important;
    visibility: visible !important;
    transition: max-height 0.9s ease, visibility 0s ;
  }

  #aiSpace{
    z-index: 9999;
  }

  #aiResponse{
    width: 90% !important;
  }
}
