@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins&family=Rubik+Doodle+Shadow&family=Sevillana&family=Ubuntu:wght@300;400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins, sans-serif;
}

html {
  scroll-behavior: smooth;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

header {
  width: 100vw;
  height: 100vh;
  background: url(https://i.postimg.cc/dQ7VzyyD/website-hero.jpg);
  background-size: cover;
  background-position: center;
  object-fit: cover;
  object-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.hamburger {
  display: none;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 3rem;
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 400;
  color: #475569;
}

.nav-link:hover {
  color: #482ff7;
}

.nav-logo {
  font-size: 1.7rem;
  font-weight: 500;
  color: #482ff7;
}

/* -------------- Hero Section -------------- */
.hero_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 80vh;
}

.span-name {
  color: #5b6e8a;
}

.span-name:hover {
  color: rgb(128, 240, 165);
  text-decoration: underline;
}

.hireMe {
  font-weight: 700;
  border: 1px solid yellow;
  padding: 10px 20px;
  color: var(--black);
  border-radius: 15px;
}

.hireMe:hover {
  background: yellow;
}
.btn {
  text-decoration: none;
}

.resume_btn {
  background: #007bff;
  padding: 10px;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 20px;
}

.resume_btn:hover {
  background: #3f1b1b;
  color: #c4d0db;
}
#typed-output {
  color: rgb(129, 129, 52);
}

/* -------------- Back-to-top  -------------- */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
}

#backToTopBtn:hover {
  opacity: 0.8;
}

/* -------------- Section Section -------------- */
.Page_Heading {
  text-align: center;
}

.Page_Heading .section-title {
  font-size: 1.5rem;
  text-align: center;
  color: var(--title);
}
.Page_Heading .port-text {
  font-weight: bold;
}

/* -------------- About Us Section -------------- */
#About {
  background: #e8e9eb;
}

.aboutme {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
}

.aboutus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}
.aboutus span {
  text-decoration: underline;
  color: rgb(43, 10, 10);
}
.aboutus span:hover {
  color: yellowgreen;
}

.about_us_img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}
.about_us_details {
  display: flex;
  justify-content: space-around;
  padding: 10px 50px;
}

#About .connectwithsocialmedia {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
}

#About .connectwithsocialmedia h2 {
  color: var(--title);
}

#About .connectwithsocialmedia .icons {
  display: flex;
  justify-content: center;
  gap: 0px 50px;
  font-size: 2rem;
  padding: 10px;
}

/* -------------- Hire Me Section -------------- */
#Hireme {
  background: rgb(219, 87, 87);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0px;
}

#Hireme h1 {
  color: var(--white);
}

.hiremelinks {
  display: flex;
  gap: 50px;
}

/* -------------- Services Section -------------- */
#Services {
  background-color: rgb(104, 95, 95);
}
.Services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 50px;
  padding: 20px;
}

.Services img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
}

.Service {
  height: 400px;
  width: 30%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgb(233, 150, 150);
  box-shadow: 5px 5px 5px 5px rgb(231, 137, 137);
  background-color: red; /* For browsers that do not support gradients */
  background-image: linear-gradient(red, yellow);
}

.Service:hover {
  background: rgb(216, 216, 219);
  color: var(--white);
  cursor: pointer;
}

/* -------------- Skills Section -------------- */
#Skills {
  background: var(--background5);
}
.Skills {
  display: flex;
  gap: 50px;
  padding: 40px;
}

.skills1,
.skills2,
meter {
  width: 100%;
}

.float_end {
  float: right;
}

/* -------------- Project Section -------------- */

.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin: 30px 50px;
}

.project {
  position: relative;
  border-radius: 15px;
}

.project img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.project .hover_items {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
}

.project .hover_items h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--Secondary);
  margin-bottom: 1.5rem;
}

.project .hover_items .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 2rem;
}

.project:hover .hover_items {
  opacity: 1;
  transform: scale(1);
}

/* -------------- Contact Us Section -------------- */
#Contact {
  background: var(--white);
}

.contact_us {
  max-width: 600px;
  margin: 50px auto;
  /* background-color: #fff; */
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.send_message_btn {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.send_message_btn:hover {
  background-color: #45a049;
}

/* -------------- Footer Section -------------- */

footer {
  background: rgb(51, 48, 48);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}

footer .connectwithsocialmedia .icons {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  gap: 45px;
}

footer .footerdata {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 500px;
  padding: 20px 100px;
}

footer a {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

/* ---------------------- Media Queries for Small Devices ---------------------- */
@media (max-width: 768px) {
  header {
    height: 70vh;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  /* --------------- Hero --------------- */
  .hero_section h1 {
    font-size: 1.2rem;
  }

  .hero_section {
    height: 60vh;
  }

  /* --------------- About us --------------- */
  .aboutme {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .aboutus {
    padding: 10px 5px;
  }

  #About .connectwithsocialmedia h2 {
    font-size: 1rem;
  }

  #About .about_us_details {
    display: none;
  }

  /* --------------- Hire me --------------- */
  #Hireme h1 {
    font-size: 1.4rem;
  }

  /* --------------- Services --------------- */

  .Services {
    display: flex;
    flex-direction: column;
  }

  .Service {
    width: 100%;
  }

  /* --------------- Skills --------------- */

  .Skills {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 0;
  }

  /* --------------- Footer --------------- */

  footer {
    padding: 20px 12px 50px 0px;
    gap: 30px;
  }

  footer h1,
  .footerdata {
    color: rgb(226, 204, 204);
  }

  footer .footerdata {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0px;
  }

  footer a {
    text-decoration: none;
    cursor: pointer;
  }
}
