@import url("https://fonts.googleapis.com/css2?family=Rajdhani&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
}
html {
  scroll-behavior: smooth;
}
/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #ddb9d2;
}
::-webkit-scrollbar-thumb:hover {
  background: #888;
}

body {
  background: #081b29;
  height: 100lvh;
  font-family: "Rajdhani", sans-serif;
}
/* NAVBAR   */
header {
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s;
  padding: 20px 100px;
  font-family: "Agdasima", sans-serif;
}
/* sticky header  */
header.sticky {
  padding: 5px 100px;
  background-color: rgb(0, 189, 149);
  box-shadow: 0px 0px 20px #00f7fb;
}
header.sticky .logo a {
  color: white;
}

header.sticky ul li a i,
header.sticky ul li a {
  font-weight: bold;
  color: #081b29;
  transition: 0.4s;
}

header.sticky ul li a:hover i,
header.sticky ul li a:hover {
  color: #fff;
  transition: 0.3s;
}
/* ----------------*/

.logo a {
  position: relative;
  font-weight: 700;
  color: rgb(0, 189, 149);
  text-decoration: none;
  font-size: 2.5em;
  letter-spacing: 3px;
  transition: 0.6s;
}
.navbar ul {
  position: relative;
  display: flex;
}
.navbar ul li {
  position: relative;
  list-style: none;
}
.navbar ul li a {
  position: relative;
  font-size: 20px;
  margin: 0 2rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: 2px;
  transition: 0.4s;
}

.navbar ul li a i {
  transition: 0.4s;
}
.navbar ul li a:hover,
.navbar ul li a:hover i {
  color: rgb(0, 189, 149);
}

.navbar {
  display: contents;
}
.toggle {
  display: block;
}
/* DROPDOWN MENU  */
.dropdown_menu {
  display: none;
  position: absolute;
  top: 60px;
  /* right: 2rem; */
  height: 0;
  width: 300px;
  background-color: #081b29a8;
  backdrop-filter: blur(10px);
  overflow: hidden;
  border-radius: 10px;
  transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* padding: 10px 0;
  box-shadow: #00f7fb 0px 0px 20px; */
}
.dropdown_menu.open {
  height: 240px;
}
.navbar .toggle {
  color: #f1f1f1;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}
.dropdown_menu li a {
  text-decoration: none;
  color: #f1f1f1;
  letter-spacing: 2px;
  font: 20px;
  font-weight: bold;
}
.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 992px) {
  .navbar .links {
    display: none;
  }
  .navbar .toggle {
    display: block;
  }
  .dropdown_menu {
    display: block;
  }
  .logo a {
    font-size: 2em;
  }
}
/* HERO SECTION */
.hero {
  height: 100vh;
  background: url("../images/bg.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  margin: 5rem 0 0 3rem;
  display: flex;
}

.content {
  font-family: "Rajdhani", sans-serif;
  color: #fff;
  letter-spacing: 2px;
  margin: 100px 0 0 50px;
  font-size: 25px;
}
.content span {
  color: rgb(14, 206, 164);
  letter-spacing: normal;
}
.content h1 {
  margin-top: 15px;
  font-family: "Rajdhani", sans-serif;
  font-weight: bold;
  color: #00f7fb;
  text-shadow: rgb(14, 206, 164) 0px 0px 10px;
  font-size: 60px;
}
.content h2 {
  margin-top: 10px;
  font-size: 40px;
  color: #ffffff;
  text-shadow: #208a8c 0px 0px 5px;
}
.content p {
  margin: 15px 0 30px 0;
  color: white;
  font-size: 20px;
  font-weight: 100;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: normal;
}
.content p span {
  color: rgb(14, 206, 164);
  font-size: 25px;
  text-shadow: #00f7fb 0px 0px 10px;
}
.btn1 {
  color: #081b29;
  background-color: #00f7fb;
}
.btn2 {
  color: #00f7fb;
}

.btn1,
.btn2 {
  text-decoration: none;
  font-weight: bold;
  font-family: "Rajdhani", sans-serif;
  border: #00f7fb 2px solid;
  border-radius: 10px;
  box-shadow: #00f7fb 0px 0px 10px;
  padding: 5px 30px;
  margin-right: 20px;
  display: inline-block;
  transition: 0.4s;
}
.btn1:hover {
  transform: translateY(-10px);
  background-color: #081b29;
  color: #00f7fb;
  transition: 0.5s;
}
.btn2:hover {
  transform: translateY(-10px);
  background-color: #00f7fb;
  transition: 0.5s;
  color: #081b29;
}
.socials {
  font-size: 15px;
  position: absolute;
  display: flex;
  align-items: center;
  margin-top: 4rem;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: normal;
}

.socials span {
  color: #00f7fb;
  margin-right: 10px;
}
.socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: 0.5s;
  border-radius: 50%;
  background-color: #00f7fb;
  transition: 0.4s;
}
.socials a:hover {
  box-shadow: #00f7fb 0px 0px 15px;
  transform: translateY(-10px);
  transition: 0.4s;
}

/* RESPONSIVE NAVBAR AND HERO SECTION  */
@media (max-width: 500px) {
}
@media (max-width: 992px) {
  .hero {
    /* background-size: 700px;
    background-position: calc(100% + 50px);
    background-attachment: fixed;
    background-repeat: no-repeat; */
    height: auto;
  }

  .content {
    margin: 0;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
  }
  .content h1 {
    /* font-size: 40px; */
    font-weight: bold;
  }
  .content h2 {
    font-size: 30px;
  }
  .content p {
    font-size: 15px;
  }
  .socials {
    position: static;
    margin: 3rem 0 1rem 0;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
  }
  .socials a {
    margin: 10px;
  }
  .btn1 {
    margin-bottom: 1rem;
  }
}

/* About  */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100lvh;
  background-color: #0b323a;
}

.about img {
  margin: 50px 0 20px 0;
  border: #00f7fb 5px solid;
  box-shadow: #000000 0px 0px 40px;
  width: 250px;
  transition: 0.4s;
  border-radius: 50%;
}
.about img:hover {
  transform: scale(1.1);
  transition: 0.5s;
}
.about h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: bold;
  color: rgb(14, 206, 164);
  text-shadow: rgb(14, 206, 164) 0px 0px 10px;
  font-size: 60px;
  margin-bottom: 20px;
}
.about h3:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 5px;
  background-color: #00f7fb;
  border-radius: 10px;
  left: 50%;
  box-shadow: #081b29 0px 0px 10px;
  margin-top: 80px;
  transform: translateX(-50%);
}
.about h3 span {
  color: white;
}

.about p {
  color: #f1f1f1;
  font-family: "Rajdhani", sans-serif;
  font-size: 20px;
  text-align: center;
  letter-spacing: normal;
  margin: 2rem 7rem 0 7rem;
}

@media (max-width: 992px) {
  .about {
    height: auto;
  }
  .about img {
    width: 200px;
  }
  .about h3 {
    font-size: 40px;
  }
  .about p {
    font-size: 15px;
    text-align: justify;
    margin: 0;
    margin: 2rem;
  }
}

/* skills  */
.contact .content .sub-title,
.sub-title {
  text-align: center;
  font-size: 60px;
  padding-bottom: 30px;
  padding-top: 30px;
  color: #fff;
}

.sub-title span {
  color: rgb(14, 206, 164);
}

.skillSection {
  display: flex;
  height: 100lvh;
  /* height: auto; */
  width: 100%;
  flex-wrap: wrap;
  flex-direction: column;
}

.container1 {
  padding: 75px 90px;
  margin-left: 120px;
}

.heading {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
  margin-bottom: 50px;
}
/* RESPONSIVE SKILL SECTION  */
@media (max-width: 992px) {
  .skillSection {
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
  .container1 {
    margin: 0;
    width: 70%;
    padding: 0;
  }
}

.bar {
  font-size: 18px;
}

.Technical-bars .bar {
  margin: 20px 0;
}

.Technical-bars .bar:first-child {
  margin-top: 0;
}
.Technical-bars .bar:last-child {
  margin-bottom: 0;
}

.Technical-bars .bar .info {
  margin-bottom: 5px;
}

.Technical-bars .bar .info span {
  font-size: 17px;
  font-weight: 500;
  animation: showText 0.5s ease 0.2s linear forwards;
  /* opacity: 0; */
}

.Technical-bars .bar .progress-line {
  position: relative;
  border-radius: 10px;
  width: 100%;
  height: 5px;
  background-color: #000;
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}
.Technical-bars .bar .progress-line span {
  height: 100%;
  background-color: #00f7fb;
  position: absolute;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.progress-line.python span {
  width: 70%;
}
.progress-line.java span {
  width: 75%;
}
.progress-line.django span {
  width: 80%;
}
.progress-line.mysql span {
  width: 80%;
}
.progress-line.mongodb span {
  width: 70%;
}
.progress-line.php span {
  width: 60%;
}
.progress-line.html span {
  width: 90%;
}
.progress-line.css span {
  width: 85%;
}
.progress-line.js span {
  width: 30%;
}

.progress-line span::after {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  position: absolute;
  padding: 1px 8px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  top: -28px;
  right: -20px;
  animation: showText 0.5s 1.5s linear forwards;
  opacity: 0;
}

.progress-line.python span::after {
  content: "70%";
}
.progress-line.java span::after {
  content: "75%";
}
.progress-line.django span::after {
  content: "80%";
}
.progress-line.mysql span::after {
  content: "80%";
}
.progress-line.mongodb span::after {
  content: "70%";
}
.progress-line.php span::after {
  content: "60%";
}
.progress-line.html span::after {
  content: "90%";
}
.progress-line.css span::after {
  content: "85%";
}
.progress-line.js span::after {
  content: "20%";
}

.progress-line span::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-top-color: #000;
  top: -10px;
  right: 0;
  animation: showText 0.5s 1.5s linear forwards;
  opacity: 0;
}

@keyframes showText {
  100% {
    opacity: 1;
  }
}

.radial-bars {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}
.radial-bars .radial-bar {
  width: 50%;
  height: 170px;
  margin-bottom: 10px;
  position: relative;
}

.radial-bars .radial-bar svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 120px;
  height: 160px;
}

.radial-bars .radial-bar .progress-bar {
  stroke-width: 10;
  stroke: #000;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
  animation: animate-bar 1s linear forwards;
}

@keyframes animate-bar {
  100% {
    stroke-dashoffset: -1;
  }
}
.path {
  stroke: #00f7fb;
  stroke-width: 10;
  fill: transparent;
  stroke-dasharray: 508;
  stroke-dashoffset: 502;
  stroke-linecap: round;
}
.path1 {
  stroke: #00f7fb;
  stroke-width: 10;
  fill: transparent;
  stroke-dasharray: 452;
  stroke-dashoffset: 502;
  stroke-linecap: round;
}

.path-1 {
  animation: animate-path1 1s 1s linear forwards;
}
.path-2 {
  animation: animate-path1 1s 1s linear forwards;
}
.path-3 {
  animation: animate-path1 1s 1s linear forwards;
}

@keyframes animate-path1 {
  100% {
    stroke-dashoffset: 50;
  }
}
@keyframes animate-path1 {
  100% {
    stroke-dashoffset: 125;
  }
}
@keyframes animate-path1 {
  100% {
    stroke-dashoffset: 75;
  }
}

.radial-bar .percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: bold;
  animation: showText 0.5s 1s linear forwards;
}

.progress-bar .text {
  width: 100%;
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50px);
  font-size: 17px;
  font-weight: 500;
  animation: showText 0.5s 1s linear forwards;
  opacity: 0;
}

/* PROJECTS */
.project {
  width: 100%;
  /* min-height: 100lvh; */
  background-color: #0b323a;
}
.project h3 {
  text-align: center;
  font-size: 60px;
  padding-bottom: 30px;
  padding-top: 30px;
  color: #fff;
}
.project h3 span {
  color: rgb(14, 206, 164);
}
.project-card {
  /* width: 100%; */
  height: max-content;
  margin-top: 4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.project-card .card {
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background-color: #fff;
  width: 450px;
  margin: 1rem;
  border-radius: 10px;
  transition: 0.5s;
  box-shadow: 5px 5px 10px 0px #00f7fb;
}
.project-card .card:hover {
  transform: scale(1.05);
  transition: 0.5s;
}
.card .description {
  color: #000;
  text-align: center;
}
.card .tech {
  color: #000;
  text-align: center;
}
.card i {
  color: #000;
  font-size: 25px;
}
.card img {
  margin-top: 1rem;
  width: 350px;
  /* height: 250px; */
  border: #000000 1px solid;
}

/*CONTACT*/
.contact {
  color: aliceblue;
  position: relative;
  height: auto;
  padding: 50px 100px;
  justify-content: center;
  /* flex-direction: column; */
  font-family: "Courier New", Courier, monospace;
}

.contact .content {
  text-align: center;
  margin-top: 40px;
}
.contact .content h2 {
  font-size: 56px;
  font-weight: 600;
}

.contact .content p {
  font-weight: 300;
}
.Container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.Container .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.Container .contactInfo .box {
  position: relative;
  padding: 20px 0;
  display: flex;
  font-family: "Rajdhani", sans-serif;
}
.Container .contactInfo .box .icon i {
  min-width: 60px;
  height: 60px;
  color: black;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.Container .contactInfo .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 20px;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}

.Container .contactInfo .box .text h3 {
  font-weight: 500;
  font-size: 40px;
  color: #fff;
}
.Container .contactInfo .box .text a {
  color: #fff;
  text-decoration: none;
}

.contactForm {
  width: 50%;
  padding: 50px;
  background: #fff;
  border-radius: 20px;
}
.contactForm h2 {
  font-size: 30px;
  color: #333;
  font-weight: 500;
}
.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
  color: #000;
}
.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  color: #000;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.contactForm .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
  pointer-events: none;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
  color: #ffb700;
  font-size: 12px;
  transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
  width: 100px;
  background: #085662;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  font-weight: 300;
  border-radius: 5px;
}
.contactForm .inputBox input[type="submit"]:hover {
  background: #16a6c3;
  transition: 0.3s;
}

.foot {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  height: 4rem;
}
@media (max-width: 991px) {
  .contact {
    padding: 50px;
  }
  .Container {
    flex-direction: column;
  }
  .Container .contactInfo {
    margin-bottom: 40px;
  }
  .Container .contactInfo,
  .contactForm {
    width: 100%;
  }
}
