@import url("https://fonts.googleapis.com2?family=Poppins");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sana-serif;
}

/*---------------------------------- Home Page ---------------------------------*/

body {
  background: #1f242d;
  color: #fff;
}

header {
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 10%;
  background: #222c3d;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  position: fixed;
}

.logo {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

.navbar a {
  font-size: 1.5rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 1.3rem;
  transition: 0.3s;
  opacity: 0;
  animation: slidetop 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
  /* color: #0ef; */
  background-image: linear-gradient(to right, #34ebcc, #34d5eb);
  -webkit-background-clip: text;
  color: transparent;
}

.home {
  position: relative;
  margin-top: 4rem;
  width: 100%;
  height: 110vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 10% 0;
}

.home-content {
  max-width: 60rem;
}
.home-content h3 {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0;
  animation: slidebottom 1s ease forwards;
  animation-delay: 0.2s;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 3rem;
  animation: slidetop 1s ease forwards;
  animation-delay: 0.2s;
}

.home-content p:nth-of-type(1) {
  margin-bottom: 2rem;
}

.home-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin: -3px 0;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 0.6s;
}

.home-content p {
  font-size: 1.6rem;
  opacity: 0;
  animation: slideleft 1s ease forwards;
  animation-delay: 0.6s;
}
.home-img img {
  width: 20rem;
  height: 20rem;
  position: relative;
  top: -9rem;
  opacity: 0;
  animation: zoomin 1s ease-in-out forwards, floatImage 4s ease-in-out infinite;
  animation-delay: 2s, 3s;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.8rem;
  height: 2.8rem;
  background: transparent;
  border: 0.2rem solid #0ef;
  border-radius: 50%;
  text-decoration: none;
  color: #0ef;
  font-size: 2rem;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.6s ease;
  opacity: 0;
  animation: slideleft 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.bx {
  font-size: 1.5rem;
}

.social-media a:hover {
  background-color: #0ef;
  color: #1f242d;
  box-shadow: 0 0 2rem #0ef;
}

.home-content {
  position: relative;
  top: -9rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  background-color: #0ef;
  border-radius: 4rem;
  box-shadow: 0 0 1rem #0ef;
  color: #1f242d;
  letter-spacing: 0.1rem;
  font-weight: 600;
  opacity: 0;
  animation: slidetop 0.5s ease forwards;
  animation-delay: 2s;
}

#menu-icon {
  cursor: pointer;
  display: none;
  font-size: 3rem;
}

@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slidetop {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slidebottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideleft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes zoomin {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-24px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ----------------------------- About me ----------------------------- */

.about {
  position: relative;
  display: flex;
  height: 120vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 10% 50px;
}

.about h1 {
  position: relative;
  top: -1rem;

  font-size: 40px;
  font-weight: 600;
}

.heading span,
.about-content span,
.home-content span {
  color: #0ef;
}

.about-img {
  height: 20rem;
  width: 20rem;
}
.about-img img {
  display: block;
  justify-content: center;
  height: 20rem;
  width: 20rem;
  top: -20px;
  opacity: 0;
  animation: zoomin 1s ease-in-out forwards, floatImage 5s ease-in-out infinite;
  animation-delay: 2s, 2s;
}

.about-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  top: 5px;
}
.btnn {
  display: inline-block;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  background-color: #0ef;
  border-radius: 4rem;
  box-shadow: 0 0 1rem #0ef;
  color: #1f242d;
  letter-spacing: 0.1rem;
  font-weight: 600;
  opacity: 0;
  animation: slidetop 0.5s ease forwards;
  animation-delay: 2s;
}

#space {
  padding-left: 1rem;
}
/* ------------------------------------ EDUACTION SECTION --------------------------------------- */

.eduaction {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;

  gap: 2rem;
  top: 10px;
  height: 120vh;
}

.eduaction h2 {
  font-size: 40px;
  font-weight: 600;
}

.eduaction .eduaction-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 5rem;
}

.eduaction-row .eduaction-column {
  flex: 1 1 40rem;
}

.eduaction-column .title {
  font-size: 2rem;
  margin: 0 0 1.5rem 2rem;
}

.eduaction-column .eduaction-box {
  border-left: 0.2rem solid #0ef;
}

.eduaction-box .eduaction-content {
  position: relative;
  padding-left: 2rem;
}

.eduaction-box .eduaction-content ::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2.9rem;
  width: 1.2rem;
  height: 1.2rem;
  background-color: #0ef;
  border-radius: 50%;
}

.eduaction-content .content {
  position: relative;
  padding: 1rem;
  border: 0.2rem solid #0ef;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
}

.eduaction-content .content .year {
  font-size: 1rem;
  color: #0ef;
  padding-bottom: 0.3rem;
}

.eduaction-content .content.year i {
  padding-right: 0.5rem;
}

.eduaction-content .content.year h3 {
  font-size: 2rem;
}

.eduaction-content .content p {
  font-size: 1.2rem;
  padding-top: 0.3rem;
}

/* ---------------------------------------- SKILLS SECTION ---------------------------------- */

.skill .heading,
.contact h1 {
  font-size: 40px;

  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.skill {
  padding: 4rem;
  gap: 2rem;
  margin-top: 1rem;
  height: 120vh;
  padding-bottom: 7rem;
}

.skill .skill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 5rem;
}

.skill-row .skill-column {
  flex: 1 1 40rem;
}

.skill-column.title {
  font-size: 2.5rem;
  margin: 0 0 1.5rem;
}

.skill-box .skill-content {
  position: relative;
  border: 0.2rem solid #0ef;
  border-radius: 0.6rem;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
}

.skill-content .progress {
  padding: 1rem 0;
}

.skill-content .progress h3 {
  font-size: 1, 7rem;
  display: flex;
  justify-content: space-between;
}

.skill-content .progress h3 span {
  color: #0ef;
}

.skill-content .progress .bar {
  height: 1.5rem;
  border-radius: 0.6rem;
  border: 0.2rem solid #0ef;
  padding: 0.3rem;
  margin: 1rem 0;
}

.skill-content .progress .bar span {
  display: block;
  height: 100%;
  border-radius: 0.3rem;
  background-color: #0ef;
}

.skill-column:nth-child(1) .skill-content .progress:nth-child(1) .bar span {
  width: 90%;
}

.skill-column:nth-child(1) .skill-content .progress:nth-child(2) .bar span {
  width: 80%;
}

.skill-column:nth-child(1) .skill-content .progress:nth-child(3) .bar span {
  width: 60%;
}

.skill-column:nth-child(1) .skill-content .progress:nth-child(4) .bar span {
  width: 80%;
}

.skill-column:nth-child(2) .skill-content .progress:nth-child(1) .bar span {
  width: 90%;
}

.skill-column:nth-child(2) .skill-content .progress:nth-child(2) .bar span {
  width: 80%;
}

.skill-column:nth-child(2) .skill-content .progress:nth-child(3) .bar span {
  width: 60%;
}

.skill-column:nth-child(2) .skill-content .progress:nth-child(4) .bar span {
  width: 80%;
}

/* ----------------------------------- CONTACT ----------------------------------- */

.contact {
  min-height: auto;
  padding: 80px 10% 50px;
}

.contact form {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.contact form .input-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact form .input-box .input-field {
  position: relative;
  width: 49%;
  margin: 0.8rem 0;
}

.contact form .input-box .input-field input,
.contact form .textarea-field textarea {
  width: 100%;
  height: 70%;
  padding: 0.7rem;
  font-size: 1.6rem;
  color: #fff;
  background: transparent;
  border-radius: 0.6rem;
  border: 0.2rem solid #0ef;
}

.contact form .textarea-field textarea {
  width: 710px;
  height: 316px;
}

.contact form .textarea-field {
  position: relative;
  margin: 0.8rem 0 1rem;
  display: flex;
}

.contact form .textarea-field textarea {
  resize: none;
}

.contact form .btn-box .btn {
  cursor: pointer;
}

/* --------------------------------------- RESPONSIVE SITE --------------------------------- */

@media (max-width: 900px) {
  html {
    font-size: 62.5%;
  }

  #menu-icon {
    display: block;
     position: relative;
    left: -13rem;
  }

  .navbar {
    position: absolute;

    left: -100%;
    width: 100%;
    z-index: -1;
    padding: 1rem 4%;
    background-color: #222c3d;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    transition: 0.25s ease;
  }

  .navbar.active {
    transition-delay: 0s;
    left: 0;
  }

  .navbar.active-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: yellowgreen;
    border-top: 0.1rem solid rgb(0, 0, 0, 0.2);
    z-index: -1;
    transition: 0.25s ease;
    transition-delay: 0s;
  }

  .navbar.active .active-nav {
    transition-delay: 0.25s;
  }
  .navbar a {
    display: block;
    font-size: 2rem;
    padding-left: 5rem;
    margin: 3rem 0;
    transform: translateX(-20rem);
  }
}

@media (max-width: 500px) {
  .social-media a {
    height: 2rem;
    width: 2rem;
    position: relative;
    top: 21rem;
  }
  .home-img img {
    width: 22rem;
    height: 22rem;
    position: relative;
    top: -2rem;
    left: -27rem;
  }
  .home {
    top: -13rem;
  }
  .home-content h3:nth-of-type(2) {
    margin-bottom: 28rem;
  }

  .home-content p:nth-of-type(1) {
    margin-bottom: -21rem;
  }
  .home-content p {
    width: 32rem;
  }
  .btn {
    position: relative;
    top: 20rem;
  }
  .about-content .btnn {
    position: relative;
    top: 3rem;
  }
