html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background-color: #17181C;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.blank {
  display: block;
  height: 200px;
  width: 100%;
}
.blank-medium {
  display: block;
  height: 50px;
  width: 100%;
}
.blank-mini {
  display: block;
  width: 100%;
  height: 10px;
}
.span {
  position: relative;
  border-radius: 5px;
  background-color: #555555;
  height: 2px;
  width: 100%;
}

/* Header section */

.headertext {
  text-align: center;
  font-family: "Outfit", Sans-Serif;
  font-size: 18px;
  margin: 5px;
}

.subheadertext {
  text-align: center;
  font-family: "JetBrains Mono", Sans-Serif;
  font-size: 12px;
  color: #ccc;
}
/* About Me section */
#profileImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
}
.abouttext {
  margin: 6px;
  font-family: JetBrains Mono;
  margin-top: 13px;
}
.socialmedia {
  display: flex;
  justify-content: center;
  margin: 6px 0 6px 0;
  width: 100%;
}
.sm {
  display: inline-block;
  height: 30px;
  width: 30px;
  margin: 3px;
}
li {
  font-family: Geist Mono;
  font-size: 15px;
}
 .skillsBadges {
  margin: 5px;
  overflow-x: auto;
 }

.skillsdiv {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.skillstext {
  font-weight: bold;
  margin: 5px;
  font-size: 17px;
  color: #fff;
  background-color: #009912;
  padding: 7px;
  border-radius: 10px;
  text-align: center;
}
.skillstext3 {
  font-weight: bold;
  margin: 5px;
  font-size: 17px;
  color: #fff;
  background-color: #ff8022;
  padding: 7px;
  border-radius: 10px;
  text-align: center;
}

.dev_div{
  width: 325px;
  height: 230px;
  color: #fff;
  border: 3px solid #00bb07;
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  transition: transform 0.3s ease-in-out;
  overflow-y: hidden;
}
.dev_div:hover {
  transform: scale(1.1);
}

.other_div {
  width: 325px;
  height: 230px;
  color: #fff;
  border: 3px solid #ffa022;
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  transition: transform 0.3s ease-in-out;
  overflow-y: hidden;
}
.other_div:hover {
  transform: scale(1.1);
}
/* Navbar section */
#navbar {
  position: fixed;
  font-weight: bold;
  top: 0px;
  width: 100%;
  height: 40px;
  justify-content: center;
  border-radius: 0 0 10px 10px;
  z-index: 997;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
#profile {
  position: fixed;
  top: 6px;
  text-align: right;
  right: 9px;
  font-family: "Outfit", Sans-Serif;
  font-size: 0.9rem;
  color: #fff;
  line-height: 26px;
  margin: 1px;
  z-index: 999;
  font-style: italic;
}
.link {
  padding: 4px;
  font-family: "Lato", Sans-Serif;
  font-size: 0.8rem;
  color: #ffffff;
  text-decoration: none;
  line-height: 40px;
  margin: 1px;
}
.link:hover {
  border-bottom: 2px solid #dddddd;
  animation: navbar 0.3s ease-out;
  animation-fill-mode: forwards;
}

/* Projects/Sertification Section */
.projectsheader {
   display: block;
   text-align: center;
   font-family: "Outfit", Sans-Serif;
   margin: 5px;
   font-size: 26px;
   padding-bottom: 10px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 0fr));
  gap: 5px;
  padding: 0;
  margin: 0;
  width: 100%;
  justify-items: start;
  align-items: stretch;
  justify-content: start;
}
.project-tile {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  border-radius: 10px;
  border: 1px solid #aaa;
}

.img{
  height: auto;
  width: 100%;
  border-radius: 10px;
}

.contrast {
  filter: contrast(150%);
}

.project-link{
  display: flex;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: Poppins;
  width: 100%;
}

.learnmorecontainer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-color: #0070FF;
  border-radius: 9px;
}
.projecttext {
  font-family: Poppins;
}

/* Certificates section */
.sertificate-link{
  display: flex;
  justify-content: center;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: Poppins;
  width: 100%;
}
/* Contributions section */
.ostext {
  padding: 0;
  margin: 5px 5px;
  font-family: Poppins;
}

.os-tile {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  border-radius: 10px;
  border: 1px solid #aaa;
}

.os-link{
  color: #fff;
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: Poppins;
  font-weight: bold;
}

.checkcontainer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 9px;
}

/* Footer Section */
.goToUp {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 50px;
  width: 100%;
}

.goupBtn {
  padding: 10px;
  border: 1.5px solid white;
  border-radius: 14px;
  color: white !important;
  text-decoration: none !important;
  font-family: Outfit;
  font-weight: bold;
  transition: all linear 0.1s;
}

.goupBtn:hover {
  border: 1.5px solid black;
  color: black !important;
  background-color: white;
}

.footer {
  display: block;
  height: 100px;
  width: 100%;
}
#copyright {
  position: relative;
  text-align: center;
  justify-content: center;
  top: 80px;
  color: #ffffff77;
  font-size: 12px;
}
/* Keyframes */

/* Media */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 0fr));
    gap: 5px;
    justify-items: start;
    justify-content: start;
  }
  .project-tile {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .skillsdiv {
    flex-direction: column;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 5px;
    justify-items: start;
    justify-content: start;
  }
  .project-tile {
    width: 100%;
    min-width: 0;
  }
}
@media (min-width:600px) {
  .img {max-width: 300px;
  }
  .fend_div , .other_div, .dev_div {
   display: inline-block;
   vertical-align: top;
  }
  .skillsdiv {
    justify-content: center;
  }
}