.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background-color: #ffffff;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out; }
  .menu-btn.close {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg); }
    .menu-btn.close .btn-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
      -webkit-transform: rotate(45deg) translate(5px, 5px);
      -moz-transform: rotate(45deg) translate(5px, 5px);
      -ms-transform: rotate(45deg) translate(5px, 5px);
      -o-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);
      -webkit-transform: rotate(-45deg) translate(7px, -6px);
      -moz-transform: rotate(-45deg) translate(7px, -6px);
      -ms-transform: rotate(-45deg) translate(7px, -6px);
      -o-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: #171616;
    list-style: none;
    transform: translate3d(0, 100%, 0);
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
}
    .menu-nav.show {
      transform: translate3d(0, 0, 0);
      -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
      -o-transform: translate3d(0, 0, 0); }
  .menu-branding {
    background: #242323;
    transform: translate3d(0, 100%, 0);
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out; }
    .menu-branding.show {
      transform: translate3d(0, 0, 0);
      -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
      -o-transform: translate3d(0, 0, 0); }
    .menu-branding .portrait {
      width: 250px;
      height: 250px;
      background: url("https://res.cloudinary.com/stephyll/image/upload/v1623756008/myProtifolio/prot1_axd8dw.png");
      border: solid 3px #eece1a;
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
      background-size: cover; }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    -webkit-transform: translate3d(600px, 0, 0);
    -moz-transform: translate3d(600px, 0, 0);
    -ms-transform: translate3d(600px, 0, 0);
    -o-transform: translate3d(600px, 0, 0);
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0);
      -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
      -o-transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: #eece1a; }
  .menu .nav-link {
    display: inline-block;
    position: relative;
    font-size: 30px;
    text-transform: uppercase;
    padding: 1rem 0;
    font-weight: 400;
    color: #ffffff;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out; }
    .menu .nav-link:hover {
      color: #eece1a; }

.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: #242323;
  color: #ffffff;
  margin: 0;
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5; }
  body#bg-img {
    background: url("https://res.cloudinary.com/stephyll/image/upload/v1623756005/myProtifolio/background_vzvuhb.jpg");
    background-attachment: fixed;
    background-size: cover; }
    body#bg-img:after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 110vh;
      background-color: rgba(36, 35, 35, 0.9);
      z-index: -1; }

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(41, 40, 40, 0.5); }

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

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

.text-secondary {
  color: #eece1a; }

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

.about-infro {
  display: grid;
  grid-gap: 30px;
  grid-template-areas: 'bioimage bio bio'
 'job1 job2 job3';
  grid-template-columns: repeat(3, 1fr); }
  .about-infro .bio-image {
    border: 3px solid #eece1a;
    grid-area: bioimage;
    margin: auto;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    filter: grayscale(0.9);
    -webkit-filter: grayscale(0.9); }
  .about-infro .bio {
    grid-area: bio; }
    .about-infro .bio a {
      color: #eece1a;
      font-weight: bold;
      border: 2px white solid;
      padding: 5px;
      border-radius: 10px;
      outline: none;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      -ms-border-radius: 10px;
      -o-border-radius: 10px;
      letter-spacing: 1px;
      background-color: #3e3c3c; }
      .about-infro .bio a:hover {
        background-color: #242323;
        border-color: #eece1a;
        padding: 3px;
        transition: all 0.5s ease-out;
        -webkit-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        -ms-transition: all 0.5s ease-out;
        -o-transition: all 0.5s ease-out; }
  .about-infro .job-1 {
    grid-area: job1; }
  .about-infro .job-2 {
    grid-area: job2; }
  .about-infro .job-3 {
    grid-area: job3; }
  .about-infro .job {
    background: #363535;
    padding: 0.5rem;
    border-bottom: 5px solid #eece1a; }

#main-footer {
  text-align: center;
  padding: 1rem;
  background: #0a0a0a;
  color: #ffffff;
  height: 60px; }
  #main-footer .mode {
    position: absolute;
    margin-top: -3%;
    right: 6%; }
    #main-footer .mode i {
      cursor: pointer;
      padding-top: 20px; }

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.7rem; }
  .projects img {
    border: 3px solid #ffffff;
    width: 100%; }
    .projects img:hover {
      opacity: 0.5;
      transition: all 0.5s ease-out;
      -webkit-transition: all 0.5s ease-out;
      -moz-transition: all 0.5s ease-out;
      -ms-transition: all 0.5s ease-out;
      -o-transition: all 0.5s ease-out;
      border-color: #eece1a; }

.btn, .btn-dark, .btn-light {
  display: block;
  padding: 0.5rem 1rem;
  border: 0; }
  .btn:hover, .btn-dark:hover, .btn-light:hover {
    background-color: #eece1a;
    color: #242323; }

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

.btn-light {
  background: #a4a2a2;
  color: #333; }

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin: 1rem; }
  .boxes div {
    font-size: 2rem;
    border: 3px #fff solid;
    padding: 1.3rem 2.3rem;
    margin-bottom: 3rem;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out; }
    .boxes div:hover {
      padding: 0.5rem 1.5rem;
      background: #eece1a;
      color: #ffffff; }
      .boxes div:hover span {
        color: #242323; }

@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); }
  h1.lg-heading,
  h2.lg-heading,
  h3.lg-heading {
    font-size: 5rem;
    text-align: center;
    line-height: 6rem; }
  h1.sm-heading,
  h2.sm-heading,
  h3.sm-heading {
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center; }
  main .icons {
    text-align: center;
    font-size: 15px; }
  .boxes {
    display: block; }
    .boxes div {
      font-size: 1.5rem;
      border: 2px #fff solid;
      padding: 1.2rem 2rem;
      width: fit-content;
      margin: 1rem auto; } }

@media screen and (max-width: 768px) {
  #contact {
    height: calc(100vh - 60px); }
    #contact h1 {
      font-size: 4rem; }
    #contact h2 {
      font-size: 1rem; }
  .boxes {
    display: block; }
    .boxes div {
      font-size: 1rem;
      border: 2px #fff solid;
      padding: 1.2rem 2rem;
      width: 100%;
      font-weight: 400;
      margin: 1rem auto; }
  .about-infro {
    display: block; }
    .about-infro .job {
      margin: 2rem auto;
      width: 80%;
      text-align: left; }
      .about-infro .job p {
        font-size: 13px; }
  .projects {
    grid-template-columns: repeat(2, 1fr); }
  main {
    align-items: center;
    text-align: center; }
  .lg-heading {
    line-height: 1.2; }
  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);
      -webkit-transform: translate3d(0, 0, 0);
      -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
      -o-transform: translate3d(0, 0, 0); }
  .menu-nav {
    height: 75vh;
    transform: translate3d(-100%, 0, 0);
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    font-size: 24px; }
  .menu-branding {
    height: 25vh;
    transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0); }
    .menu-branding .portrait {
      width: 150px;
      height: 150px; }
  h1.lg-heading,
  h2.lg-heading,
  h3.lg-heading {
    font-size: 4rem;
    text-align: center;
    line-height: 5rem; }
  h1.sm-heading,
  h2.sm-heading,
  h3.sm-heading {
    font-size: 1rem;
    margin-top: 0.8rem;
    text-align: center; }
  main .icons {
    text-align: center;
    font-size: 10px; } }

@media screen and (max-width: 500px) {
  header .menu-btn {
    top: 10vh;
    right: 3vw; }
  header .menu-nav .nav-item > a {
    font-size: 1.3rem; }
  #about {
    padding: 0 5%; }
    #about h1.lg-heading, #about h2.lg-heading, #about h3.lg-heading {
      font-size: 2rem;
      text-align: center;
      line-height: 5rem;
      padding-top: 10vh; }
    #about h1.sm-heading, #about h2.sm-heading, #about h3.sm-heading {
      font-size: 0.8rem;
      margin-top: 0.5rem; }
  main#home h1.lg-heading, h2.lg-heading, h3.lg-heading {
    font-size: 3rem;
    text-align: center;
    line-height: 4rem;
    margin-left: -8vh;
    width: fit-content; }
  main#home h1.sm-heading, h2.sm-heading, h3.sm-heading {
    font-size: 0.6rem;
    margin-top: 0.8rem;
    text-align: center; }
  main .icons {
    text-align: center;
    font-size: 10px; }
  .projects {
    grid-template-columns: 1fr; }
  .about-infro .bio-image {
    height: 150px; }
  .about-infro .job {
    width: 100%; }
  .bio p {
    font-size: 13px;
    width: 100%; }
  .bio a {
    font-size: 11px; }
  #work {
    padding: 5%; }
    #work h1.lg-heading, #work h2.lg-heading, #work h3.lg-heading {
      font-size: 2rem;
      text-align: center;
      line-height: 5rem;
      padding-top: 10vh; }
    #work h1.sm-heading, #work h2.sm-heading, #work h3.sm-heading {
      font-size: 0.8rem;
      margin-top: 0.5rem; }
  #contact {
    padding: 0 2%; }
    #contact h1.lg-heading, #contact h2.lg-heading, #contact h3.lg-heading {
      font-size: 2rem;
      text-align: center;
      line-height: 5rem;
      padding-top: 10vh; }
    #contact h1.sm-heading, #contact h2.sm-heading, #contact h3.sm-heading {
      font-size: 0.8rem;
      margin-top: 0.5rem; }
    #contact .boxes div {
      font-size: 0.6rem;
      padding: 1rem 1rem .5rem 0;
      margin-bottom: 2rem;
      transition: all 0.5s ease-out;
      -webkit-transition: all 0.5s ease-out;
      -moz-transition: all 0.5s ease-out;
      -ms-transition: all 0.5s ease-out;
      -o-transition: all 0.5s ease-out; }
      #contact .boxes div:hover {
        padding: 0.5rem 0.5rem;
        background: #eece1a;
        color: #000; }
        #contact .boxes div:hover span {
          color: #000; } }
