/*
GitHub Commit:
                Button selector: i added a cursor pointer.
*/

* {
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  list-style: none;
}
body {
  font-family: "Ubuntu", sans-serif;
}

/* ------------------------------------------- GLOBAL STYLING -------------------------------------------- */
.nav__item {
  color: white;
}
.button {
  background-color: red;
  border-radius: 27.5px;
  font-family: "Ubuntu", sans-serif;
  cursor: pointer;
}
.section__title {
  color: #3f9ca3;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
  font-size: 48px;
  font-weight: 400px;
  line-height: 35px;
}
.section__subTitle {
  font-family: "Source Sans Pro", sans-serif;
}
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}
p {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: none;
}
.content__wrap {
  margin: 0px auto;
  width: 80%;
  text-align: center;
}
.text {
  font-family: "Source Sans Pro", sans-serif;
}
.warning__symbol {
  font-size: 12px;
  margin-left: 3px;
}

.page {
  max-width: 1300px;
  margin: 0 auto;
}

/* ------------------------------------ HEADER ----------------------------------- */
header {
  width: 100%;
  height: 50px;
  background-color: #353535;
  position: sticky;
  top: 0px;
  z-index: 1;
}
.nav {
  display: flex;
  height: 100%;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 0px;
  box-sizing: border-box;
}
.container--logo {
  width: 50%;
  display: flex;
  align-items: center;
  display: flex;
}
.link__logo {
  width: 10%;
  height: 60%;
  display: flex;
  justify-content: center;
}
.logo {
  /* width: 63.93px; */
  width: 100%;
}
.logo:hover {
  opacity: 70%;
}
.nav__list {
  width: 50%;
  display: flex;
  justify-content: right;
  padding: 0px;
}
.nav__list__item {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 55px;
}
.nav__list__item__ach {
  text-decoration: none;
  color: white;
  box-sizing: border-box;
}
.borderTop {
  height: 3px;
  background-color: red;
  position: absolute;
  top: 0;
  width: 0%;

  transition: all ease-out 250ms;
}
/* .borderTop:hover {
    opacity: 100%;
    width: 100%;
} */
.nav__list__item__ach:hover {
  color: rgb(200, 200, 200);
}
.nav__list__item__ach:hover .borderTop {
  width: 100%;
}
.burger {
  text-align: center;
  position: absolute;
  top: 12px;
  right: 5%;
  cursor: pointer;
}
.burger:hover {
  opacity: 70%;
}
#symbol--nav__list {
  color: white;
  display: none;
  font-size: 30px;
}

/* ------------------------------------ BODY ------------------------------------ */
/* -------------------- HERO ------------------ */
/*PROBLEM 1: Border conflict between about me while zooming in and out.*/
.hero {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: white;

  animation-name: changeBackground;
  animation-delay: 19s;
  animation-fill-mode: forwards;
}
.background--hero {
  animation-name: addSpace;
  animation-delay: 20s;
  animation-fill-mode: forwards;
}
.content__wrap--hero {
  height: 100%;
  text-align: left;
  width: 100%;

  animation-name: ShrinkIt;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 18s;
}
.section__title--hero {
  font-weight: bold;
  color: black;
  line-height: 74px;
  font-style: normal;

  animation: changeTitle;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  animation-delay: 2s;
}
.section__title--hero em {
  animation-name: straightTitle;
  animation-duration: 2s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
.section__subTitle--hero {
  margin-top: 22.178px;
  font-size: 28px;
  line-height: 30px;
  margin-bottom: 22.178px;
  margin: none;
  padding: none;

  animation-name: changeSubTitle;
  animation-duration: 4s;
  animation-delay: 8s;
  animation-fill-mode: forwards;
}
.section__subTitle--hero em {
  animation-name: straightSubTitle;
  animation-duration: 3s;
  animation-delay: 6s;
  animation-fill-mode: forwards;
}
.languageExperience--hero {
  line-height: 19px;
  margin-top: 22.178px;
  margin-bottom: 22.178px;

  animation-name: changeThirdTitle;
  animation-duration: 3s;
  animation-delay: 10s;
  animation-fill-mode: forwards;
}
.button--hero {
  background-color: buttonface;
  color: buttontext;
  border-radius: 0px;
  border-width: 0.5px;
  border-style: outset;
  box-sizing: border-box;
  padding: 1px 6px;

  animation: changeButton;
  animation-duration: 6s;
  animation-delay: 12s;
  animation-fill-mode: both;
}

.button--hero:hover {
  font-weight: bold;
}

.button--hero span {
  animation-name: changeFont;
  animation-duration: 2s;
  animation-delay: 16s;
  animation-fill-mode: forwards;
}

/* ----- Keyframes ----- */
@keyframes straightTitle {
  100% {
    font-style: normal;
  }
}
@keyframes changeTitle {
  50% {
    color: black;
    font-size: 68px;
  }
  100% {
    font-weight: normal;
    color: #3f9ca3;
    font-size: 68px;
  }
}
@keyframes straightSubTitle {
  100% {
    font-style: normal;
  }
}
@keyframes changeSubTitle {
  2% {
    margin-left: 5px;
  }
  70% {
    margin-top: 0px;
  }
  100% {
    margin-left: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
  }
}
@keyframes changeThirdTitle {
  5% {
    margin-left: 7px;
  }
  25% {
  }
  95% {
    margin-top: 0px;
  }
  100% {
    margin-top: 0px;
    margin-left: 7px;
    font-weight: 400;
  }
}
@keyframes changeButton {
  5% {
    margin-left: 5px;
  }
  45% {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    padding-right: 43.07px;
  }
  85% {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    padding-right: 43.07px;
    background-color: red;
    border-radius: 27.5px;
    margin-left: 5px;
  }
  100% {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    padding-right: 43.07px;
    background-color: red;
    border-radius: 27.5px;
    margin-left: 5px;
    border: none;
  }
}
@keyframes changeFont {
  1% {
    font-size: 18px;
  }
  100% {
    font-size: 18px;
    color: white;
  }
}
@keyframes ShrinkIt {
  30% {
    width: 80%;
  }
  100% {
    width: 80%;
  }
}
@keyframes changeBackground {
  100% {
    background-color: #d6e5dc;
  }
}
@keyframes addSpace {
  100% {
    padding-top: 48px;
    padding-bottom: 78px;
  }
}

/* -------------------- About Me ------------------ */
.about {
  background-color: #eaeaea;
}
.about__body p {
  margin-top: 44px;
  font-size: 22px;
  text-align: left;
  font-weight: 400;
}
.text--about strong {
  font-weight: normal;
}

/* -------------------- Projects ------------------ */
.projects {
  color: black;
  padding-top: 48px;
}
.project {
  margin-top: 44px;
  text-align: left;
}
.flex__container__outer--projects {
  display: flex;
  column-gap: 50px;
  justify-content: right;
  align-items: center;
}
.flex__container__inner--projects {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  border-right: solid black 1px;
}
.heading--projects {
  font-weight: normal;
  font-size: 36px;
  color: black;
  line-height: 38px;
  position: relative;
  width: fit-content;
}
.heading--projects:hover .warning__symbol--projects--title {
  visibility: visible;
}
.warning__symbol--projects--title {
  position: absolute;
  visibility: hidden;
}
.project__description {
  margin-top: 40.5px;
  font-size: 22px;
  float: left;
  border-top: solid black 1px;
}
.project__description strong {
  font-weight: normal;
}
.github__vrajPatel {
  text-decoration: underline 1px red;
  text-underline-offset: 2px;
}
.github__vrajPatel span {
  text-decoration: none;
}
.img__wrap {
  position: relative;
  width: 303px;
  height: 170.438px;
  border-radius: 100px;
}
.image--projects {
  width: 303px;
  border-radius: 100px;
  border: solid black 1px;
}
.img__description {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(29, 106, 154, 0.72);
  color: white;
  visibility: hidden;
  width: 303px;
  height: 170.438px;
  border-radius: 100px;
  text-align: center;
  opacity: 0;

  transition: opacity 0.2s, visibility 0.2s;
}
.img__wrap:hover .img__description {
  visibility: visible;
  opacity: 0.9;
  cursor: pointer;
}

/* -------------------- Contact ------------------ */
.contact {
  background-color: #eab543;
  position: relative;
}
.contact:hover .envelope_close {
  display: none !important;
}
.contact:hover .envelope_open {
  display: inline !important;
}
.email__icon {
  font-size: 60px;
}
.envelope_close {
  position: relative;
  top: 7.5px;
}
.envelope_open {
  display: none !important;
}
.envelope_open_text {
  display: none !important;
}
.airplane__mail {
  font-size: 60px;
  display: none !important;
  position: relative;
}
.section__title--contact {
  color: black;
  margin-top: 5px;
}
.message__leaveAMessage {
  font-size: 18px;
  margin-bottom: 44px;
}
fieldset {
  border: none;
}
.text__label--form {
  display: none;
}
.form__input {
  margin-top: 46.5px;
  width: 60%;
  height: 4rem;
  font-size: 24px;
}
.form__input1 {
  margin-top: 0px;
}
.form__input4 {
  height: 250px;
  padding-top: 27.76px;
  resize: none;
}
::placeholder {
  font-family: "Source Sans Pro", sans-serif;
}
.button--contact {
  display: block;
  margin: 0px auto;
  margin-top: 25px;
  background-color: #2977c9;
  font-size: 18px;
  width: 180px;
  height: 46px;
  border: none;
  color: white;
}
.button--contact:hover {
  background-color: white;
  color: #2977c9;
  border: solid #2977c9 1px;
}
.lock__icon {
  font-size: 9px;
  position: relative;
  bottom: 0.5px;
  right: 2px;
}
.message__privacy {
  margin-top: 4px;
  margin: 0px;
  font-size: 12px;
}

/* -------------------- Projects ------------------ */
.blog {
  background-color: #cef7f7;
}

/* ----------------------------------- SIDEBAR ----------------------------------- */
.side__navigation {
  position: fixed;
  left: -70px;
}
.icon__right__arrow {
  position: fixed;
  top: 400px;
  visibility: hidden;
  opacity: 20%;
  font-size: 22px;
  left: 5px;

  transition-delay: 250ms;
}
.sidebar {
  position: fixed;
  top: 400px;
  display: flex;
  flex-direction: column;
  width: 50px;
}
.sidebar:hover .icon__left__arrow {
  visibility: visible;
}
.social__media {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
  width: 50px;

  transition: width ease-in-out 100ms;
}
.social__media:hover {
  width: 60px;
}
.linkedin {
  background-color: #0288d1;
}
.social__media__icon__link {
  display: flex;
  justify-content: center;
  align-items: center;
}
.social__media__icon {
  width: 40px;
}
.github {
  background-color: black;
  padding: 10px 3px;
}
.social__media__icon__github {
  width: 30px;
}
.icon__left__arrow {
  text-align: right;
  visibility: hidden;
  opacity: 20%;
  font-size: 22px;
}

/* ----------------------------------- FOOTER ----------------------------------- */
.footer {
  background-color: #353535;
  display: flex;
  align-items: center;
  justify-content: center;
}
.message--footer {
  color: white;
  font-size: 12px;
}
