html,
*,
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  scroll-behavior: smooth;
}

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #222;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background-color: #222;
  /* background-color: #76B900; */
  align-items: center;
  justify-content: flex-start;
  display: flex;
  box-shadow: 0 0 1px #eeeeee8c;
}

.brand {
  padding: 0 20px;
  height: 30px;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0%) invert(1);
}

.navlinks {
  position: relative;
  margin: 0 1rem;
}

.navlinks ul {
  align-items: center;
  justify-content: space-around;
  display: flex;
}

.navlinks li {
  list-style: none;
  margin: 0 1rem;
}

.navlinks a {
  position: relative;
  padding: 10px 0;
  font-size: 1.2rem;
  text-decoration: none;
  color: #eee;
  transition: 0.3s ease;
}

.navlinks a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  background-color: #eee;
  height: 3px;
  width: 0;
  transition: 0.3s ease;
}

.navlinks a:hover::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  display: block;
  background-color: #eee;
  width: 100%;
  transition: 0.3s ease;
}

/* SECTION BERANDA */
#beranda {
  /* position: relative; */
  width: 100%;
  height: 100vh;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(to right, #2524248e 60%, transparent),
    url("images/o5kVQsqEchpjPUE3YW7P59-1920-80.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: flex-start;
  display: flex;
  padding: 5% 5% 0;
}

.home__cta {
  max-width: 600px;
}

.text__top p {
  text-align: justify;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 2.6rem;
  color: #eee;
}

.text__top p span {
  background-color: #76b900;
  padding: 3px 8px;
  font-weight: bold;
}

.text__top a{
  display: inline-block;
  padding: .8rem 1rem;
  border-radius: 4px;
  background-color: #76b900;
  color: #eee;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 2px;
  transition: .3s ease;
}

.text__top a:hover{
  background-color: #68a400;
}

/* Section Tentang */
#tentang {
  width: 100%;
  min-height: 100vh;
  background-color: #000;
  padding: 5% 5% 0;
}

.tentang__wrapper {
  padding: 5% 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 5%;
}

.tentang__kiri {
  color: #eee;
}

.tentang__kiri h1 {
  font-size: 2.4rem;
  line-height: 2.6rem;
}

.tentang__kiri h2 {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 1.8rem;
}

.tentang__kiri p,
.tentang__kiri li {
  text-align: justify;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.tentang__kiri li {
  margin-left: 1rem;
}

.tentang__kanan {
  color: #eee;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

figcaption {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

/* Section Produk */
#produk {
  width: 100%;
  min-height: 100vh;
  background-color: #000;
  padding: 10% 10% 0;
}

.header__produk,
.header__harga,
.header__hubungi {
  text-align: center;
  color: #eee;
}

.header__produk h1,
.header__harga h1,
.header__hubungi h1 {
  font-size: 2.4rem;
}

.header__produk p,
.header__harga p,
.header__hubungi p {
  font-size: 1.2rem;
}

.daftar__produk {
  margin-top: 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product__card {
  background-color: #eee;
  box-shadow: 0 0 2px #eee;
}

.product__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-bottom: 6px solid #76b900;
}

.card__description {
  padding: 10px;
}

.card__description h3 {
  font-size: 1.4rem;
}

.card__description p {
  font-size: 1.2rem;
}

/* Section Harga */
#harga {
  width: 100%;
  padding: 10% 15% 0;
  background-color: #000;
}

.table__container {
  align-items: center;
  justify-content: center;
  display: flex;
  margin: 2rem 0 0;
}

table {
  width: 100%;
  background-color: #eee;
}

td,
th {
  padding: 10px;
  font-size: 1.2rem;
}

th {
  background-color: #76b900;
  color: #eee;
}

/* Section Keunggulan */
#keunggulan {
  background-color: #000;
  padding: 10% 5% 0;
}

.keunggulan__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  /* display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem; */
}

.keunggulan__kiri {
  color: #eee;
}

.keunggulan__kiri h1 {
  font-size: 2.2rem;
}

.keunggulan__kiri li {
  margin-left: 20px;
  font-size: 1.4rem;
}

.keunggulan__kanan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Section Hubungi Kami */
#hubungi {
  background-color: #000;
  padding: 8% 20% 5%;
}

form {
  margin-top: 2rem;
}

.input__field label {
  display: block;
  color: #eee;
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 3px;
}

.input__field input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  resize: none;
}

button {
  padding: 0.8rem 1rem;
  border: none;
  background-color: #76b900;
  color: #eee;
  font-size: 1.2rem;
  margin-top: 5px;
  margin-bottom: 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #68a400;
}

/* Footer */
footer{
  background-color: #222;
}
.footer__content {
  color: #eee;
  padding: 1rem 10%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  text-align: center;
}

.footer__content a {
  text-decoration: none;
  color: #eee;
}

/* CSS untuk responsive */
@media screen and (max-width: 961px) {
  .brand {
    padding: 0 10px;
    height: 25px;
  }
  .navlinks li{
    margin: 0 10px;
  }
  .navlinks a {
    font-size: 1rem;
  }
  #beranda {
    justify-content: center;
  }
  .text__top{
    text-align: center;
  }
  .text__top p {
    font-size: 1.6rem;
    text-align: center;
  }
  .text__top a{
    padding: .6rem .8rem;
    font-size: 1rem;
  }
  #tentang{
    padding: 10%;
  }
  .tentang__kiri h1 {
    font-size: 1.6rem;
    line-height: 1.8rem;
  }
  .tentang__kiri h2 {
    font-size: 1.4rem;
    line-height: 1.6rem;
  }
  .tentang__kiri p,
  .tentang__kiri li,
  figcaption {
    font-size: 1rem;
    line-height: 1.2rem;
  }
  .header__produk h1,
.header__harga h1,
.header__hubungi h1 {
  font-size: 1.6rem;
}
.header__produk p,
.header__harga p,
.header__hubungi p {
  font-size: 1rem;
}
#produk{
  padding: 10% 15%;
}
.product__card img{
  height: 180px;
}
.card__description h3{
  font-size: 1.2rem;
}
.card__description p{
  font-size: 1rem;
}
td,th{
  font-size: 1rem;
}
.keunggulan__kiri h1{
  font-size: 1.6rem;
}
.keunggulan__kiri li{
  font-size: 1.2rem;
}
#hubungi{
  padding: 10% 15%;
}
.input__field label{
  font-size: 1.2rem;
}
.input__field input, textarea, button{
  padding: .6rem .8rem;
}
button{
  font-size: 1rem;
}
.footer__content{
  font-size: 1rem;
}
}
@media screen and (max-width: 768px) {
  .navlinks{
    position:absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    background-color: #222;
  }
  .navlinks li{
    margin: 1rem;
  }
  #tentang, #produk, #harga, #keunggulan{
    padding: 20% 15% 0;
  }

  #hubungi{
    padding: 20% 15% 5%;
  }
}
@media screen and (max-width: 579px) {
  #beranda{
    padding: 5% 15% 0;
  }
  .text__top p{
    font-size: 1.4rem;
  }
  .navlinks {
    overflow-x: auto;
    flex-grow: 1;
    flex-shrink: 0;
  }
  .navlinks li{
    margin:  1rem;
  }
  .navlinks a{
    white-space: nowrap;
  }
  .tentang__wrapper{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
    #tentang, #produk, #harga, #keunggulan{
    padding: 25% 15% 0;
  }
}