@import url("https://fonts.google.com/specimen/Raleway");
@import url("https://fonts.google.com/specimen/Open+Sans");
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #181f2a;
  text-align: center;
  line-height: 1.5;
  color: #fff; 
  background-position: 1% 5%;
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
}

a {
  color: #fff;
  text-decoration: none;
}

li {
  list-style: none;
}


nav {
  display: flex;
  padding: 1.5em 2em;
}
nav img {
  /* margin-top: 0.6rem; */
  width: 80px;
  align-self: center;
 
}
nav ul {
  display: flex;
  align-items: center;
  flex-grow: 1;
  font-size: 0.8125rem;
}
@media (min-width: 500px) {
  nav .logo {
    width: 80%;
  }
}

.nav-list li:nth-child(1) {
  margin-left: auto;
}
.nav-list li:nth-child(1),
.nav-list li:nth-child(2) {
  margin-right: 2em;
}


.second-section {
  display: grid;
  margin-top: 10em;
  grid-template-columns: repeat(1, 21.875em);
  grid-gap: 100px;
  justify-content: center;
  grid-template-areas: "item-1" "item-2" "item-3" "item-4";
}
.second-section .item-1 {
  grid-area: item-1;
}
.second-section .item-2 {
  grid-area: item-2;
}
.second-section .item-2 h2 {
  margin-top: 0.5rem;
}
.second-section .item-3 {
  grid-area: item-3;
}
.second-section .item-4 {
  grid-area: item-4;
}
.second-section .item-4 h2 {
  margin-top: 1.5625rem;
}
@media (min-width: 750px) {
  .second-section {
    grid-template-columns: repeat(2, 21.875em);
    grid-gap: 80px;
    justify-content: center;
    grid-template-areas: "item-1 item-2" "item-3 item-4";
  }
}

.item-1 h2,
.item-2 h2,
.item-3 h2,
.item-4 h2,
.stay-productive h2 {
  font-size: 1.1875rem;
}
.item-1 p,
.item-2 p,
.item-3 p,
.item-4 p,
.stay-productive p {
  font-size: 0.875rem;
}
@media (min-width: 800px) {
  form {
    display: block;
    margin-top: 2rem;
    max-width: 100%;
  }
  form .input-email {
    margin: 0 2rem 0 0rem;
    padding-right: 13rem;
  }
}

footer {
  text-align: left;
  padding: 3rem 2rem;
  background-color: #0b1523;
}
.attribution {
  text-align: center;
}
.attribution a {
  color: cadetblue;
}
