@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,100;1,200;1,400;1,600;1,700;1,800;1,900&display=swap");

* {
  text-decoration: none;
  outline: none;
  border: none;
  font-family: "Nunito", sans-serif;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 0;
  margin: 0;
  text-transform: capitalize;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
}

html {
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: white;
}

html::-webkit-scrollbar-thumb {
  background-color: #2b6777;
}

.fade--ins {
  opacity: 0;
  transform: translate(0, 13vh);
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  -webkit-transform: translate(0, 13vh);
  -moz-transform: translate(0, 13vh);
  -ms-transform: translate(0, 13vh);
  -o-transform: translate(0, 13vh);
}

.fade--ins.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  height: 100%;
  width: 25rem;
  background-color: #2b6777;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
  padding-top: 1.5rem;
}

section {
  min-height: 100vh;
}

header > div > img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 0.3rem solid #c8d8e4;
}

header > div > h3 {
  font-size: 2rem;
  color: #c8d8e4;
}

header > div > p {
  font-size: 1.2rem;
  margin-top: 0.2rem;
  color: #c8d8e4;
}

header .navbar {
  width: 100%;
}

header .navbar ul {
  list-style: none;
  padding: 1rem 3rem;
}

header .navbar ul li a {
  display: block;
  padding: 0.7rem;
  margin: 1rem 0;
  background-color: #c8d8e4;
  color: #000;
  border-radius: 1.3rem;
  font-size: 1.2rem;
  -webkit-border-radius: 1.3rem;
  -moz-border-radius: 1.3rem;
  -ms-border-radius: 1.3rem;
  -o-border-radius: 1.3rem;
}

header .navbar ul li a:hover {
  background-color: #fff;
  transition: all 1.1s;
  -webkit-transition: all 1.1s;
  -moz-transition: all 1.1s;
  -ms-transition: all 1.1s;
  -o-transition: all 1.1s;
}

.active--nav {
  background-color: #c0f0fc !important;
}

/* NAVIGATION */

#menu {
  position: fixed;
  display: none;
  right: 3%;
  top: 2%;
  padding: 0.2rem 0.4rem;
  font-size: 1.6rem;
  z-index: 1000;
  color: black;
}

/* HOME */

.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 8rem 0 30rem;
  background-color: #c8d8e4;
}

.home .hello {
  font-size: 1.5rem;
}

.home > .welcome--text {
  font-size: 2.5rem;
  color: #2b6777;
}

.home > p {
  font-size: 1rem;
}

.home > .introduction {
  font-family: poppins;
  font-weight: 500;
}

.home > .introduction > li {
  background-image: url(/Images/list-style2.png);
  background-repeat: no-repeat;
  list-style: none;
  background-size: 1.5rem;
  background-position: left center;
  padding: 0.2rem 2rem;
}

.home > .introduction > li:nth-child(1) {
  margin-top: 1rem;
}

.home > .introduction > li:nth-child(6) {
  margin-bottom: 1rem;
}

.btn {
  display: flex;
  position: relative;
  outline: none;
  border: none;
  gap: 0.7rem;
  background-color: #2b6777;
  color: #c8d8e4;
  border-radius: 1.5rem;
  padding: 0.5rem 0.8rem;
  -webkit-border-radius: 1.5rem;
  -moz-border-radius: 1.5rem;
  -ms-border-radius: 1.5rem;
  -o-border-radius: 1.5rem;
  margin-top: 1rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
}

.btn::before {
  position: absolute;
  top: -6%;
  left: -6%;
  content: "";
  outline: none;
  border: none;
  background-color: #fff;
  width: 0;
  height: 4rem;
  z-index: 1;
  transition: all 0.7s ease-in-out;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
}

.btn:hover::before {
  left: 0;
  width: 120%;
  transition: all 0.7s ease-in-out;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
}

.btn > span {
  z-index: 2;
}

.btn:hover > span {
  z-index: 2;
  color: #2b6777;
}

.btn:hover .fas {
  color: #2b6777;
}

.fas {
  z-index: 2;
  color: #c8d8e4;
}

/* ABOUT SECTION */

.about {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: 100vh;
  color: black;
  gap: 0.4rem;
  padding: 2rem 5rem 0 30rem;
}

.about > h3 {
  font-size: 2.5rem;
  border-bottom: 1px solid #2b6777;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.colored--heading--text {
  font-size: 2.5rem;
  color: #52ab98;
}

.info {
  display: flex;
  justify-content: center;
  justify-content: space-between;
  align-items: center;
}

.personal--info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about > .info > .personal--info > h3 > .colored--info {
  color: #2b6777;
}

.about .stats {
  display: flex;
  width: 50%;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.about .stats .box .figure {
  font-size: 2.8rem;
  font-weight: 600;
}

.about .stats .box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #2b6777;
  color: #c8d8e4;
  margin: 0.5rem;
  width: 8rem;
  height: 8rem;
}

.about .stats .box:hover {
  background-color: #fff;
  color: #2b6777;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

/* EDUCATION SECTION */

.education {
  background-color: #c8d8e4;
  padding: 2rem 5rem 0 30rem;
  display: flex;
  flex-direction: column;
}

.education > h3 {
  font-size: 2.5rem;
  border-bottom: 1px solid #2b6777;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.education .education--panel--container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 0;
  padding-left: 1rem;
}

.education .education--panel--container .education--panel {
  position: relative;
  display: block;
  padding-left: 2rem;
  margin-bottom: 2rem;
  width: 31%;
  border-left: 2px solid #2b6777;
}

.education .education--panel--container .education--panel .fas {
  position: absolute;
  left: -7%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  background-color: #2b6777;
  color: #fff;
}

.education .education--panel--container .education--panel .year--duration {
  background-color: #52ab98;
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}

.education .education--panel--container .education--panel h3 {
  margin-top: 0.4rem;
}

.education .education--panel--container .education--panel .work--place {
  margin-bottom: 0.4rem;
}

.education .education--panel--container .education--panel > ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.education .education--panel--container .education--panel li {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "poppins";
  list-style: none;
  display: flex;
}

/* PROJECT SECTION */

.projects {
  padding: 2rem 5rem 0 30rem;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: 100%;
}

.projects > h3 {
  font-size: 2.5rem;
  color: #000;
  border-bottom: 1px solid #2b6777;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
}

.projects > .projects--container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.projects > .projects--container > .project {
  width: 15rem;
  margin-bottom: 2.5rem;
  gap: 0.3rem;
  display: flex;
  flex-direction: column;
}

.projects > .projects--container > .project > .image--container {
  width: 100%;
  height: 65%;
  overflow: hidden;
}

.projects
  > .projects--container
  > .project
  .image--container
  > .project--image {
  width: 100%;
  height: 100%;
}

.projects
  > .projects--container
  > .project
  .image--container
  > .project--image:hover {
  transform: scale(1.25);
  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  -ms-transform: scale(1.25);
  -o-transform: scale(1.25);
}

.projects > .projects--container > .project > .project--title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 800;
}

.projects > .projects--container > .project > .project--introduction {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
}

.projects
  > .projects--container
  > .project
  > .read--download--button--container {
  display: flex;
  gap: 1rem;
}

.projects
  > .projects--container
  > .project
  > .read--download--button--container
  a
  > .read--button {
  background-color: #52ab98;
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border: 1px #52ab98 solid;
}

.projects
  > .projects--container
  > .project
  > .read--download--button--container
  a
  > .read--button:hover {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  background-color: #a3d3c9;
}

.projects
  > .projects--container
  > .project
  > .read--download--button--container
  a
  > .download--button {
  background-color: transparent;
  cursor: pointer;
  outline: none;
  border: 1px solid #52ab98;
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.projects
  > .projects--container
  > .project
  > .read--download--button--container
  a
  > .download--button:hover {
  border: 1px solid #a3d3c9bd;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

/*  CONTACT PAGE STARTS HERE */

.contact {
  position: relative;
  display: flex;
  padding: 2rem 5rem 0 30rem;
  background-color: #c8d8e4;
}

.thank-you-message {
  display: none;
}

.contact > .contact--heading {
  position: absolute;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-align: center;
  color: #000;
  border-bottom: 1px solid #2b6777;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
}

.contact > .address--panel {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 50%;
  margin-top: 3rem;
}

.contact > .address--panel > .top--panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact > .address--panel > .top--panel > .info--container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.contact > .address--panel > .top--panel > .info--container > .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact
  > .address--panel
  > .top--panel
  > .info--container
  > .info
  > .bottom--text {
  width: 85%;
  text-transform: none;
}

.contact > .address--panel > .top--panel > .info--container > .info > a {
  text-decoration: none;
  color: #000;
}

.contact
  > .address--panel
  > .top--panel
  > .info--container
  > .info
  > .top--text {
  font-weight: 700;
  color: #52ab98;
}

.contact
  > .address--panel
  > .top--panel
  > .info--container
  > .info
  > .bottom--text {
  font-size: 0.9rem;
}

.contact > .address--panel > .top--panel > .telephone > .info > .bottom--text {
  text-decoration: underline;
}

.contact > .address--panel > .top--panel > .email > .info > .bottom--text {
  text-decoration: underline;
}

.contact > .address--panel > .top--panel > .info--container > .fa {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #52ab98;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* FORM STARTS HERE */

.contact-form {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-top: 4rem;
}

.contact-form > h3 {
  font-size: 1.7rem;
  font-weight: 600;
}

.contact-form > .send-a-message > .colored--heading {
  color: #52ab98;
  font-size: 1.7rem;
}

.contact-form .send-a-message {
  text-decoration: capitalize;
  font-weight: 500;
}

.contact-form .input-box {
  position: relative;
  margin-top: 1.7em;
  width: 100%;
  text-transform: lowercase;
}

.contact-form .input-box input,
textarea {
  padding: 0.3em 0;
  width: 100%;
  border: none;
  outline: none;
  border-bottom: 1.9px solid #000000;
  resize: none;
  background-color: #c8d8e4;
}

.contact-form .input-box label {
  position: absolute;
  left: 0;
  pointer-events: none;
  font-size: 0.8rem;
  padding: 5px 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  color: #666;
}

.form--control {
  text-transform: none;
}

.contact-form .input-box input:focus ~ label,
.contact-form .input-box input:valid ~ label,
.contact-form .input-box textarea:focus ~ label,
.contact-form .input-box textarea:valid ~ label {
  color: blue;
  font-size: 0.75rem;
  transform: translateY(-1.3em);
  -webkit-transform: translateY(-1.3em);
  -moz-transform: translateY(-1.3em);
  -ms-transform: translateY(-1.3em);
  -o-transform: translateY(-1.3em);
}

.social-contact {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.bottom--panel > .social-contact > .icon--container {
  list-style: none;
}

.bottom--panel > .social-contact > .icon--container > a {
  position: relative;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  background-color: white;
  border: 2px solid white;
  padding: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  z-index: 1;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.social-icon {
  width: 0.9rem;
  position: relative;
  color: #262626;
  transition: 0.4s ease-in-out;
  -webkit-transition: 0.4s ease-in-out;
  -moz-transition: 0.4s ease-in-out;
  -ms-transition: 0.4s ease-in-out;
  -o-transition: 0.4s ease-in-out;
  z-index: 3;
}

.bottom--panel > ul > li > a:hover .social-icon {
  filter: brightness(0) invert(1);
  transform: rotateY(360deg);
  -webkit-transform: rotateY(360deg);
  -moz-transform: rotateY(360deg);
  -ms-transform: rotateY(360deg);
  -o-transform: rotateY(360deg);
  -webkit-filter: brightness(0) invert(1);
  transition: 0.6s ease-in-out;
  -webkit-transition: 0.6s ease-in-out;
  -moz-transition: 0.6s ease-in-out;
  -ms-transition: 0.6s ease-in-out;
  -o-transition: 0.6s ease-in-out;
}

.bottom--panel > ul > li > a:before {
  content: "";
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: 0.8s;
  z-index: 2;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  -ms-transition: 0.8s;
  -o-transition: 0.8s;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.bottom--panel > ul > li > a:hover:before {
  top: 0;
}

.bottom--panel > ul > li:nth-child(1) a:before {
  background-color: #0077b5;
}
.bottom--panel > ul > li:nth-child(2) a:before {
  background-color: #55acee;
}
.bottom--panel > ul > li:nth-child(3) a:before {
  background-color: #000;
}
.bottom--panel > ul > li:nth-child(4) a:before {
  background-color: #25d366;
}

/* THANK YOU WEBPAGE */
.back--to--website {
  margin-top: 2rem;
}

/* RESPONSIVENESS FOR SMALL SIZED PC STARTS HERE */

@media only screen and (max-width: 71.13rem) {
  header {
    left: -120%;
    transition: all 0.6s ease-in-out;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
  }

  #menu {
    display: block;
    cursor: pointer;
  }

  .add--toggle {
    left: 0%;
    width: 100%;
  }

  .home,
  .about,
  .education,
  .projects,
  .contact {
    padding: 2rem;
  }
}

/* RESPONSIVENESS FOR SMALL SIZED TABLET START HERE */

@media only screen and (max-width: 40.65rem) {
  .contact {
    flex-direction: column;
  }

  .contact .address--panel {
    width: 100%;
  }

  .contact > .address--panel > .top--panel {
    width: 100%;
    margin: 2rem 0;
  }

  .contact > .contact-form {
    width: 100%;
  }

  .education .education--panel--container .education--panel {
    width: 45%;
  }

  .contact > .contact--heading {
    border-bottom-width: 100%;
  }

  .info {
    flex-direction: column;
    align-items: flex-start;
  }

  .about .stats {
    width: 100%;
    justify-content: flex-start;
    margin-top: 2rem;
  }
}

/* RESPONSIVENESS FOR MOBILE DEVICES START HERE */

@media only screen and (max-width: 34.5rem) {
  .home > .hello {
    font-size: 1.1rem;
  }

  .home > .welcome--text,
  .about > h3,
  .colored--heading--text,
  .education > h3,
  .projects > h3,
  .contact > .contact--heading {
    font-size: 1.5rem;
  }

  .home > .introduction {
    font-family: poppins;
    font-weight: 500;
    font-size: 0.8rem;
  }

  .home > .introduction > li > em {
    font-size: 0.8rem;
  }

  .education .education--panel--container .education--panel {
    width: 100%;
  }

  .projects > .projects--container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .projects > .projects--container > .project {
    width: 80%;
  }

  .projects > .projects--container > .project > .project--introduction {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .info {
    flex-direction: column;
    align-items: flex-start;
  }

  .about .stats {
    width: 100%;
    justify-content: flex-start;
    margin-top: 2rem;
  }

  .contact
    > .address--panel
    > .top--panel
    > .info--container
    > .info
    > .bottom--text {
    width: 100%;
  }
}
