/*top right bottom left*/
@import url(https://fonts.googleapis.com/css?family=Raleway:300);
@import url(https://fonts.googleapis.com/css?family=Lusitana:400,700);
@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);

@-webkit-keyframes slideUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes slideUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes slideDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.86);
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.86);
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
body {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.section:nth-child(even) {
  background-color: #efefef;
}

.container {
  padding: 0 40px 30px 40px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .container {
    max-width: 900px;
    padding: 0 30px 50px 30px;
  }
}
.btn {
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 9px 13px;
  text-decoration: none;
  background: rgb(28, 121, 184);
  color: #fff;
}
.btn:hover {
  background: rgb(106, 168, 209);
}

.btn--primary {
  background: rgb(28, 121, 184);
  color: #fff;
}
.btn--lg {
  padding: 18px 26px;
}
.skill-tag {
  background-color: #eceff5;
  display: inline-block;
  padding: 4px 8px;
}
.header-container {
  background-color: black;
  width: 100%;
}
.lead {
  padding: 30px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.info-container1,
.profile_pic_container {
  -webkit-animation: slideDown 1500ms both;
  animation: slideDown 1500ms both;
}
.info-container2,
.portrait-info {
  -webkit-animation: slideUp 1500ms both;
  animation: slideUp 1500ms both;
}

@media (min-width: 460px) {
  .lead__heading {
    font-size: 55px;
  }
}

@media (min-width: 768px) {
  .lead-right {
    flex: 1 1 60%;
    padding-left: 60px;
  }

  .lead-left {
    flex: 1 1 40%;
  }
}

.lead-right {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.profile_pic_container {
  padding: 10px;
  margin: 0 auto;
  height: 300px;
  width: 300px;
}

.profile_pic {
  border-radius: 50%;
  display: inline-block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
  text-align: center;
}
.name {
  font-size: 30px;
}
.university {
  font-weight: normal;
  font-size: 30px;
}

.lead__sub {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.interest_list {
  display: flex;
  list-style-type: none;
  flex-wrap: wrap;
  text-align: left;
}

.interest_list li {
  order: 1;
  flex: 1 1 50%;
  font-size: 16px;
  padding: 5px 20px;
}

@media (max-width: 640px){
  .interest_list li {
    order: 1;
    flex: 1 1 50%;
    font-size: 14px;
    padding: 10px;
  }
}

#menu {
  display: flex;
  width: 100%;
  list-style-type: none;
  padding: 10px;
}
#menu li {
  flex: 1;
  text-align: center;
  padding: 10px;
}
#menu li a {
  text-decoration: none;
  color: white;
}
#menu li a:hover {
  color: rgb(28, 121, 184);
}
.languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.type-writer{
  width: 100%;
  height: 35px;
  display: flex;
  justify-content: center;
  font-family: 'Anonymous Pro', monospace; 
}

.type-writer #write {
  border-right: 2px solid black;
  color: black;
  text-align:center;
  font-size: 180%;
}

.call-to-action .btn {
  -webkit-animation: fadeIn 500ms both;
  animation: fadeIn 500ms both;
}
.socials {
  margin-top: 10px;
}
.socials__link {
  color: inherit;
  text-decoration: none;
}
.project {
  overflow: hidden;
  margin-bottom: 30px;
  text-align: center;
}
@media (min-width: 768px) {
  .project {
    text-align: left;
  }
}
.project__img-container {
  margin: 0 auto;
  text-align: center;
  height: 100px;
  width: 100px;
  line-height: 100px;
  padding: 0px 30px;
}
@media (min-width: 768px) {
  .project__img-container {
    float: left;
    line-height: 300px;
    height: 300px;
    width: 300px;
  }
}
.project__img {
  display: inline-block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
  text-align: center;
  vertical-align: middle;
}
.project__name {
  margin-bottom: 5px;
}
.project__details .skill-detail {
  padding: 15px;
}
@media (min-width: 768px) {
  .project__details .skill-detail {
    margin-left: 300px;
    margin-right: 0;
  }

  .project:nth-child(even) .project__img-container {
    float: right;
  }

  .project:nth-child(even) .project__details {
    margin-left: 0;
    margin-right: 300px;
  }
}
@media (max-width:768px){
  .project .project__img-container {
    width: fit-content;
  }
}
.timeline {
  position: relative;
}
.timeline__line {
  width: 1px;
  background: lightblue;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
}
@media (min-width: 768px) {
  .timeline__line {
    left: 50%;
  }
}
.timeline__item {
  -webkit-animation: slideUp 750ms both;
  animation: slideUp 750ms both;
  border: 2px solid lightblue;
  border-top: 5px solid rgb(28, 121, 184);
  color: #222;
  display: inline-block;
  font-size: 13px;
  padding: 20px;
  position: relative;
  vertical-align: top;
  width: 97%;
  margin: 15px 0px;
}
@media (min-width: 768px) {
  .timeline__item {
    width: 46%;
    margin: 0px;
  }
}
.timeline__item:after {
  height: 1px;
  top: 0;
  background-color: #eaeaea;
  content: "";
  display: block;
  left: inherit;
  position: absolute;
  right: -4%;
  width: 4%;
}
@media (min-width: 768px) {
  .timeline__item:after {
    right: -9%;
    width: 9%;
  }
}
@media (min-width: 768px) {
  .timeline__item:nth-child(odd) {
    margin-top: 160px;
    margin-left: 7%;
  }
  .timeline__item:nth-child(odd):after {
    left: -8%;
    width: 8%;
  }
}
.timeline__item:last-of-type {
  margin-bottom: 0;
}
.experience__header {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaea;
}
.experience__name {
  margin: 0;
}
.align-center {
  text-align: center;
}
.row {
  margin: -20px 0;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.row .col {
  padding: 0 20px;
  float: left;
  box-sizing: border-box;
}
.row .col.x-50 {
  width: 50%;
}
.row .col.x-100 {
  width: 100%;
}

.content-wrapper {
  min-height: 100%;
  position: relative;
}

.title {
  text-align: center;
  font-family: Raleway, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 36px;
  line-height: 30px;
  padding: 40px 0px;
}

.contact-form .form-field {
  position: relative;
  margin: 32px 0;
}
.contact-form .input-text {
  display: block;
  width: 100%;
  height: 36px;
  border-width: 0 0 2px 0;
  border-color: #000;
  font-family: Lusitana, serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
}
.contact-form .input-text:focus {
  outline: none;
}
.contact-form .input-text:focus + .label,
.contact-form .not-empty + .label {
  transform: translateY(-24px);
}
.contact-form .label {
  position: absolute;
  left: 20px;
  bottom: 11px;
  font-family: Lusitana, serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: #888;
  cursor: text;
  transition: transform 0.2s ease-in-out;
}
.contact-form .submit-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-family: Raleway, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
}
.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}
.footer__name {
  margin-top: 0;
  margin-bottom: 0;
}
.footer__title {
  margin-top: 0;
  color: rgb(28, 121, 184);
}

/* Mobile nav */
@media (max-width: 640px) {
  #menu {
    display: none;
  }

  .menuIcon {
    cursor: pointer;
    display: block;
    position: fixed;
    right: 15px;
    top: 20px;
    height: 23px;
    width: 27px;
    z-index: 12;
  }

  /* Icon Bars */
  .icon-bars {
    background: rgb(13, 26, 38);
    position: absolute;
    left: 1px;
    top: 45%;
    height: 2px;
    width: 20px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }

  .icon-bars::before {
    background: rgb(13, 26, 38);
    content: "";
    position: absolute;
    left: 0;
    top: -8px;
    height: 2px;
    width: 20px;
    /*     -webkit-transition: top 0.2s ease 0.3s;
    transition: top 0.2s ease 0.3s; */
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
  }

  .icon-bars::after {
    margin-top: 0px;
    background: rgb(13, 26, 38);
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 20px;
    /*     -webkit-transition: top 0.2s ease 0.3s;
    transition: top 0.2s ease 0.3s; */
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
  }

  /* Bars Shadows */
  .icon-bars.overlay {
    background: rgb(97, 114, 129);
    background: rgb(183, 199, 211);
    width: 20px;
    animation: middleBar 3s infinite 0.5s;
    -webkit-animation: middleBar 3s infinite 0.5s;
  }
  @keyframes middleBar {
    0% {
      width: 0px;
    }
    50% {
      width: 20px;
    }
    100% {
      width: 0px;
    }
  }
  @-webkit-keyframes middleBar {
    0% {
      width: 0px;
    }
    50% {
      width: 20px;
    }
    100% {
      width: 0px;
    }
  }

  .icon-bars.overlay::before {
    background: rgb(97, 114, 129);
    background: rgb(183, 199, 211);
    width: 10px;
    animation: topBar 3s infinite 0.2s;
    -webkit-animation: topBar 3s infinite 0s;
  }
  @keyframes topBar {
    0% {
      width: 0px;
    }
    50% {
      width: 10px;
    }
    100% {
      width: 0px;
    }
  }
  @-webkit-keyframes topBar {
    0% {
      width: 0px;
    }
    50% {
      width: 10px;
    }
    100% {
      width: 0px;
    }
  }

  .icon-bars.overlay::after {
    background: rgb(97, 114, 129);
    background: rgb(183, 199, 211);
    width: 15px;
    animation: bottomBar 3s infinite 1s;
    -webkit-animation: bottomBar 3s infinite 1s;
  }
  @keyframes bottomBar {
    0% {
      width: 0px;
    }
    50% {
      width: 15px;
    }
    100% {
      width: 0px;
    }
  }
  @-webkit-keyframes bottomBar {
    0% {
      width: 0px;
    }
    50% {
      width: 15px;
    }
    100% {
      width: 0px;
    }
  }

  /* Toggle Menu Icon */
  .menuIcon.toggle .icon-bars {
    top: 5px;
    transform: translate3d(0, 5px, 0) rotate(135deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menuIcon.toggle .icon-bars::before {
    top: 0;
    transition-delay: 0.1s;
    opacity: 0;
  }

  .menuIcon.toggle .icon-bars::after {
    top: 10px;
    transform: translate3d(0, -10px, 0) rotate(-270deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menuIcon.toggle .icon-bars.overlay {
    width: 20px;
    opacity: 0;
    -webkit-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
  }
}

/*======================================================
                   Responsive Mobile Menu 
  ======================================================*/
.overlay-menu {
  background: lightblue;
  color: rgb(13, 26, 38);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 15px;
  transform: translateX(-100%);
  width: 100vw;
  height: 100vh;
  -webkit-transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
}

.overlay-menu ul,
.overlay-menu li {
  display: block;
  position: relative;
}

.overlay-menu li a {
  display: block;
  font-size: 1.8em;
  letter-spacing: 4px;
  text-decoration: none;
  padding: 10px 0;
  text-align: right;
  color: black;
  text-transform: uppercase;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  -webkit-transition: 0.2s opacity 0.2s ease-out;
  transition: 0.2s opacity 0.2s ease-out;
}

.overlay-menu li a:hover,
.overlay-menu li a:active {
  color: rgb(28, 121, 184);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

