* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html
{
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body
{
  background-color: #0d1117;
  color: #e6edf3;
  user-select: none;
  overflow-x: hidden;
}
.nav
{
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(50px);
  z-index: 10;
  height: 80px;
  width: 95%;
  margin-left: 2.5%;
  align-items: center;
  gap: 12px;
  border-bottom: 4px solid #30363d;
  border-radius: 2rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease-in-out, box-shadow 0.4s ease-in-out;
}
.nav:hover {
  border-bottom-color: #49ff18;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
#nav-content {
  display: flex;
  align-items: center;
  width: 100%;
  height: 70px;
  padding: 0 3%;
  gap: 15px;
}
.nav-link
{
  color: #e6edf3;
  display: inline-block;
  margin-top: 30px;
  text-decoration: none;
}
.title {
  text-decoration: none;
  display: inline-block;
  font-size: 1.3rem;
}
.title h1 {
  font-family: 'Space Grotesk', sans-serif;
  color: #e6edf3;
  margin: 0;
  font-size: inherit;
}
.nav-link.link-bt
{
  color:whitesmoke;
  transition: color 0.2s ease-in;
}
.nav-link:hover
{
  color:#00FF00;
}
.nav-link.link-bt:hover
{
  text-decoration: line-through;
  color: #00FF00;
}
#stitle
{
  margin-left: auto;
  margin-top: 2rem;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px #49ff18, 0 0 20px rgba(73, 255, 24, 0.4);
}
#nav-section
{
  display: flex;
  gap: 2rem;
  margin-left: 2rem;
  flex-grow: 1;
  list-style: none;
}
main
{
  padding-top: 90px;
}
#loading-div
{
  display: flex;
  position: fixed;
  z-index: 9999;
  width:100vw;
  height: 100vh;
  background-color: #0d1117;
}
#loading-content
{
  margin:auto;
  color: #00ff00;
  font-size: 1.8rem;
  font-family: 'Fira Code', monospace;
}
#loading-content::after
{
  content: '|';
  animation: blink 1.7s infinite;
}
#loading-div.terminated
{
  animation: shrink 0.5s ease forwards;
}
#main-msg {
  display: block;
  margin-top: 10rem;
  text-align: center;
  color: #00FF00;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
}

#main-submsg {
  display: block;
  margin: 1.5rem auto 0 auto;
  text-align: center;
  color: #a1a1aa;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 680px;
  line-height: 1.6;
}
#main-vsbtn
{
  display: block;
  border-radius: 15px;
  width: 200px;
  height: 50px;
  background-color: #00FF00;
  color: #000000;
  font-weight: 600;
  font-size: large;
  cursor: pointer;
  text-align: center;
  margin: 4.2rem auto 0 auto;
  transition: all 0.2s ease-in-out;
}
#main-vsbtn:hover
{
  background-color: transparent;
  color: #e6edf3;
  transform: scale(1.03);
}
#main-btnholder
{
  text-decoration: none;
  background-color: #00FF00;
  color: #0d1117;
}
.skills-icons
{
  font-size: 2.5rem;
  margin: auto 2.1rem;
  transition: all 0.3s ease, color 0.5s ease;

}
.skills-icons:hover
{
  color: #00FF00;
  transform: scale(1.1);
  transform: translateY(-5px);
}
#skills-marquee
{
  overflow: hidden;
  margin-top: 7rem;
  height: 65px;
  box-shadow: 0px 2px 10px rgba(134, 203, 190, 0.998);
  transition: all 0.9s ease-in-out !important;

}z
#skills-marquee:hover
{
  transform: scale(1.02) !important;
}
#marquee-content
{
  display: flex;
  gap: 2rem;
  height: 65px;
}
#main-projects
{
  margin-top: 65px;
  scroll-margin-top: 90px;
}
#projectmain-title
{
  font-size: 2.4rem;
  color: #00FF00;
  margin-left: 8rem;
  font-weight: 600;
  font-family: 'Fira Code', monospace;
  width: 200px;
}
.underline
{
  display:block;
  width:60px;
  height: 3px;
  margin-top: 8px;
  background-color: #00FF00;
  border-radius: 4px;
  transition: width .4s ease;
}
#projectmain-title:hover .underline
{
  width: 95px !important;
}
#project-container
{
  display: grid;
  grid-template-columns: 1fr;
  margin: 2rem auto;
  gap: 3rem;;
}
.project-div
{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #0d1117;
  border: 1.5px solid #8ffa9d;
  border-radius: 12px;
  gap: 1.5rem;
  width: 85vw;
  margin-left: 10vw;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
  transition: transform 0.2s ease-in-out !important;
  overflow: hidden;
}
.project-div:hover
{
  transform: scale(1.02) !important;
}
.project-image
{
  width: 18rem;
  max-width: 100%;
  height: auto;
  object-fit:contain;
  border-radius: 18px;
  padding: 1rem;
  justify-self: center;
  flex-shrink: 0;
}
.project-info
{
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}
.project-title
{
  font-size: 1.5rem;
  font-weight: 800;
  color: #e6edf3;
  transition: color 0.2s ease-in-out;
}
.project-title:hover {
  color: #bcfebc;
}
.project-description
{
  color: #a1a1aa;
  font-size: 0.95rem;
}
.project-achievements {
  list-style:repeating-linear-gradient(#9aff9a, #8fe8fa);
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}
.achievement-item {
  position: relative;
  cursor: pointer;
  width: fit-content;
  transition: color 0.1s ease-in-out;
}
.achievement-item:hover {
  color: #c5fcc5;
}
.achievement-item::after {
  content: '';
  position: absolute;
  width: 0;
  background-color: #baffd6;
  border-radius: 20rem;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  transition: width 0.4s ease-in-out;
}
.achievement-item:hover::after {
  width: 98%;
}
.project-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 10px;
}
.stack-tag {
  margin: 0;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
}
.stack-text {
  font-size: 0.8rem;
}
.project-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 0.75rem;

}
.project-links > span {
  margin-right: 5px; 
  font-weight: 600;
}
.project-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.project-link-item:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
.project-link-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}
.project-link-item i {
  font-size: 1.5rem;
}
#main-contact
{
  display: flex;
  flex-direction: column;
  margin-top: 6rem;
  scroll-margin-top: 90px;
}
#contact-title
{
  font-size: 2.6rem;
  color: #00FF00;
  margin-left: 8rem;
  font-weight: 600;
  font-family: 'Fira Code', monospace;
  width: 200px;
  height: 20px;
}
#contact-title:hover .underline
{
  width: 95px !important;
}
#contact-msg
{
  display: block;
  margin: 6rem auto 0 auto;
  font-size: 2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
}
.contact-link
{
  display: inline-block;
  text-decoration: none;
  font-size: 2.3rem;
  margin-left: 10px;
  width: 50px;
  transition: transform color 0.5s ease-in-out;
}
.contact-link:hover
{
  color: #00FF00 !important;
  transform: scale(1.1) !important;
}
#clinks-div
{
  display: flex;
  flex-direction: row;
  margin: 4rem auto;
}
#contact-email
{
  color: #D93025;
}
#contact-git
{
  color:#30363d
}
footer
{
  margin: 100px auto;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
#main-contribution {
  scroll-margin-top: 90px;
}
#contribmain-title
{
  font-size: 2.6rem;
  color: #00FF00;
  margin-left: 8rem;
  font-weight: 600;
  font-family: 'Fira Code', monospace;
  width: 600px;
  height: 20px;
}
#contribmain-title:hover .underline
{
  width: 95px !important;
}
#contribution-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  width: 80%;
  height: auto;
  margin-left: 10%;
  margin-top: 6rem;
}
.contribution-div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  min-height: 200px;
  border: 1px solid black;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(130deg, #161b22 0%, #161b22 80%, rgba(76, 215, 76, 0.19) 100%);  
  backdrop-filter: blur(10px);
  flex: 1 1;
  transition: all ease-in 0.2s !important;
}
.contribution-div:hover
{
  transform: scale(1.05) !important;
  box-shadow: 3px 5px 14px 2px rgba(0,255,0,0.32) !important;
  -webkit-box-shadow: 3px 5px 14px 2px rgba(0,255,0,0.32) !important;
  -moz-box-shadow: 3px 5px 14px 2px rgba(0,255,0,0.32) !important;
}
.contrib-ident {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 50%;
  align-items: center;
}.contrib-info {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 20px;
}
.contrib-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}
.contrib-title {
  font-size: 1.2rem;
  width: 100% !important;
  font-weight: bold;
  color: #e6edf3;
}
.contrib-desc {
  line-height: 1.2;
  color: gainsboro;
  font-weight: lighter;
  text-align: center;
}
.contrib-git {
  display: inline-block;
  color: #00FF00;
  text-decoration: none;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
}
.contrib-footer {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding: 1rem;
}

.contrib-footer::before {
  content: '';
  position: absolute;
  width: 95%;
  background-color: #baffd6;
  border-radius: 20rem;
  height: 3px;
  left: 50%;
  border-radius: 20rem;
  pointer-events: none;
  transform: translateX(-50%);
  top: -10px;
  transition: width 0.2s ease-in-out;
}
.contribution-div:hover .contrib-footer::before {
  width: 100%;
}


@media only screen and (max-width: 600px) 
{
  #nav-content {
    justify-content: space-between;
    padding: 0 1.5rem;
    gap: 8px;
  }
  #nav-section {
    display: flex;
    gap: .7rem;
    width: auto;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  #stitle
  {
    display: none;
  }

  #loading-content
  {
    font-size: 1.5rem;
  }
  #main-msg, #main-submsg
  {
    margin-top: 11rem;
    font-size: 1.1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  #main-submsg
  {
    margin-top: 2.2rem;
    font-size: .8rem;
  }
  .skills-icons
  {
    font-size: 1.5rem;
    margin: auto 1.1rem;
  }
  #skills-marquee
  {
    margin-top: 10rem;
    height: 65px;
    box-shadow: 0px 2px 10px rgba(134, 203, 190, 0.998);
  }
  #skills-marquee:hover
  {
    transform: scale(1.02) !important;
  }
  #marquee-content
  {
    display: flex;
    gap: 2rem;
    height: 65px;
  }
  #contribmain-title
  {
    font-size: 1.5rem;
    margin-left: 2rem;
  }
  .contribution-div {
    width: 90%;
    padding: 10px;
    border-radius: 1rem;
    margin-left: 2%;
  }
  #contact-title {
    font-size: 1.5rem;
    margin-left: 2rem;
  }
  #contact-msg {
    font-size: 1rem;
  }
  #projectmain-title {
    font-size: 1.5rem;
    margin-left: 2rem;
  }
  .project-div {
    flex-direction: column;
    align-items: center;
  }
  .project-links {
    align-items: center;
  }
  
}


@keyframes blink
{
  0%, 50%, 100%
  {
      opacity: 1;
  }
  25%, 75%
  {
      opacity: 0;
  }
}
@keyframes shrink
{
  0%
  {
      transform: scale(1);
      opacity: 1;
  }
  100%
  {
      transform: scale(0.5);
      opacity: 0;
  }
}
