@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Poppins&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Popins, sans-serif;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: inherit;
  font-weight: inherit;
}

.nav-container {
  /* position: fixed;
    top: 0;
    left: 0; */
  width: 100%;
  height: 80px;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.2rem;
}
.nav-container .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 1rem;
}
main {
  width: 60vw;
  margin: auto;
  /* margin: 80px auto; */
}
section h2 {
  font-size: 2.2rem;
  font-family: Kaushan Script, cursive;
  text-align: left;
  margin: 1rem 0;
}

.introduction {
  display: flex;
  gap: 1.8rem;
  justify-content: center; /*center along main-axis*/
}
.introduction img {
  width: 30%;
  height: 30%;
  object-fit: cover;
  border-radius: 50%;
}

.introduction .about-me {
  align-self: flex-start;
}

.about-me h1 {
  font-family: "Kaushan Script", cursive;
  font-size: 3.6rem;
  text-align: center;
  margin-top: 1.4rem;
}
.about-me p {
  font-size: 1rem;
  text-align: center;
  margin-top: 1.4rem;
}
.profiles {
  margin: 1.2rem;
}
.profiles-container {
  display: flex;
  gap: 0 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.profiles-container .profile:hover {
  transform: scale(1.2);
  transition: all 0.5s ease;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
}
.projects-container h3 {
  font-family: "Kaushan Script", cursive;
  font-size: 1.5rem;
}
.card-container {
  margin-top: 1.8rem;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem 0rem;
  box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.2);
}
.card-container:hover {
  transform: scale(1.1);
  transition: all 0.5s ease;
  cursor: pointer;
}
.card-image {
  text-align: center;
}
.card-image img {
  width: 55%;
  object-fit: cover;
}

.card-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.card-footer__skills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
  font-size: 1.3rem;
}

.card-footer__skills h4 {
  font-size: 1rem;
}
.card-footer__links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0 0.8rem;
  font-size: 1.3rem;
}
.work-experience {
  margin-top: 1.8rem;
}
.work-experience h3 {
  font-family: "Kaushan Script", cursive;
  font-size: 1.5rem;
}
.education-details {
  margin-top: 2rem;
}
.education-details h3 {
  font-family: "Kaushan Script", cursive;
  font-size: 1.3rem;
}
.education-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills {
  margin-top: 2rem;
}

.skills .skills__list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skills .skills__list li {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
}

.skills .skills__list li:hover {
  background-color: #e0e0e0;
}

.contact-me {
  margin-top: 2rem;
}

.contact-me .contact-me__list {
  display: flex;

  gap: 0 0.7rem;
  justify-content: center;
}

.contact-me .contact-me__list li {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #e0e0e0;
}

.contact-me .contact-me__list li:hover {
  transform: scale(1.1);
  transition: all 0.5s ease;
}

.go-to-top{
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.go-to-top:hover{
    transform: scale(1.1);
    transition: all 0.5s ease;
}
