:root {
  --primary: orange;
  --bg: #010101;
}

* {
  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;
  /*min-height: 5000rem;*/
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid #513c28;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.logo {
  display: flex;
  width: 20%;
  margin: 3 0.5rem;
}
.container {
  color: #fff;
  display: flex;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.container ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}
.container ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  position: relative;
}
.container ul li a:hover {
  color: yellowgreen;
}
.container ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: orange;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
  transform: scale(0);
}
.container ul li a:hover::after {
  width: 100%;
  transform: scale(0.5);
}
.dropdown a {
  display: block;
}
.dropdown {
  display: none;
  position: absolute;
  z-index: 999;
}
nav ul li:hover .dropdown {
  display: block;
  position: absolute;
}
nav ul li:hover .dropdown a {
  padding-top: 15px;
  background-color: transparent;
}
.navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.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("../images/tes1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  position: relative;
}

.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 {
  max-width: 95rem;
  padding: 1rem 7% 1.4rem;
}

.hero .content h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(19, 7, 7, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  color: #ffffff;
  font-size: 1.5rem;
  margin-top: 1rem;
  line-height: 1.4;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  text-decoration-style: solid;

  /*mix-blend-mode: difference;*/
  text-align: justify;
  max-width: 100rem;
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1 px 3px rgba(1, 1, 3, 0.5);
}

/* About Section */
.about,
.galeri,
.contact {
  padding: 8rem 7% 1.4rem;
}

.about h2,
.galeri h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}
.about h2 span,
.galeri h2 span,
.contact h2 span {
  color: var(--primary);
}

.row {
  display: flex;
}
.about-img {
  flex: 1 1 30rem;
}
.about-img img {
  width: 80%;
  border-bottom-right-radius: 30%;
}

.about .row .content {
  flex: 2 1 30rem;
}

.about .row .content h3 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}
.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.3;
  text-align: justify;
}

.leg {
  display: block;
  padding-left: 0;
}
.leg h2 {
  text-align: left;
  color: green;
  padding-top: 1rem;
}
.leg p {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.3;
  text-align: justify;
}

/* Program Section */
.program {
  min-height: 100vh;
  padding: 8rem 7% 1.4rem;
}

.program h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.program h2 span {
  color: var(--primary);
}

.programkerja {
  display: flex; /* Mengaktifkan flexbox */
  text-align: justify;
  padding-top: 10px;
}

.column {
  flex: 1; /*  Setiap kolom mengambil ruang yang sama */
  padding: 30px;
  border: 10px solid green;
  padding-top: 10px;
  text-align: center;
}

.left {
  background-color: lightblue;
}
.left a,
.right a {
  text-decoration-line: underline;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
}
.left p,
.right p {
  font-size: 1.7rem;
  text-align: justify;
  line-height: 2rem;
  margin-top: 1.5rem;
}
.right {
  background-color: lightgreen;
}

.Ginoujisshusei,
.Tokuteiginou {
  min-height: 100vh;
  padding: 7rem 7% 1.4rem;
}
.Ginoujisshusei h2,
.Tokuteiginou h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 2rem;
}
.Ginoujisshusei h2 span,
.Tokuteiginou h2 span {
  color: var(--primary);
}
.Ginoujisshusei a,
.Tokuteiginou a {
  font-size: 2rem;
  font-weight: bold;
  color: yellowgreen;
}
.gj,
.tg {
  text-align: justify;
}
.gj ol,
.tg ol {
  padding-left: 20px;
  font-size: 1.5rem;
}

/* Galeri Section */
.galeri h2,
.contact h2 {
  margin-bottom: 1rem;
}

.galeri p,
.contact p {
  text-align: center;
  max-width: 50rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}
.contain {
  max-width: 1170px;
  margin: auto;
}
.gallery {
  width: 100%;
  display: block;
  min-height: 100vh;
  padding: 20px 0;
}
.row {
  display: flex;
  flex-wrap: wrap;
}

.row .gallery-filter {
  padding: 0 15px;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.row .gallery-filter .filter-item {
  color: orange;
  font-size: 17px;
  border: 1px solid white;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 8px;
  margin-right: 8px;
  cursor: pointer;
  padding: 8px 20px 8px 20px;
  line-height: 1.2;
}
.row .gallery-filter .filter-item.active {
  color: white;
  border-color: #9a0c0c;
  background-color: #9a0c0c;
}
.gallery-item {
  width: calc(100% / 3);
  padding: 15px;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
.gallery-item-inner img {
  width: 100%;
  border: 3px solid white;
  box-shadow: 0px 2px 7px #545558;
}

.gallery-item.hide {
  display: none;
}
.gallery-item.show {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* responsive*/
@media (max-width: 491px) {
  .gallery-item {
    width: 50%;
  }
}
@media (max-width: 467px) {
  .gallery-item {
    width: 100%;
  }
  .gallery-filter .filter-item {
    margin-bottom: 10px;
  }
}

/* Contact Section */

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #2222;
}
.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: var(--bg);
  border: 1px solid #eeee;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  background: none;
  color: #ffffff;
}
.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;
}

/* Footer */
footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0 1rem;
  margin-top: 1rem;
}
footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover {
  color: var(--bg);
}
footer .socials img a:hover {
  color: var(--bg);
}
footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .links a:hover {
  color: var(--bg);
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: var(--bg);
  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;
  }

  .container {
    position: absolute;
    top: 100%;
    right: -150%;
    background-color: aqua;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .container.active {
    right: 0;
  }

  .container ul li a {
    color: navy;
    display: block;
    margin: 1rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav ul a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav ul a:hover ::after {
    transform: scaleX(0.2);
  }
  .dropdown a {
    display: block;
    top: -3rem;
    right: -70%;
  }
  .dropdown {
    display: none;
    position: absolute;
    z-index: 999;
  }
  .container ul li:hover .dropdown {
    display: block;
    position: absolute;
    padding: 1rem;
    line-height: 1rem;
  }
  .container ul li:hover .dropdown a {
    background-color: transparent;
    color: #000;
  }

  .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%;
  }
}
