@import url("https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=David+Libre:wght@400;500;700&family=Edu+QLD+Hand:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Grotesk:wght@300..700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  position: relative;
}

body {
  background-color: #0e111a;
  color: #c9c9c9;
  font-family: system-ui;
}

.container {
  max-width: 1300px;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.row > * {
  padding: 0px 15px;
}

ul > li {
  list-style-type: none;
}

a {
  text-decoration: none;
  display: inline-block;
}

h2 {
  text-align: left;
  font-size: 36px;
  color: white;
  margin-bottom: 40px;
}

/* Header Section */

header {
  padding: 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.navbar-brand > a {
  max-width: 198px;
  max-height: 55px;
}

.navbar-brand > a > img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

nav,
.nav-right,
.nav-right > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-right {
  flex-grow: 1;
  gap: 50px;
}

.nav-right > ul {
  margin-left: auto;
  gap: 50px;
}

.nav-right > ul > li > a {
  color: white;
  font-size: 18px;
  font-family: David Libre;
  position: relative;
}

.nav-right > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: 0.5s ease;
}

.nav-right > ul > li > a:hover::after {
  width: 100%;
}

.nav-btn > a {
  padding: 10px 20px;
  border-radius: 25px;
  background: linear-gradient(135deg, #6012a9, #3ddde8);
  color: white;
  font-size: 18px;
}

.nav-btn:hover {
  transform: scale(1.2);
}

.nav-btn > a:hover {
  color: black;
  text-decoration: 1px solid black underline;
}

.ham {
  display: none;
}

.active {
  display: flex !important;
}

/* baaner section */

.banner-section {
  min-height: calc(100vh - 104px);
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: linear-gradient(to top right, #eaa4ea, #973c97, #2b002b); */
}

.banner-section > div > div {
  align-items: center;
  padding-top: 150px;
  padding-bottom: 100px;
}

.col6 {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-content > h1 {
  font-size: 64px;
}

h1 > span {
  background: linear-gradient(135deg, #3300ff, #ff00f5, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-content > .description {
  font-size: 20px;
  margin-block: 50px;
}

.cv {
  padding: 15px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #6012a9, #3ddde8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-wrap: nowrap;
}

.cv:hover {
  transform: scale(1.2);
  color: black;
}

.fa-solid {
  font-size: 25px;
}

.github:hover,
.linkedin:hover {
  transform: scale(1.2);
}

.cursor {
  display: inline-block;
  font-weight: lighter;
  font-size: 50px;
  width: 5px;
  background-color: #6012a9;
  margin-left: 2px;
  animation: blink 0.7s step-start infinite;
}

.banner-btn {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 30px;
}

.banner-btn > a > img {
  max-width: 100%;
  object-fit: contain;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.banner-image {
  max-width: 500px;
}

.banner-image > img {
  width: 100%;
  object-fit: contain;
  border-radius: 25px;
}

/* skills and tools section */

.skills-section {
  padding: 20px 15px 100px;
}

.skills-section > div > div > div {
  width: 100%;
  padding-block: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-radius: 20px;
  background: #1a1a2e;
}

.skills-section > div > div > div::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #4df4ff, #aa60f0);
  z-index: -1;
}

.html > img {
  max-width: 95px;
  object-fit: contain;
}

.logo > img {
  max-width: 100px;
  object-fit: contain;
}

.css {
  display: flex;
  justify-content: center;
  align-items: center;
}

.css > img {
  max-width: 115px;
  object-fit: contain;
}

.js > img {
  max-width: 90px;
  object-fit: contain;
}

/* experience section */

.experience-section {
  padding: 20px 15px 100px;
}

.experience-section > div > div {
  padding: 50px 0;
  flex-direction: column;
  position: relative;
  border-radius: 20px;
  background: #1a1a2e;
}

.experience-section > div > div > ul > li {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.experience-section > div > div::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #4df4ff, #aa60f0);
  z-index: -1;
}

.subheading {
  font-size: 25px;
  margin-bottom: 20px;
}

.experience-section p {
  font-size: 18px;
}

.description {
  font-size: 20px;
  margin-block: 20px;
}

.experience-section .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(to right, #4df4ff, #aa60f0);
}

/* education section */

.timeline-section {
  margin: auto;
  padding: 20px 0 100px;
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 40px;
  flex-wrap: wrap;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fff, #999);
  z-index: 1;
}

.timeline-item {
  flex: 1 1 250px;
  max-width: 300px;
  position: relative;
  z-index: 2;
  padding-top: 30px;
}

.timeline-item h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.timeline-item .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(to right, #4df4ff, #aa60f0);
  position: absolute;
  top: 5px;
  left: 0;
  transform: translateY(-50%);
}

.timeline-item p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
}

.skills-tools > div > div {
  padding: 30px 0;
  justify-content: center;
  align-items: center;
}

.skill-tools .col6 {
  width: 50%;
}

.coding-skill,
.tools {
  background-color: #1e1e1e;
  color: white;
  padding: 50px;
  border-radius: 25px;
}

.skill {
  margin-bottom: 1.5rem;
  position: relative;
}

.skill-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.skill-bar {
  background-color: #444;
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  background-color: #00bfff;
  height: 100%;
  width: 0;
  border-radius: 50px;
  transition: width 0.8s ease-in-out;
}

.skill-percent {
  position: absolute;
  right: 0;
  top: 20px;
  font-size: 0.9rem;
  margin-top: -1.4rem;
  color: #ccc;
}

/* Project Section */
.col-6 {
  width: 50%;
}

.project-section > div > div {
  align-items: center;
  row-gap: 20px;
}
.project-section {
  margin-bottom: 110px;
}

.positivus-img {
  height: auto;
}
.project-img {
  max-width: 500px;
  height: auto;
  margin-bottom: 10px;
}
.project-img > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
}
.project-section > div > h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: whitesmoke;
}
.project-box > p {
  font-size: 18px;
  margin-bottom: 15px;
  color: white;
  text-align: center;
}
.project-box > h3 {
  font-size: 25px;
  margin-bottom: 15px;
  color: rgb(106, 212, 245);
  text-align: center;
}
.project {
  min-height: 300px;
  padding: 5px;
  position: relative;
  border-radius: 20px;
  background: #1a1a2e;
}

.project::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #4df4ff, #aa60f0);
  z-index: -1;
}

.project-box {
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.project-btn1 {
  padding: 10px 15px;
  border-radius: 25px;
  background: linear-gradient(135deg, #6012a9, #3ddde8);
}
.project-btn1 > a {
  color: white;
  font-size: 18px;
}

.project-btn1:hover {
  background: linear-gradient(135deg, #c79af2, #7be9f1);
  transform: scale(1.2);
}

.project-btn1 > a:hover {
  color: black;
}

.project-btn2 {
  padding: 10px 15px;
  border-radius: 25px;
  background: linear-gradient(135deg, #c79af2, #7be9f1);
}
.project-btn2 > a {
  color: black;
}
.project-btn2:hover {
  background: linear-gradient(135deg, #6012a9, #3ddde8);
  transform: scale(1.2);
}
.project-btn2 > a:hover {
  color: white;
}

.mySwiper {
  display: none;
}

/* get in touch section */

.get-in-touch-section {
  margin-bottom: 30px;
}

.get-in-touch-section > div > h2 {
  margin-bottom: 10px;
}

.get-in-touch-section > div > p {
  font-size: 20px;
}

hr {
  margin-block: 20px 40px;
}

.get-in-touch-section > div > div > div {
  margin: 0 auto;
}

.get-in-touch-content {
  padding: 60px 60px;
  position: relative;
  border-radius: 20px;
  background: #1a1a2e;
}

.get-in-touch-content::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #4df4ff, #aa60f0);
  z-index: -1;
}

.label {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 20px;
}

#fname {
  width: 400px;
  padding: 15px 10px;
  border-radius: 25px;
  background-color: transparent;
  border: 1px solid white;
  margin-bottom: 20px;
  color: white;
}

#email {
  width: 400px;
  padding: 15px 10px;
  border-radius: 25px;
  background-color: transparent;
  border: 1px solid white;
  margin-bottom: 20px;
  color: white;
}

#message {
  width: 400px;
  height: 200px;
  padding: 15px 10px;
  border-radius: 25px;
  background-color: transparent;
  border: 1px solid white;
  margin-bottom: 20px;
  color: white;
}

.submit {
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 25px;
  background: linear-gradient(to right, #4df4ff, #aa60f0);
  color: white;
  font-size: 18px;
}

@media screen and (max-width: 1200px) {
  /* banner section */

  .banner-section > div > div {
    text-align: center;
  }

  .banner-btn {
    justify-content: center;
    margin-bottom: 50px;
  }

  .col6 {
    width: 100%;
  }

  .banner-content > .description {
    max-width: 600px;
  }
}

@media screen and (max-width: 992px) {
  header {
    position: relative;
  }

  .nav-right {
    padding-block: 20px;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background-color: black;
    z-index: 9;
    animation: upsidedown 1s forwards 1 linear;
  }

  @keyframes upsidedown {
    from {
      transform: translateY(-90px);
    }
    to {
      transform: translateY(0);
    }
  }

  .nav-right > ul {
    flex-direction: column;
    margin: 0 auto;
  }

  .ham {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .ham > span {
    display: inline-block;
    width: 25px;
    height: 1.5px;
    background-color: white;
  }

  /* banner section */

  .banner-section > div > div {
    padding-top: 0px;
  }

  /* education section */

  .timeline-item {
    max-width: 200px;
  }

  /* project section */
  .project-section > div > h2 {
    font-size: 36px;
    margin-bottom: 0px;
  }

  .project-section .row {
    display: none;
  }

  .mySwiper {
    display: flex;
  }

  .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 330px;
    height: auto;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
  }

  .project-box > h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .project-box > p {
    font-size: 14px;
    font-weight: lighter;
  }

  .project-btn1 > a {
    font-size: 14px;
  }

  .project-btn2 > a {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  /* banner section */

  .banner-content > h1 {
    font-size: 50px;
  }

  .banner-content > .description {
    font-size: 16px;
    margin-block: 30px;
  }

  /* skills and tools section */

  .skills-section > div > div > div {
    padding-block: 50px;
    justify-content: center;
    gap: 40px;
  }

  h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .html > img {
    max-width: 75px;
  }

  .css > img {
    max-width: 88px;
  }

  .js > img {
    max-width: 70px;
  }

  .logo > img {
    max-width: 85px;
  }

  /* experience section */
  .subheading {
    font-size: 22px;
  }

  .experience-section p {
    font-size: 16px;
  }

  .experience-section .dot {
    width: 10px;
    height: 10px;
  }

  /* education section */

  .timeline {
    flex-direction: column;
    /* justify-content: center; */
    gap: 60px;
  }

  .timeline::before {
    height: 100%;
    width: 4px;
    top: 30px;
    left: 20px;
    background: linear-gradient(to bottom, #fff, #999);
  }

  .timeline-item {
    max-width: 100%;
    padding-left: 50px;
  }

  .timeline-item .dot {
    top: 30px;
    left: 12px;
    transform: none;
  }

  .timeline-item {
    flex: 1 1 125px;
  }

  /* project section */

  .col-6 {
    max-width: 445px;
    width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 556px) {
  .navbar-brand > a > img {
    width: 75%;
  }

  .ham {
    gap: 8px;
  }

  .ham > span {
    width: 20px;
    height: 1px;
  }

  /* banner section */

  .banner-section > div > div {
    padding-bottom: 30px;
  }

  .banner-content > h1 {
    font-size: 35px;
  }

  .banner-content > h1 > span {
    font-size: 30px;
  }

  .banner-content > .description {
    max-width: 300px;
    margin-inline: auto;
    font-size: 12px;
  }

  .banner-btn > a > img {
    max-width: 75%;
  }

  .cv {
    font-size: 12px;
  }

  .cursor {
    font-size: 35px;
  }

  .banner-btn {
    gap: 5px;
  }

  /* skills and tools section */

  .skills-section {
    padding: 20px 15px 50px;
  }

  /* experience section */
  .experience-section {
    padding: 20px 15px 50px;
  }

  .experience-section > div > div {
    padding: 30px 0;
  }

  /* education section */
  .timeline-item p {
    font-size: 16px;
  }

  /* project section */
  .project-section > div > h2 {
    font-size: 30px;
  }

  /* get in touch section */
  .get-in-touch-content {
    padding: 25px;
  }

  #fname,
  #email,
  #message {
    width: 290px;
  }
}

@media screen and (max-width: 430px) {
  /* skills and tools section */

  h2 {
    font-size: 25px;
  }

  .html > img {
    max-width: 68px;
    object-fit: contain;
  }

  .logo > img {
    max-width: 75px;
    object-fit: contain;
  }

  .css {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .css > img {
    max-width: 79px;
    object-fit: contain;
  }

  .js > img {
    max-width: 63px;
    object-fit: contain;
  }

  /* experience section */

  .subheading {
    font-size: 18px;
  }

  .experience-section .dot {
    width: 18px;
    height: 7px;
  }

  /* project section */
  .project-section > div > h2 {
    font-size: 25px;
  }

  .swiper-slide {
    width: 279px;
  }

  /* get in touch section */

  .get-in-touch-content {
    padding: 15px 10px;
  }

  .label {
    font-size: 12px;
  }

  .submit {
    font-size: 12px;
  }
}
