/* Global Page Style */
body {
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  background: linear-gradient(45deg, #24006b, #f42f8c);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
   overflow-x: hidden; /* Prevents accidental horizontal scroll */
}

/* Logo Placeholder */
.logo-placeholder {
  width: 80px;
  height: 80px;
  border: 4px dashed black;
  border-radius: 20px;
  margin: 20px;
}

/* Header */
.header {
  text-align: center;
  font-size: 0.9em;
  padding: 10px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}

/* Menu Item to Trigger Popup */
.menu-item {
  padding: 10px 20px;
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 30px;
  font-weight: bold;
}

/* Popup Styles */
.popout {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.popout-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  width: 400px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.popout-content label {
  display: block;
  margin-top: 15px;
  font-size: 1.1em;
  font-weight: bold;
  font: 'Futura';
}

.popout-content input,
.popout-content select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1em;
}

.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-btn-pop {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5em;
  cursor: pointer;
  color: black;
  transition: font-size 0.1s ease, color 0.3s ease;
}

.close-btn-pop:hover {
  font-size: 2rem;
  color: red;
}



/* Animated Cards */
.container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.card {
  position: relative; /* KEY to contain absolute children */
  width: 100%;
  max-width: 350px;
  height: 400px;
  background: #fff;
  box-shadow: 0 15px 60px rgba(0, 0, 0, .5);
  border-radius: 15px;
  overflow: hidden;
  margin: auto;
}


.card .face {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .face.face1 {
  box-sizing: border-box;
  padding: 20px;
}

.card .face.face1 h2 {
  margin: 0;
  padding: 0;
}

.card .face.face1 .content {
  font-size:1.2em;
  margin:0;
  padding:0 0 1em 0;
  font-weight:500;
}

.card .face.face2 {
  background: #111;
  transition: 0.5s;
}

.card:nth-child(1) .face.face2 {
  background: linear-gradient(45deg, #3503ad, #f7308c);
  border-radius: 15px;
}

.card:nth-child(2) .face.face2 {
  background: linear-gradient(45deg, #ccff00, #09afff);
  border-radius: 15px;
}

.card:nth-child(3) .face.face2 {
  background: linear-gradient(45deg, #e91e63, #ffeb3b);
  border-radius: 15px;
}

.card:hover .face.face2 {
  height: 60px;
  border-radius: 0 0 15px 15px;
}

.card .face.face2:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255, 0.1);
  border-radius: 15px 0 0 15px;
}

.card .face.face2 h2 {
  margin: 0;
  padding: 0;
  font-size:4rem;
  color: #fff;
  transition: 0.5s;
  text-shadow: 0 2px 5px rgba(0,0,0, .2);
}

.card:hover .face.face2 h2 {
  font-size: 2em;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  list-style-type: disc; /* You can change to circle, square, etc. */
}

.Jika {

  color: red;
  
}


/* CSS */
.button-38 {
  background-color: #d1cece;
  border: 0;
  border-radius: .5rem;
  box-sizing: border-box;
  color: #111827;
  font-family: "Inter var",ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-top: 1rem;
}

.button-38:hover {
  background-color: rgb(249,250,251);
}

.button-38:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.button-38:focus-visible {
  box-shadow: none;
}

.open-modal {
  background-color: #d1cece;
  border: 0;
  border-radius: .5rem;
  box-sizing: border-box;
  color: #111827;
  font-family: "Inter var",ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.open-modal:hover {
  background-color: rgb(249,250,251) !important;
}

.open-modal:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.open-modal:focus-visible {
  box-shadow: none;
}


@media (max-height: 770px) {
  .popout-content {
    height: 40rem;
  }
}

@media (max-height: 704px) {
  .popout-content {
    height: 39rem;
  }
}

.button-login{
  color: white;
}

/* CSS */
.button-29 {
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-29:focus {
  box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
}

.button-29:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-29:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}


.gambar{
width: 221px;
    /* border: 4px dashed black; */
    border-radius: 20px;
    margin: 20px;
}

.footer {
    background-color: #594283ad;
    color: white;
    text-align: center;
    padding: 1px;
    font-size: 14px;
    position: relative;
    bottom: 0;
  width: 100%;
  margin-top: 4rem;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 80%;
  border-radius: 10px;
  box-shadow: 0 0 10px #fff;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}


  .contoh-gambar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .contoh-gambar img {
    max-width: 90%;
    max-height: 90%;
  }

  .contoh-gambar.active {
    display: flex;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: rgb(255, 255, 255);
    cursor: pointer;
  }

  .card.touched .face.face2 {
  height: 60px;
  border-radius: 0 0 15px 15px;
}

.card.touched .face.face2 h2 {
  font-size: 2em;
}
