/*CSS stylesheet
by Elliott Kaiser for MecE 200 */


/*Global Styling ************************************************** */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  /*color is text color, background color is background*/
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: blueviolet;
    color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }


/* Navbar style stuff ************************************************************
*/
.navbar {
    background-color: black;
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position:sticky;
    top:0;
    z-index: 1000;
    align-self: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: blue;
    background-color: aliceblue;
    border-radius: 4px;
}

/*home page stuff ***************************************************************
*/
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: blue;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin:0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

footer{
    background-color: aqua;
    border-top: 1px solid black;
    padding: 2rem;
    text-align: center;
    color: red;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-evenly;
    list-style: none;
}
/*main title*/
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.-25em;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .hero-title{
        font-size: 2.5rem;
    }
    main {
        padding: 4rem 1.5rem;   
    }
}