/* Global Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2.6rem;
}
li,
button,
label,
input,
p {
  font-size: 2rem;
}
h2 {
  font-size: 4.8rem;
}
h3 {
  font-size: 3rem;
  font-weight: normal;
}
h4,
h5 {
  font-size: 1.8rem;
  font-weight: normal;
}
a {
  color: white;
  text-decoration: none;
}
button {
  padding: 2rem 6rem;
  background: #012e7a;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.5s ease-in-out;
}
button:hover {
  background: #5078ba;
}

/* Nav Section With HERO */

#light-svg {
  filter: invert(10%);
}

.main-head {
  background: #4d6f87;
  color: rgb(0, 0, 0);
  position: sticky;
  top: 0px;
  z-index: 3;
}

.main-head h1 a {
  color: rgb(40, 40, 40);
}

.main-head li a {
  color: rgb(40, 40, 40);
  font-size: 2.2rem;
}

nav {
  display: flex;
  width: 90%;
  margin: auto;
  padding: 2rem;
  min-height: 10vh;
  align-items: center;
  flex-wrap: wrap;
}

nav ul {
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}
#logo {
  flex: 2 1 40rem;
  font-family: "Noto Serif", sans-serif;
  font-weight: 400;
  font-size: 6rem;
}

.hero {
  min-height: 90vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0), transparent),
    url("/images/nyc_broome_street.jpg");
  background-blend-mode: luminosity;
  background-color: white;
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: left;
  color: rgb(40, 40, 40);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h3 {
  padding: 5rem;
  margin-left: 50%;
}

.hero h2 {
  margin-left: 50%;
}
.hero p {
  margin-left: 55%;
  margin-right: 5%;
  margin-bottom: 2%;
}

.hero button {
  margin-left: 50%;
}

/* Contact Section */

#subscribe {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), transparent),
    url("/images/nyc_grand-central-corridor.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-wrapper {
  background: rgba(53, 55, 58, 0.8);
  width: 60%;
  color: white;
  border-radius: 20px;
}
.form-head {
  text-align: center;
  padding: 4rem;
}
.name-form,
.email-form {
  padding: 3rem;
  text-align: center;
}
.form-wrapper label {
  margin: 0rem 3rem;
}
.form-wrapper button {
  width: 100%;
  padding: 2rem;
  margin-top: 8rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.form-wrapper input {
  padding: 1rem 3rem;
}

/*  Foooter Section  */
footer {
  color: rgb(40, 40, 40);
  background: #4d6f87;
}
.footer-wrapper {
  display: flex;
  padding: 2rem;
  width: 90%;
  margin: auto;
  align-items: center;
  min-height: 7vh;
  flex-wrap: wrap;
}
footer h5 {
  flex: 1 1 20rem;
}
footer ul {
  display: flex;
  list-style: none;
  flex: 1 1 20rem;
  justify-content: space-between;
  align-items: center;
}

.social-svg {
  filter: invert(90%);
}
