#first-heading {
  font-family: "Playwrite ES Deco", cursive;
  z-index: 0;
  text-align: left;
  padding-left: 0px;
  padding-top: 0px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(255, 0, 195, 0.9);*/
  color: rgb(0, 0, 0);
  
}

#name {
  /*width: 100px;*/
  /*font-family: "Playwrite HU", cursive;*/
  height: auto;
  padding-left: 100px;
  padding-top: 15px;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-family: "Cormorant SC", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
}

#name-chinese {
  /*width: 100px;*/
  /*font-family: "Ma Shan Zheng", cursive;*/
  font-family: "LXGW WenKai Mono TC", monospace;
  font-weight: 300;
  height: auto;
  padding-left: 100px;
  padding-top: 15px;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 25px;
}

@media (max-width: 310px) {
  #name {
    display: none;
  }
  #name-chinese {
    display: none;
  }
}

.other-headings{
  display: flex;
  flex-direction: row;
  gap: 20px; /* Space between the two headings */
  justify-items: right;
  margin-right: auto 0px;
  position:absolute;
  right:150px;
  top:40px
}

#about-me-heading {
  font-family: "Playwrite HU", cursive;
  z-index: 0;
  text-align: left;
  padding-left: 0px;
  padding-top: 30px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
}
@media (max-width: 600px) {
  #about-me-heading {
    display: none;
  }
  #project-heading {
    display: none;
  }
  #project-heading-chinese {
    display: none;
  }
}

#project-heading {
  font-family: "Playwrite HU", cursive;
  z-index: 0;
  text-align: left; 
  padding-left: 10px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
  text-decoration: none;

}
#project-heading-chinese {
  font-family: "Noto Serif SC", serif;
  z-index: 0;
  text-align: left;
  padding-left: 10px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 30px;

}

/* Noto Serif Georgian - Normal - 400 */
.noto-serif-georgian {
  font-family: "Noto Serif Georgian", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.header-1 {
  display: flex; 
  justify-content: space-between; /*Horizontally space items */
  align-items: center;/*Vertically center items */
  font-size: 20px;
  top: auto 0px;
  position: fixed;
  background-color: rgb(255, 255, 255);
  width: 100%;
  z-index: 10004;
  top:0px

}

body {
  margin: 0;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  
}
html, body {
  margin: 0;
}



/* START OF HAMBURGER MENU CSS */
/*THIS IS ONLY CSS FOR THE HAMBURGER MENU*/
/*WARNING: CONFUSION AHEAD*/
/*LINK TO VIDEO: https://www.youtube.com/watch?v=aNDqzlAKmZc */

/* off-screen menu for hamburger */
.off-screen-menu {
  display: none;
  height: 100%;
  width: 20%;
  min-width: 200px;
  background-color: rgb(255, 255, 255);
  position: fixed;
  display: flex;
  /*flex-direction: column;*/
  /*justify-content: center;*/
  transition: 0.3s ease;
  top: 0%;
  z-index: 1000;
  right: -4000px;
  align-items: left;
  text-align: left;
  transition: 0.3s ease;
  box-shadow: -0.9ch -.9ch 0.9ch rgba(139, 103, 138, 0.2); 

}

.off-screen-menu.active {
  right: 0px;
}

nav {
  padding: 3rem;
  display: flex;
  background-color: rgb(255, 255, 255);
  
}

.hamburger-menu {
  height: 40px;
  width: 40px; 
  margin-left: auto 0px;
  position: fixed;
  background-color: transparent; /* add color to see and adjust the clickable area */
  top: 40px;
  right: 50px; /* Adjust position based on mini-intro padding */;
  z-index: 1003;
  padding: 1px;
}

.hamburger-menu:hover {
  cursor: pointer;
}

.hamburger-menu span {
  height: 3px;
  width: 40px; 
  background-color: rgb(207, 78, 216);
  border-radius: 25px;
  top: 0%;
  align-items: right;
  transform: translate(-2.5px, -50%);
  transition: 0.3s ease;
  z-index: 1001;
  position: fixed;
  /*display: none;*/
}

/* "Child stuff" meaning the 3 different lines*/
.hamburger-menu span:nth-child(1) {
  top: 50px;
  right:48px;
  background-color: rgb(128, 36, 153);
}
.hamburger-menu span:nth-child(2) {
  top: 60px;
  right:48px;
  background-color: rgb(174, 72, 202);
}
.hamburger-menu span:nth-child(3) {
  top: 70px;
  right:48px;
  background-color: rgb(206, 130, 227);
}

.hamburger-menu.active span:nth-child(1) {
  top: 57px;
  transform: translate(-50%, -0%) rotate(45deg);
  background-color: rgb(250,190,230);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  top: 57px;
  transform: translate(-50%,0%) rotate(-45deg);
  background-color: rgb(250,190,230);
}

.menu-items {
  font: 20px ;
  /*font-family: "Quicksand", sans-serif;*/
  font-weight: 400;
  z-index: 2;
  text-align: left;
  padding-left: 0px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
  text-decoration: none; /* Removes underlines from the links */
  background-color: transparent;
  padding-bottom: 30px;
  display: block;
  font-family: "Cormorant SC", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
}
.hindi-menu-items {
  font: 20px ;
  z-index: 2;
  text-align: left;
  padding-left: 0px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
  text-decoration: none; /* Removes underlines from the links */
  background-color: transparent;
  padding-bottom: 30px;
  display: block;
  font-family: "Martel", serif;
  font-weight: 300;
  font-style: normal;
  
}


.cn-menu-items {
  font: 20px ;
  /*font-family: "Quicksand", sans-serif;*/
  z-index: 2;
  text-align: left;
  padding-left: 0px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
  text-decoration: none; /* Removes underlines from the links */
  background-color: transparent;
  padding-bottom: 30px;
  display: block;
  font-family: "LXGW WenKai Mono TC", monospace;
  font-weight: 300;
  font-style: normal;
  font-size: 25px;
}

.menu-items-2 {
  font: 20px ;
  font-family: "Noto Serif Georgian", serif;
  z-index: 2;
  text-align: right;
  padding-left: 0px;
  /*text-shadow: .1ch .1ch 0.1ch rgba(230, 186, 220, 0.9);*/
  color: rgb(0, 0, 0);
  text-decoration: none; /* Removes underlines from the links */
  background-color: transparent;
  margin-bottom: 30px;
}

.menu-items-container {
  align-items: left;
  height: 900px;
  padding-top: 100px;
  padding-right: 100px;
  background-color: transparent;
  padding-left: 20px;
}


/*@media (max-width: 600px) {
  .hamburger-menu span {
    display: block;
  }
}*/
/* END OF HAMBURGER MENU CSS */
/*THIS WAS ONLY CSS FOR THE HAMBURGER MENU*/
/*YAY: CONFUSION IS DONE (FOR NOW)*/







/* Mini intro stuff */
.intro-text {
  font-family: "Noto Serif Georgian", serif;
  z-index: -1;
  text-align: left;
  padding-top: 30px;
  color: rgb(0, 0, 0);
  /*padding-right: 40px;*/
  max-width: 600px;
  margin-bottom: 40px;
}
.me-photo {
  width: 100%;
  height: auto;
  border-radius: 0px;
  /*display: block;*/
  margin-bottom: 40px;
  overflow: hidden;
  object-fit: cover;/* keeps ratio so I can crop */
  flex-shrink: 0; /* important: prevents squishing */
  align-self: flex-start; /* prevents flex from stretching it vertically */
  padding: 0px;
}

.mini-intro {
  padding-top: 90px;
  padding-left: 10%;
  padding-right: 10%;
  margin-left: 0px;
  margin-right: 0px;
  /*display: flex; */
  justify-content: center;
  z-index: 0;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  margin-top: 50px;

  position: relative;
  display: inline-block;
}

.icon-link{
  position: absolute;
  top: 100px;        /* adjust as needed */
  right: 11%;      /* adjust as needed */
  background: white; 
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.5);
  z-index: 10000000;
}

.icon-link svg{
  width: 24px;
  height: 24px;
  z-index: 10000000;
}


.icon-link-2{
  position: absolute;
  top: 40px;        /* adjust as needed */
  right: 10px;      /* adjust as needed */
  background: rgba(255,255,255,0.8); 
  padding: 2px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  z-index: 1000;
}

.icon-link-2 svg{
  width: 24px;
  height: 24px;
  z-index: 10000000;
}

.icon-link-2:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.3s;
}




/*desmos projects gallery*/

.projects {
  padding: 45px;
  display: flex; 
  justify-content: space-around;
  z-index: 0;
  overflow-wrap: anywhere;
  flex-wrap: wrap;
  align-items: left;
  margin-left: 0px;
}

.desmos-gif {
  width: 300px;
  height: 300px;
  border-radius: 0px;
  display: block;
  margin-left:0px;
  margin-right: 0px;
  margin-top: 30px;
  overflow: hidden;
  object-fit: cover;/* keeps ratio so I can crop */
  flex-shrink: 0; /* important: prevents squishing */
  align-self: flex-start; /* prevents flex from stretching it vertically */
  
}
.desmos-gif:hover {
  /*cursor: pointer;*/
  transform: scale(1.05);
  transition: transform 0.3s;
  filter: brightness(50%);
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centers horizontally + vertically */
  color: white;
  font-size: 1.3rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
  font-family: "Klee One", cursive;
  font-size: 30px;
  font-style: bold;
}


.hindi-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centers horizontally + vertically */
  color: white;
  font-size: 1.3rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
  font-family: "Martel", serif;
  font-weight: 300;
  font-size: 30px;
  font-style: bold;
}

.cn-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centers horizontally + vertically */
  color: white;
  font-size: 1.3rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
  font-family: "Klee One", cursive;
  font-size: 30px;
  font-style: bold;
}

.project {
  position: relative;
  display: inline-block;
}

/* Show text on hover */
.project:hover .hover-text, .project:hover .cn-hover-text ,.project:hover .hindi-hover-text {
  opacity: 1;
}

/* Footer styles */
.footer {
  background-color: rgb(250, 235, 250);
  display:flex;
  justify-content: left;
  width: 100%;
  flex-wrap: wrap;
  margin-top: auto;
}

.footer-column{
  padding-right: 70px;
  padding-left: 30px;
  padding-bottom: 30px;
  padding-top: 30px;
  font-family: "Quicksand", sans-serif;
  
}

.footer-text{
  margin-bottom: 20px;
}

#join-button{
  height: 35px;
  line-height: 35px;
  padding: 0 30px;
  margin-left: 10px;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(120, 120, 120);
  color: rgb(98, 98, 98);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
}

#email{
  height: 30px;
  width: 200px;
  line-height: 30px
}

.newsletter{
  align-items: center;
  align-items: center;
  line-height: 40px;
  display: flex;
}

.winning-text {
  font-family: "quicksand", serif;
  z-index: -1;
  text-align: center;
  padding-top: 20px;
  color: rgb(0, 0, 0);
  /*padding-right: 40px;*/
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}