@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;400&display=swap");

:root {
  --yellow: #f9cb24;
}


/* ===== Google Font Import - Poppins ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');
.container{
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 15px;
    padding: 10px 20px;
    border-radius: 7px;
}
.container .skill-box{
    width: 100%;
    margin: 25px 0;
}

.skill-box .skill-bar{
    height: 8px;
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    background: white;
    position: relative;
}
.skill-bar .skill-per{
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    background: var(--yellow);
    animation: progress 0.4s ease-in-out forwards;
    opacity: 0;
}
.skill-per.css{
    width: 90%;
    animation-delay: 0.1s;
}
.skill-per.javascript{
    width: 70%;
    animation-delay: 0.2s;
}
.skill-per.nodejs{
  width: 50%;
  animation-delay: 0.3s;
}
.skill-per.tailwind{
  width: 80%;
  animation-delay: 0.3s;
}.skill-per.bootstrap{
  width: 80%;
  animation-delay: 0.3s;
}
.skill-per.react{
  width: 80%;
  animation-delay: 0.3s;
}
.skill-per.express{
  width: 60%;
  animation-delay: 0.3s;
}
.skill-per.mongodb{
  width: 80%;
  animation-delay: 0.3s;
}
.skill-per.javascript{
    width: 70%;
    animation-delay: 0.2s;
}
.skill-per.nodejs{
    width: 50%;
    animation-delay: 0.3s;
}
@keyframes progress {
    0%{
        width: 0;
        opacity: 1;
    }
    100%{
        opacity: 1;
    }
}
.skill-per .tooltip{
    position: absolute;
    right: -14px;
    top: -28px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--yellow);
    z-index: 100;
}
.tooltip::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 10px;
    width: 10px;
    z-index: -1;
    background-color: var(--yellow);
    transform: translateX(-50%) rotate(45deg);

}












* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

*::selection {
  background: var(--yellow);
  color: #333;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1.5rem;
}

html::-webkit-scrollbar-track {
  background: #222;
}

html::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

body {
  background: #111;
  overflow-x: hidden;
  padding-left: 35rem;
}

section {
  min-height: 100vh;
  padding: 1rem;
}

.btn {
  padding: 0.7rem 3rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 2rem;
  border-radius: 5rem;
}

.btn i {
  padding: 0 0.5rem;
  font-size: 1.8rem;
}
.btn:hover {
  background: var(--yellow);
}

.heading {
  text-align: center;
  margin: 0 6rem;
  font-size: 4rem;
  padding: 1rem;
  border-bottom: 1rem solid #fff4;
  color: #fff;
}

.heading span {
  color: var(--yellow);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100%;
  width: 35rem;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
}

header .user img {
  height: 17rem;
  width: 17rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 0.5rem solid var(--yellow);
}

header .user .name {
  font-size: 3rem;
  color: #fff;
}

header .user .post {
  font-size: 3.5rem;
  color: var(--yellow);
}

header .navbar {
  width: 100%;
}

header .navbar ul {
  list-style: none;
  padding: 1rem 3rem;
}

header .navbar ul li a {
  display: block;
  padding: 1rem;
  margin: 1.5rem 0;
  background: #333;
  color: #fff;
  font-size: 2rem;
  border-radius: 5rem;
}

header .navbar ul li a:hover {
  background: var(--yellow);
  font-size: 2.5rem;
}

#menu {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 2.5rem;
  padding: 1rem 1.5rem;
  z-index: 1000;
  display: none;
}

.home {
  display: flex;
  justify-content: center;
  flex-flow: column;
  padding: 0 15rem;
}
h3 {
  font-size: 2.5rem;
  color: #fff;
}
 h1 {
  font-size: 5rem;
  color: #fff;
}
 h1 span {
  color: var(--yellow);
}

p {
  font-size: 1.8rem;
  color: #fff;
  padding: 1rem 0;
}

.about {
  display: flex;
  flex-direction: column;
  color: white;
}

.about .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}



.about .row .info {
  flex: 1 1 48rem;
  padding: 2rem 1rem;
  padding-left: 6rem;
}

.about .row .info h3 {
  font-size: 2rem;
  color: var(--yellow);
  padding: 1rem 0;
  font-weight: normal;
}

.about .row .info h3 span {
  color: #eee;
  padding: 0 0.5rem;
}

.about .row .counter {
  flex: 1 1 48rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.about .row .counter .box {
  width: 20rem;
  background: #222;
  text-align: center;
  padding: 2rem;
  margin: 2rem;
}

.about .row .counter .box span {
  font-size: 4rem;
  color: var(--yellow);
}

.about .row .counter .box h3 {
  font-size: 2rem;
  color: #fff;
}


.skills .skills_set {
  margin-top: 2rem;
}

.skills_set .backend_frontend{
    display: flex;
    gap: 1rem;
}
.skills_set .backend_frontend .frontend{
    width: 50%;
}
.skills_set .backend_frontend .backend{
    width: 50%;
}

.education .box-container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 4rem;
  margin-left: 2rem;
}

.education .box-container .box1 {
  /* width: 27rem; */
  margin-bottom:4rem ;
  padding-left: 4rem;
  border-left: 0.2rem solid#fff;
  position: relative;
}
.education .box-container .box2 {
  margin-top: 1rem;
  padding-left: 4rem;
  border-left: 0.2rem solid#fff;
  position: relative;
}
.education .box-container .box3 {
  /* width: 27rem; */
  margin-top: 40rem;
  padding-left: 4rem;
  border-left: 0.2rem solid#fff;
  position: relative;
}

.education .box-container .box span {
  font-size: 2rem;
  background: #222;
  color: #fff;
  border-radius: 5rem;
  padding: 0.5rem 2.5rem;
}

.education .box-container .box h3 {
  font-size: 3rem;
  color: #fff;
  padding-top: 1.5rem;
}

.education .box-container .box p {
  font-size: 1.5rem;
  color: #eee;
  padding: 1rem 0;
}

.education .box-container .box i {
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  line-height: 5rem;
  text-align: center;
  font-size: 2rem;
  color: #fff;
  background: var(--yellow);
}

.portfolio .box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.portfolio .box-container .box {
  position: relative;
  height: 26rem;
  width: 32rem;
  border-radius: 1rem;
  margin: 2rem;
  overflow: hidden;
  cursor: pointer;
  border: solid 6px rgba(128, 128, 128, 0.571);
}

.portfolio .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}


.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 1s step-start;
  background-color: var(--yellow);
}

.box:hover .overlay {
  opacity: 0.97;
}

.text {
  font-size: 16px;
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

}
.tech{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.tech .techitems{
  color: white;
  font-size: x-large;
}









.portfolio .box-container .box:hover img {
  transform: scale(1);
}

.contact .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact .row .content {
  flex: 1 1 30rem;
  padding: 4rem;
  padding-bottom: 0;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 2rem;
  margin: 2rem;
  padding-bottom: 4rem;
}

.contact .row form .box {
  padding: 1.5rem;
  margin: 1rem 0;
  background: #333;
  color: #fff;
  text-transform: none;
  font-size: 1.7rem;
  width: 100%;
}

.contact .row form .box::placeholder {
  text-transform: capitalize;
}

.contact .row form .message {
  height: 15rem;
  resize: none;
}

.contact .row .content .title {
  text-transform: uppercase;
  color: var(--yellow);
  font-size: 3rem;
  padding-bottom: 2rem;
}

.contact .row .content .info h3 {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: #eee;
  padding: 1rem 0;
  font-weight: normal;
}

.contact .row .content .info h3 i {
  padding-right: 1rem;
  color: var(--yellow);
}

/* media queries*/

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  .home {
    padding: 1rem 4rem;
  }
}

@media (max-width: 924px) {
  header {
    left: -120%;
  }

  #menu {
    display: block;
  }

  header.toggle {
    left: 0%;
  }
  body {
    padding: 0;
  }
  .education .box-container .box3 {
    margin-top: 5rem;
    padding-left: 4rem;
    border-left: 0.2rem solid#fff;
    position: relative;
  }
  .skills_set {
    display: flex;
    gap: 12rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 500px) {
  header {
    width: 100vw;
  }

  .heading {
    margin: 0 3rem;
  }

  .about .row .counter .box {
    width: 100%;
  }

  .backend_frontend{
    flex-direction: column;
    
  
  }
  .skills_set .backend_frontend .frontend{
    width: 100%;
}
.skills_set .backend_frontend .backend{
    width: 100%;
    
}
/* .down_section {
  padding: 1rem;
} */

  .education .box-container .box {
    width: 100%;
  }

  .portfolio .box-container .box {
    width: 100%;
    height: 29rem;
  }

  .contact .row form {
    margin: 3rem 0;
  }
}




