body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: white;
}

p,
a,
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

header,
footer {
  flex-shrink: 0;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #222;
  background-color: white;
  width: 100%;
}

a {
  text-decoration: none;
  color: lightblue;
}
a:visited {
  color: lightblue;
}
a:hover {
  color: aqua;
}

/* @TODO - remove if not using HRs */
hr {
  width: 80%;
  background-color: #aaa;
  border: 0;
  height: 4px;
}

/* Main */
main {
  flex-grow: 1;
  background-color: #333;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;

  padding-bottom: 4vw;
}

/* ---------------------------------------------------------- */

/* Header */
#page-header {
  outline: 10px solid black;
}

/* Hero Image */
#hero {
  width: 100%;
  position: relative;
  height: 30vw;
}
#hero-video {
  border: 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 10;
}
.hero-extension-fade {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  /* border: 1px solid yellow; */ /* border shows fading */
  z-index: 20;
  -webkit-mask-image: linear-gradient(
    to right,
    black 70%,
    transparent 80%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(
    to right,
    black 70%,
    transparent 80%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  animation: fade 30s infinite;
}
#hero img:nth-child(1) {
  animation-delay: 0s;
}
#hero img:nth-child(2) {
  animation-delay: 5s;
}
#hero img:nth-child(3) {
  animation-delay: 10s;
}
#hero img:nth-child(4) {
  animation-delay: 15s;
}
#hero img:nth-child(5) {
  animation-delay: 20s;
}
#hero img:nth-child(6) {
  animation-delay: 25s;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#hero h1 {
  padding-left: 3vw;
  padding-top: 2vw;
  position: absolute;
  width: 100vw;
  top: 10px;
  left: 10px;
  z-index: 1200;
  width: 50%; /* Set to something less that 100% for overlow */
  /* box-sizing: border-box; */
}

#hero h1 span {
  font-family: "Times New Roman", Times, serif;
  display: block;
  color: white;
  /* background-color: red; */
  width: 80%;
}

#hero h1 span:nth-child(1) {
  font-size: 1.5vw;
}
#hero h1 span:nth-child(2) {
  font-size: 4vw;
}
#hero h1 span:nth-child(3) {
  font-size: 3vw;
}
/* ----------------------------[ MAIN SECTION ]---------------------------- */

/* Social Links */
#social-links {
  width: 100%;
  /* border-bottom: 1px solid #ccc; */
}
#social-links nav {
  /* height: 5vw; */
  padding-top: 1.2vw;
  padding-bottom: 0.8vw;
  min-height: 24px;
  max-height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  width: 100%;
  gap: 4vw;
}
#social-links nav a {
  display: flex;
  flex-direction: column;
  /* background-color: red; */
}
#social-links nav a img {
  height: 2vw;
  min-height: 18px;
  max-height: 60px;
  margin-bottom: 0.5vw;
}
#social-links nav a span {
  font-size: 1vw;
}

/* Products */
#products-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  /* background-color: blue; */
  gap: 1vw;
}

#future-products-heading {
  width: 100%;
  text-align: center;
  height: 5vw;
  margin-top: 2vw;
  margin-bottom: 1vw;
}
#future-products-heading h2 {
  font-size: 2vw;
  margin-bottom: 10px;
}

article.product {
  background-color: #111;
  padding: 1vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 3vw;
}
article.product-featured {
  background-color: darksalmon;
}
#products-section .product-featured {
  padding-top: 5vw;
  padding-bottom: 3vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: #f5c518; */
}
#products-section .product-featured .product-title {
  font-size: 2.5vw;
  margin-bottom: 1vw;
}
#products-section .product-featured .product-title #featured-text {
  font-size: 2vw;
  color: #f5c518;
}
#products-section .product-featured .product-title #featured-text::before,
#products-section .product-featured .product-title #featured-text::after {
  content: "★";
  margin: 0;
}
#products-section .product img,
#products-section .product-featured img {
  border: 1vw solid lightgray;
  margin: 1vw;
}
#products-section .product-featured video {
  border: 1vw solid lightgray;
  margin: 1vw;
}
#products-section .product {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  /* background-color: lawngreen; */
}
#products-section .product .product-title {
  font-size: 2vw;
  margin-bottom: 0.8vw;
}
#products-section .product img.product-image {
  width: 80%;
}
#products-section .product-featured .product-description,
#products-section .product .product-description {
  text-align: center;
  /* color: green; */
  /* width: 30vw; */
  /* background-color: pink; */
  width: 80%;
}

/* ----------------------------[ FOOTER ]---------------------------- */

footer {
  width: 100%;
  /* background-color: salmon; */
}

/* Testimonials */
#testimonials {
  background-color: #111;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  flex-direction: row;
  width: 100%;
  padding-bottom: 4vw;
  padding-top: 4vw;
}
.testimonial {
  background: white;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  height: 80%;
}
.testimonial .stars {
  color: #f5c518;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.testimonial .customer-feedback {
  color: #222;
  font-size: 0.8rem;
  margin: 0.5rem 0;
}
.testimonial .name {
  font-size: 0.85rem;
  color: #555;
}

/* Mailing list */
#mailing-list {
  display: flex;
  padding: 1em 0;
  width: 100%;
  background-color: #444;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.mailing-list p {
  margin-bottom: 0.5em;
  font-size: 1rem;
}
.mailing-list form {
  display: flex;
  gap: 0.5em;
}
.mailing-list input[type="email"] {
  flex: 1;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.mailing-list button {
  padding: 0.5em 1em;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

nav#footer-nav {
  font-size: small;
  padding: 3vw 0;
  display: flex;
  gap: 2vw;
  display: flex;
  justify-content: center;
}

#fine-print {
  display: flex;
  background-color: #222;
  font-size: 0.5em;
  padding-top: 2vw;
  padding-bottom: 3svw;
  width: 100%;
  align-items: center;
  justify-content: center;
}
