@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);

:root {
  --primary: #7ed957;
  --bg: #010101;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Josefin Sans", sans-serif;
  background-color: #fff;
  color: #000;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 5%;
  background-color: #61605f;
  /* border-bottom: 1px solid #513c28; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2.3rem;
  font-weight: 700;
  color: #fff;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 2rem;
  margin-top: 0.5rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* Navbar search form */
.navbar .search-form {
  position: absolute;
  top: 100%;
  right: 7%;
  background-color: #fff;
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
}

.navbar .search-form.active {
  transform: scaleY(1);
}

.navbar .search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.5rem;
  color: var(--bg);
  padding: 1rem;
}

.navbar .search-form label {
  cursor: pointer;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  color: var(--bg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/Home-Crop.png");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right;
  position: relative;
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 50%;
}

.hero .content h1 {
  font-size: 5em;
  color: #000;
  /* text-shadow: 1px 1px 1px rgba(1, 1, 3, 1); */
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  font-size: 1.8rem;
  color: #000;
  font-weight: 500;
  margin-top: 1rem;
  line-height: 1.4;
  /* text-shadow: 1px 1px 1px rgba(1, 1, 3, 1); */
}

.hero .content .cta {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #000;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
.hero .content .cta:hover {
  background-color: #fff6f3;
  border: 1px solid #fff6f3;
}

/* About Section */

.about,
.products,
.artikel,
.contact {
  padding: 8rem 7% 1.4rem;
}

.about h2,
.products h2,
.artikel h2,
.contact h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
}

.about h2 span,
.artikel h2 span,
.products h2 span,
.contact h2 span {
  color: var(--primary);
  /* text-shadow: 0.5px 0.5px 0.5px rgba(1, 1, 3, 1); */
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 100%;
  padding: 0.8rem;
}

.about .row .content {
  flex: 1 1 35rem;
  width: 100%;
  padding: 0 1.8rem;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about .row .content p {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Products Section */
.products .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.products p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
}

.products .product-card {
  text-align: center;
  border: 1px solid #666;
  padding: 2rem;
}

/* Artikel Section */
.artikel h2,
.products h2,
.contact h2 {
  margin-bottom: 1rem;
}
.artikel {
  min-height: 100vh;
  background-image: url("../img/Artikel-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  position: relative;
}

.artikel p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1.6;
}

.artikel .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4rem;
  justify-content: center;
}

.artikel .row .artikel-card {
  text-align: center;
  padding-bottom: 4rem;
}

.artikel .row .artikel-card .artikel-card-img {
  border-radius: 0%;
  max-width: 25rem;
  margin-left: 4rem;
  margin-right: 4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.artikel .row .artikel-card .artikel-card-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.artikel .row .artikel-card .artikel-card-desc {
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.artikel .row .artikel-card .ctd {
  margin-top: 1.5rem;
  font-family: "Josefin Sans";
  padding: 1rem 1.3rem;
  font-size: 1rem;
  color: #000;
  background-color: var(--primary);
  border-radius: 0.5rem;
  margin-bottom: 3rem;
}

.artikel .row .artikel-card .ctd:hover {
  color: #fff6f3;
  background-color: #61605f;
  border: 1px solid #61605f;
}

/* Artikel Detail */

.artikel-detail {
  min-height: 100vh;
  background-image: url("../img/Art-Detail.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.artikel-detail .detail-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4rem;
  justify-content: center;
}

.artikel-detail .detail-row .detail .detail-img {
  border-radius: 0%;
  align-items: center;
  max-width: 40rem;
  margin: 4rem;
}

.artikel-detail .detail-row .detail .detail-title {
  margin-top: 6rem;
  text-align: center;
  color: #000;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.products .product-image {
  padding: 1rem 0;
}

.products .product-image img {
  height: 25rem;
}

.products .product-content h3 {
  font-size: 2rem;
}

.products .product-desc {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
}

/* Contact Section */
.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
  margin-bottom: 3rem;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact .socials {
  padding: 1rem 0;
  font-size: 2rem;
  text-align: center;
  padding: 1rem 0;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.contact .socials a {
  color: var(--bg);
  margin: 1rem;
}

.contact .socials a:hover,
.contact .links a:hover {
  color: var(--primary);
}
.contact .ctw {
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 30rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: auto;
  display: flex;
  margin-top: 1rem;
  line-height: 1.4;
  color: #000;
}

.contact .row {
  background-color: #61605f;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  color: #61605f;
  background-color: #fff;
  border: 1px solid #eee;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  font-family: "Josefin Sans", sans-serif;
  padding: 2rem;
  font-size: 1.4rem;
  background: none;
  color: #000;
}

.contact .row form .btn {
  font-family: "Josefin Sans", sans-serif;
  margin-top: 3rem;
  border-radius: 0.5rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #000;
  background-color: var(--primary);
  /* box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5); */
  cursor: pointer;
}

.contact .row form .btn:hover {
  color: #000;
  background-color: #fefefe;
  border: 1px solid var(--bg);
}

.detail-artikel {
  border-radius: 0%;
  max-width: 25rem;
  margin-left: 4rem;
  margin-right: 4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Proses Pesan */
.proses-pesan {
  min-height: 100vh;
  background-image: url("../img/Art-Detail.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.proses-pesan .pesan .pesan-title {
  justify-content: center;
  align-items: center;
  margin-top: 20rem;
  text-align: center;
  color: #000;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.proses-pesan .pesan .pesan-timer {
  justify-content: center;
  text-align: center;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #000;
}

/* Footer */
footer {
  background-color: var(--primary);
}

footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  padding-top: 2rem;
  margin-top: 0rem;
  margin-right: 3rem;
  padding-bottom: 2rem;
}

footer .footer-logo {
  display: flex;
  flex-direction: row;
  justify-content: left;
  margin-left: 2.5rem;
  margin-top: 2rem;
  max-width: 4rem;
}

footer .address {
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: justify;
  max-width: 15rem;
}

footer .address h3 {
  font-size: 1.5rem;
}

footer .address p {
  font-size: 1.2rem;
  margin-top: 1rem;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}

footer .address a {
  color: #000;
  font-size: 1.2rem;
}

footer .links {
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: justify;
  display: grid;
}

footer .links h3 {
  display: flex;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

footer .links a {
  color: #000;
  font-size: 1.3rem;
}

footer .links a:hover {
  color: #fefefe;
}

footer .social-button {
  display: flex;
  flex-direction: column;
}

footer .social-button h3 {
  display: flex;
  margin-top: 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

footer .btn {
  clear: both;
  white-space: nowrap;
  font-size: 1.1rem;
  padding: 0rem;
  display: inline-block;
  border-radius: 5px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.35);
  margin: 2px;
  margin-right: auto;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  overflow: hidden;
}

.btn:hover {
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.45);
}

.btn:focus {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.4);
}

.btn > span,
.btn-icon > i {
  text-align: center;
  float: left;
  padding: 1.25rem;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  line-height: 1rem;
}

.btn > span {
  padding: 14px 19px 16px;
  font-size: 1.1rem;
  white-space: nowrap;
  color: #fff;
  background: #b8b8b8;
}

.btn:focus > span {
  background: #9a9a9a;
}

.btn-icon > i {
  border-radius: 5px 0 0 5px;
  position: relative;
  width: 3.5rem;
  text-align: center;
  font-size: 1.3rem;
  color: #fff;
  background: #212121;
}

.btn-icon > i:after {
  content: "";
  border: 8px solid;
  border-color: transparent transparent transparent #222;
  position: absolute;
  top: 13px;
  right: -15px;
}

.btn-icon:hover > i,
.btn-icon:focus > i {
  color: #fff;
}

.btn-icon > span {
  text-align: center;
  border-radius: 0 5px 5px 0;
}

/*instagram*/
.btn-instagram:hover > i,
.btn-instagram:focus > i {
  color: #e1306c;
}

.btn-instagram > span {
  background: #e1306c;
}

/*LinkedIn*/
.btn-linkedin:hover > i,
.btn-linkedin:focus > i {
  color: #007bb6;
}

.btn-linkedin > span {
  background: #007bb6;
}

/*TikTok*/
.btn-tiktok:hover > i,
.btn-tiktok:hover:focus > i {
  color: #69c9d0;
}

.btn-tiktok > span {
  background: #000;
}

footer .credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  text-align: center;
  margin-top: 0rem;
  padding-bottom: 1rem;
  font-size: 1rem;
  text-align: justify;
}

footer .credit a {
  color: var(--bg);
  font-weight: 700;
}

/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
  .hero .content h1 span {
    color: #fff;
  }

  .hero .content .cta {
    margin-top: 3rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    color: #61605f;
    background-color: #fff6f3;
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  }

  .hero .content .cta:hover {
    color: #fff6f3;
    background-color: #61605f;
    border: 1px solid #61605f;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .navbar .search-form {
    width: 90%;
    right: 2rem;
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: left;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 50;
  }

  /* Footer */
  footer .footer-grid {
    background-color: var(--primary);
    display: grid;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding-top: 2rem;
    margin-top: 0rem;
    padding-bottom: 2rem;
  }

  footer .footer-logo {
    justify-content: center;
    margin-top: 2rem;
    max-width: 10rem;
  }

  footer .address {
    margin-top: 3rem;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 15rem;
  }

  footer .address p {
    margin-top: 1rem;
    line-height: 2rem;
  }

  footer .social-button {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
  }

  footer .social-button h3 {
    display: grid;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  footer .btn {
    clear: both;
    white-space: nowrap;
    font-size: 1.1rem;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.35);
    margin: 2px;
    margin-right: auto;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    overflow: hidden;
  }

  .btn:hover {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.45);
  }

  .btn:focus {
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.4);
  }

  .btn > span,
  .btn-icon > i {
    float: left;
    padding: 1.5rem;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    line-height: 1rem;
  }

  .btn > span {
    padding: 14px 19px 16px;
    font-size: 1.1rem;
    white-space: nowrap;
    color: #fff;
    background: #b8b8b8;
  }

  .btn:focus > span {
    background: #9a9a9a;
  }

  .btn-icon > i {
    border-radius: 5px 0 0 5px;
    position: relative;
    width: 4rem;
    text-align: center;
    font-size: 1.3rem;
    color: #fff;
    background: #212121;
  }

  .btn-icon > i:after {
    content: "";
    border: 8px solid;
    border-color: transparent transparent transparent #222;
    position: absolute;
    top: 13px;
    right: -15px;
  }

  .btn-icon:hover > i,
  .btn-icon:focus > i {
    color: #fff;
  }

  .btn-icon > span {
    border-radius: 0 5px 5px 0;
  }

  /*instagram*/
  .btn-instagram:hover > i,
  .btn-instagram:focus > i {
    color: #e1306c;
  }

  .btn-instagram > span {
    background: #e1306c;
  }

  /*LinkedIn*/
  .btn-linkedin:hover > i,
  .btn-linkedin:focus > i {
    color: #007bb6;
  }

  .btn-linkedin > span {
    background: #007bb6;
  }

  /*TikTok*/
  .btn-tiktok:hover > i,
  .btn-tiktok:hover:focus > i {
    color: #69c9d0;
  }

  .btn-tiktok > span {
    background: #000;
  }

  footer .links h3 {
    display: grid;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  footer .links {
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    display: grid;
  }

  footer .links a {
    color: #000;
    padding: 0rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  footer .links a:hover {
    color: #fefefe;
  }

  footer .credit {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
    margin-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    text-align: justify;
  }

  footer .credit a {
    color: var(--bg);
    font-weight: 700;
  }
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .hero .content h1 span {
    color: #fff;
  }
  .hero .content .cta {
    margin-top: 3rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    color: #61605f;
    background-color: #fff6f3;
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  }

  .hero .content .cta:hover {
    color: #fff6f3;
    background-color: #61605f;
    border: 1px solid #61605f;
  }
  footer .social-button {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  footer .social-button h3 {
    display: grid;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  footer .btn {
    clear: both;
    white-space: nowrap;
    font-size: 1.2rem;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.35);
    margin: 2px;
    margin-right: auto;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    overflow: hidden;
  }

  .btn:hover {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.45);
  }

  .btn:focus {
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.4);
  }

  .btn > span,
  .btn-icon > i {
    float: left;
    padding: 1.7rem;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    line-height: 1rem;
  }

  .btn > span {
    padding: 14px 19px 16px;
    font-size: 1.1rem;
    white-space: nowrap;
    color: #fff;
    background: #b8b8b8;
  }

  .btn:focus > span {
    background: #9a9a9a;
  }

  .btn-icon > i {
    border-radius: 5px 0 0 5px;
    position: relative;
    width: 4rem;
    text-align: center;
    font-size: 1.5rem;
    color: #fff;
    background: #212121;
  }

  .btn-icon > i:after {
    content: "";
    border: 8px solid;
    border-color: transparent transparent transparent #222;
    position: absolute;
    top: 13px;
    right: -15px;
  }

  .btn-icon:hover > i,
  .btn-icon:focus > i {
    color: #fff;
  }

  .btn-icon > span {
    border-radius: 0 5px 5px 0;
  }

  /*instagram*/
  .btn-instagram:hover > i,
  .btn-instagram:focus > i {
    color: #e1306c;
  }

  .btn-instagram > span {
    background: #e1306c;
  }

  /*LinkedIn*/
  .btn-linkedin:hover > i,
  .btn-linkedin:focus > i {
    color: #007bb6;
  }

  .btn-linkedin > span {
    background: #007bb6;
  }

  /*TikTok*/
  .btn-tiktok:hover > i,
  .btn-tiktok:hover:focus > i {
    color: #69c9d0;
  }

  .btn-tiktok > span {
    background: #000;
  }

  footer .links h3 {
    display: grid;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  footer .links {
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    display: grid;
  }

  footer .links a {
    color: #000;
    padding: 0rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }

  footer .links a:hover {
    color: #fefefe;
  }

  footer .credit {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
    margin-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    text-align: justify;
  }

  footer .credit a {
    color: var(--bg);
    font-weight: 700;
  }
}
