.bodyhome{
    margin: 20px;
    padding: 30px;
    background-image: url('img/hero-bg.jpg');
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

*{
    font-family: sans-serif;
    box-sizing: border-box;
}

.wrapper{
    width: 1100px;
    margin: auto;
    position: relative;
}

.admn{
    margin: 20px;
    padding: 30px;
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
}

.logo a{
    font-weight: bold;
    float: left;
    font-size: 30px;
    color: white;
    font-family: 'Times New Roman', Times, serif;
}

.menu{
    float: right;
}

.tmpl-awal {
    margin: auto;
    display: flex;
    margin-bottom: 50px;
}

.kolom{
    margin-top: 50px;
    margin-bottom: 50px;
}
.deskripsi {
    margin-top: 40px;
    font-size: 35px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    color: white;
}

h2{
    font-family: 'Times New Roman', Times, serif;
    font-weight: 800;
    font-size: 45px;
    margin-bottom: 20px;
    color: white;
    width: 100%;
    line-height: 50px;
}

section img{
    margin-top: 25px;
    margin-right: 100px;
    width: 380px;
}

nav{
    width: 95%;
    margin: auto;
    display: flex;
    line-height: 85px;
    top: 0;
    background-color: rgba(211, 211, 211, 0.2);
    background-size: cover;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav ul li{
    float: left;
}

nav ul li a{
    color: white;
    font-size: 21px;
    text-align: center;
    padding: 0px 16px 0px 16px;
    text-decoration: none;
}

nav ul li a:hover{
    text-decoration: underline;
    color: black;
}

form{
    width: 500px;
    padding: 30px;
    background: rgb(25, 89, 62);
    border-radius: 15px;
}

h2{
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

input{
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}

label{
    color: white;
    font-size: 18px;
    padding: 10px;
}

button{
    float: right;
    background: white;
    padding: 10px 15px;
    color: rgb(25, 89, 62);
    border-radius: 5px;
    margin-right: 12px;
    border: none;
}

button:hover{
    background: rgb(19, 69, 42);
    cursor: pointer;
    color: white;
}

.error{
    background: #F2DEDE;
    color: #A94442;
    padding: 10px;
    width: 95%;
    border-radius: 5px;
}

.body-admin{
    margin-top: 50px;
    justify-content: center;
    align-items: center;
    height: 5vh;
}

.headerkab{
    background-image: url('img/hero-bg.jpg');
    padding: 30px;
    justify-content: center;
    align-items: center;
}

/* Style CSS table kategori */
.table-kat{
    background-color: white;
    margin-top: 40px;
    width: 1350px;
    margin: auto;
    position: relative;
}

.table-prov{
    background-color: white;
    margin-top: 40px;
    width: 1350px;
    margin: auto;
    position: relative;
}

.table-objek{
    background-color: white;
    margin-top: 40px;
    width: 1350px;
    margin: auto;
    position: relative;
}

.table-admin{
    background-color: white;
    margin-top: 40px;
    width: 1350px;
    margin: auto;
    position: relative;
}

.saveprov:hover{
    background-color: rgb(72, 226, 131);
    cursor: pointer;
}

.save-admin:hover{
    background-color: rgb(72, 226, 131);
    cursor: pointer;
}

table{
    align-items: center;
    margin-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td{
    height: 25px;
    padding: 8px;
}

a.tambah-data{
    background: rgb(19, 69, 42,0.8);
    border-radius: 5px;
    padding: 10px 20px 10px 20px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    margin-left: 220px;
}

.bodykat{
    margin-top: 50px;
    justify-content: center;
    align-items: center;
    height: 5vh;
}


.modal-header{
    font-size: 15px;
}

.formkat{
    margin-top: 50;
    width: 500px;
    padding: 30px;
    background: rgb(25, 89, 62);
    border-radius: 15px;
    height: 20vh;
}


.cancel{
    background-color: rgb(25, 89, 62);
    color: white;
    margin-top: 50px;
    align-items: center;
    width: 500px;
}

.cancel:hover{
    background: rgb(25, 89, 62,0.8);
    cursor: pointer;
}

.savekat:hover{
    background-color: rgb(72, 226, 131);
    cursor: pointer;
}

.formkab{
    margin-top: 50;
    width: 500px;
    padding: 30px;
    background: rgb(25, 89, 62);
    border-radius: 15px;
    height: 28vh;
}

footer{
    padding: 30px 0;
    background-color: rgb(41, 131, 93);
    color: #fff;
    text-align: center;
    font-size: 18px;
}

/* Style CSS Edit_provinsi */
.edit-prov{
    margin: 0;
    padding: 0;
    background: #f4f6f9;
    font-family: Arial, Helvetica, sans-serif;
}

/* Box form edit */
.edit-prov div{
    width: 800px;
    background: white;
    margin: 80px auto;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
}

/* Judul */
.edit-prov h2{
    margin-bottom: 25px;
    color: #333;
}

/* Input text */
.edit-prov input[type=text]{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: 0.3s;
}

/* Efek focus input */
.edit-prov input[type=text]:focus{
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76,175,80,0.4);
}

/* Tombol update */
.edit-prov input[type=submit]{
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

/* Hover tombol */
.edit-prov input[type=submit]:hover{
    background: #45a049;
}

.form-tambahobjek select{
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-tambahobjek textarea{
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-tambahobjek input {
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.judul-form{
    text-align: center;
    color: #205022;
    margin-bottom: 20px;
}

.table-prov,
.table-kat,
.table-objek,
.table-admin{
    width:95%;
    margin:20px auto;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.tbl-admin{
    width:100%;
    min-width:600px;
    border-collapse:collapse;
    background:#fff;
    border-radius:8px;
    overflow:hidden;

}

.tbl-admin th{

    background:rgb(19,69,42);
    color:white;
    padding:12px;

}

.tbl-admin td{

    padding:10px;
    border-bottom:1px solid #ddd;
    text-align:center;

}

.tbl-admin tr:nth-child(even){

    background:#f7f7f7;

}

.tbl-admin tr:hover{

    background:#eef8ef;

}

/* ===========================
   Responsive Android
=========================== */
@media screen and (max-width:768px){

    .admn{
        margin:0;
        padding:0;
        background-position:center;
        background-size:cover;
    }

    .wrapper{
        width:100%;
        padding:0 15px;
        box-sizing:border-box;
    }

    nav{
        width:100%;
        display:block;
        line-height:normal;
        text-align:center;
        padding:15px 0;
    }

    .logo{
        margin-bottom:15px;
    }

    .logo a{
        float:none;
        font-size:28px;
    }

    .menu{
        float:none;
    }

    .menu ul{
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
        padding:0;
    }

    .menu ul li{
        float:none;
        margin:5px;
    }

    .menu ul li a{
        font-size:14px;
        padding:6px 10px;
    }

    .tmpl-awal{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        margin-top:20px;
    }

    .tmpl-awal img{
        width:80%;
        max-width:250px;
        height:auto;
        margin:20px auto;
    }

    .deskripsi{
        font-size:20px;
        font-weight:bold;
    }

    h2{
        font-size:30px;
        line-height:38px;
    }

    footer{
        padding:15px;
        font-size:12px;
        text-align:center;
    }

    .menu ul{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }

    .tambahprov{
        width:95%;
        margin:auto;
        text-align:center;
    }

    .tambahprov h2{
        font-size:24px;
    }

    .tambah-data{
        display:inline-block;
        margin:15px 0;
        padding:10px 18px;
        font-size:14px;
    }

    .table-prov{
        width:100%;
        padding:10px;
        overflow-x:auto;
    }

    .tbl-provinsi{
        min-width:500px;
    }

    .tbl-provinsi th,
    .tbl-provinsi td{
        font-size:14px;
        padding:10px;
    }

    .table-kat{

        width:100%;
        overflow-x:auto;
        padding:10px;

    }

    .tbl-admin{

        min-width:500px;

    }

    .tbl-admin th,
    .tbl-admin td{

        font-size:14px;
        padding:10px;

    }

}

.link {
    display: flex;
    justify-content: center;
    gap: 5px;
}
.btn-edit,
.btn-hapus {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    cursor: pointer;
}

/* Tombol Edit */
.btn-edit {
    background-color: #3498db;
}
.btn-edit:hover {
    background-color: #217dbb;
}
/* Tombol Hapus */
.btn-hapus {
    background-color: #e74c3c;
}
.btn-hapus:hover {
    background-color: #c0392b;
}