@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
  font-family: 'Lato', sans-serif;
  margin: auto 0;
  text-align: center;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5a8ea9;
  border-bottom: 3px solid orange;
  position: fixed;
  top: 0;
  width: 100%;
}
nav img {
  max-width: 110px;
  height: auto;
}

.nav-title {
  font-size: 0.75rem;
  letter-spacing: 0.3rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 3px black;
}
.dropdown {
  position: relative;
  display: inline-block;
}

nav button {
  background-color: #5a8ea9 !important;
  border: none !important;
}

.dropbtn {
  color: black;
  padding: 16px;
  font-size: 16px;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  width: 100vw;
  text-align: center;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: orange;
  color: white;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  color: white;
}
.main-car {
  display: none;
}
h1 span {
  color: #5a8ea9;
}
header {
  padding-top: 5rem;
}

.header-content {
  margin: 4rem 0;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  margin-top: 5rem;
  margin-bottom: 2rem;
}

ul,
ol {
  padding: 0;
}

li {
  text-align: center;
  margin-bottom: 0.5rem;
  list-style: none;
}

footer {
  background-color: black;
  color: white;
}
footer a {
  color: orange;
}
.newsletter {
  border-top: 2px solid black;
  background-color: orange;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-size: 1.5rem;
}
.newsletter h3 {
  margin-top: 0;
  text-shadow: 0 0 3px black;
}
.newsletter input {
  border: 2px solid black;
  display: inline-block;
  width: 50%;
  height: 2rem;
  border-radius: 10px;
  margin-right: 0.5rem;
  max-width: 500px;
}
.newsletter button {
  z-index: 1;
  height: 2.2rem;
  background-color: #5a8ea9;
  color: white;
  border-radius: 10px;
  transition: background-color 0.3s;
}
.newsletter button:hover {
  background-color: green;
}
.copyright {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  cursor: pointer;
}

@media (min-width: 640px) {
  nav img {
    width: 20%;
  }

  .nav-title {
    font-size: 1.5rem;
  }

  .header-content {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1200px) {
  .header-content {
    width: 50%;
  }
}
