/* home page stylesheet */

/* intro section starts*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--base-dark-blue);
}
.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
  pointer-events: none;
}
.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: var(--nightwing-blue);
}
.home .content p {
  font-size: 2.5rem;
  color: var(--base-light-grey);
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 2.5rem;
  color: var(--base-readable-blue);
  background-color: var(--base-dark-blue);
  border-radius: 20px;
  font-weight: 600;
  padding: 1rem 0;
}
/* social icons start */
.socials {
  position: relative;
  margin-top: 9rem;
}
.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
  pointer-events: auto;
}
.social-icons a {
  font-size: 3rem;
  display: inline-block;
  line-height: 66px;
  color: var(--nightwing-blue);
  width: 66px;
  height: 66px;
  text-align: center;
  margin-right: 12px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: var(--base-dark-blue);
  background-color: var(--base-light-blue);
}
/* social icons end */

/* intro media queries starts*/
@media (max-width: 450px) {
  .socials {
    margin-top: 12rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* intro media queries ends*/
/* intro section end */

/* about section starts */
section.about {
  min-height: auto;
}
.about {
  background: var(--base-light-grey);
  color: var(--base-dark-blue);
  padding-top: 8em;
  padding-bottom: 8em;
}

.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
}
.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}
.about .row .image img {
  margin: 4rem;
  width: 30rem;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  mix-blend-mode: luminosity;
  transition: 0.3s;
  cursor: pointer;
}
.about .row .image img:hover {
  mix-blend-mode: normal;
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 1rem;
}
.about .row .content p,
.about .row .content ul {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
  text-transform: none;
}

.about .row .content p a {
  color: var(--base-light-blue);
}
.about .row .content p a:hover {
  color: var(--base-readable-blue);
}

.about .row .content ul {
  margin-left: 3rem;
}

.resumebtn {
  margin-top: 3rem;
}
.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: var(--base-light-grey);
  background: var(--base-light-blue);
  box-shadow: 0px 5px 10px rgba(74, 31, 238, 0.6);
  font-family: "Nunito", sans-serif;
}
.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}
.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: 0.3s;
}
.resumebtn .btn:hover {
  background: var(--base-readable-blue);
}
.resumebtn .btn:hover i {
  transform: translateX(5px);
}
/* about media queries starts*/
@media screen and (max-width: 600px) {
  .about .row .image {
    margin-top: 2rem;
  }
  .about .row .image img {
    margin: 0 auto;
    width: 80%;
    mix-blend-mode: normal;
  }
  .about .row {
    padding: 0.5rem;
    margin-bottom: 7rem;
  }
  .about .row .content {
    padding: 1rem;
  }
}
/* about media queries ends*/
/* about section ends */

/* projects section starts */
section.projects {
  min-height: auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.projects {
  background: var(--base-dark-blue);
}
.projects h2 {
  color: var(--base-light-grey);
  padding: 1rem;
}
.projects .heading span {
  color: var(--nightwing-blue);
}
.projects .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.projects .box-container .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem var(--nightwing-blue);
  position: relative;
  overflow: hidden;
  height: 30rem;
}
.projects .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.projects .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: var(--base-light-grey);
  display: flex;
  flex-direction: column;
}
.projects .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  padding-left: 1rem;
  background: var(--nightwing-blue);
}
.projects .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.projects .box-container .box:hover .content {
  top: 25%;
}
.projects .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.projects .desc p {
  text-transform: none;
  font-size: 1.25rem;
}
.projects .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
  padding-top: 1rem;
}
.projects .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: var(--base-light-grey);
  background: var(--base-dark-blue);
  margin-right: 2rem;
}
.projects .desc .btns .btn:hover {
  background: var(--base-light-blue);
}
.projects .viewall {
  display: flex;
  justify-content: center;
  padding-top: .5rem;
}
.projects .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid var(--base-light-grey);
  box-shadow: 0px 5px 10px rgba(211, 211, 211, 0.4);
  text-align: center;
}
.projects .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.projects .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.projects .viewall .btn:hover {
  background: var(--base-light-grey);
  color: var(--base-dark-blue);
}
.projects .viewall .btn:hover i {
  transform: translateX(5px);
}
/* projects section ends */

/* experience section starts */
section.experience {
  min-height: auto;
}
.experience {
  padding-top: 8em;
  padding-bottom: 8em;
}
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: var(--base-dark-blue);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}
.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/*circles on timeline*/
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: var(--base-light-grey);
  border: 4px solid var(--base-readable-blue);
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  color: var(--base-dark-blue);
  font-family: "Font Awesome\ 5 Free";
}
.experience .left {
  left: 0;
}
.experience .right {
  left: 50%;
}
/* arrows pointing right */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--base-readable-blue);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--base-readable-blue);
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--base-readable-blue);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--base-readable-blue) transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: var(--base-readable-blue);
  position: relative;
  border-radius: 6px;
}
.experience .content .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.experience .content .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.experience .content .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
.experience .content .desc p {
  font-size: 1.2rem;
}
/* view all button */
.morebtn {
  padding-top: 1em;
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #fff;
  background: var(--base-light-blue);
  box-shadow: 0px 5px 10px rgba(74, 31, 238, 0.6);
  text-align: center;
}
.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.morebtn .btn:hover {
  background: var(--base-readable-blue);
}
.morebtn .btn:hover i {
  transform: translateX(5px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .experience {
    min-height: 80vh;
  }
  .experience .timeline {
    margin-top: 2rem;
  }
  .experience .timeline::after {
    left: 31px;
  }
  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }
  .experience .container::after {
    font-size: 2.2rem;
  }
  .experience .container::before {
    left: 61px;
    border: medium solid var(--base-readable-blue);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--base-readable-blue) transparent transparent;
  }
  .experience .left::after {
    left: 15px;
  }
  .experience .right::after {
    left: 15px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
}
/* experience media queries ends */
/* experience section ends */
