:root {
  --primary: #b6895b;
  --bg: #010101;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

#hh {
  font-size: 22px;
  font-weight: 700;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ec9a00;
  color: white;
}

/*navbar*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgb(1, 1, 1, 0.8);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.navbar .navbar-logo span {
  color: rgb(212, 181, 3);
}
#userlink {
  border: 2px white solid;
  padding: 20px;
  margin-right: -20px;
  background-color: #ec9a00;
  border-radius: 20px;
}
.navbar .navbar-nav {
  /* border: white 2px solid; */
  width: 80%;
}
.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}
.navbar .navbar-nav p {
  font-size: 16px;
}
.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 {
  font-size: large;
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/*Hero Section*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/konservasi alam nasional (1).png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid white;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 8% rgba(255, 255, 255, 0) 50%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 2em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: rgb(43, 32, 0);
  font-size: 3rem;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 1px 1px 1px rgba(1, 1, 3);
  /* mix-blend-mode: difference; */
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.6rem;
  color: #fff;
  background: -webkit-linear-gradient(
    right,
    #ceae20,
    #886a18,
    #927133,
    #ec9a00
  );
  border-radius: 0.5rem;
  border: solid 2px #fff;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  transition: all 0.4s ease;
}
.hero .content .cta:hover {
  left: 0;
  color: #ffffff;
  font-weight: 700;
  background-color: -webkit-linear-gradient(
    right,
    #ceae20,
    #886a18,
    #927133,
    #ec9a00
  );
}

/*about section*/
.about {
  align-items: center;
  background-image: url("../img/konservasi alam nasional (1).png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 8rem 7% 1.4rem;
  border-bottom: 2px solid white;
}
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 15rem; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  font-size: 2rem;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.Informasi .content h3 {
  font-size: 3.5rem;
  color: var(--black);
  line-height: 1.8;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  padding-top: 7rem;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.menu {
  align-items: center;
  background-image: url("../img/konservasi alam nasional (1).png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 8rem 7% 1.4rem;
  border-bottom: 2px solid white;
}
.menu .petunjuk {
  align-items: center;
  padding: 1.4rem 7%;
  z-index: 9999;
  margin-left: 10%;
  margin-right: 10%;
  text-align: justify;
  border: 4px solid rgb(255, 255, 255, 0.8);
  background-color: #ec9a00;
  border-radius: 10px 10px 10px 10px;
}
.menu .petunjuk h3 {
  font-size: 1.5rem;
  color: black;
  font-weight: 700;
  font-family: Tahoma;
  line-height: 1.5;
}
.menu .petunjuk ul li {
  font-size: 1.5rem;
  color: black;
  font-family: Tahoma;
  line-height: 1.5;
}

.contact {
  padding: 8rem 7% 1.4rem;
  background-color: #010101;
}

.contact ul li {
  list-style-type: none;
  line-height: 1.5rem;
}

.contact b {
  font-size: 1.4rem;
}

.about h2,
.menu h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.contact h2 span {
  color: white;
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
  border: 2px solid rgb(192, 192, 192);
  background-color: #fff;
}

.about .row .about-img img {
  width: 100%;
  background-color: white;
}
.about .row .about-img h3 {
  font-size: 22px;
  font-weight: 700;
  color: #010101;
  text-align: center;
  margin-bottom: 5px;
  padding: 10px;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
  border: 2px solid #ec9a00;
  background-color: #ec9a00;
}

.about .row .content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: black;
  text-align: center;
  font-family: Tahoma;
}

.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 2rem;
  font-weight: 100;
  line-height: 1.6;
}

.row ol li {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  margin-left: 1rem;
  text-align: justify;
  color: black;
  font-family: Tahoma;
  line-height: 1.5;
}

/*menu section*/
.menu h2,
.contact h2 {
  margin-bottom: 1rem;
}

.menu p,
.contact p {
  text-align: justify;
  max-width: 50rem;
  margin: auto;
  font-weight: 500;
  line-height: 1.6;
  background-color: #fff;
  color: #010101;
  border: 2px solid rgb(192, 192, 192);
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: center;
}

.menu .row .menu-card {
  text-align: center;
  padding-bottom: 2rem;
}

.menu .row .menu-card img {
  border-radius: 0%;
  width: 80%;
}

.menu .row .menu-card .menu-card-title {
  margin: 0.5rem auto 0.5rem;
}

/*Contact Section*/

.contact .row {
  display: flex;
  margin-top: 2rem;
}

.contact .row .map {
  /* flex: 1 1 45rem; */
  width: 50%;
  margin: auto;
  object-fit: cover;
  border: solid 2px rgb(192, 192, 192);
  border-radius: 5px;
}

.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: var(--bg);
  border: 1px solid #eee;
  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: var(--primary);
  cursor: pointer;
}

/*fotter*/
footer {
  background-color: #ec9a00;
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
}

footer .socials {
  padding: 1rem 0;
}

footer .social a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: var(--bg);
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 1.3rem;
  font-family: Tahoma;
}

footer .credit a {
  color: var(--bg);
  font-weight: 700;
}
/*Media Queres*/

/*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: #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::after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    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.6rem;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
  }
}

/*Mobile Phone*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
