@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-main: 'Inter', 'Poppins', Arial, Helvetica, sans-serif;
  --font-header: 'Geologica', 'Montserrat', Arial, Helvetica, sans-serif;
  --color-bg: #f7f9fa;
  --color-text: #23272f;
  --color-soft: #677489;
  --color-primary: #2d5aff;
  --color-h1: #ee5530;
  --color-h2: #039977;
  --color-h3: #2d5aff;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
}

h1 {
  font-size: 2.9rem;
  color: var(--color-h1);
  margin-bottom: 0.5rem;
  border-bottom: 0px solid var(--color-primary);
  display: inline-block;
  padding-bottom: 0.2rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--color-h2);
  border-left: 4px solid var(--color-h2);
  padding-left: 0.6rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-h3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  color: var(--color-text);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

p.besar {
  font-size: 1.8rem;
}

.tebal {
  font-weight: bold;
  color: #800000; /* kode warna maroon */
}

.cardx {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 1.3rem;
  border-right: 6px solid var(--color-h1);
  border-bottom: 6px solid var(--color-h2);
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  color:black;
}

.cardtraining {
  background: #eee;
  border-radius: 0px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 1.3rem;
  border-left: 6px solid #05228a;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  color:black;
}

.cardx.fullx {
  background: #ccc;
}

.cardx.fiber {
  border-left-color: #f88804;
}

.cardx.mtcna {
  border-left-color: #206700;
}

.cardx.ruijie {
  border-left-color: #05228a;
}

.badge-full {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  background-color: #d10000;
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
}

/* CSS untuk Efek Polaroid */
.polaroid {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: transform 0.2s; /* Animasi saat hover */
}

.polaroid:hover {
    transform: scale(1.05) rotate(0deg); /* Sedikit membesar dan berputar saat disentuh mouse */
}

.polaroid img {
    width: 100%;
    height: auto;
}

.caption {
    text-align: center;
    padding-top: 1rem;
    font-family: 'Permanent Marker', cursive; /* Font yang mirip tulisan tangan */
    color: #333;
}

/* Menambahkan font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.6rem; }
  body { font-size: 1.3rem; }
}
