.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: #373737;
    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: #444;
    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/image.png");
      border-radius: 50%;
      border: solid 3px #eece1a; }
  .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: #eece1a; }
  .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: chartreuse;
        transform: scale(1.25)
}

.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; }

  .nav-item:nth-child(5) {
  transition-delay: 0.5s; }

* {
  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: url(../img/background.jpg);
    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(68, 68, 68, 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(73, 73, 73, 0.5); }

a {
  color: #fff;
  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; }
  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-radius: 50%;
    border: #eece1a 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: #515151;
    padding: 0.5rem;
    border-bottom: #eece1a 5px solid; }

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

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

.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: #eece1a;
    color: #000; }

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

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

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

@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); } }

@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: 75vh;
    transform: translate3d(-100%, 0, 0);
    font-size: 24px; }
  .menu-branding {
    height: 25vh;
    transform: translate3d(100%, 0, 0); }
    .menu-branding .portrait {
      background: url("../img/image.png");
      background-size: contain;
      width: 150px;
      height: 150px; }
  .about-info {
    grid-template-areas: 'bioimage' 'bio' 'job1' 'job2' 'job3';
    grid-template-columns: 1fr; }
  .projects {
    grid-template-columns: repeat(2, 1fr); } }

@media screen and (max-width: 500px) {
  main {
    padding: 2rem; }
    main #home h1 {
      margin-top: 10vh; }
    main .lg-heading {
      margin-top: 1rem;
      font-size: 5rem; }
  .projects {
    grid-template-columns: 1fr; } 
  .bio p {
    text-align: left;
  }
  
}

/* GOOGLE TRANSLATE ELEMENT */
#google_translate_element {
  padding-left: 70px;
  padding-top: 30px;
  color: #000;
}

@media screen and (max-width: 426px) {
  #google_translate_element {
    padding-left: 42px;
    padding-top: 30px;
  }
}

/* BLOG */
#blog-bg {
  background: url(../img/z.jpg);
  background-position: center;
}

body#blog-bg:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.73);
}

#blog-cta {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#blog-cta h1 {
  font-family: Poppins;
  font-size: 50px;
  text-shadow: #FC0 0px 0 10px;
}

#blog-cta p {
  font-family: 'Lato', sans-serif;
  font-size: 25px;
  margin-top: -3px;
  text-shadow: #FC0 0px 0 10px;
}

#mce-EMAIL {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 500px !important;
  height: 40px !important;
  padding: 0px 40px !important;
  border-radius: 35px !important;
  border: none !important;
  outline: none;
}

.blog-cta-button {
  height: 40px;
  border: none;
  border-radius: 35px;
  width: 120px;
  background: green;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  #mce-EMAIL {
    margin-bottom: 15px !important;
    width: 80% !important;
  }
}

/* FORM */
#contact-page-bg {
  background-color: #000000;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Cpath fill='none' stroke-width='200' id='a' d='M0-478l-413.96 717h827.92L0-478l-413.96 717h827.92z'/%3E%3C/defs%3E%3Cg transform='scale(0.631)' style='transform-origin:center'%3E%3Cg style='transform-origin:center'%3E%3Cg transform='' style='transform-origin:center'%3E%3Cg transform='translate(1000 750)'%3E%3Cuse stroke='%23FF0' href='%23a' transform=''/%3E%3Cuse stroke='%23fff700' href='%23a' transform=''/%3E%3Cuse stroke='%23fff000' href='%23a' transform=''/%3E%3Cuse stroke='%23ffe800' href='%23a' transform=''/%3E%3Cuse stroke='%23ffe000' href='%23a' transform=''/%3E%3Cuse stroke='%23ffd800' href='%23a' transform=''/%3E%3Cuse stroke='%23ffd000' href='%23a' transform=''/%3E%3Cuse stroke='%23ffc800' href='%23a' transform=''/%3E%3Cuse stroke='%23ffc000' href='%23a' transform=''/%3E%3Cuse stroke='%23ffb800' href='%23a' transform=''/%3E%3Cuse stroke='%23ffb000' href='%23a' transform=''/%3E%3Cuse stroke='%23ffa700' href='%23a' transform=''/%3E%3Cuse stroke='%23ff9f00' href='%23a' transform=''/%3E%3Cuse stroke='%23ff9600' href='%23a' transform=''/%3E%3Cuse stroke='%23ff8d00' href='%23a' transform=''/%3E%3Cuse stroke='%23ff8400' href='%23a' transform=''/%3E%3Cuse stroke='%23ff7b00' href='%23a' transform=''/%3E%3Cuse stroke='%23ff7100' href='%23a' transform=''/%3E%3Cuse stroke='%23ff6700' href='%23a' transform=''/%3E%3Cuse stroke='%23ff5d00' href='%23a' transform=''/%3E%3Cuse stroke='%23ff5200' href='%23a' transform=''/%3E%3Cuse stroke='%23ff4500' href='%23a' transform=''/%3E%3Cuse stroke='%23ff3700' href='%23a' transform=''/%3E%3Cuse stroke='%23ff2400' href='%23a' transform=''/%3E%3Cuse stroke='%23F00' href='%23a' transform=''/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
background-attachment: fixed;
background-size: cover;
}

#contact-form-flex {
  margin: auto;
  font-weight: 600;
}

#contact-form input[type= "text"], input[type="email"] {
  border-radius: 35px;
  border: none;
  width: 25%;
  height: 30px;
  padding: 10px 15px;
  outline: none;
}

#contact-form textarea {
  border-radius: 15px;
  padding: 10px 15px;
  height: 300px;
  width: 50%;
  outline: none;
}

#contact-form button {
  padding: 0 15px;
  border-radius: 25px;
  border: none;
  height: 30px;
  width: 100px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

#contact-form button:hover {
  background: #FC0;
}

/* SKILLS BAR */
.bio {
  font-size: 1em !important;
  margin-bottom: 10px;
}

/* Container for skill bars */
.container {
  width: 100%; /* Full width */
  background-color: #ddd; /* Grey background */
  border-radius: 35px;
}

.skills {
  text-align: right; /* Right-align text */
  /* padding-top: 10px; Add top padding */
  /* padding-bottom: 10px; Add bottom padding */
  color: white; /* White text color */
  border-radius: 35px;
  padding: .03em 1em;
  font-size: .9em;
}

.html {width: 90%; background-color: #2196F3}
.css {width: 90%; background-color: #2196F3}
.js {width: 75%; background-color: #2196F3}
.php {width: 80%; background-color: #2196F3}
.mongodb {width: 85%; background-color: #2196F3}
.mysql {width: 85%; background-color: #2196F3}
.ps {width: 65%; background-color: #2196F3}
.seo {width: 70%; background-color: #2196F3}


/* FORM MEDIA QUERIES */

@media screen and (max-width: 768px) {
  #contact-form input[type= "text"], input[type="email"] {
    width: 50%;
  }
}

/* BLOG PAGE MEDIA QUERIES */

@media screen and (max-width: 625px) {
  #blog-cta h1 {
    font-family: Poppins;
    font-size: 35px;
  }

  #blog-cta p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    margin-top: 15px;
    margin-left: 10px;
  }

  #countdown-timer {
    margin-bottom: 30px;
  }

  .blog-email-input {
    width: 250px;
  }

}

@media screen and (max-width: 425px) {
  #blog-cta p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    margin-top: 15px;
    margin-left: 40px;
  }

  #countdown-timer {
    margin-right: 39px !important;
  }

  .blog-email-input {
    margin-left: 20px !important;
  }

  #mce-EMAIL {
    margin-bottom: 15px !important;
    width: 80% !important;
  }

  #contact-form input[type= "text"], input[type="email"], #contact-form textarea {
    width: 85%;
  }

  #contact-page-bg {
    background-color: #000; 
  }
}

@media screen and (max-width: 395px) {
  #blog-cta h1 {
    margin-right: 15px !important;
  }

  #mce-EMAIL {
    margin-bottom: 15px !important;
    width: 80% !important;
  }

  .blog-cta-button {
    /* margin-left: 120px !important; */
  }
}