* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Archivo", sans-serif;
  font-style: italic;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #101010;
  color: white;
}
h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(rgb(110, 235, 129), rgb(180, 181, 180));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0px;
  text-align: center;
  font-family: "Caveat", cursive;
}

h2 {
  background: -webkit-linear-gradient(rgb(110, 235, 129), rgb(180, 181, 180));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-size: 40px;
  font-family: "Caveat", cursive;
}
h3 {
  background: -webkit-linear-gradient(rgb(110, 235, 129), rgb(180, 181, 180));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-size: 30px;
  text-align: center;
  font-family: "Caveat", cursive;
}
h4 {
  font-weight: 200;
  font-size: 20px;
}
a {
  text-decoration: none;
}
#navbar {
  position: fixed;
  z-index: 1;
  background-color: #ffffff;
  top: 0;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  width: 100%;
}
#navbar img {
  width: 65px;
  border-radius: 50%;
}
#nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav-menu .resume {
  margin: 0px;
}
#resume-button-1:hover {
  background-color: green;
  color: white;
}
#resume-button-1:active {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}
#resume-button-2:hover {
  background-color: green;
  color: white;
}
#resume-button-2:active {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.nav-link {
  font-size: 1rem;
  font-weight: 400;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
}

.nav-link:hover {
  color: #ffffff;
  background: green;
}
.nav-link:active {
  background: white;
  color: black;
}
.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: rgb(1, 242, 162);
}

#Contactofme {
  width: 80%;
  margin: auto;
  text-align: center;
  margin-top: 5%;
  margin-bottom: 5%;
}

#home {
  width: 80%;
  margin: auto;
  margin-top: 15%;
  margin-bottom: 10%;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#home img {
  border-radius: 10px;
  width: 200px;
  height: 200px;
}
#user-detail-name {
  font-size: 200%;
}
#user-detail-name #name {
  font-size: 250%;
  font-family: "Caveat", cursive;
}

#about {
  margin: auto;

  text-align: center;
}

#user-detail-intro {
  width: 80%;
  margin: auto;
  margin-bottom: 40px;
  text-align: justify;
}
#projects {
  margin-bottom: 5%;
}
#projectsflex {
  margin: auto;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 50px;
  column-gap: 10px;
}
.project-card {
  text-align: center;
  width: 100%;
  height: 450px;
  overflow-x: hidden;
  
  border-radius: 10px;
  box-shadow: rgba(169, 169, 169, 0.35) 0px 5px 15px;
}
.project-card img {
  text-align: center;
  width: 85%;
  height: 40%;
}
.project-github-link,
.project-deployed-link,
.resume,
.contactlinks {
  border-radius: 10px;
  text-decoration: none;
  color: white;
  margin: 10px;
  padding: 10px;
  background-color: rgb(1, 242, 162);
  margin-bottom: 40px;
}
.project-github-link:hover,
.project-deployed-link:hover,
.contactlinks:hover {
  background-color: green;
}
.project-github-link:active,
.project-deployed-link:active,
.contactlinks:active {
  transform: scale(0.85);

  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
}
.project-tech-stack {
  margin-bottom: 20px;
}

.skills-card-img {
  width: 50%;
}
#skills {
  margin: auto;
}
#skillsflex {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  text-align: center;
}
#stats {
  margin-top: 100px;
}
#stats_div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  width: 100%;
}
#stats_div > div:first-child {
  width: 47%;
}
#stats_div > div:last-child {
  width: 40%;
}
#stats_div img {
  width: 100%;
}
#calendar {
  margin: auto;
  width: 100%;
  margin-top: 5%;
  margin-bottom: 5%;
}
.contrib-column {
  display: none;
}
.react-activity-calendar {
  margin: auto;
  width: 70%;
}
.styles_calendar__kghkr {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.project-tech-stack strong {
  color: rgb(1, 242, 162);
}
@media only screen and (max-width: 640px) {
  #nav-menu {
    position: absolute;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
    color: #101010;
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin: 8px 0px;
  }
  .nav-link {
    color: #101010;
    padding: 10px 0px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    margin: 4px;
  }
  .nav-link:active {
    background: white;
    color: black;
  }
  #nav-menu.active {
    left: 0;
  }
  #navbar {
    width: 100%;
  }
  #navbar img {
    width: 65px;
    border-radius: 50%;
  }
  #home {
    width: 90%;
    display: block;
    margin-top: 20%;
  }

  #home img {
    margin-top: 20px;
    /* border-radius: 50%; */
    width: 150px;
    height: 165px;
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  #projectsflex {
    margin: auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 50px;
  }
  .project-card {
    height: 410px;
  }
  #stats_div {
    display: block;
    width: 60%;
    margin: auto;
  }
  #stats_div > div:first-child {
    width: 100%;
  }
  #stats_div > div:last-child {
    width: 100%;
  }

  #skillsflex {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  #Contactofme {
    width: 40%;
  }
  .contactlinks {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    margin: 2px;
    padding: 5px;
    background-color: rgb(1, 242, 162);
  }
  #user-detail-name {
    font-size: 30px;
  }
  #user-detail-name #name {
    font-size: 200%;
  }
  #user-detail-intro {
    width: 90%;
    margin-bottom: 10px;
    text-align: justify;
  }
  .react-activity-calendar {
    margin: auto;
    width: 90%;
  }
}
img {
  transition: transform 0.4s; /* Animation */
  margin: 20px 0px;
  /* border-radius: 10px; */
}
img:hover {
  transform: scale(1.2);
  /* border: 1px solid red; */
 filter: drop-shadow(rgba(135, 135, 135, 0.35) 0px 5px 15px);  
}
@media only screen and (max-width: 300px) {
  #skillsflex {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-github-link,
  .project-deployed-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
  }
  .project-card {
    height: 100%;
  }
  .project-tech-stack {
    margin: 0px;
  }
  .contactlinks {
    display: flex;
    justify-content: center;
    margin-left: -20px;
    margin-right: -20px;
  }
  #contact h2 {
    font-size: 25px;
  }
  #user-detail-name {
    font-size: 20px;
  }
  #home {
    margin-top: 110px;
  }
}
