* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  max-width: 1200px;
  margin: auto;
  border: 2px solid rgba(137, 43, 226, 0.342);
  border-radius: 10px;
}
nav {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  border: 0.5px solid rgba(137, 43, 226, 0.183);
  border-radius: 10px;
  border-bottom: none;
}

.logo {
  text-decoration: none;
  margin-left: 45px;
  font-weight: bold;
  color: blueviolet;
  font-size: 16px;
  font-weight: bold;
}
.links {
  display: flex;
  gap: 80px;
  list-style: none;
  font-size: 15px;
}
li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 0px;
  border: 1px solid blueviolet;
  border: 10px;
}
.hero img {
  width: 100%;
  height: auto;
  background-color: rgba(107, 37, 173, 0.192);
}
.text h1 {
  font-size: 70px;
  line-height: 1.1;
}
.text {
  line-height: 1.1;
  padding: 60px;
  justify-self: start;
  background-color: rgba(145, 96, 190, 0.154);
}
.name-para {
  font-weight: bold;
  font-size: 20px;
  margin-left: 5px;
}
span {
  color: blueviolet;
}
.description {
  margin-top: 10px;
  margin-left: 5px;
  line-height: 1.5;
  max-width: 450px;
  font-size: 17px;
}
.buttons {
  max-width: 320px;
  display: flex;
  gap: 10px;
}
.primary {
  margin-top: 20px;
  border: 1px solid blueviolet;
  background-color: blueviolet;
  border-radius: 40px;
  text-decoration: none;
  padding: 20px;
  color: white;
  font-weight: bold;
  transition: all 0.3s ease;
}
.secondary {
  margin-top: 20px;
  text-align: center;
  width: 150px;
  border: 2px solid blueviolet;
  border-radius: 40px;
  text-decoration: none;
  padding: 20px;
  color: black;
  font-weight: bold;
  transition: all 0.3s ease;
}
.primary:hover {
  background-color: darkviolet;
  transform: translateY(-3px);
}
.secondary:hover {
  background-color: darkviolet;
  transform: translateY(-3px);
  color: white;
}
h2 {
  text-align: center;
}
.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 20px;
  justify-items: center;
  align-items: center;
}
.skillcard {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid blueviolet;
  width: 220px;
  height: 150px;

  justify-content: center;
  font-size: 17px;
  align-items: center;
  transition: all 0.3s ease;
}
.skillcard i {
  margin-bottom: 10px;
  font-size: 50px;
}
.skills {
  background-color: #f5f0fa;
  padding: 50px 20px;
}
.skills h2 {
  padding: 20px;
}
.skillcard:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(138, 43, 226, 0.2);
}
.project-card-class {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 20px;
  justify-items: center;
  margin-top: 30px;
}
.project-card-class img {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}
.project-card-class h3 {
  text-align: center;
}
.projects {
  background-color: #cfb7f349;
  padding: 30px 20px;
}

.projects-card {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.projects-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(138, 43, 226, 0.2);
}
.about p {
  max-width: 1150px;
  margin: auto;
  padding: 20px;
}
.about {
  background-color: #ede7f67c;
}
.about h2 {
  padding: 20px 20px;
}
.contact {
  padding: 20px 20px;
  background-color: #efe6f7;
}
.input-group {
  display: grid;
  grid-template-rows: auto 1fr;
  font-size: 19px;
  width: 600px;
  margin: auto;
  color: black;
  margin-bottom: 25px;
}
.input-group i {
  font-size: 25px;
  transition: all 0.3s ease;
  max-width: 25px;
}
.input-group input {
  text-align: center;
  border-radius: 10px;
  border: 2px solid blueviolet;
  padding: 8px;
  margin-top: 10px;
}
.input-group textarea {
  text-align: left;
  border-radius: 10px;
  border: 2px solid blueviolet;
  height: 80px;
  resize: vertical;
  margin-top: 10px;
}
.input-group i:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(138, 43, 226, 0.2);
}
.submit button {
  display: block;
  text-align: center;
  border: none;
  padding: 15px;
  background-color: blueviolet;
  color: white;
  max-width: 600px;
  margin: auto;
  font-size: 25px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.submit button:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(138, 43, 226, 0.2);
  cursor: pointer;
}
address {
  display: flex;
  padding: 20px;
  gap: 20px;
  justify-content: center;
  font-size: 20px;
  background-color: rgba(137, 43, 226, 0.17);
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
  }
  .links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .logo {
    margin-left: 0;
  }
  .container {
    grid-template-columns: 1fr 1fr;
  }
  .input-group {
    width: 100%;
    max-width: 300px;
  }
  .project-card-class {
    grid-template-columns: 1fr;
  }
  .skillcard {
    width: 100%;
    height: auto;
    padding: 20px;
  }
  .description {
    max-width: 100%;
  }
  .text {
    padding: 30px 20px;
  }
  .text h1 {
    font-size: 40px;
  }
  .buttons {
    max-width: 100%;
    gap: 10px;
    display: flex;
    justify-content: center;
  }
  .primary,
  .secondary {
    padding: 10px 14px;
    font-size: 12px;
    text-align: center;
  }
  .secondary {
    width: auto;
  }
}
