* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f8f8f8;
  color: #2b2a2a;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  font-size: medium;
  font-size: 0;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover; /* this for setting fit, cover, tilled */
}

.img-square img {
  aspect-ratio: 1/1;
}

.img-landscape img {
  aspect-ratio: 16/9;
}

.img-potrait img {
  aspect-ratio: 9/16;
}

section { /* this for full wide screen */ }

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.two-columns-2 {
  color: red;
}

.button1, .button2 {
  font-size: clamp(0.875rem, 3vw, 0.875rem);
  padding: 2px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  text-decoration: underline;
  text-transform: lowercase;
  background-color: transparent;
  margin: 20px 0;
  font-style: italic;
}

.button1 {
  color: #e8e8e8;
}

.button2 {
  color: #3F201D;
}

.button1:hover, .button2:hover {
  background-color: #3F201D;
  color: #FFFFCC;
}

ul li {
  display: inline;
  padding: 5px;
}

p {
  font-size: clamp(0.875rem, 3vw, 0.875rem);
  letter-spacing: auto;
  line-height: 150%;
  word-spacing: normal;
  word-break: normal;
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(1rem, 5vw, 1rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(0.75rem, 3vw, 0.75rem);
}

h3 {
  font-size: clamp(0.5rem, 2vw, 0.75rem);
}

h4 {
  font-size: clamp(0.25rem, 1vw, 0.5rem);
}

h5 {
  font-size: clamp(0.25rem, 0.75vw, 0.25rem);
}

span {
  font-size: clamp(1rem, 3vw, 1rem);
  text-decoration: underline;
  font-style: italic;
}

.aksara-batak {
  word-spacing: 1rem;
}

a {
  text-decoration: none;
}

nav {
  background-color: #f8f8f8;
  padding: 16px 20px;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
}

.nav-logo img {
  width: 80px;
  aspect-ratio: unset;
  object-fit: contain;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  background: #111827;
  height: 3px;
  width: 28px;
  border-radius: 2px;
  transition: 0.3s ease;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -40%;
  height: 100%;
  width: 40%;
  background-color: #683838;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s ease;
  z-index: 100;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: white;
}

.side-menu.active {
  right: 0;
}

.side-menu .close-btn {
  align-self: flex-end;
  font-size: 28px;
  color: #111827;
  cursor: pointer;
  margin-bottom: 30px;
  transition: color 0.2s;
}

.side-menu .close-btn:hover {
  color: #ef4444;
}

.side-menu a {
  color: white;
  text-decoration: none;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
  transition: color 0.3s ease;
}

.side-menu a:hover {
  color: #111111;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 50;
}

.overlay.active {
  display: block;
}

.collapsible {
  background-color: #fff;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 15px;
  display: block;
  height: fit-content;
  box-sizing: border-box;
  border-bottom: 0.4mm solid black;
  border-right: none;
  position: relative;
  cursor: pointer;
}

.content {
  padding: 10px 18px;
  display: none;
  overflow: hidden;
  width: 90%;
  background: linear-gradient(to right, rgb(209, 255, 141), rgb(186, 249, 94));
  margin: auto;
  border: 0.4mm solid black;
  border-top: none;
  overflow: hidden;
  max-height: 200px;
  transition: 0.35s ease-out;
}

.content span {
  display: block;
  padding: 15px;
  text-align: justify;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  font-size: 14px;
}

.grid-container-1-1 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.grid-container-1-2 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.style-1 {
  padding: 30px;
}

.style-2 {
  padding: 50px;
}

.style-3 {
  padding: 100px;
}

.style-4 {
  padding: 200px;
}

.style-5 {
  padding: 300px;
}

.text-to-image {
  position: relative;
  text-align: center;
  color: #e8e8e8;
}

.text-to-image .text-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-to-image .text-bottom-mid {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-to-image .text-top-right {
  position: absolute;
  top: 8%;
  right: 8%;
  text-align: right;
}

.text-to-image .text-bottom-right {
  position: absolute;
  bottom: 8%;
  right: 8%;
  text-align: right;
}

.text-to-image .text-top-left {
  position: absolute;
  top: 8%;
  left: 8%;
  text-align: left;
}

.text-to-image .text-bottom-left {
  position: absolute;
  bottom: 8%;
  left: 8%;
  text-align: left;
}

.text-content {
  padding: 100px;
}

.text-block {
  position: absolute;
  background: rgba(63, 32, 29, 0.757);
  color: white;
  padding: 10px 20px;
}

.wide-screen img {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Text Center */
.position-container {
  position: relative; /* Crucial for containing the absolutely positioned child */
}

.centered-element {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-size: xx-large;
  transform: rotate(90deg);
}

/* End Text Center */
.right-layout {
  padding: 20% 20% 10% 5%;
}

.left-layout {
  padding: 0 5% 10% 20%;
}

.center-layout {
  padding: 5% 20%;
}

.dark {
  color: #2b2a2a;
}

.light {
  color: #e8e8e8;
}

footer {
  width: 100%;
  overflow: hidden;
  background-color: #e8e8e8;
  font-size: clamp(0.25rem, 0.75vw, 0.25rem);
  padding: 5% 5% 0 5%;
  background-color: #e8e8e8;
}
footer .icon {
  padding: 10px;
}
footer .icon img {
  width: 30px;
}
footer .footer-content {
  padding: 5%;
}
footer img {
  width: 200px;
  height: auto;
  aspect-ratio: unset;
  object-fit: contain; /* this for setting fit, cover, tilled */
}
footer .footer-copyright {
  padding-top: 10px;
  text-align: center;
}
footer .left-box {
  order: 1;
}
footer .right-box {
  order: 2;
}

@media only screen and (max-width: 600px) {
  .row .two-columns {
    width: 100%;
  }
  .grid-container-1-1, .grid-container-1-2 {
    display: inline;
  }
  h1 {
    font-size: large;
    text-transform: uppercase;
  }
  h2 {
    font-size: medium;
  }
  h3 {
    font-size: small;
  }
  h4 {
    font-size: x-small;
  }
  h5 {
    font-size: xx-small;
  }
  span {
    font-size: clamp(1rem, 3vw, 1rem);
    text-decoration: underline;
    font-style: italic;
  }
  .text-content {
    padding: 10%;
  }
  .galery {
    padding: 10%;
  }
  .center-layout {
    padding: 10% 0;
  }
}