body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  scroll-behavior: smooth;

  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
  /* ~40px */
}

h2 {
  font-size: 2rem;
  /* ~32px */
}

h3 {
  font-size: 1.5rem;
  /* ~24px */
}

html {
  overflow-y: scroll;
}

.header {
  display: flex;
  justify-content: space-between;
  /* logo left, nav right */
  align-items: center;
  width: 100%;
  max-width: 100vw;
  padding: 0 2rem;
  background: black;
  position: fixed;
  top: 0;
  z-index: 1000;
  height: 75px;
  box-sizing: border-box;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 1.5rem;
  padding-right: 1rem;
  /* right padding inside nav */
}

.nav a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
}

.nav a:hover {
  color: #66ffcc;
}

.home {
  background: url('images/header.png') top center / contain no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  /* make room for fixed header */
  padding-top: calc(250px + 2rem);
  text-align: center;
  background-color: black;
  background-attachment: scroll;
}

.overlay {
  background-color: rgba(0, 100, 0, 0.2);
  padding: 2rem;
  border-radius: 10px;
  height: 270px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  font-size: 120%;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay .tagline {
  margin-top: 1.5rem;
  font-style: italic;
  color: #66ffcc;
}

section {
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.products {
  background-color: #222c22;
  /* deep pine green */
}

.aboutsection {
  background-color: #3f3e2d;
  /* deep pine green */
}

.about {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 1.5rem;
  max-width: 700px;
  margin: 2rem auto;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.contactsection {
  background-color: #222c22;
}

.contact {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 1.5rem;
  max-width: 700px;
  margin: 2rem auto;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.products h2,
.about h2,
.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.product {
  background-color: #fff;
  color: #121212;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 1.5rem;
  max-width: 700px;
  margin: 2rem auto;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

/* .product:hover {
  transform: translateY(-4px);
} */

.product img {
  max-width: 250px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  padding: 0.5rem;
}

.product h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.product p {
  line-height: 1.5;
}

.product .tagline {
  margin-top: 1rem;
  font-style: italic;
  color: #007f66;
}

.tagline {
  color: #66ffcc;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  background: #1c1c1c;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

@media (min-width: 768px) {
  .product {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .product img {
    margin-bottom: 0.5rem;
  }

  .product h3 {
    margin-top: 0.5rem;
  }

  .header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
    gap: 0.5rem;
  }

  .home {
    padding-top: calc(100px + 2rem);
    background-position: top left;
    background-size: 300%;
  }

  .overlay {
    padding-top: 90px;
  }

  .logo {
    height: 50px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    text-align: center;
  }
}