@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Tittle */
.head {
    color: #fff;
    background: linear-gradient(160deg, #2e59d9, #7d94da);
    padding: 20px 40px;
}

h3 {

    font-weight: 600;
}

/* FORM */
form {
    margin-top: 10px;
    background-color: #fff;
}


/* MAIN-PAGE */
.judul-utama {
    display: grid;
    place-items: center;
    height: 80vh;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}


/* INDEX-PAGE */
.links {
    list-style-type: none;
}

.links li {
    display: inline;
    width: 100%;
    margin: 5px 0 7px 0;
    text-align: left;
}

.links li .nav-item {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    color: #7c7c7c;
    text-decoration: none;
    transition: .3s;
}

.links li .nav-item:hover {
    color: blue !important;
    border-left: 3px solid rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
}

.nav-item {
    border-left: 3px solid rgba(0, 0, 255, 0);
    transition: .3s;
}

.nav-item:hover {
    background-color: #2b51c2;
}

.nav-item.active {
    color: rgb(255, 255, 255) !important;
    font-weight: bold;
    background-color: rgba(0, 34, 129, 0.185);
    border-left: 3px solid rgb(255, 255, 255);
}

.menu a {
    border-left: 3px solid rgb(139, 139, 139);
}

.menu a:hover {
    color: rgb(255, 255, 255) !important;
    border-left: 3px solid rgb(0, 0, 0);
}


/* MENU - BERANDA */
.data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center center;
    height: 80vh;
}


/* MENU - DASAR HUKUM */
.container {
    display: grid;
    place-items: center center;
    height: 80vh;
    margin: auto;
}


/* DESIGN TABEL DATA */
table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(0, 0, 0, 0.26);
}

table thead tr th {
    padding: 10px 20px;
    color: #fff;
    text-align: left;
    background-color: #333;
}

table tbody tr td {
    width: max-content;
    padding: 10px 20px;
    text-transform: capitalize;
}

table tbody tr:nth-child(even) {
    background-color: #f0eeff;
}

.content {
    margin-left: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    /* jarak antara ikon dan teks */
    color: #fff !important;
}

.nav-link i {
    font-size: 18px;
    width: 25px;
}