.menu-btn {
  position: absolute;
  z-index: 4;
  top: 35px;
  right: 35px;
  cursor: pointer;
  transition: all 1.5s easeout; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background: #fff;
    transition: all 1.5s easeout; }
  .menu-btn.close {
    transition: all 1.5s ease-in-out;
    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, -5px); }

.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: #373737;
    list-style: none;
    transform: translate3d(0, -100%, 0);
    transition: all 1.5s ease-in-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .menu-branding {
    background: #3f3f3f;
    transform: translate3d(0, 100%, 0);
    transition: all 1.5s ease-in-out; }
    .menu-branding.show {
      transform: translate3d(0, 0, 0); }
    .menu-branding .portrait {
      width: 250px;
      height: 250px;
      background: url(../img/image2.jpg);
      border-radius: 50%;
      border: solid 3px yellow; }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    transition: all 1.5s ease-in-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: yellow; }

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

.nav-link {
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-size: 30px;
  padding: 1rem,0;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 1.5s easeout;
  line-height: 3.5; }
  .nav-link:hover {
    color: yellow; }

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

.nav-link {
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-size: 30px;
  padding: 1rem,0;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 1.5s easeout;
  line-height: 3.5; }
  .nav-link:hover {
    color: yellow; }

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

.nav-link {
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-size: 30px;
  padding: 1rem,0;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 1.5s easeout;
  line-height: 3.5; }
  .nav-link:hover {
    color: yellow; }

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

.nav-link {
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  font-size: 30px;
  padding: 1rem,0;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 1.5s easeout;
  line-height: 3.5; }
  .nav-link:hover {
    color: yellow; }

* {
  box-sizing: border-box; }

body {
  background: #444;
  color: #fff;
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5; }
  body#bg-img {
    background-image: url(../img/background.jpg);
    background-attachment: fixed;
    background-size: cover; }
    body#bg-img .overlay {
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: rgba(68, 68, 68, 0.5); }

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

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

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

.text-secondary {
  color: yellow; }

main {
  padding: 4rem;
  min-height: calc(100vh - 60px); }
  main .icons {
    margin-top: 1rem; }
    main .icons a {
      padding: 0.4rem;
      transition: all 1.5s easeout; }
      main .icons a:hover {
        color: yellow; }
  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); }

.bio-image {
  grid-area: bioimage;
  margin: auto;
  border-radius: 50%;
  border: yellow 2px solid; }

.bio {
  grid-area: bio;
  font-size: 1.5rem; }

.job-1 {
  grid-area: job1; }
  .job-1 h3 {
    font-weight: 500;
    color: black; }

.job-2 {
  grid-area: job2; }
  .job-2 h3 {
    font-weight: 500;
    color: black; }

.job-3 {
  grid-area: job3; }
  .job-3 h3 {
    font-weight: 500;
    color: black; }

.job {
  background: #515151;
  padding-bottom: 1rem;
  border-bottom: yellow 5px solid; }

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.7rem; }
  .projects img {
    width: 100%;
    border: #fff 3px solid; }
    .projects img:hover {
      opacity: 0.7;
      border-color: yellow;
      transition: all 1.5s easeout; }

.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: yellow;
    color: #444; }

.btn-dark {
  background: black; }

.btn-light {
  background: #5e5e5e; }

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 2rem;
  gap: 2rem; }
  .boxes div {
    font-size: 2rem;
    border: #fff 3px solid;
    padding: 1rem 2rem;
    transition: all 1.5s easeout; }
    .boxes div:hover {
      padding: 0.5rem 1.5rem;
      transition: 1.2s ease-in-out;
      border: yellow 3px solid; }

#main-footer {
  text-align: center;
  padding: 1rem;
  background: #373737; }

@media screen and (min-width: 1170px) {
  .projects {
    grid-template-areas: 'project project2 project3 project4' 'project5';
    grid-template-columns: repeat(4, 1fr); } }

@media screen and (min-width: 769px) and (max-width: 1170px) {
  .projects {
    grid-template-areas: 'project project2 project3' 'project4 project5';
    grid-template-columns: repeat(3, 1fr); } }

@media screen and (max-width: 768px) {
  main {
    align-items: center;
    text-align: center; }
    main .lg-heading {
      margin-bottom: 1rem;
      line-height: 1; }
  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: 75vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 25px; }
  .menu-branding {
    height: 25vh;
    transform: translate3d(100%, 0, 0); }
    .menu-branding .portrait {
      background-image: url(../img/smallimage.jpg);
      width: 150px;
      height: 150px; }
  .about-info {
    grid-template-areas: 'bioimage' 'bio' 'job1' 'job2' 'job3';
    grid-template-columns: 1fr; }
  .projects {
    grid-template-areas: 'project project2' 'project3 project4' 'project5';
    grid-template-columns: repeat(2, 1fr); } }

@media screen and (max-width: 500px) {
  main#home h1 {
    margin-top: 10vh; }
  .projects {
    grid-template-areas: 'project' 'project2' 'project3' 'project4' 'project5';
    grid-template-columns: 1fr;
    grid-gap: 20px; } }
