@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Satisfy&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&family=Madimi+One&family=Pacifico&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lilita One", sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1 {
  text-align: center;
  font-size: 5rem;
}

/* Home section */

/* Navigation section */

header,
nav {
  justify-content: space-around;
  align-items: center;
  height: 80px;
  margin-top: 10px;
  display: flex;
  background-color: white;
}

a,
.btn {
  transition: all 300ms ease;
}

.navbar {
  position: fixed;
  top: 0;
  margin-top: 0;
  padding-top: 10px;
  z-index: 1000;
  height: 70px;
  width: 100%;
  transition: all 0.3s ease;
}
.scrolled {
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}
.navbar .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  color: #000000;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
.navbar .menu-list {
  display: inline-flex;
}
.menu-list li {
  list-style: none;
}
.menu-list {
  border-radius: 5px;
}
.menu-list li a {
  color: #000000;
  position: relative;
  font-size: 1.8rem;
  font-weight: 500;
  margin-left: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.icon {
  color: #000000;
  font-size: 30px;
  cursor: pointer;
  display: none;
}
.menu-list .cancel-btn {
  position: absolute;
  right: 30px;
  top: 20px;
}
.cancel-btn {
  color: rgb(0, 0, 0);
}

.menu-list a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -5px;
  left: 0;
  background-color: black;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}
.menu-list a:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}
/* logo section */
#logo-whole {
  font-family: "Satisfy", cursive;
  font-weight: 400;
}
#logo-first {
  font-family: "Satisfy", cursive;
  font-weight: 400;
  font-size: 4.5rem;
  cursor: pointer;
}

/* End of Navigation section */

.home-section {
  padding-top: 40px;
  height: 1000px;
  margin: 0 160px;
  box-sizing: border-box;
  min-height: fit-content;
}

#home {
  overflow: hidden;
  display: flex;
  justify-content: center;
  border: 3px solid black;
  margin: 30px auto;
  width: 70%;
  height: 555px;
  border-radius: 10px;
}

.home-content {
  margin-left: 3%;
  align-items: center;
  text-align: center;
}

.home-image img {
  height: 580px;
  margin: -65px auto;
}

.home-p1 {
  font-size: 70px;
  font-family: "Pacifico", cursive;
  margin-top: -40px;
  margin-bottom: -25px;
}

.home-title {
  font-size: 70px;
  font-family: "Madimi One", sans-serif;
}
#typing {
  font-size: 50px;
  font-family: "Madimi One", sans-serif;
}
.home-about {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 29px;
  /* font-family: "Madimi One", sans-serif; */
}

.btn-container {
  display: flex;
  margin-top: 6px;
  justify-content: center;
}

.btn-container button {
  border: none;
  padding: 10px;
  margin-top: 8px;
  margin-right: 10px;
  border-radius: 9px;
  font-size: 20px;
  font-family: "Madimi One", sans-serif;
  background-color: black;
  color: white;
  transition: 0.2s;
}

button:hover {
  border-radius: 10px;
  padding-top: 4px;
}

#social-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

#social-container i {
  font-size: 30px;
  margin-right: 10px;
}

#social-container i:hover {
  cursor: pointer;
}

/* End of home section */

/* About section */
#about {
  padding-top: 40px;
  height: 800px;
  margin: 0 100px;
  box-sizing: border-box;
  min-height: fit-content;
}

.about-container {
  display: flex;
  justify-content: space-evenly;
}

.about-image {
  margin-left: -130px;
}

.about-content {
  margin-top: 3%;
  margin-right: 40px;
  width: 100%;
  height: 540px;
  position: relative;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  cursor: pointer;
  &:after,
  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px solid #000;
    transition: transform 0.5s;
  }

  &:after {
    transform: translate(3px, 3px);
  }

  &:before {
    transform: translate(-3px, -3px);
  }

  &:hover {
    &:after,
    &:before {
      transform: translate(0);
    }
  }
}

.about-content p {
  margin-top: 1%;
  padding: 50px;
  font-size: 25px;
  padding-bottom: 0px;
  padding-top: 32px;
  text-align: center;
}

/* End of About section */

/* Projects Section */

#project {
  padding-top: 30px;
  height: 1060px;
  margin: 0 50px;
  box-sizing: border-box;
  min-height: fit-content;
}

.project-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 20px 0px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.project-container .project-card {
  position: relative;
  display: flex;
  justify-content: center;
  width: 350px;
  height: 320px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}

.project-container .project-card:hover {
  height: 450px;
  cursor: pointer;
}

.project-container .project-card .project-image {
  position: absolute;
  top: 20px;
  width: 300px;
  height: 220px;
  background: #333;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.5s;
}

.project-container .project-card:hover .project-image {
  top: -100px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.project-container .project-card .project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-container .project-card .project-content {
  position: absolute;
  top: 262px;
  width: 100%;
  padding: 0 30px;
  height: 30px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.project-container .project-card:hover .project-content {
  top: 130px;
  height: 350px;
}

.project-container .project-card:hover .project-content h2 {
  font-size: 30px;
}

.project-container .project-card .project-content h2 {
  font-size: 24px;
}

.project-container .project-card .project-content .p1 {
  text-align: center;
  padding: 15px;
  margin-top: 4px;
  margin-bottom: -10px;
  letter-spacing: -1px;
  color: #393939;
  font-size: 25px;
}

.project-container .project-card .project-content .p2 {
  text-align: center;
  padding: 10px;
  letter-spacing: -1px;
  color: #393939;
  font-size: 25px;
  margin-top: 2px;
  margin-bottom: -12px;
}

.project-container .project-card .project-content .p3 {
  text-align: center;
  padding: 9px;
  color: #393939;
  font-size: 22px;
  margin-bottom: -12px;
}
.project-container .project-card .project-content .p4 {
  text-align: center;
  padding: 9px;
  color: #393939;
  font-size: 19.5px;
  margin-bottom: -12px;
}
.project-container .project-card .project-content .p5 {
  text-align: center;
  padding: 9px;
  color: #393939;
  font-size: 20px;
  margin-bottom: -12px;
}
.project-container .project-card .project-content .p6 {
  text-align: center;
  padding: 9px;
  color: #393939;
  font-size: 19.5px;
  margin-bottom: -12px;
}

.project-container .project-card .project-content .a1 {
  text-decoration: none;
  font-size: 1.4rem;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: black;
  color: white;
  transition: 0.2s;
}

.project-container .project-card .project-content .a3 {
  text-decoration: none;
  font-size: 1.2rem;
  padding: 10px;
  border: none;
  margin-right: 8px;
  border-radius: 8px;
  background: black;
  margin-top: -15px;
  color: white;
  transition: 0.2s;
}
.project-container .project-card .project-content .a4 {
  text-decoration: none;
  font-size: 1.2rem;
  padding: 10px;
  margin-right: 8px;
  border-radius: 8px;
  background: black;
  color: white;
  transition: 0.2s;
}

.project-container .project-card .project-content .a3:hover {
  padding-top: 2px;
  font-size: 1.6rem;
}
.project-container .project-card .project-content .a4:hover {
  padding-top: 2px;
  font-size: 1.6rem;
}

.project-container .project-card .project-content .a1:hover {
  padding-top: 2px;
  font-size: 1.6rem;
}

.project-container .project-card .project-content p span {
  color: rgb(25, 25, 25);
  font-size: 28px;
}

/* End of Projects Section */

/* Skills section */
#skills {
  padding-top: 30px;
  height: 800px;
  margin: 0 160px;
  box-sizing: border-box;
  min-height: fit-content;
}
.skill-contianer {
  display: flex;
  justify-content: flex-start;
  position: relative;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 25px 120px;
}

.skill-card {
  margin-left: 20px;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 420px;
  overflow: hidden;
  height: 250px;
  border: 3px solid black;
  padding: 10px;
  transition: 0.8s; /* Ensure there's a transition for smooth effect */
}

.skill-card .skill-card-body {
  top: 350px;
  right: 0;
  height: 250px;
  background: rgba(245, 245, 245, 0.726);
  position: absolute;
  backdrop-filter: blur(11px);
  transition: 0.8s;
  padding: 30px;
}

.skill-card i {
  font-size: 45px;
}

.skill-card:hover {
  cursor: pointer;
}

.skill-card:hover .skill-card-body {
  top: 0;
}

.skill-card.open .skill-card-body {
  top: 0;
}

.skill-card h2 {
  text-align: center;
  font-size: 50px;
  padding: 30px;
}

.skill-card .desc {
  margin-top: -15px;
  font-size: 22px;
  text-align: center;
}

.skill-card .para {
  padding-top: 2px;
  font-size: 18px;
  text-align: justify;
}

.skill-card span {
  font-size: 25px;
}

/* End of skills section */

/* Contact Section */
#contact {
  padding-top: 30px;
  height: 700px;
  margin: 0 160px;
  box-sizing: border-box;
  min-height: fit-content;
}

.contact-all {
  display: flex;
  justify-content: center;
  margin-top: 2%;
}

.contact-all .contact-image img {
  margin-top: 20px;
  width: 320px;
  margin-right: 100px;
  border-radius: 10px;
  border: 4px solid black;
}

.contact-container {
  display: flex;
  justify-content: center;
  margin-top: 8%;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-card {
  width: 520px;
  height: 40px;
  border: 3px solid black;
  padding: 20px;
  border-radius: 10px;
  font-size: 28px;
  color: black;
  transition: 0.1s;
}

.contact-card a {
  color: black;
  padding-left: 13px;
  text-decoration: none;
}

.contact-card:hover {
  background: #393939;
  cursor: pointer;
  font-size: 36px;
}

.contact-card:hover a {
  color: white;
}

.contact-card:hover i {
  color: white;
}
/* End of Contact Section */

/* Footer section */

.footer-links {
  list-style-type: none;
  font-size: 1.8rem;
  text-align: center;
}

li {
  display: inline;
  padding: 5px;
}

.footer-links a {
  color: black;
  text-decoration: none;
  position: relative;
}


.footer-container p {
  text-align: center;
  font-size: 1.2rem;
  margin-top: -15px;
}
/* End of Footer Section */
