* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;

  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  font: black;
  color: white;
 
}

header {
  background: #333;
  color: #fff;
  padding: 20px 30px;
  text-align: center;
  margin: 0;
  position: sticky;
}
header h1 {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  transition: text-shadow 0.3s ease-in-out;
}

header h1:hover {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
    0 0 10px rgba(255, 255, 255, 0.4);
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

nav ul li {
  display: inline;
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 50px;
  background: #ddd;
}

section {
  padding: 20px;
  text-align: center;
}

form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

input,
textarea {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
}

button {
  background: #333;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}

/* .resume-button {
  margin-left: 10px;
  background-color: #007bff;
}
.resume-button a {
  color: white;
  text-decoration: none;
}
.resume-button:hover {
  background-color: #0056b3;
} */

.prachiname {
  animation-name: prachinameanimation;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

@keyframes prachinameanimation {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    glow: 5px 10px 10px rgba(31, 24, 157, 0.5);
  }
}

.subnameheading {
  animation-name: subnameheadingani;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  font-family: 20px;
  /* animation-delay: 1s; */
}

@keyframes subnameheadingani {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    glow: 5px 10px 10px rgba(31, 24, 157, 0.5);
  }
}

.image {
  animation-name: imageani;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-delay: 0;
}

@keyframes imageani {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    glow: 5px 10px 10px rgba(31, 24, 157, 0.5);
  }
}

.homepagecontainer {
  background-image: url("./images/BackgroundImage.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.homepagemaindiv {
  display: flex;
  flex-direction: row;

  width: 100%;
  height: 80vh;
  /* margin: 0; */
}

.homepagemaindiv .leftdiv {
  width: 60%;

  /* height: 100vh; */
}

.homepagemaindiv .rightdiv {
  width: 40%;

  /* height: 100vh; */
}

.homepagemaindiv .leftdiv h1 {
  font-size: 50px;
  color: white;
  margin-left: 5rem;
  margin-top: 5rem;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
.homepagemaindiv .leftdiv h3 {
  font-size: 20px;
  color: white;
  margin-left: 5rem;
  margin-top: 1rem;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.leftdivcontent {
  /* max-width: 700px; */

  margin: auto;
  margin-left: 5rem;
  margin-top: 2rem;
  line-height: 1.6;
  font-family: 20px;
  display: flex;
  flex-wrap: wrap;
}

.leftdivcontentpara{
  font-size: 20px;
}
.leftdivcontent .btn {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  text-decoration: none;

  font-size: large;
}

.leftdivcontent .btn a {
  text-decoration: none;
  color: white;
}

.rightdiv {
  display: flex;
  justify-content: center; /* Center align image */

  padding: 20px;
}

.rightdiv img {
  max-width: 100%; /* Ensures image is responsive */
  height: 500px; /* Maintains aspect ratio */
  border-radius: 10px; /* Smooth rounded corners */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow effect */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.rightdiv img:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5); /* Increased shadow on hover */
}

/* Remove fixed height for main container on small screens */

@media screen and (max-width: 800px) {
  .homepagemaindiv {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    height: auto; /* Let content dictate height */
  }

  .homepagemaindiv .leftdiv,
  .homepagemaindiv .rightdiv {
    width: 100%;
    height: auto;
  }

  .rightdiv img {
    /* Responsive height */
    height: 300px;

    max-width: 100%;
    margin: 20px auto;
    object-fit: cover; /* Maintain aspect ratio */
  }

  .homepagemaindiv .leftdiv h1 {
    margin-left: 0;
    text-align: center;
    font-size: 32px;
  }

  .homepagemaindiv .leftdiv h3 {
    margin-left: 0;
    text-align: center;
    font-size: 18px;
  }

  .homepagemaindiv .leftdivcontent {
    margin-left: 0;
    text-align: center;
    font-size: 16px;
    padding: 0 1rem;
  }

  .leftdivcontent .btn {
    padding: 1rem 1.5rem;
    font-size: 16px;
    display: flex;
    justify-content: center;
    margin: 1rem auto;
  }
}

/* .homepagaboutdiv{
  height: 100vh;
} */
.getintouchandresuma {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.homepagaboutdiv .about {
  font-size: 40px;
  color: white;

  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  border: 3px solid white;
  padding: 0.5rem;
  width: 300px;
  
  margin: auto;
  text-align: center;
}

.homepagaboutdiv .aboutpara {
  max-width: 70%;
  margin: auto;
  text-align: center;
  margin-top: 2rem;
  font-size: 30px;

  padding: 2rem;
  border-bottom: 2px solid white;
  border-top: 2px solid white;
}

@media screen and (max-width: 800px) {
  .homepagaboutdiv {
    height: auto;
  }
  .homepagaboutdiv .about {
    font-size: 25px;
    width: 50%;
    margin: auto;
  }
  .homepagaboutdiv .aboutpara {
    font-size: 20px;
    max-width: 90%;

    margin: 1rem auto;
  }
}

.skillsdiv {
  margin-top: 3rem;
  height: auto;
}
.skillsdiv .skillheading {
  max-width: 400px;
  margin: auto;
  border-bottom: 2px solid white;
  font-size: 40px;
  text-align: center;
  padding-bottom: 1rem;
}

/* skills */

.skill-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  padding: 15px;
  margin-top: 2rem;
}

.skill img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill p {
  font-weight: 500;
  color: white;
  font-size: 1.5rem;
}

.skill:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: #f8f9fa;
  border-radius: 15px;
  color: black;
}

.skill:hover p {
  color: black;
}

.softskillheading {
  padding-top: 3rem;
}





/* ################################ button hover ###############################/ */


.glow-button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #444;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.glow-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.glow-button:hover::before {
  left: 0;
}

.glow-button:hover {
  color: #f1f1f1;
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px) scale(1.02);
}
