/* =========================
FILE : materi-style.css
========================= */


/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
BODY + BACKGROUND
Ganti background sendiri
========================= */
body {
    font-family: Arial, sans-serif;
    color: #222;

    /* Background utama */
    background-image: url("background1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =========================
SECTION UTAMA
========================= */
.materi-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px 50px 60px;
    background: transparent;
}


/* =========================
NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}


/* =========================
LOGO AREA
========================= */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box img {
    width: 65px;
    height: auto;
}

.logo-text h3 {
    color: #288fd7;
    font-size: 22px;
    line-height: 1.2;
}


/* =========================
MENU AREA
========================= */
.menu-area {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-active,
.btn-outline {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-outline {
    border: 2px solid #288fd7;
    background: white;
    color: #288fd7;
}

.btn-active {
    background: #288fd7;
    color: white;
    border: 2px solid #288fd7;
}

.btn-icon {
    width: 18px;
    height: 18px;
}


/* =========================
JUDUL HALAMAN
========================= */
.title-section {
    display: flex;
    align-items: center; /* sejajarkan tengah */
    gap: 15px; /* jarak gambar & teks */
    margin-left: 10px;
    margin-bottom: 10px;
}

.title-section h1 {
    font-size: 62px;
    color: #288fd7;
}

.materi1-icon{
    width: 80px;
    margin-bottom: 35px;
}

.panduaninstrumen li{
    line-height: 20px;
}



/* CARD */

.gambarIconMateri1{
    width: 50px;
}

.card li{
    margin-left: 17px;
}
.card h3{
    font-size: 20px;
    color: #288fd7;
    margin-bottom: 10px;
}

.card h4{
    margin-top: 10px;
}

.note{
    font-size: 12px;
}
.card {
    width: 75%;
    margin: auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #2b7cff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}


/* 🔹 FOOTER */
footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.btnbluesmall{
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 10px 0;
    transition: 0.3s;
    padding: 8px 15px;
    font-size: 14px;
    background: #288fd7;
    color: white;
}

.btnbluesmall:hover{
    transform: translateY(-2px);
    opacity: 0.9;
}

.btnbluesmall a {
    text-decoration: none;
    color: white;
}

.btnbluesmall a:hover {
    color: white;
}





/* =========================
BUTTON KEMBALI
========================= */
.back-button-section {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-back {
    background: #084671;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
}

.btngreen {
    background: #6cc24a;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
}

.back-icon {
    width: 18px;
    height: 18px;
}


/* =========================
HOVER EFFECT
========================= */

.btn-outline:hover {
    background: #288fd7;
    color: white;
    transform: translateY(-2px);
}

.btn-outline:hover .btn-icon {
    filter: brightness(0) invert(1);
}

.btn-active:hover,
.btn-start:hover {
    background: #1f7fc2;
    transform: translateY(-2px);
}

.btn-back:hover {
    background: #063553;
    transform: translateY(-2px);
}

.btngreen:hover {
    background: #5BAE3F;
    transform: translateY(-2px);
}

.materi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(0,0,0,0.18);
}

/*NOTIF SELESAI*/

.notif {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    
    background: #4FA63A;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    
    opacity: 0;
    transition: 0.4s;
}

/* aktif */
.notif.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}