/* Skip link */

.skip-link {
  position: absolute;
  top: -40px; /* Hide above viewport */
  left: 0;
  background: #2c2c2c;
  color: #FFFFFF;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: top 0.3s ease;
  border-radius: 4px;
}

.skip-link:focus {
  top: 10px;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
  box-shadow: 0 0 8px rgba(255,255,255,0.7);
}

/* General styles */

body {
    font-family: "Segoe UI", sans-serif;
  }
  
  ul {
    list-style-type: none;
  }
  
  a {
    text-decoration: none;
  }

  h1 {
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
    font-weight: lighter;
    color: #FFFFFF;
    font-size: 3.75em;
    margin-bottom: 0;
    position: relative;
    top: 10px;
  }
  
 /* Paragraph text styling */

  p, .slide p {
    text-align: left;
  }

  /* Footer text styling */

  .copyright {
    text-align: center;
  }

  /* Fade in Jenny Wilson */

  .main-text {
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    animation-delay: 0.5s;
  }
  
  /* Slide in slash + Designs */

  .slide-part {
    display: inline-flex;
    opacity: 0;
    transform: translateX(20px);
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    animation-name: slideInPushLeft;
    animation-duration: 1s;
    animation-delay: 1.5s; /* starts after main-text fades in */
  }
  
  /* Pink slash styling */

  .pink {
    color: #E7759B;
    margin: 0 0.1em;
  }
  
  /* Keyframes */

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideInPushLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
/* Typewriter styling */

  #holder {
    white-space: nowrap;
    font-size: 1.1em;
    font-weight: 100;
}

p.holder {
  /* Reserve enough height and keep it invisible initially */
  min-height: 2em;
  visibility: hidden;
  color: #FFFFFF;
  text-align: right;
}

/* Blinking cursor effect */
.cursor {
    display: inline-block;
    margin-left: 2px;
    color: #FFFFFF;
    animation: blink 1s step-start infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  h2 {
    font-weight: lighter;
    color: #E7759B;
    font-size: 2.75em;
  }

  .contactH2 {
    position: relative;
    z-index: 1000;
  }
 
  p {
    font-size: 20px;
    font-weight: lighter;
    color: #2c2c2c;
    line-height: 1.5em;
  }
  
  .section {
    text-align: center;
  }
  
  .hide {
    display: none;
  }
  
  .display {
    display: block;
  }

  /* Nav Screen */
  
  .nav-screen {
    height: 100%;
    z-index: 500;
    position: fixed;
    background-color: #2c2c2c;
    opacity: 1;
    right: -285px; /* Start off behind the scenes */
    position: fixed;
    width: 285px;
  }
  
  .nav-screen .active {
    display: block;
  }
  
  /* Nav header links */
  
  .nav-brand {
    position: fixed;
    left: 0;
    z-index: 600;
    padding: 10px;
  }
  
  .nav-brand img {
    width: 50px;
  }
  
  .fa-bars {
    display: none;
    color: #2c2c2c;
    float: right;
    padding: 30px;
    position: fixed;
    right: 0;
    z-index: 500;
    cursor: pointer;
  }

  .fa-bars:active {
    color: #E7759B;
    transition: all 0.2s ease-in-out;
  }
  
  .fa-times {
    color: #FFFFFF;
    float: right;
    padding: 20px;
    right: 0;
    z-index: 600;
    cursor: pointer;
  }

  .fa-times:active {
    color: #E7759B;
    transition: all 0.2s ease-in-out;
}
  
  .header-links {
    background-color: #FFFFFF;
    position: fixed;
    width: 100%;
    z-index: 500;
    display: flex;
    justify-content: flex-end;
  }
  
  .header-links ul {
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .header-links li {
    color: white;
    padding: 15px;
    font-size: 16px;
  }
  
  .header-links a {
    color: #2c2c2c;
  }
  
  .header-links a:hover {
    color: #E7759B;
    transition: all 0.2s ease-in-out;
  }
  
  /* Slide out nav menu styles */
  
  .nav-container {
    padding-top: 10%;
  }
  
  .nav-links {
    width: 250px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .nav-links ul {
    margin-top: 15%;
    text-align: center;
    padding-top: 10%;
  }
  
  .nav-links a {
    color: #FFFFFF;
    font-size: 24px;
    line-height: 2.5;
    font-weight: lighter;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
  }
  
  .nav-links a:active {
    color: #E7759B;
    transition: all 0.2s ease-in-out;
  }

  .mobileResume {
    position: relative;
    top: 100px;
  }
  
  #mobileLogo {
    max-width: 25%;
    position: relative;
    top: 100px;
    left: 0px;
  }

  #fp-nav ul li .fp-tooltip {
    color: #2c2c2c !important;
  }
  
  /* Expanding border effect */
  
  .header-links a::after {
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    content: "";
    opacity: 0;
    transition: width 0.6s, opacity 0.8s;
  }
  
  .header-links a:hover::after,
  .header-links a:focus::after {
    opacity: 1;
    width: 100%;
  }
  
  /* Main header section */
  
  .opaque-bg {
    padding: 15px 25px 5px 5px;
    text-align: right;
    position: relative;
    right: 8%;
  }
  
  /* Fix about section height and background behavior */

.aboutme {
  filter: hue-rotate(340deg); /* Recolours image */
  min-height: 100vh !important; /* Full viewport height */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transition: none !important; /* Disable background transitions */
  will-change: transform; /* Improve rendering performance */
}

/* Prevent overflow issues */

#fullpage {
  overflow: visible !important;
}

  /* Bouncing arrow */
  
  .fa-chevron-down {
    color: #E7759B;
    bottom: 10px;
   
    cursor: pointer;
    position: absolute;
    opacity: 0;
  }
  
  /* Scroll down indicator (bouncing) */

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-30px);
    }
    60% {
      transform: translateY(-15px);
    }
  }
  
  .bounce {
    animation: bounce 2s infinite;
  }
  
  /* About section */
  
  /* Skill bars */
  
  .container-skillbar {
    max-width: 96%;
    padding-top: 30px;
    padding-right: 2%;
    padding-left: 2%;
    height: auto;
    overflow: hidden;
  }
  
  .skillbar {
    position: relative;
    display: block;
    margin-bottom: 15px;
    background: #efefef;
    height: 30px;
    border-radius: 4px;
    transition: 0.4s linear;
    transition-property: width, background-color;
  }
  
  .skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    background: #6adcfa;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  
  .skillbar-title span {
    display: block;
    background: rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 400;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  
  .skillbar-bar {
    height: 30px;
    width: 0px;
    transition: width 2.5s ease;
    border-radius: 4px;
  }
  
  .skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 11px;
    height: 30px;
    line-height: 30px;
    color: #FFFFFF;
    color: rgba(0, 0, 0, 0.5);
  }
  
  /* Portfolio section */
  
  .content {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    max-width: 80%;
  }
  
  .content-slide {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    max-width: 80%;
  }
  
  .content-slide img {
    width: 90%;
  }
  
  .fp-controlArrow.fp-next {
    border-color: transparent transparent transparent #E7759B !important;
    right: 45px !important;
    border-radius: 4px;
  }
  
  .fp-controlArrow.fp-prev {
    border-color: transparent #E7759B transparent transparent !important;
    left: 45px !important;
    border-radius: 4px;
  }
  
  #fp-nav ul li a span,
  .fp-slidesNav ul li a span {
    background: #2c2c2c !important;
  }

  #fp-nav ul li a span:hover,
  .fp-slidesNav ul li a span:hover {
    background: #e7759b !important;
  }

  #fp-nav ul li .fp-tooltip {
    color: #e7759b !important;
  }
  
  /* Input field styles */

  .contact-form {
    padding: 0px 15px 0px 15px;
  }
  
  .form-control {
    border: 2px solid rgba(0, 0, 0, 0.27);
    max-width: 96%;
    min-width: 96%;
    height: 3em;
    font-size: 16px;
    padding: 1em;
    margin: 0.5em 0 2em 0;
    font-weight: 600;
    width: 96%;
  }

  .hidden {
    display: none;
  }
  
  textarea {
    min-height: 10em;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 4px;
  }

  input {
    font-family: 'Segoe UI', sans-serif;
    border-radius: 4px;
  }
  
  label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-size: 18px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  #submit {
    outline: none;
    padding: 12px;
    border-radius: 4px;
    border: 2px solid #E7759B;
    text-align: center;
    font-size: 1em;
    color: #E7759B;
    background-color: #FFFFFF;
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    cursor: pointer;
  }
  
  #submit:hover {
    background-color: #E7759B;
    color: #FFFFFF;
    transition: all 0.3s ease-out;
  }
  
  /* Footer styles */
  
  .footer {
    background-color: #2c2c2c;
    height: 100px;
    padding-top: 10px;
    margin-top: 20px;
  }

  .fp-section:last-child {
    min-height: auto !important;
    height: auto !important;
  }
  
  .footer p {
    color: #FFFFFF;
    font-size: 16px;
    padding-top: 10px;
    
  }
  
  .social-links a {
    color: #FFFFFF;
    padding: 0px 5px 0px 5px;
  }
  
  .social-links a:hover {
    color: #E7759B;
    transition: all 0.2s ease-in-out;
  }
  
  /* Loading screen animation */
  
  .spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 25%;
    background-color: #2c2c2c;
    text-align: center;
    font-size: 10px;
    z-index: 1000;
  }
  
  .spinner > div {
    background-color: #E7759B;
    height: 100%;
    width: 6px;
    display: inline-block;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
  }
  
  .spinner .rect2 {
    animation-delay: -1.1s;
  }
  
  .spinner .rect3 {
    animation-delay: -1s;
  }
  
  .spinner .rect4 {
    animation-delay: -0.9s;
  }
  
  .spinner .rect5 {
    animation-delay: -0.8s;
  }
  
  @keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
      transform: scaleY(0.4);
    }
    20% {
      transform: scaleY(1);
    }
  }

  .success {
    padding: 1em;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    width: 96%;
  }
  
  .error {
    padding: 1em;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid rgba(185, 74, 72, 0.3);
    border-radius: 4px;
    width: 100%;
  }

  .dark {
    color: #2c2c2c;
  }

  .fa-linkedin-in {
    padding-top: 20px
  }

  #logo {
    position: relative;
    top: -5px;
  }

  a.resume {
    color: #2c2c2c;
    position: relative;
    bottom: 25px;
    left: 10px;
  }

  a.resume:hover {
    color: #E7759B;
    transition: all 0.2s ease-in-out;
  }

  /* Footer heart pulses on .submit click */

  .pink.heart {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  @keyframes heartBeat {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
  }
  
  .animate-heart {
    animation: heartBeat 0.8s ease 3; /* 3 repeats */
  }
  
/* Plane flies on .submit click */

 #plane-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%; 
  height: 100px; 
}

 #paper-plane {
    font-size: 30px;
    color: #2c2c2c;
    position: absolute;
    top: 80%;
    left: 30%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 100;
  }
  
 /* Keyframe animation flying within the wrapper */

@keyframes flyAway {
  0% {
    transform: translate(0%, -50%);
    opacity: 1;
  }
  100% {
    transform: translate(300%, -50%);
    opacity: 0;
  }
}

#paper-plane.fly {
  animation: flyAway 2.5s ease-in-out forwards;
  opacity: 1;
}
  
  @keyframes flyAway {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
      opacity: 1;
    }
    25% {
      transform: translate(-40%, -60%) rotate(10deg);
      opacity: 1;
    }
    50% {
      transform: translate(10%, -80%) rotate(-5deg);
      opacity: 1;
    }
    75% {
      transform: translate(40%, -120%) rotate(20deg);
    }
    100% {
      transform: translate(35vw, -100vh) rotate(45deg);
      opacity: 0;
    }
  }

  /* Initially position the cat image off-screen left and invisible */

  .cat {
    opacity: 0;
    max-width: 40%;
    transform: translateX(-100%);
    transition: transform 1s ease, opacity 1s ease;
  }

  /* When active, bring it to original position and fully visible */

  .cat.slide-in {
    opacity: 1;
    transform: translateX(0);
  }

  .fp-responsive .fp-section,
.fp-responsive .fp-tableCell {
  height: auto !important;
}

  
/* /////////////////////////////////////////// */
  /* Mobile nav styles - responsive design */


  @media (max-width: 1480px) {

    h1 {
      font-size: clamp(2.5rem, 5vw, 1.4em);
      padding-bottom: 10px;
      font-weight: lighter;
      
    }
    
    p.holder {
      /* Reserve enough height and keep it invisible initially */
      min-height: 2em;
      visibility: hidden;
      color: #FFFFFF;
      margin-left: 80px;
    }
    
    #holder {
      display: flex;
      justify-content: flex-end; 
      white-space: wrap;   
      font-weight: lighter;
      font-size: 22px;
    }
    
    .opaque-bg {
      display: block;
      position: relative;
      max-width: 400px; 
      width: 100%;       
      text-align: right; 
      box-sizing: border-box;
      padding: 15px 5px 5px 5px; 
      float: right;
     }

.fa-chevron-down {
  margin-left: 200px; /* Offsets float from parent */
}

    }

    @media (max-width: 1000px)
    {
      h1 {
        font-size: clamp(2rem, 5vw, 1.4em);
      }

      #holder {
        font-size: 20px;
      }
    
    }
      
@media (max-width: 768px) {

  h1 {
    font-weight: 400;
  }

  .fp-table {
   justify-content: flex-start;
   
  }

  .opaque-bg {
    display: block;
    position: relative;
    max-width: 400px; 
    width: 96%;       
    text-align: right; 
    box-sizing: border-box;
    padding-top: 65px; 
    right: 1rem;
  }

  
  #holder {

    font-size: 18px;
  }

  h2 {
    font-size: 24px;
    font-weight: 400;
    padding-left: 20px;
    padding-right: 20px;
  }

  p {
      font-size: 1rem;
      font-weight: 400;
  }

  .header-links {
    display: none;
  }

  .fa-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 9999;
    background-color: #FFFFFF;
    border-radius: 50%;
    width: .2rem;
    height: .2rem;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 1rem;
    right: 1rem;
    transition: opacity 0.3s ease;
  }

  body.nav-open .fa-bars {
    display: none;
    opacity: 0;
    pointer-events: none;
  }

  .fa-bars:active {
    color: #2c2c2c;
    background-color: #E7759B;
  }
  
    .nav-header {
        position: absolute;
        top: 0;
        width: 100%;
        background-color: none;
      }

      #logo {
        display: none;
      }

  .section.aboutme {
    position: relative;
    z-index: 400;
  }
    
    .header-links ul{
      display: none;
    }

/* Side nav */

    .nav-screen {
      display: block;
      position: fixed;
      right: -285px;
      top: 0;
      height: 100%;
      width: 285px;
      z-index: 1500;
    }
  
    .nav-links {
      display: flex;
      flex-direction: column;
 }

 ul.myMenu {
  padding: 25px 25px 0px 25px;
 }

 ul.myMenu li a:active {
  color: #E7759B;
  transition: all 0.2s ease-in-out;
 }

.fp-controlArrow.fp-prev {
  display: none;
  border-width: 25px 25px 25px 0; 
  left: 10px !important;
}

.fp-controlArrow.fp-next {
  display: none;
  border-width: 25px 0 25px 25px; /* Keep size proportional */
  right: 10px !important;
 }

.fa-chevron-down {
 display: none;
 }

 .cat {
  max-width: 60%;
  height: auto;
  padding-top: 10px;
 }

.section {
  position: relative;
  z-index: 6000;
  overflow: visible !important;
  height: auto !important;
 }

 .success {
  display: inline-block;
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  border-radius: 4px;
  max-width: 90%;
}

.error {
  display: inline-block;
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid rgba(185, 74, 72, 0.3);
  border-radius: 4px;
  max-width: 90%;
 }

 a.resume {
  display: none;
 }

 .content {
  max-width: 80%;
  margin: 0 auto;
 }


 .fp-scrollable .fp-slide:not(.fp-auto-height):not([data-percentage]) {
  height: auto !important;
  min-height: 0 !important;
}

.fp-slide,
.fp-tableCell {
  height: auto !important;
  min-height: 0 !important;
  display: block !important; /* cancel vertical centering */
  vertical-align: top !important;
}

 /* Disable fullPage.js horizontal styling */
 .fp-slides,
 .fp-slide {
   transform: none !important;
   left: 0 !important;
   top: 0 !important;
   width: 100% !important;
   height: auto !important;
   display: block !important;
   float: none !important;
   position: static !important;
   opacity: 1 !important;
 }

 .fp-slidesContainer {
   display: block !important;
   width: 100% !important;
   transform: none !important;
 }

 .content-slide {
   display: flex;
   flex-direction: column;
   box-sizing: border-box;
   max-width: 80%;
   margin-top: 60px;
 }

 .content-slide .slide {
   display: block !important;
   width: 100% !important;
   height: auto !important;
   margin: 0 auto;
   padding: 1rem 0;
   padding-bottom: 2rem; /* reduce space after each project */
 }

 .content-slide h2,
 .content-slide p {
   text-align: center;
   max-width: 100%;
   margin: 0 auto;
 }

 .content-slide img {
   display: block;
   max-width: 90%;
   height: auto;
   margin: 0 auto;
 }

 .slide p {
  padding-top: 20px;
  text-align: left;
 }

 html, body {
   overflow-x: hidden;
 }

 .contact-form {
  padding: 0px 15px 0px 15px;
}

.form-control {
  border: 2px solid rgba(0, 0, 0, 0.27);
  max-width: 90%;
  min-width: 90%;
  height: 3em;
  font-size: 16px;
  padding: 1em;
  margin: 0.5em 0 2em 0;
 }


.social-links a:active {
  color: #E7759B;
  transition: all 0.2s ease-in-out;
}

.footer {
  height: 120px;
  padding-top: 10px;
  margin-top: 20px;
}

.footer p {
  background-color: #2c2c2c;
  padding: 20px 50px 20px 50px;
  margin-top: 0px;
}

}



