 .hamburger {
    display: none;
    background: none;
    outline: none;
    border: none;
  }
  .mobile-nav {
    display: none;
  }
  
  .container {
    position: relative;
    width: 1440px;
    margin: 0 auto;
    max-width: 100%;
  }

  .page-container {
    position: relative;
    width: 1440px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
  }
/* copy and paste to other .css files for easy nav add */

  .home-top:hover path, 
  .home-top:focus-within path, 
  .home-top:active path {
    fill: #c55050;
    transition: .2s ease-in-out;
  }
  .is-active-top path {
    fill: #c55050;
  }
  .nav-ul-top {
    position: absolute;
    top: 2rem;
    right: 0;
    color: rgb(168, 168, 168);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    z-index: 3;
  }
  .is-active-top {
    color: #c55050;
  }
  .nav-ul-top ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }
  .nav-ul-top li {
    margin: 0 auto;
  }
  .nav-ul-top li a {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    transition: .2s ease-in-out;
  }
  .nav-ul-top li a:hover, 
  .nav-ul-top li a:focus, 
  .nav-ul-top  li a:active {
    color: #c55050;
  }
  /* wrapped svg in a div so it can be equal length as heart svg */
  .svg-container {
    width: 75px;
    text-align: center;
  }
/* copy and paste to other .css files for easy nav add */

  .hero-title {
    color: #c55050;
    font-size: clamp(3rem, 6vw, 5rem);
    text-align: center;
    font-weight: 700;
    width: 95%;
    margin: 5rem auto 1rem 2rem;
    z-index: 3;
  }

  .period {
    display: inline-block; /* animation on span won't work without display property */
    color: rgb(168, 168, 168);
    text-shadow: 0px -3px 9px rgba(255, 255, 255, 0.8), 0px 1px 9px rgba(255, 255, 255, 0.8);
    animation: Jump 1.5s ease-in-out 5;
    -moz-animation: none; /* too laggy on firefox */
    font-size: clamp(2.5rem, 3vw, 3rem);
  }
  @keyframes Jump {
    50% {
      transform: translateY(-7px);
    }
  }

  .hero-gray {
    color: rgb(202, 201, 201);
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 300;
    margin-top: 3rem;
  }

  .hero-buttons {
    display: flex;
    margin-bottom: 8rem;
  }

  .hero-btn {
    color: rgb(202, 201, 201);
    background-color: transparent;
    border: 2px solid rgb(202, 201, 201);
    border-radius: 40px;
    cursor: pointer;
    margin: 1rem;
    font-family: 'Open-Sans', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: .03rem;
    transition: .2s ease-in-out;
    box-shadow: 0px 2px 3px rgba(95, 88, 88, 0.4);
    position: relative;
    z-index: 3;
  }
  .hero-btn:hover, 
  .hero-btn:focus-within, 
  .hero-btn:active {
    color: #171616;
    background-color: #c55050;
    border: 2px solid rgb(23, 22, 22);
  }
  /* .hero-btn a creates the clickable space for the whole button */
  .hero-btn a {
    text-decoration: none;
    display: block; /* display block allows height and width to be edited */
    color: inherit;
    height: 3.5rem; /* height of button. specifying height/width makes whole button clickable */
    width: 10rem; /* width of button */
    line-height: 3.5rem; /* needed to center text, must equal height */
  }

  /* IMAGE SWAP ON BUTTON HOVER */
  /* -------------------------- */
  .resume-text {
    opacity: 1;
    transition: .4s ease-out;
  }
  .hero-btn:hover .resume-text, 
  .hero-btn:focus-within .resume-text,
  .hero-btn:active .resume-text {
    opacity: 0;
  }
  .resume-icon {
    position: absolute;
    width: 0px;
    top: .3rem;
    left: 3.7rem;
    opacity: 0;
    transition: .3s ease-in-out;
    transform: translateX(-110px);
    visibility: hidden; /* can't be clickable until hover state activates */
  }
  .hero-btn:hover .resume-icon, 
  .hero-btn:focus-within .resume-icon,
  .hero-btn:active .resume-icon {
    visibility: visible;
    width: 45px;
    height: 45px;
    opacity: 1;
    transform: translate(0px);
  }

  /* github button text swap styles */
  .github-text {
    opacity: 1;
    transition: .4s ease-out;
  }
  .hero-btn:hover .github-text, 
  .hero-btn:focus-within .github-text,
  .hero-btn:active .github-text {
    opacity: 0;
  }
  .github-icon {
    position: absolute;
    width: 0px;
    top: .3rem;
    left: 3.7rem;
    opacity: 0;
    transition: .3s ease-in-out;
    transform: translateX(110px);
    visibility: hidden; /* can't be clickable until hover state activates */
  }
  .hero-btn:hover .github-icon, 
  .hero-btn:focus-within .github-icon,
  .hero-btn:active .github-icon {
    visibility: visible;
    width: 45px;
    height: 45px;
    opacity: 1;
    transform: translate(0px);
  }
  /* -------------------------- */
  /* -------------------------- */

  .hero-p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    color: #df7171;
    max-width: 70%;
    text-align: center;
    line-height: 1.6;
    z-index: 3;
  }
  h2 {
    font-size: inherit;
  }
  .hero-p-title {
    display: flex;
    flex-direction: column;
    color: rgb(202, 201, 201);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    text-align: center;
    width: max-content; /* needed for animation to end on time */
    margin-bottom: 11rem;
    z-index: 3;
  }
  /* TYPEWRITER ANIMATION */
  .typewriter {
    display: inline-block;
  }
  .typewriter-text {
    display: inline-block;
    overflow: hidden;
    animation: typing 5s steps(36, end), blink .75s step-end 7 forwards;
    white-space: nowrap;
    border-right: 3px solid #00ffffb3;
    margin-bottom: 1.5rem;
  }
  @keyframes typing {
    0% {
      width: 0%;
    }
    100% {
      width: 100%;
    }
  }
  @keyframes blink {
    0%, 100% {
      border-color: transparent;
    }
    50% {
      border-color: #00ffffb3;
    }
  }
/* ---------------------- */
  .mission {
    display: flex; /* adding display flex makes the inner "a" child the same height as parent div, allowing whole "a" element to be clickable */
    color: #00ffffb3;
    font-family: 'Open-Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    cursor: pointer;
    width: max-content;
    margin: 0 auto;
    position: relative;
    left: -.5rem;
    z-index: 3;
    animation: wobble-horizontal 4s ease-in-out infinite;
  }

  .mission:hover, 
  .mission:focus-within, 
  .mission:active {
    color: #c55050;
  }
  @keyframes wobble-horizontal {
    8.325% {
      transform: translateX(8px);
    }
    16.65% {
      transform: translateX(-6px);
    }
    24.975% {
      transform: translateX(4px);
    }
    33.3% {
      transform: translateX(-2px);
    }
    41.625% {
      transform: translateX(1px);
    }
    50% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(0);
    }
  }

  .right-arrow:focus-within {
    outline: 1px solid white;
  }
  .right-arrow {
    position: absolute;
    z-index: 3;
    width: 22px;
    height: 22px;
    left: 107%;
    bottom: .55rem;
  }

  .mission:hover .right-arrow path, 
  .mission:focus-within .right-arrow path, 
  .mission:active .right-arrow path {
    fill: #c55050;
  }
   
  .right-arrow:focus-within {
    outline: 1px solid white;
  }

  .skills-container {
    max-width: 1440px;
    width: 75%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 10rem;
    z-index: 3;
  }
  .skills-section {
    margin: 2rem 0;
  }
  .skills-title {
    color: rgb(202, 201, 201);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 2.5vw, 2.25rem);
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .skills-row {
    display: flex;
    width: 50%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-around;
  }
  .skills-row img {
    margin: .5rem 1rem;
  }

  .p-section {
    position: relative;
    display: block;
    max-width: 90%; /* allows pseudo element to be centered */
    margin: 0 auto;
  } 

  .p-section::before {
    content: '';
    position: absolute;
    background-color: #00ffffb3;
    width: 50px;
    height: 2px;
    top: -1.5rem;
    left: 50%;
    margin-left: -25px;
  }
  .p-section:nth-child(1) {
    margin-top: 3rem;
  }

  nav {
    width: 100%; /* takes up 100% of screen size, allows for responsive absolutely positioned top nav */
    margin-bottom: 4rem;
  }

  @keyframes Pulse {
    50% {
      transform: scale(1.2);
      -moz-transform: scale3d(1.2, 1.2, 1.2);
    }
  }
  .heart {
    animation: Pulse 1.5s infinite ease-in-out;
  }

  .mobile-heart {
    display: none;
  }
  .cat-link {
    display: none;
  }

  .nav-ul {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
  }

  .nav-ul li {
    margin: 0 auto; /* evenly spaces nav ul items */
    /* width: max-content; */
  }

  .nav-ul li a {
    color: rgb(168, 168, 168);
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    transition: .2s;
    position: relative; /* needed for underline */
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    z-index: 3;
  }
  .nav-ul li a:hover, 
  .nav-ul li a:focus, 
  .nav-ul li a:active {
    color: #c55050;
  }

  /* UNDERLINE FROM MIDDLE */
.hover-text-from-middle::after {
  content: '';
  position: absolute;
  display: block;
  left: 50%;
  right: 100%;
  bottom: -5px;
  border-bottom: 2px solid #c55050;
  transition: .5s;
}
.hover-text-from-middle::before {
  content: '';
  position: absolute;
  display: block;
  right: 50%;
  left: 100%;
  bottom: -5px;
  border-bottom: 2px solid #c55050;
  transition: .5s;
}
   /* ------------------------ */

.item-to-underline:hover .hover-text-from-middle::after {
  right: -2px; /* 10px goes to the edge of the text, 0 is too far */
}
.item-to-underline:hover .hover-text-from-middle::before {
  left: 0;
}

  footer {
    width: 100%;
  }

  .social-icons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 30%;
    margin: 0 auto;
    z-index: 3;
  }
  .icon path {
    fill: "#a8a8a8";
    transition: .35s;
  }
  .icon:hover path, 
  .icon:focus-within path, 
  .icon:active path {
    fill: #c55050;
  }

  .copyright {
    color: rgb(168, 168, 168);
    font-size: clamp(.8rem, 1vw, .9rem);
    text-align: center;
    width: 90%;
    margin: 2rem auto 1rem auto;
  }

  .back-to-top {
    display: none;
    animation: Flip 3.2s 1s infinite forwards;
  }
/* 20% and 100% makes a delay between each animation iteration */
  @keyframes Flip {
    0% {
      transform: rotate(270deg)
    }
    20% {
      transform: rotate(630deg);
    }
    100% {
      transform: rotate(630deg);
    }
  }
