/* COLORS */
/* #ffdcdc */
/* #eb3f3f */
/* #851414 */
/* #76c535 */
/* #251313 */
/* #301919 */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 6px #000;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "VT323", monospace;
  font-weight: 400;
  line-height: 1;

  color: #ffdcdc;
  background-color: #251313;
}

/* GENERAL */

.grid {
  display: grid;
  column-gap: 4.8rem;
  row-gap: 6.4rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.heading-primary {
  font-size: 6.4rem;
  letter-spacing: 1rem;
  text-align: center;
  line-height: 1.05;
}

.heading-secondary {
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: 0.2rem;
  text-align: center;
}

/* HEADER */

#header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 9.6rem;
  height: 8rem;

  background-color: #301919;
  box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.199);
}

#header-img {
  height: 4.8rem;
}
.header-img {
  height: 9.8rem;
}

#nav-bar ul {
  display: flex;
  list-style: none;
  gap: 5.2rem;
}

.nav-link {
  text-decoration: none;
  font-size: 2.4rem;
  letter-spacing: 0.5px;
  color: #ffdcdc;
  padding: 0.5rem;
}

.nav-link:hover,
.nav-link:active {
  background-color: #000;
  padding: 0.5rem;
}

/* NEWSLETTER */

.section-newsletter {
  padding: 19.2rem 3.2rem 9.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
}

.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 1.2rem;
}

.newsletter {
  display: flex;
  justify-content: center;
}

.newsletter #form {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction: column;
  gap: 1.2rem;
}

#form input {
  border: none;
  font-family: "VT323", monospace;
  text-transform: uppercase;

  font-size: 4.2rem;
  width: 60rem;
  height: 6rem;
  padding: 2.8rem;

  background-color: #851414;
  border: 4px groove #f18383;
  color: #ffdcdc;
}

#form input:focus {
  background-color: transparent;
}

#form button {
  font-family: "VT323", monospace;
  border: none;
  cursor: pointer;
  text-transform: uppercase;

  font-size: 3.2rem;
  width: 30rem;
  height: 6rem;

  background-color: #851414;
  border: 8px groove #f18383;
  color: #ffdcdc;
}

#form button:hover {
  color: #ffdcdcd3;
  background-color: transparent;
}

::placeholder {
  color: #ffdcdc75;
}

/* FEATURES */

.section-features {
  padding: 9.6rem 3.2rem;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 1.8rem;

  margin-bottom: 3.2rem;
}

.feature-icon {
  font-size: 8rem;
}

.feature-text {
  font-size: 2rem;
  line-height: 1.4;
}

/* HOW */

.section-how {
  padding: 9.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.2rem;

  border-top: 12px solid #851414;
  border-bottom: 12px solid #851414;
  background-color: #85141417;
}

/* FOOTER */

.footer {
  padding: 12.8rem 0 6.4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-link--footer {
  text-decoration: none;
  font-size: 1.6rem;
  color: #8b8b8b;
  padding: 5px;
}
.nav-link--footer:hover {
  text-decoration: none;
  font-size: 1.6rem;
  color: #8b8b8b;
  padding: 5px;
  background-color: #000;
}

.footer-text {
  font-size: 1.8rem;
  color: #555;
}

/* QUERIES */

@media (max-width: 1000px) {
  #header {
    display: flex;
    flex-direction: column;
    padding: 6.4rem 3.2rem;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 652px) {
  #header {
    display: flex;
    flex-direction: column;
    padding: 6.4rem 3.2rem;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
  }

  #header-img {
    height: 3.2rem;
  }

  #nav-bar ul {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 1.8rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .heading-primary {
    font-size: 4.8rem;
  }

  .header-img {
    height: 6rem;
  }

  #form input {
    font-size: 2rem;
    width: 80%;
    height: 4rem;
    padding: 1.4rem;
  }

  #form button {
    font-size: 2rem;
    width: 30rem;
    height: 4rem;
  }

  iframe {
    width: 90%;
  }

  .footer {
    padding: 6.4rem 3.2rem;
  }
}
