/* -----------global variables----------- */

:root {
  --primary-color: #3f0d12;
  --secondary-color: #9b8816;
  --ff-secondary: "Patua One", cursive;

  --grey-color-1: #fcf9ee;
  --grey-color-2: #f9f3dc;
  --grey-color-3: #f6edcb;
  --ff-primary: -apple-system, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}
body {
  color: var(--primary-color);
  font-size: 0.875rem;
  background-color: var(--grey-color-1);
  font-family: var(--ff-primary);
}
h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
  text-align: center;
}
h1 {
  font-size: 2rem;
  font-family: var(--ff-secondary);
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1rem;
}
h4 {
  font-size: 0.875rem;
}

@media only screen and (min-width: 768px) {
  h1,
  h2,
  h3,
  h4 {
    letter-spacing: 0.3rem;
    line-height: 3rem;
    text-align: center;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1rem;
  }
}

a {
  text-decoration: none;
  color: #311f02;
  font-size: 1rem;
  font-weight: 600;
  text-transform: capitalize;
}
/* -----------header ----------- */
#header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--grey-color-1);
}
#header-img {
  margin-top: 0.2rem;
  margin-bottom: 0.3rem;
  color: #311f02;
}
.nav-links {
  text-align: center;
  font-family: var(--ff-secondary);
}
.nav-links li {
  list-style: none;
  padding: 0.4rem;
}

/* -----------email section--------------- */
.center {
  display: flex;
  justify-content: center;
}
.banner {
  margin-top: 11rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  width: 50rem;
}
.banner-title {
  text-align: center;
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.email-form {
  width: 100%;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.email-input {
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  width: 100%;
}
.email-input::placeholder {
  font-family: var(--ff-primary);
  font-size: 1rem;
}
.submit-input {
  padding: 0.5rem 1rem;
  width: 80%;
  border: none;
  font-family: var(--ff-primary);
  text-transform: uppercase;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
}
.submit-input:hover {
  color: var(--grey-color-1);
  background-color: var(--primary-color);
  cursor: pointer;
}

.video {
  margin-top: 2.5rem;
  width: 30rem;
  height: 20rem;
}

.video-frame {
  width: 100%;
  height: 100%;
}

/* -----------------features-------------------- */
.features {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features article {
  width: 80%;
  max-width: 50rem;
}

.features p {
  text-align: center;
  line-height: 1.5rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}
.features h2 {
  font-family: var(--ff-secondary);
}
.icon {
  visibility: hidden;
}
/* --------------start media features-------------  */
@media only screen and (min-width: 768px) {
  #features {
    margin-top: 3rem;
  }
  .features {
    width: 100%;
    position: relative;
  }
  .feature {
    display: flex;
    gap: 3rem;
  }

  .features article {
    width: 80%;
    max-width: 68rem;
  }
  .icon {
    visibility: visible;
    padding: 2rem;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
  }

  .feature h2,
  .feature p {
    text-align: left;
  }
}

/* --------------end media featiures-------------  */

/* ------------------products---------------------- */

#price {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.price {
  display: flex;
  flex-direction: column;
}
.price h3 {
  font-family: var(--ff-secondary);
}
/* --------start media price----------- */
@media only screen and (min-width: 800px) {
  .price {
    flex-direction: row;
    justify-content: center;
    width: 80%;

    gap: 1rem;
  }
}
/* -----end media price-------- */

.price article {
  border: 2px solid var(--secondary-color);
  margin-bottom: 1.5rem;
  width: 20rem;
}

.price p {
  line-height: 2rem;
  text-align: center;
  font-weight: 400;
  font-size: 1rem;
}

.price-1,
price-2,
price-3 {
  text-align: center;
}
.brand-name {
  background: var(--grey-color-3);
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}
.brand-price {
  margin-bottom: 0.8rem;
}

button {
  display: block;
  padding: 0.5rem 1.5rem;
  margin: 1.5rem auto 1rem auto;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
}
button:hover {
  background: var(--primary-color);
  color: var(--grey-color-1);
  cursor: pointer;
}
/* -----------------media-query-------------------- */
@media only screen and (min-width: 600px) {
  #header {
    flex-direction: row;
    justify-content: space-between;
  }
  #nav-bar {
    margin: auto 0;
    padding-right: 2rem;
  }
  .nav-links li {
    list-style: none;
    display: inline-block;
    padding: 1rem;
  }
  .banner {
    margin-top: 4.2rem;
  }
  #header-img {
    margin-left: 1.5rem;
  }
}
/* ---------footer------------- */

.footer {
  background: var(--grey-color-3);
  height: 5rem;
  text-align: right;
}
.footer-list li {
  display: inline-block;
  margin: 0.5rem 1rem 0.5rem 1rem;
}

.footer-list li a {
  font-weight: 500;
}
.footer-info {
  margin-right: 1rem;
  text-transform: capitalize;
}
