* {
  margin: 0px;
  padding: 0px;
  font-family: "Gill Sans", sans-serif;
}
/* nav bar  */
.navbar {
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(229, 231, 234);
}
.name h1 {
  color: rgb(2, 2, 2);
  font-family: "Gill Sans", sans-serif;
  font-size: 26px;
}
.nav-links {
  list-style: none;
  display: flex;
  margin: 0px;
  padding: 0px;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links a {
  text-decoration: none;
  color: rgb(2, 2, 2);
  transition: color 0.3s ease;
  padding: 5px 0px;
}
.nav-links a:hover {
  color: #c9c6e7;
}
/* home page */
.home {
  padding-left: 200px;
  /* padding-top:50px; */
  background-color: rgb(2, 2, 2);
  color: rgb(229, 231, 234);
  display: flex;
  align-items: center;
  /* justify-content: center; */
  height: 100vh;
}
/* .background-image {
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
} */
.container {
  max-width: 700px;
  color: rgb(229, 231, 234);
}
.text-box {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 20px;
  border: 2px solid rgb(229, 231, 234);
  box-shadow: 0 4px 20px rgb(229, 231, 234);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
.text-box:hover {
  transform: scale(1.15) /*rotate(1deg)*/;
  box-shadow: 0 0 40px rgba(229, 231, 234, 0.7),
    0 0 60px rgba(229, 231, 234, 0.4);
}
.text-box p {
  font-size: 18px;
  line-height: 1.6;
  color: rgb(229, 231, 234);
}
.profile-pic {
  flex-shrink: 0;
  padding-left: 150px;
}
.profile-pic img {
  width: 227px;
  height: 231px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #222;
  border: 3px solid rgb(229, 231, 234);
  animation: pulseRed 2.5s ease-in-out infinite;
  transition: transform 0.4s ease-in-out;
}
.profile-pic img:hover {
  transform: scale(1.1);
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 10px rgba(229, 231, 234, 0.6),
      0 0 20px rgba(229, 231, 234, 0.5), 0 0 30px rgba(229, 231, 234, 0.4);
    border-color: rgb(229, 231, 234);
  }
  50% {
    box-shadow: 0 0 20px rgba(229, 231, 234, 0.8),
      0 0 30px rgba(229, 231, 234, 0.6), 0 0 40px rgba(229, 231, 234, 0.5);
    border-color: rgb(229, 231, 234);
  }
  100% {
    box-shadow: 0 0 10px rgba(229, 231, 234, 0.6),
      0 0 20px rgba(229, 231, 234, 0.5), 0 0 30px rgba(229, 231, 234, 0.4);
    border-color: rgb(229, 231, 234);
  }
}

@media (max-width: 768px) {
  .home {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic img {
    margin-top: 1.5rem;
  }
}
