:root {
  --prymary: #015599;
  --bg: #f3f2ec;
  --bg1: #545454;
  --bg2: #0e0d0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

.wa-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #015599;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.wa-icon svg {
  stroke: white;
  width: 26px;
  height: 26px;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: #f3f2ec;
  border-bottom: 1px solid #015599;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #015599;
}

.navbar .navbar-logo span {
  color: var(--bg1);
}

.navbar .navbar-nav a {
  color: #015599;
  display: inline-block;
  font-size: 1.2rem;
  margin: 0 1rem;
  font-weight: 600;
}

.navbar .navbar-nav a:hover {
  color: var(--bg2);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--bg2);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #015599;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--bg2);
}

#hamburger-menu {
  display: none;
}

/* Hero section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url(img/header-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(243, 242, 236, 100) 5%,
    rgba(255, 255, 255, 0) 25%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 4em;
  color: #f3f2ec;
  line-height: 1.2;
}

.hero .content h2 {
  font-size: 3em;
  color: #f3f2ec;
}

.hero .content p {
  font-size: 1.5rem;
  margin-top: 1rem;
  line-height: 1.4;
  /* mix-blend-mode: difference; */
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f3f2ec;
  background-color: #015599;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
/* About section */

.about,
.contact {
  color: #015599;
  padding: 10rem 7% 1.4rem;
}

.about h3,
.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.about p {
  color: #0e0d0b;
  font-size: 1.4rem;
  line-height: 1.7;
}

.about .row {
  display: flex; /*pelajari tentang flex box*/
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 100%;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row .content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Menu section */

.menu h2 {
  color: #015599;
  padding: 10rem 7% 1.4rem;
  margin-bottom: 0.5rem;
}

.menu h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.menu p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  color: #0e0d0b;
  font-size: 1.4rem;
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

.menu .row .menu-card {
  color: #545454;
  text-align: center;
  padding-bottom: 4rem;
}

.menu .row .menu-card img {
  border-radius: 50%;
  width: 80%;
}

.menu .row .menu-card title {
  margin-top: 1rem auto 0.5rem;
}

/* Contact section */
.contact .row {
  display: flex;
  margin: 2rem;
  background-color: #545454;
}

.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;
  background-color: #545454;
  border: 1px solid #f3f2ec;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  background: none;
  color: #fff;
}

.contact .row form .btn {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: #015599;
  cursor: pointer;
  border-radius: 8px;
}

.input-group {
  color: #fff;
  border-radius: 8px;
}

.contact p {
  font-size: 1.4rem;
  text-align: center;
  color: #0e0d0b;
  margin: 0.5rem;
  line-height: 2;
}

.tlp {
  color: #015599;
  font-weight: 600;
}
/* Footer */
footer {
  background-color: #015599;
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
}

footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: #0e0d0b;
  transition: 0.8s;
}

footer .credit a:hover {
  color: #fff;
  transition: 0.8s;
}
footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.9rem;
}

footer .credit a {
  color: #0e0d0b;
  font-weight: 700;
}
/* Media queries */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 758px) {
  html {
    font-size: 62.5%;
  }
  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: var(--bg1);
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #f3f2ec;
    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);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img {
    height: 29rem;
    object-fit: cover;
    object-position: center;
  }

  .about.row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.4rem;
  }

  .menu p {
    margin-top: 1rem;
    font-size: 1.4rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
  }
}

/* Mobile */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
