@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  color: #f3f3f3;
  background-color: #000;
  line-height: 2em;
}

h1,
h2 {
  font-size: 3em;
  line-height: 1em;
}

p {
  font-size: 1.5em;
}

img {
  width: 100%;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 1em;
}
header nav ul {
  display: inline-flex;
  padding: 0;
}
header nav ul li {
  list-style-type: none;
  padding: 1em;
}
header nav ul li a {
  text-decoration: none;
  color: #fff;
}
header nav ul li:hover {
  background-color: #f3f3f3;
  border-radius: 5px;
}
header nav ul li:hover a {
  color: #000;
}
header img {
  max-width: 300px;
}

article {
  padding: 1em;
}

#article1 {
  background-image: url(img/cars1dark.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 10%;
}

#article2 {
  padding: 10%;
}
#article2 h2 {
  text-align: center;
}
#article2 .articleBody {
  display: flex;
  align-items: center;
}
#article2 .articleBody .text-wrapper {
  padding: 2%;
}

#article3 {
  background-color: #f3f3f3;
  padding: 10%;
  color: #000;
}
#article3 h2 {
  text-align: center;
}

form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  align-content: center;
}
form input,
form textarea {
  padding: 10px;
  margin: 10px;
  width: 50%;
  font-size: 1.2em;
  border: 0;
  border-radius: 5px;
}
form button {
  padding: 10px 30px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  margin: 10px;
}
form button:hover {
  background-color: #fff;
  color: #000;
  cursor: pointer;
}

footer {
  padding: 1em;
  text-align: center;
  font-size: 0.7em;
}

@media only screen and (max-width: 1280px) {
  #article2 .articleBody {
    flex-wrap: wrap;
  }

  form input,
form textarea {
    width: 80%;
  }
}
@media only screen and (max-width: 400px) {
  p {
    font-size: 1.2em;
  }

  header nav ul li {
    padding: 0.5em;
  }

  form input,
form textarea,
form button {
    width: 100%;
  }
}/*# sourceMappingURL=styles.css.map */