* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

:root {
  --primary-color: #f59f59;
}

html {
  scroll-behavior: smooth;
}

.color-primary {
  color: var(--primary-color) !important;
}

.bg-white {
  background-color: white !important;
}

body {
  width: 100%;
  font-size: 14px !important;
}

li {
  list-style: none;
}

button:hover {
  cursor: pointer;
}

button:active {
  transform: translateY(4px);
}

/* ------------------------------ Navbar section starts here------------------------ */
#nav-menu {
  background-color: #111111;
  height: 70px;
  position: fixed;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
}

#nav-cont {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#hamb {
  display: none;
}

#nav-name {
  font-size: 25px;
  font-weight: 500;
  text-align: center;
}

#nav-name > a {
  color: white;
}

#nav-name > a span:hover {
  transition: all 0.3s ease-in-out;
  color: var(--primary-color);
}

#navbar-menu {
  width: 45%;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  font-size: 18px;
  font-weight: 500;
}

#navbar-menu a {
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

#nav-menu li {
  position: relative;
  transition: transform 0.2s;
}

#nav-menu li:hover a {
  transition: all 0.3s ease-in-out;
  color: var(--primary-color) !important;
}

#nav-menu li:hover a::before {
  position: absolute;
  content: "";
  bottom: -2px;
  background: var(--primary-color) !important;
  width: 78%;
  height: 2px;
}

#resume-button-1 {
  background-color: black;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.2s;
}

#resume-button-1:hover {
  transform: scale(1.1);
}

#resume-link-1 {
  color: white;
}

/* ------------------------------ Home section starts here------------------------ */
#home {
  background-color: #111111;
  padding: 100px 0;
}

.home-body {
  width: 80%;
  margin: 5rem auto;
  display: flex;
}

.home-left {
  width: 60%;
  color: white;
  padding-left: 10%;
  padding-top: 7%;
}

.home-right {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-right > img {
  width: 80%;
}

.home-left-summary {
  font-size: 18px;
}

#resume-button-2 {
  background-color: white;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 7px 14px;
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
  transition: transform 0.2s;
}

#resume-button-2:hover {
  transform: scale(1.1);
}

.button-resume {
  position: relative;
  overflow: hidden;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 1.3rem;
  background: #3d3a4e;
  background-size: 400%;
  color: #fff;
  border: none;
  cursor: pointer;
}

.button-resume:hover::before {
  transform: scaleX(1);
}

.button-content {
  position: relative;
  z-index: 1;
  color: white !important;
}

.button-resume::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    82.3deg,
    rgba(245, 159, 89, 1) 10.8%,
    rgba(245, 159, 89, 1) 94.3%
  );
  transition: all 0.475s;
}

#resume-link-2 {
  color: black;
}

/* ------------------------------ About section starts here------------------------ */
#about {
  background-color: #111111;
  padding: 70px 0;
}

#about > h1 {
  text-align: center;
  text-transform: uppercase;
  color: white;
}

.about-body {
  background-color: white;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  border-radius: 10px;
  width: 80%;
  margin: 50px auto;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  transition: transform 0.2s;
}

.about-body:hover {
  transform: scale(1.02);
}

.about-left {
  width: 2%;
  display: flex;
  align-items: center;
}

.img-div {
  width: 10%;
}

.img-div > img {
  width: 10%;
  border-radius: 10px;
}

.about-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-details > h4 {
  line-height: 30px;
}

#user-detail-intro {
  text-align: justify;
}

/* ------------------------------ Skills section starts here------------------------ */
#skills {
  background-color: #111111;
  padding: 75px 0;
  color: black;
}

#skills > h1 {
  text-align: center;
  text-transform: uppercase;
  color: white;
}

.skills-body {
  width: 80%;
  padding: 30px 0;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 30px;
}
.skills-body-stat {
  width: 80%;
  padding: 30px 0;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 30px;
}

.skills-card {
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  transition: transform 0.2s;
}

.skills-card:hover {
  transform: scale(1.1);
}

.skills-card > h3 {
  margin: 7px auto;
}

/* ----------------------------- Projects section starts here---------------------- */

#projects {
  background-color: #111111;
  color: white;
  padding: 75px 0;
}

#projects > h1 {
  text-align: center;
  text-transform: uppercase;
}

.projects-body {
  width: 80%;
  margin: auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px 20px;
}

.project-card {
  border-radius: 15px;
  margin: 10px auto;
  padding: 25px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.Skills-image-cont {
  width: 140px;
  height: 140px;
  margin-bottom: 1rem;
}

.Skills-image-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-img {
  width: 49%;
  height: 300px;
  background-color: black;
  border-radius: 7px;
  transition: transform 0.2s;
  min-height: 335px;
  object-fit: cover;
}

.project-img:hover {
  transform: scale(1.02);
}

.project-img > img {
  border: 3px solid black;
  border-radius: 7px;
  width: 100%;
  height: 100%;
}

.project-info {
  width: 49%;
  border: 3px solid black;
  border-radius: 10px;
  background-color: white;
  padding: 5px;
  color: black;
  text-align: center;
  min-height: 335px;
}

.project-info > h3 {
  text-transform: uppercase;
}

.project-info > p {
  margin-top: 10px;
  font-size: 17px;
}

.project-tech-stack {
  width: 95%;
  margin: 20px auto;
  display: flex;
  justify-content: space-evenly;
}

.project-tech-stack > div > img {
  width: 100%;
  height: 55px;
}

.project-buttons {
  width: 50%;
  margin: auto;
  display: flex;
  justify-content: space-around;
}

.project-buttons > a {
  transition: transform 0.2s;
}

.project-buttons > a:hover {
  transform: scale(1.1);
}

.project-github-link {
  font-size: 45px;
  color: black;
}

.project-deployed-link {
  font-size: 45px;
  color: black;
}

.project-deployed-link > button {
  background-color: black;
  border: none;
  color: black;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 17px;
}

/* ----------------------------- Contact section starts here---------------------- */
#contact {
  background-color: #111111;
  padding: 75px 0;
  color: white;
}

#contact > h1 {
  text-align: center;
  text-transform: uppercase;
}

.contact-body {
  width: 70%;
  margin: 60px auto;
  display: flex;
  justify-content: space-between;
}

.contact-text {
  background-color: white;
  width: 80%;
  height: auto;
  border-radius: 10px;
  padding: 30px;
}

.text {
  font-weight: 800;
  font-size: 28px;
}

@media only screen and (max-width: 600px) {
  .text {
    font-size: 20px;
  }
}

.contact-text > div {
  display: flex;
  height: 80%;
  flex-direction: column;
  margin-top: 10px;
  font-size: 19px;
}

.contact-text > div > * {
  margin: 10px 0;
  color: black;
  transition: transform 0.2s;
}

.contact-text > div > *:hover {
  cursor: pointer;
  transform: scale(1.05);
}

#contact-img {
  width: 45%;
}

#contact-img > img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.contact-left form {
  width: 90%;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background-color: white;
  padding: 10px;
  margin: 10px 0;
  color: black;
  font-size: 18px;
  border-radius: 6px;
}

form textarea {
  height: 90px;
}

form .btn2 {
  padding: 5px 20px;
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  border-style: none;
  background-color: black;
  color: white;
  transition: transform 0.2s;
}

form .btn2:hover {
  transform: scale(1.1);
}

/* ----------------------------- GitHib section starts here---------------------- */
#github {
  background-color: #111111;
  padding: 10px 0;
  color: white;
}

#github > h1 {
  text-align: center;
  text-transform: uppercase;
}

#github-stats {
  width: 85%;
  margin: 70px auto;
  display: flex;
  justify-content: space-between;
}

#github-stats > div {
  width: 32%;
}

#github-stats > div > img {
  width: 100%;
  height: 100%;
}

.react-activity-calendar {
  margin: 20px auto;
  width: 85%;
}

.calendar {
  width: 100%;
  margin: auto;
  background-color: white;
  padding: 20px;
  color: #bbdefb;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.calendar span {
  color: #bbdefb;
}

/* ----------------------------- Footer section starts here---------------------- */
#signature {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background-color: #111111;
  color: white;
  font-weight: 70;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px black;
  background-color: black;
}

::-webkit-scrollbar {
  width: 12px;
  background-color: red;
}

::-webkit-scrollbar-thumb {
  background-color: #05386b;
  border: 3px solid black;
}
