@import url("https://fonts.googleapis.com/css?family=Audiowide&display=swap");
.menu-btn {
  position: absolute;
  z-index: 3;
  right: 35px;
  top: 35px;
  cursor: pointer;
  transition: all 1.2s ease-out; }
  .menu-btn .btn-line {
    width: 28px;
    height: 3px;
    margin-bottom: 5px;
    background: #ffff78;
    transition: all 1.2s 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); }

* {
  box-sizing: border-box; }

body {
  background: linear-gradient(#04f6ff, #9f13dd);
  background-attachment: fixed;
  background-size: cover;
  color: white;
  height: 100%;
  margin: 0;
  font-family: "Audiowide", cursive;
  line-height: 1.5; }

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  color: #ffff78; }
  h1.lg-heading,
  h2.lg-heading,
  h3.lg-heading {
    font-size: 3rem; }
  h1.sm-heading,
  h2.sm-heading,
  h3.sm-heading {
    margin-bottom: 2rem;
    padding: 0.2rem, 0.1rem; }

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

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

main {
  padding: 4rem;
  min-height: calc(100vh - 60px); }
  main#home {
    overflow: hidden; }
    main#home h1 {
      margin-top: 20vh; }
  main .icons {
    margin-top: 1rem; }
    main .icons a {
      color: #04f6ff;
      padding: 0.4rem; }
      main .icons a:hover {
        color: #ffff78;
        transition: all 1.2s ease-out; }

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.9;
  visibility: hidden; }
  .menu.show {
    visibility: visible; }
  .menu-nav {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: right;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #8e11c6;
    list-style: none;
    transform: translate3d(0, -100%, 0);
    transition: all 1.2s ease-out; }
    .menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .menu .nav-item {
    transform: translate3d(600px, 0, 0);
    transition: all 1.2s ease-out; }
    .menu .nav-item.show {
      transform: translate3d(0, 0, 0); }
    .menu .nav-item.current > a {
      color: #04f6ff; }
  .menu .nav-link {
    display: inline-block;
    position: relative;
    font-size: 30px;
    text-transform: uppercase;
    padding: 1rem, 0;
    font-weight: 300;
    text-decoration: none;
    transition: all 1.2s ease-out; }
    .menu .nav-link:hover {
      color: #04f6ff; }

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

.projects {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(3, 1fr); }
  .projects img {
    width: 100%;
    height: 86.7%;
    border: 3px #04f6ff solid; }
    .projects img:hover {
      opacity: 0.5;
      border-color: #9f13dd;
      transition: all 1.2s ease-out; }

.contact-links {
  text-align: center; }
  .contact-links .contacts {
    list-style: none;
    margin: 0;
    padding: 0; }
    .contact-links .contacts li,
    .contact-links .contacts a {
      display: block;
      font-size: 2rem;
      color: #ffff78; }
      .contact-links .contacts li:hover,
      .contact-links .contacts a:hover {
        color: #04f6ff;
        transition: all 1.2s ease-out; }

.skills {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(3, 1fr); }
  .skills .skill-cat {
    background-color: #0e8d72bb;
    border-radius: 5px;
    margin-bottom: 2rem; }
    .skills .skill-cat .skill-title {
      text-align: center; }
    .skills .skill-cat .skill-list {
      text-align: center;
      list-style: none;
      margin: 0;
      padding: 0.5rem; }
      .skills .skill-cat .skill-list .skill {
        color: #04f6ff;
        cursor: pointer;
        padding: 6px; }
        .skills .skill-cat .skill-list .skill img {
          color: #04f6ff;
          width: 30px; }
        .skills .skill-cat .skill-list .skill:hover {
          color: #ffff78;
          transition: all 1.2s ease-out; }

.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: #9f13dd;
    color: #ffff78; }

.btn-dark {
  background: #000404; }

.btn-light {
  background: white;
  color: #9f13dd; }

#main-footer {
  text-align: center;
  padding: 1rem;
  background: #00c9d0;
  color: #ffff78;
  height: 60px; }

@media screen and (min-width: 1171px) {
  .projects {
    grid-template-columns: repeat(5, 1fr); }
  .skills {
    grid-template-columns: repeat(3, 1fr); } }

@media screen and (min-width: 769px) and (max-width: 1170px) {
  .projects {
    grid-template-columns: repeat(3, 1fr); }
  .skills {
    grid-template-columns: repeat(2, 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 {
    float: none;
    width: 100%;
    min-height: 0;
    transform: translate3d(-100%, 0, 0);
    font-size: 24px; }
    ul.menu-nav.show {
      transform: translate3d(0, 0, 0); }
  .projects,
  .skills {
    grid-template-columns: repeat(2, 1fr); }
  #mail {
    font-size: 1.5rem; } }

@media screen and (max-width: 500px) {
  main#home h1 {
    margin-top: 10vh; }
  #home h1 {
    font-size: 2.3rem; }
  .projects,
  .skills {
    grid-template-columns: 1fr; }
  #mail {
    font-size: 0.9rem; } }
