* {
  margin: 0;
  padding: 0;
}
.main {
  width: 100vw;
  background-image: url(hdbg.jpg);
  background-position: center;
  background-size: cover;
  height: 100vh;
  position: relative;
  font-family: sans-serif;
}
.logo {
  border-radius: 60%;
}
.resume {
  position: absolute;
  top: 70%;
  left: 30%;
  transform: translate(-50%, -50%);
  background-color: black;
  color: whitesmoke;
  border-color: black 205px;
  font-size: medium;
  font-family: sans-serif;
  padding: 10px;
  border-radius: 15%;
}
.resume a {
  text-decoration: none;
  color: whitesmoke;
}
.navbar {
  width: 86%;
  display: flex;
  margin: auto;
  padding: 15px 0;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo {
  width: 160px;
  cursor: pointer;
  margin-top: -3%;
  margin-left: -2%;
}
ul {
  margin-top: -4%;
}
ul li {
  list-style: none;
  display: inline-block;
  padding: 10px 16px;
}
ul li a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: darkslategrey;
  margin-top: -3%;
}

ul li a:hover {
  color: maroon;
}
.info {
  margin-left: 7%;
  margin-top: 6%;
}
.info .h1 {
  font-size: 65px;
  color: black;
}
.info h3 {
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 24px;
}
.info span {
  color: red;
}
.image {
  width: 30%;
  height: 60%;
  position: absolute;
  right: 100px;
  bottom: 0;
}

.image img {
  position: absolute;
  height: 140%;
  left: 40%;
  transform: translate(-55%);
  bottom: 0;
  transition: left 2s ease;
}
.image:hover .boy {
  left: 55%;
}
.footerid {
  margin-left: 7%;

  width: 100%;
}

.footerid p a {
  text-decoration: none;
  color: gray;
}
.foot {
  background-color: #1f2a38;
  width: 100vw;
  padding: 40px 0;
  color: white;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
}
.footerid,
.fonticons {
  display: inline-block;
  vertical-align: top;
}
.fonticons {
  margin-right: 25%;
}
.fonticons a i {
  text-decoration: none;
  color: white;
  height: 10px;
}
.card-Container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 40px;
}

.card {
  background-color: #f4f4f4;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cardcontent {
  padding: 20px;
}

.card h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #555;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.projects {
  width: 100%;
  padding: 20px;
  background: lightgrey;
}
.footer-container {
  width: 100%;
}
.skills {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.skills-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #333;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill-item {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.skill-item i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #0d6efd;
}

.skill-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.skill-item p {
  font-size: 16px;
  color: #666;
}
