/* For All Elements */
@import url("https://fonts.googleapis.com/css2?family=Handlee&display=swap");
* {
  padding: 0;
  margin: 0;
  font-family: "Handlee", cursive;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Navbar */
#navbar {
  top: 0;
  position: fixed;
  z-index: 1;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  padding: 5px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

#navbar a {
  padding: 10px 15px;
  display: inline-block;
  font-size: 23px;
  color: #000;
  transition: all 0.125s ease-in-out;
  text-decoration: none;
}

#navbar a:hover {
  transform: translateY(-5px);
}

/* Welcome Section */
#welcome-section {
  height: 100vh;
}

#welcome-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#welcome-section h1 {
  font-family: "Handlee", cursive;
  font-size: 75px;
}

#welcome-section p {
  font-family: "Handlee", cursive;
  font-size: 35px;
}

/* Project Section */
#projects {
  padding-top: 60px;
  display: flex;
  flex-direction: column;
}

.project-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 20px;
  column-gap: 20px;
}

.project-tile {
  width: 300px;
  text-decoration: none;
  box-shadow: 0px 0px 5px rgb(0 0 0 / 10%);
  display: flex;
  border-radius: 30px 0 30px 0;
  flex-direction: column;
  overflow: hidden;
  margin: 25px 0;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.project-tile:hover {
  transform: translateY(-10px);
}

.project-tile:hover span::before {
  content: "<";
}

.project-tile:hover span::after {
  content: "/>";
}

.project-tile:hover img {
  filter: none;
}

.project-tile img {
  transition: all 0.3s ease-in-out;
  width: 300px;
  height: 230px;
  filter: grayscale(1);
}

.project-tile span {
  font-size: 20px;
  font-weight: bold;
  background: black;
  color: white;
  text-align: center;
  padding: 5px 10px;
  transition: all 0.3s ease-in-out;
}

#projects h1,
#contact h1 {
  text-align: center;
  padding: 30px;
  font-size: 35px;
}

.showAll {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

/* Contact Section */
#contact {
  padding-top: 60px;
}

#contact h1 {
  padding: 30px 0 0;
  font-size: 50px;
}

#contact p {
  text-align: center;
  font-size: 30px;
}

.social {
  display: flex;
  width: 100%;
  justify-content: center;
}

.social a {
  display: flex;
  width: max-content;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
  padding: 50px;
  color: black;
  transition: all 0.2s ease-in-out;
}

.social a:hover {
  transform: translateY(-10px);
}

.social .fa,
.social .fab {
  font-size: 50px;
  margin-bottom: 5px;
}

.social span {
  font-size: 20px;
}

#profile-link {
  padding: 5px;
  text-decoration: none;
  color: white;
  background-color: #000;
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: bold;
}

/* Footer Section */
#footer {
  background: black !important;
  color: white;
  width: 100%;
  padding: 20px;
  text-align: center;
}

.py {
  padding-left: 90px;
  padding-right: 90px;
}

/* Media Query for All Section */
@media (max-width: 768px) {
  #navbar {
    justify-content: center;
  }
  #welcome-section h1 {
    font-size: 60px;
    text-align: center;
    padding: 0;
  }
  #welcome-section p {
    font-size: 25px;
    text-align: center;
  }
  #projects h1,
  #contact h1 {
    padding: 0;
    padding-top: 20px;
  }
  .py {
    padding: 0;
  }
  .social a {
    padding: 20px;
  }
  #contact h1 {
    font-size: 35px;
  }
  #contact p {
    font-size: 20px;
  }
}
