* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Roboto, sans-serif;
    color: white;
  }
  #welcome-section {
    background-color: #222831;
    height: 100vh;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #welcome-section h1 {
    font-size: 5rem;
    font-weight: normal;
    letter-spacing: 6px;
    text-align: center;
  }
  #welcome-section p {  
    padding-top: 10px;
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  #navbar {
    background-color: #29a19c;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    position: fixed;
    z-index:9999  
  }
  #navbar a{
    color: white;
    text-decoration: none; 
    font-size: 1.2rem;
    margin: 0 6px;
    letter-spacing: 2px;
    height: 100%;
    align-content: center;
    padding: 0 10px;
  }
  #navbar a:hover {
    background-color: #222831;
  }
  #about, #tech, #projects, #contact {  
    background-color: #222831;
    padding: 20px 40px 200px 40px;
    scroll-margin-top: 60px;
  }
  #about h1, #tech h1, #projects h1, #contact h1 {
    letter-spacing: 2px;
    font-weight: normal;
    padding: 10px 20px 10px 0;
    border-bottom: 2px solid #29a19c;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.6rem;
  }
  #about p {
    padding: 10px;
    font-size: 1rem;
    letter-spacing: 1px;
  }
  .tech-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 10px;
  }
  .tech-card {
    width: 100px;
    height: 100px;  
    margin: 7px;  
    border-radius: 8px;  
    background-position: center;   
  }
  .tech-card:hover {
    border: 4px solid #29a19c;
  }
  .html {
    background-image: url("./images/logos/html.png");
    background-repeat: no-repeat;  
    background-size: 100px 100px;
  }
  .css {
    background-image: url("./images/logos/css.jpg");
    background-repeat: no-repeat;  
    background-size: 100px 100px;    
  }
  .js {
    background-image: url("./images/logos/javascript.png");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .java {
    background-image: url("./images/logos/java.svg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .python {
    background-image: url("./images/logos/python.png");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .cplus {
    background-image: url("./images/logos/cpp.jpg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .csharp {
    background-image: url("./images/logos/c_sharp.jpg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .c {
    background-image: url("./images/logos/c_basic.jpg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .react {
    background-image: url("./images/logos/react.png");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .sql {
    background-image: url("./images/logos/sql.jpg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .mongo {
    background-image: url("./images/logos/mongo.jpg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  .node {
    background-image: url("./images/logos/node.jpg");
    background-repeat: no-repeat;
    background-size: 100px 100px;
  }
  #projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .project {  
    display: flex;
    flex-direction: column;
    margin: 20px;
    text-decoration: none;
    border: 4px solid white;
  }
  .project-tile {
    width: 300px;
    height: 320px;  
    background-position: center;
    background-color: white;
  }
  .project:hover {
    border: 4px solid #29a19c;
  }
  .project-footer {  
    text-align: center;
    background-color: #222831;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;  
  }
  .hangman {
    background-image: url("https://erikwsmith.com/images/hangman.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .rock_paper_scissors {
    background-image: url("https://erikwsmith.com/images/rock_paper_scissors.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .weather {
    background-image: url("https://erikwsmith.com/images/weather.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .landing-page {
    background-image: url("https://erikwsmith.com/images/apache.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .tech-doc {
    background-image: url("https://erikwsmith.com/images/linux.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .library {
    background-image: url("https://erikwsmith.com/images/library.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .roman-numeral {
    background-image: url("https://erikwsmith.com/images/roman.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .gift-app-thumb {
    background-image: url("https://erikwsmith.com/images/gift_app.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .pokemon-app-thumb {
    background-image: url("https://erikwsmith.com/images/pokemon.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .quotes-app-thumb {
    background-image: url("https://erikwsmith.com/images/quotes_blue.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .drum-app-thumb {
    background-image: url("https://erikwsmith.com/images/drum_machine.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .calculator-app-thumb {
    background-image: url("https://erikwsmith.com/images/js_calculator.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .session-timer-app-thumb {
    background-image: url("https://erikwsmith.com/images/session_app.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .bargraph-thumb {
    background-image: url("https://erikwsmith.com/images/bargraph.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .scatterplot-thumb {
    background-image: url("https://erikwsmith.com/images/scatterplot.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .heatmap-thumb {
    background-image: url("https://erikwsmith.com/images/heatmap.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .choropleth-thumb {
    background-image: url("https://erikwsmith.com/images/choropleth.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  .treemap-thumb {
    background-image: url("https://erikwsmith.com/images/treemap_2.jpg");
    background-repeat: no-repeat;
    background-size: 300px 320px;
  }
  #contact h1 {
    margin-bottom: 25px;
  }
  .contacts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #profile-link, #github, #linkedin {
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
    padding:10px;
    margin: 6px 10px;
  }
  #profile-link:hover, #github:hover, #linkedin:hover {
    background-color: #29a19c;
  }
  footer {
    height: 60px;
    background-color: #393e46;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
  }
  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted white;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: white;
    color: #222831;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    bottom: 115%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid #222831;
  }  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white #222831 #222831 #222831;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }  
  
  @media screen and (max-width: 480px) {
    #navbar {
      flex-direction: column;
      height: auto;
    }
    #navbar a{
      margin-top: 6px;
      margin-bottom: 6px;
      align-self: center;
    }
    #welcome-section h1 {    
      letter-spacing: 0;
    }
    #welcome-section p {  
      padding-top: 10px;
      font-size: 0.9rem;
      letter-spacing: 1px;
      text-align: center;
    }
    #about, #tech, #projects {      
      scroll-margin-top: 140px;
  }
    #about h1, #about p, #tech h1 {
      text-align: center;
    }
  }