.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 0.5s ease-out; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background: #fff;
    transition: all 0.5s ease-out; }
  .menu-btn.close {
    transform: rotate(180deg); }
    .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(-45deg) translate(7px, -6px); }

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.9;
  visibility: hidden; }
  .menu.show {
    visibility: visible; }
  .menu-branding, .menu-nav {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: left;
    width: 50%;
    height: 100vh;
    overflow: hidden; }
  .menu-nav {
    margin: 0;
    padding: 0;
    background: #4f5360;
    list-style: none;
    transform: translate3d(0, -100%, 0);
    transition: all 0.5s ease-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .menu-branding {
    background: #5B5F6E;
    transform: translate3d(0, 100%, 0);
    transition: all 0.5s ease-out; }
    .menu-branding.show {
      transform: translate3d(0, 0, 0); }
    .menu-branding .portrait {
      width: 250px;
      height: 250px;
      background: url("../img/portrait_small.jpg");
      border-radius: 50%;
      border: solid 6px #03045E; }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    transition: all 0.5s ease-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: #03045E; }
  .menu .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.5s ease-out; }
    .menu .nav-link:hover {
      color: #03045E; }

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

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

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

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

* {
  box-sizing: border-box; }

body {
  background: #5B5F6E;
  color: #fff;
  height: 100%;
  margin: 0;
  min-height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5; }
  body#bg-img {
    background: url("../img/18697.jpg");
    background-attachment: fixed;
    background-size: cover; }
    body#bg-img:after {
      content: '';
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: rgba(91, 95, 110, 0.9); }

h1, h2, h3 {
  margin: 0;
  font-weight: 400; }
  h1.lg-heading, h2.lg-heading, h3.lg-heading {
    font-size: 6rem; }
  h1.sm-heading, h2.sm-heading, h3.sm-heading {
    margin-bottom: 2rem;
    padding: 0.2rem 1rem;
    background: rgba(96, 100, 116, 0.5); }

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

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

.text-secondary {
  color: #03045E; }

main {
  padding: 4rem;
  min-height: calc(100vh - 60px); }
  main .icons {
    margin-top: 1rem; }
    main .icons a {
      padding: 0.4rem; }
      main .icons a:hover {
        color: #03045E;
        transition: all 0.5s ease-out; }
  main#home {
    overflow: hidden; }
    main#home h1 {
      margin-top: 20vh; }

.about-info {
  display: grid;
  grid-gap: 30px;
  grid-template-areas: 'bioimage bio bio' 'job1 job2 job3';
  grid-template-columns: repeat(3, 1fr); }
  .about-info .bio-image {
    grid-area: bioimage;
    margin: auto;
    border: #03045E 3px solid; }
  .about-info .bio {
    grid-area: bio;
    font-size: 1.5rem; }
  .about-info .job-1 {
    grid-area: job1; }
  .about-info .job-2 {
    grid-area: job2; }
  .about-info .job-3 {
    grid-area: job3; }
  .about-info .job {
    background: #676b7c;
    padding: 0.5rem;
    border-bottom: #03045E 5px solid; }
  .about-info .date {
    float: right;
    color: #06D6A0; }
  .about-info .location {
    color: #06D6A0; }
  .about-info .jobD {
    font-size: 0.75rem; }
  .about-info .role {
    color: #03045E;
    margin: 0rem; }

.about-skill {
  margin-top: 40px; }
  .about-skill .skill {
    background: #676b7c;
    border-bottom: #03045E 5px solid;
    display: grid !important;
    grid-gap: 0.7rem;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    height: fit-content; }
  .about-skill .rating {
    background: #676b7c;
    padding: 0.5rem;
    margin-top: 30px;
    border-bottom: #03045E 5px solid; }
    .about-skill .rating * {
      box-sizing: border-box; }
    .about-skill .rating .container {
      width: 100%;
      background-color: #ddd;
      border-radius: 9px; }
    .about-skill .rating .skills {
      text-align: right;
      padding: 1px;
      color: white; }
    .about-skill .rating .html {
      width: 95%;
      background-color: #247ba0; }
    .about-skill .rating .css {
      width: 95%;
      background-color: #70c1b3; }
    .about-skill .rating .js {
      width: 90%;
      background-color: #b2dbbf; }
    .about-skill .rating .jquery {
      width: 85%;
      background-color: #1a936f; }
    .about-skill .rating .angular {
      width: 85%;
      background-color: #ff1654; }
    .about-skill .rating .react {
      width: 95%;
      background-color: #05668D; }
    .about-skill .rating .vue {
      width: 70%;
      background-color: #41B883; }
    .about-skill .rating .ionic {
      width: 85%;
      background-color: #000000; }
    .about-skill .rating .node {
      width: 95%;
      background-color: #3D9577; }
    .about-skill .rating .python {
      width: 85%;
      background-color: #171717; }
    .about-skill .rating .cSharp {
      width: 80%;
      background-color: #4C3E60; }

.projects {
  display: grid;
  grid-gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr);
  /* The Modal (background) */
  /* Modal Content (Image) */
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  /* Add Animation - Zoom in the Modal */
  /* The Close Button */
  /* 100% Image Width on Smaller Screens */ }
  .projects img {
    width: 100%;
    border: 3px #ffff solid; }
    .projects img:hover {
      opacity: 0.5;
      border-color: #03045E;
      transition: all 0.5s ease-out; }
  .projects .modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: black;
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */ }
  .projects .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px; }
  .projects #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px; }
  .projects .modal-content,
  .projects #caption {
    animation-name: zoom;
    animation-duration: 0.6s; }

@keyframes zoom {
  from {
    transform: scale(0); }
  to {
    transform: scale(1); } }
  .projects .close {
    position: absolute;
    z-index: 3;
    right: 35px;
    top: 35px;
    color: #d9534f;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s; }
  .projects .close:hover,
  .projects .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer; }
  @media only screen and (max-width: 700px) {
    .projects .modal-content {
      width: 100%; } }

#contact {
  display: grid;
  grid-gap: 0.7rem;
  grid-template-areas: 'header header' 'boxes send-message';
  grid-template-columns: repeat(2, 1fr);
  /* Style inputs with type="text", select elements and textarea */
  /* Add a background color and some padding around the form */ }
  #contact .header {
    grid-area: header;
    margin-bottom: 1.5rem; }
  #contact .boxes {
    grid-area: boxes;
    text-align: center;
    padding: 10rem 4rem;
    font-size: 2rem; }
  #contact .send-message {
    grid-area: send-message; }
    #contact .send-message .title, #contact .send-message .sub-title {
      text-align: center; }
    #contact .send-message .sub-title {
      font-style: italic; }
  #contact ::-webkit-input-placeholder {
    text-align: right;
    font-style: italic;
    color: #03045E;
    font-size: 13px; }
  #contact ::-moz-placeholder {
    text-align: right;
    font-style: italic;
    color: #03045E;
    font-size: 13px; }
  #contact input[type=text],
  #contact input[type=email],
  #contact select,
  #contact textarea {
    background-color: rgba(91, 95, 110, 0.9);
    width: 100%;
    /* Full width */
    padding: 12px;
    /* Some padding */
    /* Gray border */
    border: 2px solid #fff;
    border-radius: 4px;
    color: #fff;
    /* Rounded borders */
    box-sizing: border-box;
    /* Make sure that padding and width stays in place */
    margin-top: 6px;
    /* Add a top margin */
    margin-bottom: 16px;
    /* Bottom margin */
    overflow: hidden;
    resize: none;
    /* Allow the user to vertically resize the textarea (not horizontally) */ }
  #contact .container {
    border-radius: 5px;
    background-color: rgba(96, 100, 116, 0.5);
    padding: 29px; }
  #contact input[type=text]:focus {
    border: 3px solid #03045E; }

.btn, .btn-dark, .btn-light, input[type=submit] {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  margin-bottom: 0.3rem; }
  .btn:hover, .btn-dark:hover, .btn-light:hover, input:hover[type=submit] {
    background: #03045E;
    color: #fff; }

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

.btn-light {
  background: #e1e3e7;
  color: #fff; }

/* Style the submit button with a specific background color etc */
input[type=submit] {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: Right;
  background: black;
  color: #fff; }

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

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

@media screen and (max-width: 1200px) {
  .projects {
    grid-template-columns: repeat(4, 1fr) !important; }
  .skill {
    grid-template-columns: repeat(5, 1fr) !important; } }

@media screen and (max-width: 992px) {
  .projects {
    grid-template-columns: repeat(3, 1fr) !important; }
  .skill {
    grid-template-columns: repeat(4, 1fr) !important; } }

@media screen and (max-width: 768px) {
  main {
    align-items: center;
    text-align: center; }
    main .lg-heading {
      line-height: 1;
      margin-bottom: 1rem; }
  ul.menu-nav,
  div.menu-branding {
    float: none;
    width: 100%;
    min-height: 0; }
    ul.menu-nav.show,
    div.menu-branding.show {
      transform: translate3d(0, 0, 0); }
  .menu-nav {
    height: 65vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 24px; }
  .menu-branding {
    height: 35vh;
    transform: translate3d(100%, 0, 0); }
    .menu-branding .portrait {
      background: url("../img/portrait_xsmall.jpg");
      width: 200px;
      height: 200px; }
  .about-info {
    grid-template-areas: 'bioimage' 'bio' 'job1' 'job2' 'job3';
    grid-template-columns: 1fr; }
  .skill {
    grid-template-columns: repeat(3, 1fr) !important; }
  .projects {
    grid-template-columns: repeat(2, 1fr) !important; } }

@media screen and (max-width: 600px) {
  main#home h1 {
    margin-top: 10vh; }
  .projects {
    grid-template-columns: 1fr !important; }
  .skill {
    grid-template-columns: repeat(2, 1fr) !important; }
  main#contact {
    grid-template-areas: 'header' 'boxes' 'send-message'; }
  .boxes {
    font-size: 1rem; } }

@media screen and (max-width: 500px) {
  main#home h1 {
    margin-top: 10vh; }
  .projects {
    grid-template-columns: 1fr !important; }
  .skill {
    grid-template-columns: 1fr !important; } }
