@import url("https://fonts.googleapis.com/css?family=Mr+Dafoe|Oswald:200,300,400,500,600,700|Roboto:300,400,500,700&display=swap");

/*Variables*/
:root {
  --primary-color: #222;
  --secondary-color: #e60000;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  background: var(--primary-color);
  color: #fff;
  height: 100%;
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  /*background-image: url(../images/coding_display.jpeg);*/
  background-attachment: fixed;
  background-size: cover;
}

body#bg-img:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.8);
}

/*Headings*/
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  text-align: center;
}

.lg-heading {
  font-size: 10rem;
  font-family: "Mr Dafoe";
  text-shadow: 0 0 10px #000;
  margin-top: -50px;
}

.sm-heading {
  margin-bottom: 3rem;
  padding: 0.45rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  font-size: 2.5rem;
  border-radius: 20px;
  font-family: "Oswald", cursive;
}

a {
  color: #fff;
  text-decoration: none;
}

header {
  position: fixed;
  z-index: 2;
  width: 100%;
}

.text-secondary {
  color: var(--secondary-color);
}

main {
  padding: 6.4rem;
  min-height: calc(100vh - 50px);
}

/*MENU BUTTON*/
.menu-btn {
  position: absolute;
  z-index: 3;
  right: 40px;
  top: 40px;
  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;
}

/*Rotating Into X With Menu Lines*/
.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 Overlay*/
nav.menu {
  position: fixed;
  top: 0;
  width: 100%;
  visibility: hidden;
}

nav.menu.show {
  visibility: visible;
}

nav.menu .menu-branding,
nav.menu .menu-nav {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  float: left;
  width: 50%;
  height: 100vh;
  overflow: hidden;
}

nav.menu .menu-nav {
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.9);
  list-style: none;
  transform: translate3d(0, -100%, 0);
  transition: all 0.5s ease-out;
}

nav.menu .menu-nav.show {
  /*Slide in from top*/
  transform: translate3d(0, 0, 0);
}

/*Branding Side*/
nav.menu .menu-branding {
  background: rgba(230, 0, 0, 0.9);
  transform: translate3d(0, 100%, 0);
  transition: all 0.5s ease-out;
}

nav.menu .menu-branding.show {
  /*Slide in from bottom*/
  transform: translate3d(0, 0, 0);
}

.menu-branding .portrait {
  width: 250px;
  height: 250px;
  background: url(../images/portrait.PNG);
  background-size: cover;
  border-radius: 50%;
  border: solid 10px #fff;
  box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.5);
}

.nav-item a {
  transition: all 0.5s ease-out;
}

.nav-item .nav-link {
  font-family: "Oswald", cursive;
  display: inline-block;
  font-size: 3rem;
  text-transform: uppercase;
  padding: 1rem 0;
  color: #fff;
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--secondary-color);
}

.nav-item.current > a {
  color: var(--secondary-color);
}

/*ABOUT PAGE*/
.about-info {
  display: grid;
  grid-gap: 3rem;
  grid-template-areas:
    "bioimage bio bio"
    "jobs jobs jobs"
    "job1 job2 job3";
  grid-template-columns: repeat(3, 1fr);
  background: #222;
  padding: 3rem;
}

.bio-image {
  grid-area: bioimage;
  margin: auto;
  border-radius: 50%;
  border: 10px solid var(--secondary-color);
}

.bio {
  grid-area: bio;
  font-size: 2rem;
  font-weight: 300;
}

.jobs {
  grid-area: jobs;
}

.job-1 {
  grid-area: job1;
}

.job-2 {
  grid-area: job2;
}

.job-3 {
  grid-area: job3;
}

.job {
  background: #333;
  padding: 2.5rem 3rem 2.5rem 3rem;
  border-bottom: var(--secondary-color) 5px solid;
  box-shadow: 0 0 15px 10px #000;
}

.job h3 {
  font-size: 2.3rem;
  margin: 0;
}

.job h6 {
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
  border-top-width: ;
  font-weight: 300;
  color: var(--secondary-color);
}

.job p {
  margin: 1rem auto;
  font-size: 1.5rem;
  font-weight: 300;
}

/* SKILLS PAGE */
.skills .skills-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
  color: var(--secondary-color);
  border-top: 5px solid rgba(255, 255, 255, 0.1);
  border-left: 5px solid rgba(255, 255, 255, 0.1);
  border-right: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin: 10px auto;
}

.skills ul {
  font-family: 'Oswald', sans-serif;
  text-align: center;
  margin: 30px auto;
  border-left: 5px solid rgba(255, 255, 255, 0.1);
  border-right: 5px solid rgba(255, 255, 255, 0.1);
  border-bottom: 5px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  border-radius: 20px;
  box-shadow: 0px 10px 10px #000;
}

.skills ul li {
  list-style: none;
  display: inline-block;
  padding: 0 20px;
  font-size: 2rem;
  margin-left: -20px;
}

/*Footer*/
#main-footer {
  text-align: center;
  padding: 1.6rem;
  background: #000;
  color: #fff;
  height: 50px;
  font-size: 1.5rem;
}

/*Media Queries*/

/*Small / Smartphones*/
@media screen and (max-width: 500px) {
  main#home h1 {
    margin-top: 10vh;
  }
}

/*Medium / Tablets & Small Laptops*/
@media screen and (max-width: 768px) {
  main {
    align-items: center;
    text-align: center;
    padding: 3rem;
  }

  .lg-heading {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-size: 6.5rem;
    margin-top: 0;
  }

  .sm-heading {
    font-size: 2.5rem;
  }

  nav.menu .menu-branding,
  nav.menu .menu-nav {
    float: none;
    width: 100%;
    min-height: 0;
  }

  nav.menu .menu-nav.show,
  nav.menu .menu-branding.show {
    transform: translate3d(0, 0, 0);
  }

  nav.menu .menu-nav {
    height: 70vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 2.4rem;
  }

  nav.menu .menu-branding {
    height: 30vh;
    transform: translate3d(100%, 0, 0);
  }

  .menu-branding .portrait {
    width: 150px;
    height: 150px;
  }

  .about-info {
    grid-template-areas:
      "bioimage"
      "bio"
      "jobs"
      "job1"
      "job2"
      "job3";
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .bio-image {
    width: 200px;
    height: 200px;
  }

  .job {
    padding: 1rem;
    margin: 0 1rem;
  }
}

/*Large / Desktops & Laptops*/
@media screen and (min-width: 769px) and (max-width: 1170px) {
}

/*Extra Large/ Widescreens*/
@media screen and (min-width: 1171px) {
}
