html {
  scroll-behavior: smooth;
}

/* Say Hello CSS */
.nav-hello-button {
  padding-top: 0.5em;
  width: 10em;
  height: 3.5em;
  position: relative;
  height: 3.5em;
  border: 3px ridge #149cea;
  outline: none;
  background-color: transparent;
  color: black;
  transition: 1s;
  border-radius: 0.3em;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 1rem;
}

.nav-hello-button::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: white;
  transition: 0.5s;
  transform-origin: center;
}

.nav-hello-button::before {
  content: "";
  transform-origin: center;
  position: absolute;
  top: 80%;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: white;
  transition: 0.5s;
}

.nav-hello-button:hover::before,
.nav-hello-button:hover::after {
  transform: scale(0);
}

.nav-hello-button:hover {
  box-shadow: inset 0px 0px 25px #1479ea;
}
.navOptions:hover {
  color: red;
}
@media (max-width: 578px) {
  .navLinks {
    display: none;
  }
  .nav-hello-button {
    width: 33%;
    height: 60%;
  }
}

/* main Photo CSS */
.mainPhoto {
  background-image: url("public/Home Page/mainPhoto.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* logoAfterName */
.logoAfterName {
  background-image: url("public/Home Page/logoAfterName.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Selection Disable */
.usn {
  user-select: none;
}

/* Social Media Links */
.github-Link {
  background-image: url("public/Home Page/github.png");
}

.X-Link {
  background-image: url("public/Home Page/X.png");
}

.linkedin-Link {
  background-image: url("public/Home Page/linkedin.png");
}

.insta-Link {
  background-image: url("public/Home Page/instagram.png");
}
.links {
  height: 3rem;
  width: 3rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

@media (max-width: 640px) {
  .links {
    height: 2rem;
    width: 2rem;
  }
}

/* About Section CSS */
.aboutSection {
  background-color: rgb(44, 44, 44);
  height: auto;
}
.aboutSectionTextArea {
  width: 100%;
}
@media (max-width: 768px) {
  .aboutSectionTextArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.675rem /* 14px */;
    line-height: 1.5rem; /* 20px */
  }
}
.aboutText1 {
  width: 45%;
  height: auto;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: x-large;
}
.aboutText2 {
  width: 45%;
  height: auto;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: x-large;
}

@media (max-width: 768px) {
  .aboutText2 {
    text-align: right;
    margin-top: 2.5rem;
  }
  .aboutText {
    width: 85%;
    height: auto;
  }
}
@media (max-width: 640px) {
  .aboutText {
    font-size: 0.7rem;
    line-height: 1rem;
  }
}

/* skill section */
.skillsSection {
  width: 100%;
  height: auto;
  background: radial-gradient(
        circle farthest-side at 0% 50%,
        #282828 23.5%,
        rgba(255, 170, 0, 0) 0
      )
      21px 30px,
    radial-gradient(
        circle farthest-side at 0% 50%,
        #a1000e 24%,
        rgba(240, 166, 17, 0) 0
      )
      19px 30px,
    linear-gradient(
        #282828 14%,
        rgba(240, 166, 17, 0) 0,
        rgba(240, 166, 17, 0) 85%,
        #282828 0
      )
      0 0,
    linear-gradient(
        150deg,
        #282828 24%,
        #a1000e 0,
        #a1000e 26%,
        rgba(240, 166, 17, 0) 0,
        rgba(240, 166, 17, 0) 74%,
        #a1000e 0,
        #a1000e 76%,
        #282828 0
      )
      0 0,
    linear-gradient(
        30deg,
        #282828 24%,
        #a1000e 0,
        #a1000e 26%,
        rgba(240, 166, 17, 0) 0,
        rgba(240, 166, 17, 0) 74%,
        #a1000e 0,
        #a1000e 76%,
        #282828 0
      )
      0 0,
    linear-gradient(90deg, #a1000e 2%, #282828 0, #282828 98%, #a1000e 0%) 0 0
      #282828;
  background-size: 40px 60px;
}
.showCaseSkill {
  padding-bottom: 5rem;
  width: 60%;
  height: auto;
}
@media (max-width: 768px) {
  .showCaseSkill {
    width: 80%;
    height: auto;
  }
}
.showCaseSkillBlocks {
  margin-top: 2rem;
  height: 8rem;
  width: 30%;
}
@media (max-width: 640px) {
  .introheader{
    font-size: 0.8rem;
  }
  .showCaseSkillBlocks {
    height: 4rem;
    width: 27%;
  }
  .skillNameMargin{
    font-size: 0.7rem;
  }
  .skillPropsCentre{
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
.skillNameMargin {
  margin-bottom: -2.4rem;
}
.skillProps {
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: end;
  margin-bottom: 2.5rem;
}
.cSkill {
  background-image: url("public/Skills/c.png");
}
.cppSkill {
  background-image: url("public/Skills/cpp.png");
}
.pythonSkill {
  background-image: url("public/Skills/python.png");
}
.htmlSkill {
  background-image: url("public/Skills/html.png");
}
.cssSkill {
  background-image: url("public/Skills/css.png");
}
.jsSkill {
  background-image: url("public/Skills/js.png");
}
.djangoSkill {
  background-image: url("public/Skills/django.png");
}
.mongoSkill {
  background-image: url("public/Skills/MongoDB.png");
}
.nodeSkill {
  background-image: url("public/Skills/node.png");
}
.reactSkill {
  background-image: url("public/Skills/react.png");
}
.twSkill {
  background-image: url("public/Skills/tailwind.png");
}
.figmaSkill {
  background-image: url("public/Skills/figma.png");
}
.gitSkill {
  background-image: url("public/Skills/git.png");
}
.vscodeSkill {
  background-image: url("public/Skills/vscode.png");
}
.githubSkill {
  background-image: url("public/Skills/github.png");
}

.sqlSkill{
  background-image: url("public/Skills/sql.png");
}

.postManSkill{
  background-image: url("public/Skills/postman.png");
}

.jwtSkill{
  background-image: url("public/Skills/jwt.png");
}

.vercelSkill{
  background-image: url("public/Skills/vercel.png");
}

.renderSkill{
  background-image: url("public/Skills/render.jpg");
}

.awsSkill{
  background-image: url("public/Skills/aws.png");
}

/* Project Boxes */
.projects-container {
  background-color: white;
  padding: 2rem; /* Consistent padding */
  margin: 0 auto; /* Centers the content */
  text-align: center;
}

.projects-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-card {
  background-color: #f8f8f8;
  border: 0.15rem solid #ddd;
  border-radius: 0.625rem;
  padding: 1.25rem;
  width: 100%; /* Responsive width */
  max-width: 18.75rem; /* Set a max-width */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-0.3125rem); /* 5px */
}

.calculatorImageProject {
  background-image: url('public/ProjectsLogo/calculator.png');
}

.tttImageProject {
  background-image: url('public/ProjectsLogo/tttgame.png');
}

.thinkImageProject {
  background-image: url('public/ProjectsLogo/removed-bg-logo.png');
}

.amazonImageProject {
  background-image: url('public/ProjectsLogo/amazon.png');
}

.instituePortalImageProject{
  background-image: url('public/ProjectsLogo/institute.png');
  
}

.project-image {
  width: 100%;
  height: 9.375rem; /* 150px */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.3125rem;
  margin-bottom: 1rem;
}

.project-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.repo-button,
.live-link-button {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.repo-button {
  background-color: #333;
  color: white;
}

.live-link-button {
  background-color: #007bff;
  color: white;
}

.repo-button:hover {
  background-color: #555;
}

.live-link-button:hover {
  background-color: #0056b3;
}

.project-name {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.project-description {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .projects-container {
    padding: 1.5rem; /* Consistent padding */
    margin: 0 auto; /* Centers the content */
  }

  .projects-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .projects-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-card {
    width: 100%; /* Full width on smaller screens */
    max-width: 20rem; /* Ensures a max width on smaller screens */
    padding: 1rem;
  }

  .project-image {
    height: 8.75rem; /* Slightly smaller for mobile */
  }

  .repo-button,
  .live-link-button {
    padding: 0.4rem 0.8rem;
  }

  .project-name {
    font-size: 1.1rem;
  }

  .project-description {
    font-size: 0.85rem;
  }
}


/* say Hi section  */
.sayHi {
  background-color: #333;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-family: Arial, sans-serif;
}
.form-container {
  background-color: #444;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 75%;
  margin-bottom: 5rem;
}
@media (max-width: 768px) {
  .form-container {
    width: 80%;
  }
}
.form-group {
  margin-bottom: 15px;
}
label {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}
.firstNameInput,
.lastNameInput,
.emailInput,
.messgaeInput,
.submitFormButton {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #555;
  color: #fff;
  outline: none;
}
.submitFormButton {
  background-color: #888;
  cursor: pointer;
}
.submitFormButton:hover {
  background-color: #777;
}
.messgaeInput {
  height: 10rem;
}

/* footer section  */

.contactMe {
  background-color: #8338ec;
  height: auto;
}

.contactMeBoxes {
  margin-top: 3rem;
  width: 30%;
  height: auto;
  margin-bottom: 4rem;
}
.contactMeLeft {
  margin-right: 2.4rem;
}

.contactMeRight {
  margin-left: 2.4rem;
}

@media (max-width: 640px) {
  .contactMe {
    font-size: 0.65rem;
    line-height: 0.9rem;
  }
  .contactMeBoxes {
    width: 40%;
    height: auto;
    margin-bottom: 4rem;
  }
  .contactMeLeft {
    margin-right: 1rem;
  }

  .contactMeRight {
    margin-left: 1rem;
  }
  .contanctMeBoxMailAreaContent {
    font-size: 0.5rem;
    line-height: 0.7rem;
  }
}

.footerLast {
  background-color: #023e8a;
  height: auto;
}
.footerLastContent {
  width: 60%;
}
@media (max-width: 768px) {
  .footerLastContent {
    width: 70%;
  }
}
@media (max-width: 640px) {
  .footerLastContent {
    width: 70%;
    font-size: 0.4rem;
    line-height: 0.7rem;
  }
  .contactMeBoxes {
    margin-bottom: 1rem;
  }
}
