.rspan {
  font-size: 2rem; }

.menu-btn {
  position: absolute;
  z-index: 3;
  right: 30px;
  top: 30px;
  cursor: pointer;
  transition: all 0.5s ease-in-out; }
  .menu-btn:hover {
    color: #f13939;
    text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
    transition: all 0.5s ease-out; }
  .menu-btn .btn-line {
    height: 5px;
    width: 40px;
    margin: 0 0 10px 0;
    background: #f13939;
    transition: all 0.5s ease-in-out; }
    .menu-btn .btn-line:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }
  .menu-btn.close {
    transform: rotate(360deg); }
    .menu-btn.close .btn-line:nth-child(1) {
      transform: rotate(45deg) translate(15px, 15px); }
    .menu-btn.close .btn-line:nth-child(2) {
      transition: all 0.5s ease-in-out;
      opacity: 0; }
      .menu-btn.close .btn-line:nth-child(2):hover {
        color: #f13939;
        text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
        transition: all 0.5s ease-out; }
    .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: rgba(28, 28, 28, 0.795);
    list-style: none;
    transform: translate3d(100%, -100%, 0);
    transition: all 0.5s ease-in-out; }
    .menu-nav:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0);
      transition: all 0.5s ease-in-out; }
      .menu-nav.show:hover {
        color: #f13939;
        text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
        transition: all 0.5s ease-out; }
  .menu-branding {
    background: rgba(28, 28, 28, 0.795);
    transform: translate3d(-100%, 100%, 0);
    transition: all 0.5s ease-in-out; }
    .menu-branding:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }
    .menu-branding.show {
      transform: translate3d(0, 0, 0);
      transition: all 0.5s ease-in-out; }
      .menu-branding.show:hover {
        color: #f13939;
        text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
        transition: all 0.5s ease-out; }
    .menu-branding .portrait {
      width: 250px;
      height: 250px;
      background: url("../img/pic.png");
      background-size: cover;
      border-radius: 50%;
      border: solid 5px #f13939; }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0) rotate(270deg);
    transition: all 0.5s ease-in-out; }
    .menu .nav-item:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item .current {
      color: #ef2121; }
  .menu .nav-link {
    display: inline-block;
    position: relative;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 1rem 0;
    text-shadow: none;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease-in-out; }
    .menu .nav-link:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }

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

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

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

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

* {
  box-sizing: border-box; }

body {
  background: rgba(53, 53, 53, 0.795);
  color: #fff;
  height: 100%;
  margin: 0;
  font-family: poppins, 'sans-serif';
  line-height: 1.5; }
  body#bg-img {
    background: url(../img/bghome.jpg);
    background-attachment: fixed;
    background-size: cover; }
  body:after {
    content: '';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(53, 53, 53, 0.6); }

h1,
h2,
h3 {
  margin: 0;
  z-index: 2;
  font-weight: 700; }
  h1.lg-heading,
  h2.lg-heading,
  h3.lg-heading {
    z-index: 2;
    font-size: 4rem; }
  h1.sm-heading,
  h2.sm-heading,
  h3.sm-heading {
    z-index: 2;
    margin-bottom: 2rem;
    padding: 0.2rem 1rem;
    background: rgba(181, 181, 181, 0.4);
    color: #fff; }

a {
  text-decoration: none; }
  a i {
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease-in-out; }
    a i:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }

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

.text-secondary {
  color: #f13939; }

main {
  padding: 3.8rem;
  z-index: 3;
  height: calc(100% - 60px); }
  main .icons {
    margin-top: 2rem; }
    main .icons a {
      padding: 1rem; }
  main#home {
    overflow: none;
    margin-top: 15vh; }

@media screen and (max-width: 600px) {
  ul li {
    font-size: 0.5rem !important; }
  main {
    align-items: center;
    text-align: center; }
    main .lg-heading {
      font-size: 2.5rem; }
    main .sm-heading {
      font-size: 3.5vh; }
    main .icons > a {
      padding: 0px; }
  .about-info .bio-image {
    margin: 0; }
  div.projects {
    grid-template-columns: 1fr !important;
    grid-template-columns: 1fr !important;
    grid-template-columns: 1fr !important;
    grid-template-columns: 1fr !important; } }

@media screen and (max-width: 768px) {
  .about-info {
    grid-template: "bioimage" "bio" "job1" "job2" "job3" / 1fr !important; }
  .rspan {
    font-size: 1rem; }
  ul li {
    font-size: 1rem !important;
    letter-spacing: 0px !important; }
  main {
    align-items: center;
    text-align: center; }
    main .lg-heading {
      line-height: 1;
      margin-bottom: 1rem; }
  .menu-branding, .menu-nav {
    float: none;
    width: 100%;
    min-height: 0; }
    .menu-branding.show,
    .menu-nav.show {
      transform: translate3d(0, 0, 0);
      transition: all 0.5s ease-in-out; }
      .menu-branding.show:hover,
      .menu-nav.show:hover {
        color: #f13939;
        text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
        transition: all 0.5s ease-out; }
  .menu-branding {
    height: 40vh;
    transform: translate3d(-100%, 0, 0); }
    .menu-branding .portrait {
      border: solid 3px #f13939;
      height: 150px;
      width: 150px; }
  .menu-nav {
    height: 60vh;
    transform: translate3d(100%, 0, 0); }
  .projects {
    grid-template-columns: 1fr 1fr !important; } }

.bio-image {
  grid-area: bioimage;
  width: 250px;
  height: 250px;
  margin-left: 3rem;
  margin-bottom: 2rem;
  background-size: cover;
  border-radius: 50%;
  border: solid 5px #f13939; }

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

.about-info {
  display: grid;
  grid-gap: 40px;
  grid-template: "bioimage bio bio" "job1 job2 job3" / 1fr 1fr 1fr; }

.job-1 {
  grid-area: job1; }

.job-2 {
  grid-area: job2; }

.job-3 {
  grid-area: job3; }

.job {
  background: rgba(56, 56, 56, 0.795);
  padding: 0.5rem;
  border-bottom: solid 5px #f13939; }
  .job h3 {
    color: #f02f2f;
    text-align: center;
    margin: 1rem; }
  .job p {
    text-align: center;
    padding: 1rem; }

.projects {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr; }
  .projects img {
    width: 100%;
    height: 250px;
    border: 5px solid rgba(53, 53, 53, 0.795); }
    .projects img:hover {
      border: 5px solid #f13939;
      transform: scale(1.5);
      transition: all 0.5s ease-in-out; }
      .projects img:hover:hover {
        color: #f13939;
        text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
        transition: all 0.5s ease-out; }

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  margin-top: 1rem; }

.btn, .btn-light, .btn-dark {
  display: block;
  padding: 0.5rem;
  border: 0;
  border-radius: 5%;
  margin-bottom: 0.5rem; }
  .btn:hover, .btn-light:hover, .btn-dark:hover {
    transition: all 0.5s ease-in-out;
    border: solid 1px #f13939; }
    .btn:hover:hover, .btn-light:hover:hover, .btn-dark:hover:hover {
      color: #f13939;
      text-shadow: 0 0 60px #fd0303, -10px 0 80px #ff3932, 10px 0 80px rgba(255, 0, 0, 0.4);
      transition: all 0.5s ease-out; }

.btn-light {
  background: rgba(79, 79, 79, 0.795);
  color: #ffd900; }

.btn-dark {
  background: rgba(28, 28, 28, 0.795); }

#main-footer {
  text-align: center;
  padding: 1rem;
  width: 100%;
  color: #fff;
  background: rgba(2, 2, 2, 0.795);
  height: 60px; }
