@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@600;700;800&family=Rubik:wght@500&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
html {
  overflow-x: hidden;
  background-color: black;
}
/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  background-color: black;
  justify-content: space-between;
  z-index: 100;
  align-items: center;
}

.nav-item a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 1rem;
  position: relative;
}
.nav-item a:hover {
  color: rgb(248, 1, 83);
}
.nav-item a::after {
  position: absolute;
  bottom: -1px;
  background: rgb(248, 1, 83);
  width: 0%;
  height: 2px;
  content: "";
  left: 0;
  transition: 0.5s;
}
.nav-item a:hover::after {
  width: 100%;
}
h2 span {
  color: rgb(248, 1, 83);
}

#menu {
  color: rgb(248, 1, 83);
}
/* home */
section {
  min-height: 100vh;
  padding: 5rem 9% 2rem;
  background-color: black;
}
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
}
.home-img img {
  width: 65%;
}

.home-content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.home-content span {
  color: rgb(248, 1, 83);
  font-size: 3rem;
  font-weight: 700;
}
.home-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.cv a {
  border-color: rgb(248, 1, 83);
  color: #ffffff;
}
.cv a:hover {
  color: #ffffff;
  background-color: rgb(248, 1, 83);
}
/* about */
.about h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 5%;
}
.about-content {
  width: 100%;
  border-radius: 6px;
  display: flex;
  box-shadow: 0 0 0.8rem rgb(248, 1, 83);
  text-align: justify;
  padding: 2%;
}
.about-content img {
  width: 230px;
}
.about-content h5 {
  color: #ffffff;
  margin-top: 3%;
  margin-bottom: 3%;
}
.about-content h6 {
  color: #ffffff;
}
.social-media {
  margin-top: 3%;
  margin-left: 3%;
}
.social-media a {
  font-size: 150%;
  background-color: rgb(248, 1, 83);
  color: #ffffff;
  padding-left: 1%;
  padding-right: 1%;
  border-radius: 28px;
  margin-left: 3%;
  box-shadow: 0 0 0.8rem rgb(248, 1, 83);
}
.social-media a:hover {
  background-color: #ffffff;
  color: rgb(248, 1, 83);
}
/* resume */
.resume h2 {
  color: #ffffff;
  text-align: center;
}
h3.year {
  color: rgb(248, 1, 83);
}
.subject {
  color: #ffffff;
  font-size: 1.5rem;
}
.institute {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}
.resume p {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}
/* skill */
.skill h2 {
  color: #ffffff;
  text-align: center;
}
.skills-order {
  display: flex;
}
.skills-order p {
  color: #ffffff;
  font-size: 1.2rem;
  margin-top: 2%;
}
.skill .progress-bar {
  background-color: rgb(248, 1, 83);
}
/* }projct */
.project h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 3%;
}
.project-list {
  display: flex;
}
.work {
  padding-left: 3%;
  height: 230px;
  border-radius: 10px;
  position: relative;
  display: flex;
  width: 100%;
}
.work img {
  width: 100%;
  border-radius: 10px;
  display: inline;
  margin: 2%;
  transition: transform 0.5s;
  box-shadow: 0 0 0.8rem rgb(248, 1, 83);
}
.layer {
  color: #ffffff;
  width: 100%;
  height: 0;
  bottom: 0;
  background: linear-gradient(#9c646417, rgb(248, 1, 83));
  border-radius: 10px;
  position: absolute;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  transition: height 0.5s;
}
.layer h3 {
  padding-top: 15%;
}
.work:hover img {
  transform: scale(1.04);
}
.work:hover .layer {
  height: 100%;
}
.project-cv {
  text-align: center;
  margin-top: 3%;
}
.project-cv a {
  background-color: rgb(248, 1, 83);
  color: #ffffff;
}
.project-cv a:hover {
  border-color: rgb(248, 1, 83);
  color: #ffffff;
}
/* service */
#services h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2%;
}
.card-body {
  background-color: rgb(56, 55, 55);
}

.card-body p {
  font-size: 1rem;
  text-align: center;
  color: #ffffff;
}
.service-list {
  border-radius: 10px;
}
.card-body:hover {
  background-color: rgb(248, 1, 83);
}
/* contact */
.contact h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 3%;
}
.form-row {
  background-color: rgba(138, 55, 83, 0.568);
  margin-left: 20%;
  margin-right: 20%;
}
.form-row label {
  font-size: 1rem;
}
.form-group button {
  background-color: rgb(248, 1, 83);
  color: #ffffff;
}
.form-group button:hover {
  border-color: rgb(248, 1, 83);
  color: rgb(248, 1, 83);
}
.contactdetails {
  padding: 3%;
  justify-content: space-around;
}
.contactid {
  color: #ffffff;
  text-decoration: none;
}
.contactid i {
  color: rgb(255, 255, 255);
  margin-left: 2%;
  align-items: center;
  background-color: rgb(248, 1, 83);
  padding: 1%;
  text-align: center;
  border-radius: 30px;
  margin-top: 1%;
}
/* footer */
footer {
  background-color: rgb(53, 50, 50);
  text-align: center;
  background-color: rgb(248, 1, 83);
  color: black;
}
footer i {
  padding: 1%;
  color: black;
  font-size: x-large;
}
