@charset "utf-8";
/* CSS Document */
@font-face {
  font-family: "RobotoCondensed";
  src: url(../font/RobotoCondensed.ttf);
  font-display: swap;
}

@font-face {
  font-family: "Trueno";
  src:
    local("Trueno Black"),
    local("Trueno-Black"),
    url("../font/TruenoBlk.woff2") format("woff2"),
    url("../font/TruenoBlk.woff") format("woff"),
    url("../font/TruenoBlk.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kondo";
  src: url("../font/Becham-Regular.otf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   BRICOLAGE GROTESQUE CONDENSED
========================================================== */

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-ExtraLight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-Light.ttf")
    format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Becham";
  src: url("../font/Bricolage/BricolageGrotesqueCondensed-ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage";
  src: url("../font/Bricolage/BricolageGrotesque-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage";
  src: url("../font/Bricolage/BricolageGrotesque-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage";
  src: url("../font/Bricolage/BricolageGrotesque-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jomhuria";
  src: url("../font/Jomhuria-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AlumniSans";
  src: url("../font/AlumniSans-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

hr {
  height: 3px;
  vertical-align: center;
  margin-bottom: 10px;
  border: #111;
  background: -webkit-linear-gradient(
    left,
    red,
    blue
  ); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, red, blue); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(
    right,
    red,
    blue
  ); /* For Firefox 3.6 to 15 */
  background: linear-gradient(
    to right,
    red,
    blue
  ); /* Standard syntax (must be last) */
}

/* =========================
   WRAPPER
========================= */

.wrapper {
  width: 100%;
  max-width: 950px;
  margin: auto;
}

html,
body {
  min-height: 100%;
}

body {
  background: url(../img/bg-body.png) #111 top fixed;
  background-repeat: repeat;
  background-size: auto;
  font-family: "Bricolage", Arial, sans-serif;
  font-weight: 400;
  line-height: 20px;
  min-height: 100vh;
  font-size: 80%;
}

.banner {
  max-width: 950px;
  margin: 0 auto;
  background: #136ca0;
  position: relative;
  overflow: visible;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.top {
  min-height: 50px;
  max-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 5px;
  border-radius: 5px;

  background:
    url("../img/icon/repeat-big.png") right center / contain no-repeat,
    linear-gradient(135deg, #00aef0, #0088ff);

  color: #14396a;
  font-size: 22px;
  text-shadow: 1px 1px 0px #7cabde;
  font-family: "Kondo", Verdana, Tahoma, sans-serif;
  font-weight: 800;
  font-style: normal;

  box-shadow: inset 1px 1px 2px 0px #bee3f9;
}

.atas {
  position: relative;
  overflow: hidden;
  padding: 12px 20px;
  color: #222;
  font-family: "Becham", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(180deg, #77d42a 10%, #5cb811 100%);

  text-shadow: 1px 1px 0px #aade7c;
  box-shadow: inset 1px 1px 2px 0px #c9efab;
}

.atas::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: skewX(-25deg);
  animation: idxShine 6s infinite;
  pointer-events: none;
}

@keyframes idxShine {
  0% {
    left: -120%;
  }
  100% {
    left: 150%;
  }
}

.atas::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
}

.middle {
  margin-top: 5px;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 55, 0.5),
    rgba(0, 8, 25, 0.95)
  );
  border-radius: 6px;
  overflow: hidden;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 25px rgba(0, 0, 0, 0.35);
}

.middlx {
  margin-top: 5px;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 55, 0.9),
    rgba(0, 8, 25, 0.95)
  );
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  overflow: hidden;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 25px rgba(0, 0, 0, 0.35);
}

.bawah {
  padding: 20px;
}

.bawahx {
  padding: 50px;
}

.bawahx h3 {
  font-family: "Becham", Verdana, Arial, Tahoma;
  font-size: 22px;
  text-align: center;
  color: #4477cc;
}

.bawahx p {
  padding: 50px;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: #eee;
}

/*=======================
BUTTON
=======================*/
button {
  -webkit-tap-highlight-color: transparent;
}

.tombol-kuning {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  color: #222;
  cursor: pointer;
  background: #f2ac18;
  font-family: "Bricolage", Verdana, Arial, Tahoma;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tombol-kuning:hover {
  transform: translateY(-2px);
  background: #df9d00;
}

.tombol-cyan {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background: #1e668c;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tombol-cyan:hover {
  background: #0b5d99;
  transform: translateY(-2px);
}

/* =========================
   BUTTON GLOBAL
========================= */

.btn {
  border: none;
  text-align: center;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: "Bricolage", Arial, Helvetica, sans-serif;
  cursor: pointer;
  margin: 5px;
  transition: 0.25s;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  font-size: 16px;
  letter-spacing: 0.8px;
  font-weight: 800;
  font-style: normal;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.btn-primary {
  color: #222;
  cursor: pointer;
  background: #f2ac18;
  font-family: "Bricolage", Verdana, Arial, Tahoma;
  transition: transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #df9d00;
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  background: #1e668c;
  transition: transform 0.25s ease;
}

.btn-secondary:hover {
  background: #0b5d99;
  transform: translateY(-2px);
}

/* =========================
   MOBILE
========================= */
@media screen and (max-width: 768px) and (orientation: landscape) {
  body {
    padding-bottom: 5px !important;
  }

  .middle {
    border-radius: 0;
  }

  .top {
    min-height: 40px;
    max-height: 50px;
    padding-left: 10px;
    border-radius: 0;
    justify-content: space-between;
    background:
      url("../img/icon/repeat-big.png") right center / contain no-repeat,
      linear-gradient(135deg, #00aef0, #0088ff);
    font-size: 20px;
    font-family: "Kondo", Verdana, Tahoma, sans-serif;
    font-weight: 800;
    font-style: normal;
  }

  .banner {
    display: flex;
    margin: 0 10px;
  }
}

/* =========================
   MOBILE
========================= */
@media screen and (max-width: 768px) and (orientation: portrait) {
  body {
    padding-bottom: 5px !important;
  }

  .top {
    min-height: 40px;
    max-height: 40px;
    padding-left: 10px;
    border-radius: 0;
    justify-content: center;
    background:
      url("../img/icon/repeat-small.png") right center / contain no-repeat,
      linear-gradient(135deg, #00aef0, #0088ff);
    font-size: 20px;
    font-family: "Kondo", Verdana, Tahoma, sans-serif;
    font-weight: 800;
    font-style: normal;
  }

  .banner {
    display: flex;
    margin: 10px;
    border-radius: 5px;
  }

  .middle {
    border-radius: 0;
  }
}

@media screen and (max-width: 480px) and (orientation: portrait) {
  .banner {
    display: none;
  }
  .middle {
    border-radius: 0;
  }
}

/* =================================
   CONTAINER ALERT BOX
   =============================== */
.alert-container {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* =================================
   STYLE UNTUK FUNGSI ALERT BOX
   =============================== */

.floating-alert {
  width: 460px;
  max-width: calc(100vw - 20px);
  min-height: 65px;
  padding: 0;
  display: flex;
  align-items: stretch;
  font-family: Arial, sans-serif;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* ====================
   PANEL ICON KIRI
   ================== */

.alert-icon {
  width: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-right: 1px solid #ccc;
  color: #fff;
}

/* SUCCESS */

.floating-alert.success {
  border: 1px solid #9ccc65;
  background-color: #7e9b5d;
}

.floating-alert.success .alert-icon {
  background: #6cc269;
}

.floating-alert.success .alert-title {
  color: #fff;
}

.floating-alert.success .alert-text {
  color: #fff;
}

/* ERROR */

.floating-alert.error {
  border: 1px solid #ccc;
  background-color: #101337;
}

.floating-alert.error .alert-icon {
  background: #6e72a6;
}

.floating-alert.error .alert-title {
  color: #ff0;
}

.floating-alert.error .alert-text {
  color: #fff;
}

/* WARNING */

.floating-alert.warning {
  border: 1px solid #aaa;
  background-color: #7090b4;
}

.floating-alert.warning .alert-icon {
  background: #644110;
}

.floating-alert.warning .alert-title {
  color: #fff;
}

.floating-alert.warning .alert-text {
  color: #fff;
}

/* INFO */

.floating-alert.info {
  border: 1px solid #42a5f5;
  background-color: #90caf9;
}

.floating-alert.info .alert-icon {
  background: #5b98ff;
}

.floating-alert.info .alert-title {
  color: #0d47a1;
}

.floating-alert.info .alert-text {
  color: #0d47a1;
}

/* ============================================================
   MESSAGE
   ============================================================ */

.alert-message {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  text-align: left;
  line-height: 1.25;
}

/* JUDUL */

.alert-title {
  margin-bottom: 1px;
  font-size: 20px;
  font-family: "Kondo", Becham, Tahoma, sans-serif;
  line-height: 24px;
  font-weight: 700;
  font-style: normal;
}

/* ISI PESAN */

.alert-text {
  font-size: 12px;
  line-height: 18px;
}

/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.alert-close {
  align-self: center;
  width: auto !important;
  flex-shrink: 0;
  margin: 0 16px 0 8px;
  padding: 7px 13px;
  background: linear-gradient(180deg, #77d42a 10%, #5cb811 100%);
  color: #111;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.alert-close:hover {
  background: linear-gradient(180deg, #5cb811 10%, #77d42a 100%);
  opacity: 0.85;
}

.alert-close:active {
  transform: scale(0.95);
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {
  .alert-container {
    top: 20px;
    width: calc(100% - 20px);
  }

  .floating-alert {
    width: 100%;
    min-height: 62px;
  }

  .alert-icon {
    width: 50px;
    min-width: 50px;
    font-size: 28px;
  }

  .alert-title {
    font-size: 18px;
    line-height: 20px;
  }

  .alert-text {
    font-size: 11px;
    line-height: 16px;
  }

  .alert-close {
    margin-right: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .alert-icon {
    width: 52px;
    min-width: 52px;
    font-size: 24px;
  }

  .alert-message {
    padding: 8px 6px;
  }

  .alert-title {
    font-size: 16px;
  }

  .alert-text {
    font-size: 10px;
  }

  .alert-close {
    margin-left: 4px;
    margin-right: 7px;
    padding: 5px 8px;
    font-size: 10px;
  }
}

/*=============
 SVG ICON
 ============*/

.icon.user {
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'>\
<path d='M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z'/>\
</svg>")
    no-repeat center;
}

/* LOCK ICON */
.icon.lock {
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'>\
<path d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/>\
</svg>")
    no-repeat center;
}

/* EMAIL ICON */
.icon.email {
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'>\
<path d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/>\
</svg>")
    no-repeat center;
}

@media (max-width: 375px) {
  .btn {
    border: none;
    text-align: center;
    padding: 8px 10px;
    border-radius: 4px;
    font-family: "Bricolage", Arial, Helvetica, sans-serif;
    cursor: pointer;
    margin: 5px;
    transition: 0.25s;
  }

  .btn-primary,
  .btn-secondary {
    padding: 8px 10px;
    font-size: 14px;
    letter-spacing: 0.8px;
    font-weight: 900;
    font-style: normal;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease;
  }
}
