@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

/* Colors
9BB8CD
FFF7D4
EEC759
B1C381 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.2s linear;
  zoom: 100%;
}
html {
  font-size: 60%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
  height: 100vh;
}
*::selection {
  background: #2b3dda;
  color: #fff;
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: #0e2431;
  font-weight: 800;
  text-align: center;
}

/* navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5.6%;
  height: 6rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0e2431;
}
header .logo:hover {
  color: #8a9767;
}
header .logo img {
  height: 18px;
}
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navbar li {
  margin-left: 2.0rem;
}
header .navbar ul li a {
  font-size: 1.57rem;
  color: #0e2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #8a9767;
  border-bottom: 0.2rem solid #8a9767;
  border-top: 0.2rem solid #8a9767;
  padding: 0.5rem 0;
}
/* hamburger */
#menu {
  font-size: 3rem;
  color: rgb(24, 2, 63);
  display: none;
  cursor: pointer;
}
@media (max-width: 840px) {
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 6rem;
    right: -200%;
    width: 300px;
    height: 42rem;
    text-align: left;
    align-items: flex-start;
    background-color: #54636e;
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 0.2rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 0.75rem;
    color: #fff;
    border-radius: 1rem;
    border: 0.3rem solid #0e2431;
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}

/* home*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding-top: 6rem;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
  background-image: url("../images/home_background.jpg");
}
.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
}
.home .image {
  flex: 1 1 30rem;
  z-index: 1;
}
.home .image img {
  width: 80%;
  margin-left: 6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.home .content h3 {
  font-size: 5rem;
  font-weight: 800;
  color: #FFF7D4;
}
.home .content h3 span {
  font-size: 5rem;
  font-weight: 800;
  color: #EEC759;
}
.home .content p {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 600;
  padding: 1rem 0;
}
.home .btn {
  line-height: 4;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #687b8a;
  box-shadow: 0px 5px 18px #636e77;
}
.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.6s;
}
.home .btn:hover {
  background: #79a4c5;
}

.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;
  margin-left: 0.5rem;
}
.social-icons a {
  font-size: 2.2rem;
  display: inline-block;
  padding-top: 0.7rem;
  color: #EEC759;
  background-color: #687b8a;
  width: 44px;
  height: 44px;
  text-align: center;
  border-radius: 100%;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  background-color: #79a4c5;
}

/* home media queries */
@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
    text-align: start;
  }
  .socials {
    margin-top: 2rem;
  }

  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}

@media (max-width: 885px) {
  .home {
    text-align: center;
  }
  .socials {
    margin-top: 3rem;
  }

  .socials .social-icons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 14px;
    justify-content: center;
  }

  .home .image img {
    width: 55%;
    margin-top: 1rem;
    margin-left: -1rem;
  }
}

/* about */
.about {
  background: #eff3e4;
  padding: 2rem 3%;
  min-height: 60vh;
}
.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 4rem;
}
.about .row .image {
  text-align: center;
  flex: 1 1 25rem;
}
.about .row .image img {
  margin-top: 2rem;
  width: 30rem;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  /* Black and white */
  mix-blend-mode: luminosity;
  transition: 0.3s;
}
.about .row .image img:hover {
  /* Color */
  mix-blend-mode: normal;
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 2rem;
}
.about .row .content p {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  margin-bottom: 5rem;
}
.about .buttons{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  padding: 0.5rem;
}
.about .contactbtn {
  margin-bottom: 2rem;
}
.about .buttons .btn {
  padding: 1.5rem 1.5rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  background: #687b8a;
  box-shadow: 0px 5px 10px #636e77;
}
.about .buttons .btn span {
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
}
.about .buttons .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
}
.about .buttons .btn:hover {
  background: #79a4c5;
}

/* about media queries */
@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 .row .content .box-container {
    gap: 0;
  }
}

/* education section */
.education {
  background: #02094b;
  min-height: 80vh;
}
.education h1 {
  color: #fff;
  padding: 1rem;
}
.education h1 i {
  margin-right: 1rem;
}
.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-height: 15rem;
  border-radius: 1.5rem;
  box-shadow: 0.5rem 0.5rem 1.0rem #050331;
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  background: rgb(252, 252, 252);
}

.education .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
  overflow: hidden;
}
.education .box-container .box img {
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
  transition: 1s;
}

.education .box-container .box .content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  flex: 1 1 40rem;
}
.education .box-container .box .content h3 {
  font-size: 1.8rem;
  color: #012970;
  padding: 0.5rem 0;
  font-weight: 600;
  text-align: left;
  margin-left: 1rem;
}
.education .box-container .box .content p {
  font-size: 1.5rem;
  margin-left: 1rem;
  text-align: left;
}
.education h4 {
  font-size: 1.7rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  padding-top: 2rem;
  font-weight: 700;
}

/* education media queries starts*/
@media screen and (max-width: 780px) {
  .education .box-container .box {
    flex-direction: column;
    width: 100%;
    max-height: 50rem;
  }
  .education .box-container .box .image {
    width: 100%;
    height: 25rem;
  }
  .education .box-container .box img {
    width: 100%;
  }
  .education .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 0;
  }

  .education .box-container .box .content h3 {
    font-size: 2rem;
  }
}

/* Overrides for the Work section only to improve space utilization */
.work {
  background: #eff3e4;
  min-height: 80vh;
  padding: 2rem 1%;
}
.work h2 {
  padding: 1rem;
}
.work .when-small {
  display: none;
}
.work .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2.5rem;
}
.work .box-container .box {
  display: flex;
  flex-direction: row;
  width: 45%;
  min-height: 17rem;
  border-radius: 1.5rem;
  box-shadow: 0.5rem 0.5rem 1.0rem #3a3946;
  text-align: center;
  position: relative;
  margin-top: 0;
  overflow: hidden;
  background: rgb(252, 252, 252);
}
.work .box-container .visible-when-small {
  display: none;
}
.work .box-container .box .content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  flex: 1 1 40rem;
}
.work .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
  overflow: hidden;
}
.work .box-container .box img {
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
  transition: 1s;
}
.work .box-container .box .content h3 {
  font-size: 1.5rem;
  color: #012970;
  padding: 0.5rem 0;
  font-weight: 600;
  text-align: left;
  margin-left: 1rem;
}
.work .box-container .box .content p {
  font-size: 1.4rem;
  margin-left: 1rem;
  text-align: left;
}
.work h4 {
  font-size: 1.5rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  padding-top: 1rem;
  font-weight: 700;
}
.work .incomplete-notice{
  display: none;
}
.work .resumebtn{
  display: block;
  padding: 1.5rem 1.5rem;
  border-radius: 0.5em;
  transition: 0.3s;
  background: #687b8a;
  box-shadow: 0px 5px 10px #636e77;
}
.work .resumebtn span {
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  color: #fff;
}
.work .resumebtn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  color: #fff;
}
.work .resumebtn:hover {
  background: #79a4c5;
}

@media screen and (max-width: 850px) {
  .work {
    padding: 2rem 5%;
  }
  .work .box-container .box {
    width: 85%;
  }
  .work .box-container .box .content {
    flex: 1 1 35rem;
  }
  .work .box-container .box .image {
    flex: 1 1 25rem;
  }
}

@media screen and (max-width: 600px) {
  .work {
    padding: 2rem 6%;
  }
  .work .when-big {
    display: none;
  }
  .work .when-small {
    display: block;
  }
  .work .box-container .box {
    flex-direction: column;
    width: 100%;
    max-height: 50rem;
  }
  .work .box-container .hide-when-small {
    display: none;
  }
  .work .box-container .visible-when-small {
    display: inherit;
  }
  .work .box-container .box .image {
    width: 100%;
    height: 25rem;
    order: 1;  /*reorder to top*/
  }
  .work .box-container .box img {
    width: 100%;
  }
  .work .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 0;
    order: 2;  /*reorder to top*/
  }
  .work .box-container .box .content h3 {
    font-size: 2rem;
  }
  .work .incomplete-notice{
    display: block;
    margin-top: 3rem;
    font-size: 1.2rem;
  }
  .work .incomplete-notice i{
    margin-right: 1rem;
  }
}


/* Projects */
.projects {
  background: #02094b;
}
.projects h2 {
  color: #fff;
  padding: 1rem;
}
.projects .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.projects .box-container .box {
  flex: 1 1 40rem;
  border-radius: 0.5rem;
  box-shadow: 0.5rem 0.5rem 1.0rem #050331;
  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: rgba(255, 255, 255, 0.9);
  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: #EEC759;
}
.projects .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.projects .box-container .box:hover .content {
  top: 25%;
}
.projects .desc {
  margin: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.projects .desc p {
  font-size: 1.3rem;
}
.projects .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.projects .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  background: #46535d;
  margin-right: 2rem;
}
.projects .desc .btns .btn:hover {
  background: #687b8a;
}

/* Posters */
.posters {
  background: #eff3e4;
  min-height: 50vh;
}
.posters .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  margin: 2rem;
  justify-content: center;
}
.posters .box-container .box {
  flex: 1 1 40rem;
  border-radius: 0.5rem;
  box-shadow: 0.5rem 0.5rem 1.0rem #3a3946;
  position: relative;
  overflow: hidden;
  height: 30rem;
  max-width: 52rem;
}
.posters .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.posters .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.posters .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: #EEC759;
}
.posters .box-container .box .content .tag h3 {
  font-size: 1.8rem;
}
.posters .box-container .box:hover .content {
  top: 25%;
}
.posters .desc {
  margin: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.posters .desc p {
  font-size: 1.3rem;
}
.posters .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.posters .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  background: #46535d;
  margin-right: 2rem;
}
.posters .desc .btns .btn:hover {
  background: #687b8a;
}
@media (max-width: 1150px) {
  .posters .box-container {
    gap: 1.5rem;
  }
}


/* contact section starts */
.contact {
  background: rgb(232, 240, 254);
  min-height: 60vh;
}
.contact .content {
  max-width: 1200px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  margin: 2rem 3rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 2.5rem 2rem;
}
.contact .content .image-box {
  max-width: 60%;
  margin-left: 2rem;
}
.contact .content .image-box img {
  width: 100%;
  height: 40rem;
  position: relative;
}
.contact .content form {
  width: 45%;
  margin-right: 3.5rem;
}
form .form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group .field {
  height: 50px;
  display: flex;
  position: relative;
  margin: 1rem;
  width: 100%;
}
form i {
  position: absolute;
  top: 50%;
  left: 18px;
  color: rgb(51, 51, 51);
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 16px 0 48px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  border: 1px solid rgb(51, 51, 51);
  background: rgb(232, 240, 254);
}
.field input::placeholder,
.message textarea::placeholder {
  color: rgb(51, 51, 51);
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 3px solid #8a9767;
}
.field input:focus ~ i,
.message textarea:focus ~ i {
  color: #8a9767;
}
form .message {
  position: relative;
  margin: 1rem;
  width: 100%;
}
form .message i {
  top: 25px;
  font-size: 20px;
  left: 15px;
}
form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 12px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar {
  width: 0px;
}
form .button-area {
  display: flex;
  float: right;
  flex-direction: row-reverse;
}
.button-area button {
  color: #fff;
  border: none;
  outline: none;
  font-size: 1.8rem;
  border-radius: 5px;
  padding: 13px 25px;
  background: #687b8a;
  box-shadow: 0px 5px 10px #636e77;
  transition: 0.3s ease;
}
.button-area button:hover {
  background: #79a4c5;
}
.button-area span {
  font-size: 17px;
  padding: 1rem;
  display: none;
}
.button-area button i {
  position: relative;
  top: 6px;
  left: 4px;
  font-size: 1.5rem;
  transition: 0.3s;
  color: #fff;
}

/* contact section media queries starts */
@media (max-width: 900px) {
  .contact {
    min-height: 70vh;
  }
  .contact .content {
    margin: 3rem 0 2rem 0;
    padding: 18px 12px;
  }
  .contact .content .image-box {
    display: none;
  }
  .contact .content form {
    width: 100%;
    margin-right: 2rem;
  }
}

/* footer section starts */
.footer {
  min-height: auto;
  background: #02094b;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.footer .box {
  flex: 1 1 18.5rem;
  margin: 1.5rem 3rem;
}
.footer .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box p {
  font-size: 1.5rem;
  color: #fff;
  padding: 0.6rem 0;
}
.footer .box p i {
  margin-right: 1rem;
  color: #EEC759;
}
.footer .box a {
  font-size: 1.5rem;
  color: #fff;
  padding: 0.3rem 0;
  display: block;
  max-width: 20rem;
}
.footer .box a i {
  margin-right: 1rem;
}
.footer .box a:hover {
  color: #EEC759;
}
.footer .box .ftr-socials {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}
.footer  .box .ftr-socials a {
  height: 4rem;
  width: 4rem;
  padding-top: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.9rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: #687b8a;
  color: #EEC759;
  border: none;
}
.footer .box .ftr-socials a:hover {
  background: #79a4c5;
}

/* common media queries starts*/
@media (max-width: 500px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}

/* thanks */
.thanks {
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding-top: 6rem;
  gap: 1.5rem;
  min-height: 50vh;
  background: #eff3e4;
}
.thanks h3 {
  font-size: 3.5rem;
  color: #0e2431;
  font-weight: 800;
  text-align: center;
  padding-top: 1rem;
}
.thanks p {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  margin-bottom: 5rem;
  text-align: center;
}
.thanks .buttons{
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.thanks .return-btn {
  line-height: 4;
  padding: 0 2.5rem;
  margin: 1rem 2.5rem;
  font-size: 1.5rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #687b8a;
  box-shadow: 0px 5px 18px #636e77;
}
.thanks .return-btn i {
  margin-left: 0.5rem;
  font-size: 1.5rem;
  transition: 0.6s;
}
.thanks .return-btn:hover {
  background: #79a4c5;
}