/* HERO SECTION */
.heros {
    text-align: center;
    padding: 60px 20px;
    background: #e8f3ff;
}

.heros h1 {
    margin-bottom: 10px;
    font-size: 32px;
}

/* FILTER SECTION */
.filter-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    /* border: 1px red solid; */
}

.filter-section input,
.filter-section select {
    padding: 10px;
    width: 250px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 14px;
}

#btn-upload {
    color: white;
    background-color: #0056b3;
    padding: 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

#btn-upload:hover {
    background-color: #004490;
}

/* LIST MATERI */
.materi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 30px;
}

.materi-card {
    /* position: relative; */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    /* animation: zoomcard 1s ease forwards; */
    transition: 0.5s;
}

.materi-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.materi-card h3 {
    margin: 0 0 10px 0;
}

.materi-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.2s;
}

.deleteBtn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    outline: none;
    border: none;
    transition: 0.2s;
}

.materi-card a:hover, .deleteBtn:hover {
    background: #004490;
}

.thumb {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .filter-section {
        display: flex;
        justify-content: center;
        /* gap: 15px; */
        /* padding: 20px; */
        /* border: red 1px solid; */
    }

    .filter-section input,
    .filter-section select {
        /* padding: 10px; */
        width: 100px;
        border: 1px solid #bbb;
        border-radius: 5px;
        font-size: 14px;
    }
    #btn-upload {
    /* padding: 10px; */
    font-size: 0.8rem;
    width: 75px;
    }
}