/* Base Styles */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
   }
   body {
    font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
   }
   h1, h2, h3 {
    font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-align: center;
   }
   h1 {
    font-size: 6rem;
   }
   h2 {
    font-size: 4rem;
   }
   h3 {
    font-size: 2rem;
   }
   ul {
    list-style: none;
   }
   a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
   }
    
   /* Nav  */
   .nav {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #080808;
    z-index: 9999;
   }
   .nav-list {
    display: flex;
    margin-right: 2rem;
   }
   .nav-list a {
    display: block;
    font-size: 1.5rem;
    padding: 1.5rem;
   }
   /* Link Border Animation Start */
   .animatedBorder {
    position: relative;
   }
   .animatedBorder:after {
    content: '';
    position: absolute;
    border-bottom: 5px solid #fff;
    bottom: 0;
    left: 0;
    right: 100%;
    transition: all .5s;
   }
   .animatedBorder:hover:after {
    right: 0;
   }
   /* Link Border Animation End */
    
   /* Welcome Section */
   #welcome-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
   }
   #welcome-section p {
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
   }
    
   /* Projects Section */
   #projects {
    text-align: center;
    font-size: 1.5rem;
    padding: 5rem 2rem 2rem;
    background-color: #d3d3d3;
   }
   .projects-section-header {
    max-width: 640px;
    margin: 0 auto 6rem auto;
    border-bottom: 1px dashed #080808;
    padding-bottom: 1rem;
   }
   .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 4rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    margin-bottom: 6rem;
   }
   .project {
    background-color: #696969;
    border-radius: 5px;
   }
   a.project:hover {
    background-color: #080808;
    transition: all .5s;
    transform: scale(1.1);
   }
    
   /* Contact Section */
   .contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0;
   }
    
   /* Footer */
   footer {
    display: flex;
    justify-content: space-evenly;
    padding: 1.5rem;
    background-color: #080808;
   }
   footer p {
    margin: 2rem;
    color: #fff;
   }
    
    
   /* Media Queries */
    
   /* 1200px / 16px = 75em */
   @media (max-width: 75em) {
    html {
      font-size: 60%;
    }
   }
    /* 980px / 16px = 61.25em */
   @media (max-width: 61.25em) {
    html {
      font-size: 58%;
    }
   }
    /* 460px / 16px = 28.75em */
   @media (max-width: 28.75em) {
    html {
      font-size: 55%;
    }
   }   