@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Alfa+Slab+One&family=BioRhyme:wght@800&family=Concert+One&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Danfo&family=Figtree:ital,wght@0,300..900;1,300..900&family=Honk&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Lilita+One&family=Lobster&family=Martian+Mono:wght@100..800&family=Modak&family=Poetsen+One&family=Quicksand:wght@300..700&family=Space+Grotesk:wght@300..700&family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Alfa+Slab+One&family=BioRhyme:wght@800&family=Concert+One&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Danfo&family=Figtree:ital,wght@0,300..900;1,300..900&family=Honk&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Lilita+One&family=Lobster&family=Martian+Mono:wght@100..800&family=Modak&family=Poetsen+One&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Shrikhand&family=Space+Grotesk:wght@300..700&family=Syne:wght@400..800&family=Vina+Sans&family=Wix+Madefor+Display:wght@400..800&display=swap');

:root {
    --primary: #22254b;
    --secondary: #373b69;
    --third-color: #535C91;
    --fourth-color: #687EFF;

} 

* {
    box-sizing: border-box;
  }


.navbar {
    background-color: var(--secondary);
    opacity: 90%;
   
}


.navbar-nav .nav-link {
    /* font-weight: bold; */
    color: white !important;
    font-family: 'Poppins', sans-serif;
   
}

.nav-item {
    font-family: 'Poppins', sans-serif;
}


.navbar-toggler {
    border: 2px solid black;
}


.container {
    background-color: var(--fourth-color);
    color: var(--primary);
    margin-bottom: -75px;

}

.btn {
    background-color: var(--primary);
    border: solid white;
    border-radius: 5px;
}

.btn:hover {
    background-color: var(--fourth-color);
    border: solid white;
    border-radius: 5px;
    cursor: pointer;
}

.btn:active{
    background-color: var(--primary);
}

#about {
    width: 90vw;
}

p {
    color: white;
    width: 85vw;
    /* text-align: left; */
    text-wrap: balance;
    /* width: 76vw; */
}

.icon-lg {
    font-size: 2rem;
    position: absolute;
 
}

/* SKILLS */
.skills-container {
    margin-top: -100px;
    margin-bottom: -200px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .skills {
    width: 100%;
    max-width: 500px;
  }
  
  .skill {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
  }
  
  .skill-bar {
    height: 16px;
    background: var(--third-color);
    border-radius: 4px;
    animation: fill 3s 3;
  }

  .percentage {
    height: 16px;
    background: var(--primary);
    border-radius: 4px;
    position: relative;
  }
  
  .percentage::before {
    content: attr(percent);
    position: absolute;
    border-radius: 4px;
    font-size: 12px;
    transform: translateX(50%);
    right: 15px;
    top: -10%;
    color: white;
  }

  
  @keyframes fill {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  

/* END SKILLS */


/* COSW20, COSW200 PORTFOLIO */

.project-images, .lab-images {
    display: flex;
    flex-wrap: wrap;
}

  .project-img, .lab-img {
    width: 300px;
    height: 400px;
    margin-right: 40px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    border-radius: 3px;
    background-size: cover;
    
}

.project-img:hover, .lab-img:hover { 
    filter: opacity(0.9) drop-shadow(5px 5px 8px var(--fourth-color));  
    transform: scale(0.98);
}

.caption {
    color: #fff;
}


h4 {
    color: var(--primary);
    text-shadow:var(--third-color);
    text-decoration: underline;
}


/*END COSW20, COSW200 PORTFOLIO */

/* start activity animation */

.activity-container {
    color: #fff;
}

  @keyframes activity {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(27vw) rotate(-2deg); }
  }


  .biking {
    animation: activity 1s linear;
    left: 150px;
  }

  .running {
    animation: activity 2s linear;
    left: 150px;
  }

  .hiking {
    animation: activity 3s linear;
    left: 135px;
  }

  /* end activity animation */

  /* food images adapated from 
  COSW200 Events Lab Assignment */

  .img-container {
    display: flex;
    max-width: 80vw;
    max-height: 70vh;
    margin: auto;
    flex-wrap: wrap;
  }
  
  .panel {
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh; 
    width: 300vh;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    flex: 0.5;
    margin: 10px;
    position: relative;
    transition: all 700ms ease-in;
  }
    
  .panel.active {
    flex: 5;
  }

 /* end food images adapated from 
  COSW200 Events Lab Assignment */
  

body {
    padding-top: 56px;
    background-color: var(--fourth-color);
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    margin: 0;
  }


h6 {
  text-align: center;
  color: #fff;
  padding-top: 50px;
}

.form-container {
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}

#link a{
  color: var(--primary);
   
}

#link a:hover {
  color: #fff;
  text-decoration: none;
}

  /* h1 animation (neon lights) */
  h1 {
    font-family: "Honk", system-ui;
    font-size: 3rem;
    animation: pulsate 2s ease-in-out infinite alternate;    
}

/* inspiration:
https://css-tricks.com/how-to-create-neon-text-with-css/ */
@keyframes pulsate {
    100% {
      text-shadow:
        0 0 4px #fff,
        0 0 11px #fff,
        0 0 19px #fff,
        0 0 40px var(--fourth-color),
        0 0 80px var(--fourth-color),
        0 0 90px var(--fourth-color),
        0 0 100px var(--fourth-color),
        0 0 150px var(--fourth-color);
        /* 0 0 4px #fff,
        0 0 12px #fff,
        0 0 21px #fff,
        0 0 40px #687EFF,
        0 0 85px #687EFF,
        0 0 100px #687EFF,
        0 0 135px #687EFF,
        0 0 150px #687EFF; */
    }
   0% {
      text-shadow:
        /* 0 0 2px #fff,
        0 0 4px #fff,
        0 0 6px #fff,
        0 0 10px #687EFF,
        0 0 45px #687EFF,
        0 0 55px #687EFF,
        0 0 70px #687EFF,
        0 0 80px #687EFF; */
        0 0 2px #fff,
        0 0 4px #fff,
        0 0 10px #fff,
        0 0 45px var(--fourth-color),
        0 0 70px var(--fourth-color),
        0 0 94px var(--fourth-color),
        0 0 110px var(--fourth-color),
        0 0 138px var(--fourth-color);
    }
  }

  
  /* end h1 animation (neon lights) */
  
  section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: var(--fourth-color);
    color: var(--fourth-color);
  }
  

  #profile-link, #in-text-link {
    color: var(--primary);
}
#profile-link:hover, #in-text-link:hover {
    
    color: var(--secondary);
    text-decoration: none;
}

/* contact form */

#contact-container {
    max-width: 85vw;
    /* margin-left: 0;
    margin-right: auto; */
    margin: 0 auto;
    padding-bottom: 50px;

}

.contact-text {
    margin-bottom: 20px;
}

.contact-icons {
    margin-top: 20px;
    display: flex; 
    justify-content: center;
    /* justify-content: flex-start; */
    margin-bottom: 20px;
}

.contact-icons a {
    font-size: 2.3rem;
    color: var(--primary);
    transition: transform 0.5s;
    display: inline-block;
    padding: 25px;
}

.contact-icons a:hover {
    color: #ffffff;
    transform: translateY(-5px);
}

form input,
form textarea {
    padding: 15px;
    margin: 15px 0;
    border: 0;
    border-radius: 6px;
}

form .btn:active {
    background-color: var(--primary);
}


.placeholder {
    color: var(--primary);
}

/* #msg {
    margin-top: -15px; 
} */


@media only screen and (max-width: 600px) {
  .caption {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  h1 {
    animation: none;
    /* font-family: "Honk", system-ui; */
    font-family: "Shrikhand", serif;
    font-size: 3rem;
    color: #fff;

  }

  .biking, .running, .hiking {
    animation: none;
  }

  project-img,
    .lab-img {
        display: block; 
        margin: 0 auto; 
    } 
  
}