* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
}

body {
  height: 100%;
  min-height: 100vh;
  background: snow;
  font-family: 'Roboto Mono', monospace, Arial, Helvetica, sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 2.5%;
}

.logo {
  color: snow;
  font-weight: bold;
  font-size: 2rem;
  padding: 20px;
  border-radius: 0 0 0 20px;
  background-color: #000;
}

a {
  color: #000;
}

a:focus {
  outline: 2px dotted red;
}

.nav-list__link:hover {
  text-decoration: underline;
}

.main {
  padding: 2.5%;
  color: snow;
  background-color: black;
}

.hero {
  padding: 10vh 2.5%;
  max-width: 800px;
}

.hero-link {
  display: inline-block;
  text-transform: uppercase;
  padding: 10px 15px;
  border: 1px solid #000;
}

.lg-txt {
  font-weight: 600;
  font-size: 1.4rem;
  margin: 10px 0;
}

.about,
.projects {
  margin-bottom: 20px;
}

.heading {
  margin: 10px 0; 
}

.about p,
.projects p {
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

.project {
  margin: 0 0 50px 0;
}

.project span {
  display: block;
  line-height: 1.5rem;
}

.project a {
  text-decoration: underline snow;
  text-transform: uppercase;
  color: snow;
}

.divider {
  text-align: center;
  margin: 50px 0;
}

.footer {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 2vh 2.5%;
}

.footer ul {
  margin-bottom: 5px;
}

.footer li {
  display: inline-block;
  margin-right: 5px;
}

.footer li:last-of-type {
  margin-right: 0;
}

.copyright {
  color: #000;
  font-size: 10px;
}

.icon {
  width: 20px;
  height: 20px;
}

@media screen and (min-width: 500px) {
  .nav-list__item {
    display: inline;
    margin-right: 1rem;
  }

  .nav-list__item:last-of-type .nav-list__link {
    margin-right: 0;
  }

  .lg-txt {
    font-size: 2rem;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer ul {
    margin: 0;
  }
}
