.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 0.4s ease-out; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background: #123c69;
    transition: all 0.4s ease-out; }
  .menu-btn:hover .btn-line {
    background: #5da2d5; }
  .menu-btn.close {
    transform: rotate(180deg); }
    .menu-btn.close .btn-line {
      background-color: #5da2d5; }
      .menu-btn.close .btn-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px); }
      .menu-btn.close .btn-line:nth-child(2) {
        opacity: 0; }
      .menu-btn.close .btn-line:nth-child(3) {
        transform: rotate(135deg) translate(-7px, 6px); }

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.95;
  visibility: hidden; }
  .menu.show {
    visibility: visible; }
  .menu-nav {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: right;
    width: 30%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #0e3053;
    list-style: none;
    transform: translate3d(100%, 0, 0);
    transition: all 0.4s ease-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    transition: all 0.4s ease-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: #5da2d5; }
    .menu .nav-item .nav-link {
      display: inline-block;
      position: relative;
      font-size: 30px;
      text-transform: uppercase;
      padding: 1rem 0;
      font-weight: 300;
      color: #fff;
      text-decoration: none;
      transition: all 0.4s ease-out; }
      .menu .nav-item .nav-link:hover {
        color: #5da2d5; }

.nav-item:nth-child(1) {
  transition-delay: 0.07s; }

.nav-item:nth-child(2) {
  transition-delay: 0.14s; }

.nav-item:nth-child(3) {
  transition-delay: 0.21s; }

.nav-item:nth-child(4) {
  transition-delay: 0.28s; }

.nav-item:nth-child(5) {
  transition-delay: 0.35s; }

.intro {
  padding: 1.5rem 1.5rem;
  background: #f7f7f7;
  width: 100%;
  display: inline-block;
  align-items: center;
  justify-content: center; }
  .intro .dp-img {
    width: 250px;
    height: 250px;
    background: url("../img/dp.jpg");
    background-position-x: -0.9em;
    border-radius: 50%;
    border: solid 3px rgba(196, 148, 46, 0.9);
    margin: auto; }
  .intro .intro-text {
    color: #000000;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    width: 40%;
    text-align: center;
    margin: auto; }

.title-heading {
  grid-area: title; }

.ktm-img {
  position: relative;
  grid-area: ktmimage;
  margin: auto;
  margin-top: 12%;
  margin-bottom: 0px;
  padding-bottom: 0px;
  background-image: url(../img/try.jpg);
  background-repeat: repeat-x;
  min-height: 100%; }

.blank {
  grid-area: bottom;
  background-color: black; }

.project-div {
  padding: 2.5rem 1.5rem;
  background: #fffefe;
  -webkit-font-smoothing: antialiased; }
  .project-div h2 {
    color: #000;
    text-align: center; }
  .project-div .projects {
    display: grid;
    grid-gap: 0.7rem;
    grid-template-columns: repeat(3, 1fr); }
    .project-div .projects .item {
      text-align: center; }
      .project-div .projects .item img {
        width: 100%;
        border: 3px #fff solid; }
        .project-div .projects .item img:hover {
          opacity: 0.5;
          cursor: pointer;
          border-color: rgba(196, 148, 46, 0.9);
          transition: all 0.4s ease-out; }

#my-tools i {
  font-size: 5rem;
  padding: 1.5rem; }
  #my-tools i:hover {
    color: rgba(196, 148, 46, 0.9);
    transition: all 0.4s ease-out; }

.resume {
  padding: 2.5rem 1.5rem;
  background: #d6dfe4;
  -webkit-font-smoothing: antialiased; }
  .resume h2 {
    color: #000;
    text-align: center; }
  .resume .resume-section {
    display: grid;
    grid-template-areas: "sectionTitle sectionTitle sectionTitle" "sectionContent sectionContent timeAddress" "sectionMain sectionMain sectionMain";
    color: #fff;
    grid-row-gap: 1%;
    padding: 3rem;
    width: 50%;
    margin: auto;
    margin-top: 2rem;
    background: #c06868; }
    .resume .resume-section .section-title {
      grid-area: sectionTitle;
      margin-left: 0; }
    .resume .resume-section .section-content {
      grid-area: sectionContent; }
    .resume .resume-section .duration {
      grid-area: timeAddress;
      margin-right: 0; }
    .resume .resume-section .section-main {
      grid-area: sectionMain;
      width: 100%; }

.contacts {
  margin: 0;
  padding: 5rem;
  text-align: center;
  background: #123c69; }
  .contacts-items {
    display: inline-block; }
  .contacts .icons {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.4rem; }
    .contacts .icons a {
      margin-right: 1.5rem; }
      .contacts .icons a:hover {
        color: #fbcc34;
        transition: all 0.4s ease-out; }

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  color: #000000;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); }

.modal-content {
  background-color: #f4f4f4;
  margin: 4.09% auto;
  width: 60%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 0.5s; }

.closeBtn {
  color: #ffffff;
  float: right;
  font-size: 30px; }

.closeBtn:hover,
.closeBtn:focus {
  color: #5da2d5;
  text-decoration: none;
  cursor: pointer; }

.modal-header h2 {
  margin: 0; }

.modal-header {
  background: #123c69;
  padding: 0.5rem;
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem; }

.modal-body {
  padding: 10px 20px;
  text-align: center;
  font-size: 1.2rem; }
  .modal-body img {
    display: block;
    width: 70%;
    height: 100%;
    border: 2px #5da2d5 solid;
    margin: auto;
    margin-bottom: 1%; }

@keyframes modalopen {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

* {
  box-sizing: border-box;
  scroll-behavior: smooth; }

body {
  background: #123c69;
  color: #fff;
  height: 100%;
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 1.5; }
  body#bg-img {
    background: #fffefe;
    background-attachment: fixed;
    background-size: cover; }
    body#bg-img:after {
      content: "";
      z-index: -1;
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: rgba(18, 60, 105, 0); }

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400; }
  h1.lg-heading,
  h2.lg-heading,
  h3.lg-heading {
    text-align: center;
    font-size: 5rem;
    color: #000; }
  h1.sm-heading,
  h2.sm-heading,
  h3.sm-heading {
    margin-bottom: 1rem;
    font-size: 3rem;
    padding: 0.2rem 1rem;
    color: #000;
    text-align: center; }
  h1.sub-heading,
  h2.sub-heading,
  h3.sub-heading {
    margin-bottom: 1rem;
    font-size: 2rem;
    padding: 0.2rem 1rem;
    color: #123c69;
    text-align: center; }

a {
  color: #fff;
  text-decoration: none; }

header {
  position: fixed;
  z-index: 2;
  width: 100%; }

.text-secondary {
  color: #5da2d5; }
  .text-secondary:hover {
    animation-name: colorful;
    animation-duration: 2s; }

@keyframes colorful {
  0% {
    color: #5da2d5; }
  10% {
    color: #844d36; }
  25% {
    color: #f76c6c; }
  50% {
    color: #86c232; }
  75% {
    color: #ac3b61; }
  100% {
    color: #5da2d5; } }

main {
  padding: 4rem;
  min-height: calc(100vh - 60px); }
  main#home {
    overflow: hidden;
    height: 100vh; }
    main#home h1 {
      margin-top: 20vh; }

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 1rem; }
  .boxes div {
    font-size: 2rem;
    border: 3px #fff solid;
    padding: 1.5rem 2.5rem;
    margin-bottom: 3rem;
    transition: all 0.4s ease-out; }
    .boxes div:hover {
      padding: 0.5rem 1.5rem;
      background: #5da2d5;
      color: #000; }
      .boxes div:hover span {
        color: #000; }

.btn, .btn-dark, .btn-light {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3rem; }
  .btn:hover, .btn-dark:hover, .btn-light:hover {
    background: #5da2d5;
    color: #000; }

.btn-dark {
  background: black;
  color: #fff; }

.btn-light {
  background: #8ebbec;
  color: #000; }

#main-footer {
  text-align: center;
  padding: 1rem;
  background: #0b233d;
  color: #fff;
  height: 60px; }

@media screen and (min-width: 1171px) {
  .projects {
    grid-template-columns: repeat(4, 1fr); } }

@media screen and (min-width: 769px) and (max-width: 1170px) {
  .projects {
    grid-template-columns: repeat(3, 1fr); }
  .resume .resume-section {
    width: 70%; } }

@media screen and (max-width: 768px) {
  main {
    align-items: center;
    text-align: center; }
    main .lg-heading {
      line-height: 1;
      margin-bottom: 1rem;
      font-size: 3.4rem; }
  ul.menu-nav,
  div.menu-branding {
    float: none;
    width: 100%;
    min-height: 50%; }
    ul.menu-nav.show,
    div.menu-branding.show {
      transform: translate3d(0, 0, 0); }
  .menu-nav {
    height: 75vh;
    transform: translate3d(100%, 0, 0);
    transition: all 0.4s ease-out;
    font-size: 24px; }
  .menu-branding {
    height: 25vh;
    transform: translate3d(-100%, 0, 0);
    transition: all 0.4s ease-out; }
    .menu-branding .portrait {
      width: 150px;
      height: 150px;
      background: url("../img/portrait.png"); }
  .about-info {
    grid-template-areas: "bioimage" "bio" "job1" "job2" "job3";
    grid-template-columns: 1fr; }
  .projects {
    grid-template-columns: repeat(2, 1fr); }
  .resume .resume-section {
    width: 80%; } }

@media screen and (max-width: 500px) {
  main#home h1 {
    margin-top: 10vh; }
  .projects {
    grid-template-columns: 1fr; }
  .lg-heading {
    font-size: 3rem; }
  .resume .resume-section {
    width: 100%;
    padding: 5%; } }
