@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated to include h2 for general gradient effect */
h1, h2, h3, p{
  color: transparent;
  background: linear-gradient(90deg,rgb(222, 222, 223) 0%, rgb(237, 238, 238) 50%, rgba(242, 242, 242, 1) 100%);
  background-clip: text;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  background: #1b1b1b;
  font-family: 'Space Grotesk', sans-serif;
  padding: 60px;
  gap: 100px;
}

body.no-scroll {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-thumb {
  background-color: #00ff6a;
  border-radius: 15px;
}

/* Header & Nav */

.header {
  display: flex;
  position: fixed;
  align-items: center;
  top: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  padding: 40px;
  backdrop-filter: blur(3px);
  /* box-shadow: 0 1px 10px #000000;
  background: #1b1b1b; */
  z-index: 999;
}

.header.hide {
  transform: translateY(-100%)
}

.hamburger {
  position: fixed;
  flex-direction: column;
  justify-content: center;
  right: 0;
  gap: 5px;
  z-index: 1;
  padding-right: 40px;
  transition: transform 0.3s ease-in-out;
}

.hamburger.hide {
  transform: translateY(-100%);
}

.ham {
  width: 40px;
  height: 5px;
  background: #00ff6a;
}

#close-x, #close-y{
  transition: transform 0.3s ease-in-out;
}

#remove {
  transition: transform 0.3s ease-in-out;
  transform: translateX(0%);
}

#remove.remove {
  transform: translateX(260%);
}

#remove.add {
  transform: translateX(0%);
}

#close-x.animation {
  position: relative;
  transform: rotate(50deg);
}

#close-y.animation {
  position: absolute;
  margin-bottom: 7.5px;

  transform: rotate(-50deg);
}

.menu-scroll {
  position: fixed;
  right: 0;
  top: 0;
  height: 10%;
  width: 100%;
  justify-content: flex-end;
  z-index: 1000;
}

.menu-scroll.open {
  height: 100%;
  backdrop-filter: blur(1.2px);
}

.info {
  display: flex;
  right: 0;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100vh;
  width: 65%;
  background: #252525;
  box-shadow: -7px 0 10px 2px rgba(0, 0, 0, 0.05);
  transform: translateX(110%);
  transition: transform 0.3s ease-in-out;
}

.info.open {
  transform: translateX(0);
}

.info ul {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.info ul li {
  list-style-type: none;

}

.info ul li a{
  text-decoration: none;
  color: white;
}

.info span {
  color: #00ff6a;
}


.cursor {
  position: absolute;
  overflow: hidden;
  height: 100px;
  width: 100px;
  background: linear-gradient(to top,rgba(51, 51, 51, 0.5), rgba(255,255,255, 0));
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
} 

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav img {
  width: 3%;
}

nav ul {
  display: flex;
  gap: 90px;
}

nav ul li {
  list-style-type: none;
}

nav ul li span {
  color: #00ff6a;
}

nav ul li a {
  display: flex;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
}


section {
  z-index: 1;
}

/* Social + Email Side Panel */

#scfo {
  position: fixed;
  left: 0;
  width: 100%;
  padding: 60px;
  display: flex;
  height: 100vh;
  justify-content: space-between;
  align-items: center;
  padding-top: 16rem;
}

#scfo .socials {
  display: flex;
  flex-direction: column;
  gap: 40px;
  filter: invert();
}

.socials img {
  width: 30%;
}

.email {
  display: flex;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.email h3 {
  font-weight: 100;
  font-size: 1rem;
}

/* Container & Hero */

.container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  gap: 200px;
  z-index: 100;
}

#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70%;
  color: white;
  gap: 1.875rem;
  padding-top: 150px;
  padding-bottom: 200px;
}

#hero h1 {
  font-family: 'Inter', sans-serif; /* Add Inter if you imported it */
  font-size: 4rem;
}

#hero h3 {
  font-weight: 300;
  font-size: 1.25rem;
  color: #00ff6a;
}

#hero p {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  width: 45%;
}

#hero p span {
  color: #00ff6a;
}

#hero button {
  width: 30%;
  height: 60px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #00ff6a;
  color: white;
  font-size: 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: 0.3s ease;
}

#hero button:hover{
  background: rgba(0, 255, 106, 0.1);
}

/* About Me Section */

#about-me {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Changed from h1 to h2 for the "About Me" heading */
.container h2 {
  font-family: "Inter", sans-serif;
  margin-bottom: 3rem;
  color: white;
  width: 100%;
  text-align: left;
}

/* Changed from h1 to h2 for the "About Me" heading span */
.container h2 span {
  font-family: 'Space Grotesk', sans-serif;
  color: #00ff6a;
  font-size: 1.25rem;
}

.inner {
  display: flex;
  align-items: center;
  width: 70%;
 color: transparent;
  background: linear-gradient(90deg,rgb(222, 222, 223) 0%, rgb(237, 238, 238) 50%, rgba(242, 242, 242, 1) 100%);
  background-clip: text;  font-family: 'Space Grotesk', sans-serif;
}

.inner ol {
  width: 80%;
      margin-left: 2rem;
}

.inner ol li{
  margin-bottom: 1.25rem;
}

.inner p {
  margin-bottom: 1.25rem;
  width: 85%;
  font-family: 'Space Grotesk', sans-serif;
}

.inner span {
  color: #00ff6a;
}

.inner .img {
  width: 100%;
  display: flex;
  justify-content: center;
}
/* .inner .img .bg{
  width: 100%;
  height: 190.48px;
  background: #00ff6a;
  margin-left: 0rem;
} */

/* make the container the background and use the image as overlay and set z-index */

.inner img {
  width: 100%;
  height: auto;
  align-self: center;
}

#projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.875rem;
}

/* Changed from h1 to h2 for the "Projects" heading */
#projects .project-num {
  margin-bottom: 40px;
}
.project-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  
}

.project {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  width: 400px;
  background: #37393d;
  border-radius:5px;
  transition: transform 0.3s ease;
  padding: 3rem 0;
}

.project-info {
  width: 80%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  gap: 3.5rem;
}

.project:hover {
  transform: translateY(-10px);
}

.project-text {
  display: flex;
  width: 100%;
  flex-direction: column;
    gap: 0.7rem;
  justify-content: center;
}

/* Changed from h1 to h2 for project titles */
.project h2{
  margin-bottom: 0px;
  width: 85%;
  color: transparent;
  background: linear-gradient(to left, #00ff6a, #64ce92);
  background-clip: text;
}

.project p {
  width: 85%;
 color: transparent;
  background: linear-gradient(90deg,rgb(222, 222, 223) 0%, rgb(237, 238, 238) 50%, rgba(242, 242, 242, 1) 100%);
  background-clip: text;}

.project .img {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.project .img a{
  display: flex;
  justify-content: flex-end;
}

        #testimonial {
            padding: 0 120px ;
            min-height: auto;
        }
 
        .testimonial-block {
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 72px 0;
            display:flex;
            max-width: 40rem;
            flex-direction: column;
            gap: 80px;
            align-items: center;
        }
 
        .testimonial-meta {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
 
        .testimonial-name {
            font-size: 1rem;
            font-weight: 700;
            color: white;
        }
 
        .testimonial-role {
            font-size: 0.8rem;
            font-weight: 400;
            color: grey;
            line-height: 1.5;
        }
 
        .testimonial-role a {
            color: #00ff6a;
            border-bottom: 1px solid transparent;
            transition: border-color 0.2s;
        }
 
        .testimonial-role a:hover { border-bottom-color: #00ff6a; }
 
        .testimonial-quote {
            font-family: var(--serif);
            font-size: clamp(1.4rem, 2.5vw, 2rem);
            font-style: italic;
            font-weight: 400;
            line-height: 1.5;
            color: white;
            position: relative;
        }
 
        .testimonial-quote::before {
            content: '\201C';
            font-size: 5rem;
            line-height: 0;
            color: #00ff6a;
            position: absolute;
            top: 20px;
            left: -48px;
            opacity: 0.4;
        }

.project .img .folder {
  width: 12%;
  height: auto;
  align-self: center;
}

.project .img .redirect {
    filter: invert();
  width: 30%;
  height: auto;
  align-self: center;
}

#newsletter {
  background: url('images/newsletter-cover.png');
  background-size: cover;
}

#project-text {
  width: 100%;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Changed from h1 to h2 for newsletter heading */
#project-text h2 {
  font-size: 2rem;
  width: 100%;
  text-align: center;
  animation: text-glow 1.5s ease-in-out infinite; /* 2s duration, smooth timing, repeats forever */
}

.testes {
  position: absolute;
  max-width: 20%;
  border-radius: 100%;
  right: 290px;
}

@keyframes text-glow {
0% {
text-shadow: 0 0 2px rgba(0, 255, 106, 0.4); 
}
50% {
text-shadow: 0 0 5px rgba(0, 255, 106, 0.7); 
}
100% {
text-shadow: 0 0 2px rgba(0, 255, 106, 0.4); 
}
}
/*#projects button,*/ #contact button{
  width: 15%;
  height: 60px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #00ff6a;
  color: white;
  font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 4rem;
  transition: 0.3s ease;
}

#contact button:hover {
  background: #00ff6a;
  background: rgba(0, 255, 106, 0.1);
}

#contact {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Changed from h1 to h2 for "Contact" heading */
#contact .contact{
  font-size: 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 100;
  text-align: center;

}

/* Changed from h1 to h2 for "Let's Work" heading */
#contact .msg {
  font-size: 4rem;
   color: transparent;
  background: linear-gradient(90deg,rgb(222, 222, 223) 0%, rgb(237, 238, 238) 50%, rgba(242, 242, 242, 1) 100%);
  background-clip: text;
  text-align: center;
}

#contact a {
  text-decoration: none;
  color: white;
}

#contact button {
  margin: 0rem;
}

#contact img {
  filter: invert();
  transform: rotate(45deg);
}

footer {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(87, 86, 86);
  padding-bottom: 1.5rem;
  text-align: center;
  gap: 6rem;
}

  iframe#beehiiv-embed {
    width: 100%;
    border: none;
    overflow: hidden;
  }

footer p a{
  text-decoration: none;
  color: #336849;
}

footer .socials {
  display: none;
}

@media (max-width: 480px) {

  body {
    padding: 30px;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
  }

  .container {
    width: 100%;
  }

  .cursor {
    display: none;
  }

  nav {
    padding: 0;
  }

  nav img{
    width: 14%;
  }
  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #scfo {
    display: none;
  }

  #hero {
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
    align-items: left;
    gap: 1.25rem;
    padding-top: 250px;
    padding-bottom: 250px;
  }

  #hero h3{
    font-size: 1.1rem;
  }

  #hero h1 {
    font-size: 2.2rem;
  }

  #hero p {
    font-size: 1rem;
    width: 80%;
  }

  #hero button {
    width: 70%;
    font-size: 1rem;
    margin-top: 40px;
  }

  #about-me {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: left;
    justify-content: left;
    margin: 0;
  }

  /* Specific media query adjustment for h2 in about-me */
  #about-me .inner h2 {
    font-size: 1.25rem; /* Adjust if needed to match original h1 size */
  }

  #about-me .inner {
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    width: 100%;
  }

  #about-me .inner img {
    margin-top: 2.5rem;
    width: 70%;
  }

  #about-me .inner div p{
    width: 100%;
  }

  .project-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(0, auto);
    gap: 20px;
  }
  
  .project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  /* Specific media query adjustment for h2 in projects */
  .project h2 {
    font-size: 1.25rem;
    width: 100%;
  }

  .project p {
    width: 90%;
    font-size: 0.8rem;
  }

  #contact img {
    transform: rotate(45deg);
  }

  #contact button {
    width: 60%;
  }

  /* Specific media query adjustment for h2 in contact */
  #contact .contact, #contact .msg {
    font-size: 1.25rem; /* Adjust if needed */
  }
  #contact .msg {
    font-size: 2.2rem; /* Adjust if needed */
  }

  #iframe {
    width: 100%;
  }

  .testes {
    right: 70px;
  }


  footer {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  footer .socials {
    display: flex;
  }

  footer .socials img {
    filter: invert();
    width: 30%;
  }

}

/* Ipad */

@media (min-width: 768px) and (max-width: 1024px) {

  body {
    padding: 120px;
  }
  .cursor {
    display: none;
  }

    #hero p {
    width: 80%;
  }

  #hero button {
    width: 75%;
  }

  #about-me {
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: left;
    justify-content: left;
    margin: 0;
  }

  /* Specific media query adjustment for h2 in about-me */
  #about-me .inner h2 {
    font-size: 1.8rem; /* Adjust if needed */
  }

  #about-me .inner {
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    width: 100%;
  }

  #about-me .inner img {
    margin-top: 2.5rem;
    width: 70%;
  }

  #about-me .inner div p{
    width: 100%;
  }

  #scfo {
    margin: 0;
    padding: 25px;
  }

  .project-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
  }
  
  .project {
     display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  /* Specific media query adjustment for h2 in projects */
  .project h2 {
    font-size: 1.25rem;
    width: 100%;
  }

  .project p {
    font-size: 0.75rem;
    font-weight: 100;
    width: 100%;
  }

  .project .img {

    display: fixed;
    top: 0;
  }

  .project .img .folder {
    width: 15%;
  }

  #contact button {
    width: 40%;
  }

   #iframe {
    width: 100%;
  }

  /* Specific media query adjustment for h2 in contact */
  #contact .contact, #contact .msg {
    font-size: 1.8rem; /* Adjust if needed */
  }
  #contact .msg {
    font-size: 4rem; /* Adjust if needed */
  }
}

@media (min-width: 768px) {
  .hamburger, .menu-scroll {
    display: none;
  }
}

@media (min-width: 540px) and (max-width: 600px) {
   .cursor {
    display: none;
  }

     nav {
    padding: 0;
  }

  nav img{
    width: 14%;
  }
  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #scfo {
    display: none;
  }

  #hero {
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
    align-items: left;
    gap: 1.25rem;
    padding-top: 250px;
    padding-bottom: 250px;
  }

  #hero h3{
    font-size: 1.1rem;
  }

  #hero h1 {
    font-size: 2.2rem;
  }

  #hero p {
    font-size: 1rem;
    width: 80%;
  }

  #hero button {
    width: 65%;
    font-size: 1rem;
    margin-top: 40px;
  }


  .project-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
  }
  
  .project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    height: auto;
    width: 100%;
    overflow: hidden;
    padding: 48px;
  }

  /* Specific media query adjustment for h2 in projects */
  .project h2 {
    width: 85%;
  }

  .project p {
    font-size: 0.75rem;
    font-weight: 100;
    width: 100%;
  }

  .project .img {

    display: fixed;
    top: 0;
  }

  .project .img .folder {
    width: 15%;
  }

  #contact button {
    width: 40%;
  }

  #about-me {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: left;
    justify-content: left;
    margin: 0;
  }

  /* Specific media query adjustment for h2 in about-me */
  #about-me .inner h2 {
    font-size: 1.25rem; /* Adjust if needed */
  }

  #about-me .inner {
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    width: 100%;
  }

  #about-me .inner img {
    margin-top: 2.5rem;
    width: 70%;
  }

  #about-me .inner div p{
    width: 100%;
  }

    .project-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(0, auto);
    gap: 20px;
    width: 100%;
  }
  
  .project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    height: auto;
    width: 100%;
    overflow: hidden;
    padding: 4rem 3rem;
  }

  /* Specific media query adjustment for h2 in projects */
  .project h2 {
    width: 100%;
  }

  .project p {
    width: 90%;
    font-size: 0.8rem;
  }

  /* Specific media query adjustment for h2 in contact */
  #contact .contact, #contact .msg {
    font-size: 1.25rem; /* Adjust if needed */
  }
  #contact .msg {
    font-size: 2.2rem; /* Adjust if needed */
  }
}



@media (min-width: 3840px) {
  
}