:root {
  --color-accent-bg: #fded60;
  --color-bg: #fff;
  --color-text: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Neue Montreal";
  background: var(--color-accent-bg);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 120px;
  font-weight: 400;
  line-height: 100%;
}

h1 span {
  font-family: "PP Editorial Old";
  font-style: italic;
  padding-right: 0.05em;
}

h2 {
  font-size: 40px;
  font-weight: 500;
}

h3 {
  font-size: 28px;
  font-weight: 500;
}

p {
  font-size: 16px;
  line-height: 1.25em;
}

a {
  text-decoration: none;
  font-size: 16px;
  color: var(--color-text);
}

span {
  font-family: "PP Editorial Old";
  font-style: italic;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  padding: 1em;
  z-index: 10000;
  mix-blend-mode: difference;
}

nav a {
  color: var(--color-bg);
}

.logo {
  flex: 4;
}

.logo a span {
  font-family: "PP Editorial Old";
  font-style: italic;
  padding-right: 0.075em;
}

.nav-items {
  flex: 2;
  display: flex;
  width: 100%;
}

.links {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.contact {
  flex: 1;
  text-align: right;
}

section {
  width: 100%;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 1em;
}

footer {
  width: 100%;
  padding: 8em 1em;
  background: rgb(250, 186, 74);
  background: linear-gradient(
    0deg,
    var(--color-accent-bg) 0%,
    var(--color-bg) 100%
  );
}

.footer-row:nth-child(1) {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  padding-bottom: 0.3em;
}

.footer-subscribe {
  display: flex;
  width: 30%;
  border-bottom: 1px solid var(--color-text);
  padding: 1em;
}

.footer-subscribe input {
  background: none;
  outline: none;
  border: none;
  flex: 4;
  font-size: 16px;
}

.footer-subscribe button {
  background: none;
  border: none;
  outline: none;
  flex: 1;
}

.footer-subscribe ::placeholder,
.footer-subscribe button {
  font-size: 16px;
  color: var(--color-text);
}

.footer-outro {
  width: 100%;
}

.footer-outro-content {
  width: 40%;
  margin: 0 auto;
  text-align: center;
}

.section-hero {
  width: 100%;
  padding: 10em 1em 5em 1em;
  padding-top: 10em;
}

@media (max-width: 900px) {
  h1 {
    font-size: 70px;
  }

  .nav-items {
    flex-direction: column;
  }

  .contact {
    text-align: left;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-subscribe {
    padding-top: 3em;
    width: 100%;
  }

  .footer-outro-content {
    width: 75%;
  }
}
