@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    --background: #0b1320;
    --section: #111727;
    --heading: #ffffff;
    --text: #7e7d79;
    --primary: #ffc107;
    --secondary: #000000;
    --shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;

    --background: #f1f1f1;
    --section: #fff;
    --heading: #000;
    --text: #7e7d79;
    --primary: #ffc107;
    --secondary: #000000;
    --shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;

    background-color: var(--background);
    font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    margin-bottom: 0;
}

p {
    color: var(--text);
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    pointer-events: none;
}

video {
    width: 100%;
}

ul {
    list-style: none;
    padding-left: 0;
}

form label {
    color: var(--heading);
}

form input {

    padding: 7px 14px;
    color: var(--heading);
    box-shadow: none;
}

form input:focus,
form input:active {
    border-radius: 7px;
    outline: none;
    box-shadow: none;
}

.box {
    padding: 28px;
    background-color: var(--section);
    border-radius: 7px;
    box-shadow: var(--shadow);
}

.scrollbar::-webkit-scrollbar {
    display: none;
}

.contain {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.left {
    width: 280px;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: var(--section);
    padding: 0 14px;
    box-shadow: var(--shadow);
}

.left .logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.left .logo .bi {
    color: var(--heading);
    margin-right: 14px;
    margin-left: 7px;
}

.left .logo h4 {
    color: var(--heading);
}

.left li {
    position: relative;
}

.left li .bi-chevron-down {
    position: absolute;
    top: 7px;
    right: 7px;
    color: var(--heading);
    cursor: pointer;
}

.left li a {
    display: block;
    color: var(--heading);
    font-size: 14px;
    padding: 7px;
}

.left li a:hover {
    background: var(--background);
}

.left li a .bi {
    margin-right: 16px;
}

.middle {
    padding: 3.5%;
}

/* ===== Schedule ===== */

.middle .data_schedule .box {
    display: grid;
    grid-template-columns: 3fr 3fr 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    border-radius: 0;
}

.middle .data_schedule .btn-link {
    color: var(--heading);
}

.middle .data_schedule .btn-sm {
    background-color: var(--primary);
    color: var(--secondary);
}

.middle .data_schedule .datetime {
    font-size: 14px;
}

/* ===== Audio ===== */

.middle .data_audio .box {
    display: grid;
    grid-template-columns: 3fr 3fr 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    border-radius: 0;
}

.middle .data_audio .btn-link {
    color: var(--heading);
}

.middle .data_audio .btn-sm {
    background-color: var(--primary);
    color: var(--secondary);
}

.middle .data_audio .locode {
    font-size: 14px;
}

.player-container {
    text-align: center;
}

.album-container {
    margin-bottom: 20px;
}

.album-art {
    width: 100%;
    max-width: 100px;
    border-radius: 50%;
    transition: transform 1s linear;
}

.album-art.rotated {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.song-info h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.song-info p {
    font-size: 14px;
    color: var(--heading);
}

.controls {
    margin: 15px 0;
}

.controls button {
    background: none;
    border: none;
    color: var(--heading);
    font-size: 28px;
    margin: 0 10px;
    cursor: pointer;
    transition: color 0.2s;
}

.controls button:hover {
    color: var(--primary);
}

.progress-container {
    width: 100%;
    background: #333;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin: 5px 0 15px;
    color: var(--heading);
}

.playlist {
    max-height: 360px;
    overflow: scroll;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

.playlist li {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222222;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    transition: background 0.2s;
}

.playlist li:hover {
    background: var(--primary);
    color: #000000;
}

.playlist li.active {
    background: var(--primary);
    color: #000000;
}

.playlist li .bi-play {
    font-size: 24px;
    margin-right: 24px;
}



/* ===== Meeting ===== */

.middle .meeting {
    min-height: calc(100vh - 74.968px);
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ===== Search ===== */

.middle .search_book input {
    background-color: var(--background);
    color: var(--heading);
}

.middle .search_book input:focus,
.middle .search_book input:active {
    background-color: var(--background);
    color: var(--heading);
}

.middle .search_book input::placeholder {
    color: var(--text);
}


/* ===== Book ===== */

.middle .book_show img {
    width: 21%;
    border-radius: 50%;
    margin-bottom: 28px;
}

.middle .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 21px;
}

.middle .gallery img {
    border-radius: 7px;
}

/* === Trigger === */

.trigger {
    width: 100%;
    height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: var(--section);
    display: none;
}

@media (max-width:576px) {

    .contain {
        display: grid;
        grid-template-columns: 1fr;
    }

    .left {
        width: 60%;
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 9;
        transition: 0.3s ease-in-out;
    }

    .left.active {
        left: 0;
    }

    .trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .trigger .bi {
        font-size: 20px;
        cursor: pointer;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 8;
        display: none;
    }

    .overlay.active {
        display: block;
    }

    .middle .gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* ===== NO LOGIN ===== */

/* === Home === */

.navbar {
    width: 100%;
    min-height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    text-align: center;
}

.navbar .logo img {
    width: 42px;
    border-radius: 50%;
    margin-bottom: 6px;
}

.navbar .logo p {
    font-size: 10px;
    margin-bottom: 0;
    color: #fff !important;
}

.navbar .bi {
    font-size: 24px;
    cursor: pointer;
    color: #fff !important;
}

#navbar.scrolled .logo p {
    color: #000 !important;
}

#navbar.scrolled .bi {
    color: #000 !important;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: 0.3s ease;
}

@media (max-width: 576px) {

    .navbar {
        position: sticky;
        background-color: rgba(255, 255, 255, 0.185);
    }

    .navbar .logo img {
        width: 30px;
        border-radius: 50%;
        margin-bottom: 6px;
    }

    .navbar .logo p {
        font-size: 8px;
        margin-bottom: 0;
        color: #000 !important;
    }

    .navbar .bi {
        color: #000 !important;
    }

}



.modal .modal-content {
    background: rgba(168, 168, 168, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal .modal-content input {
    background: rgba(168, 168, 168, 0.411);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.modal .modal-content input::placeholder {
    color: #dfdfdf;
}

.modal .modal-content button {
    color: #fff;
}



/* Sidebar */

.sidebar {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    padding: 0 30px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: var(--section);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: translateX(-100%);
    opacity: 0;
}

/* Sidebar aktif (muncul) */

.sidebar.active {
    transform: translateX(0);
    opacity: 1;
}

.sidebar .head {
    height: 80px;
    display: flex;
    justify-content: start;
    align-items: center;
    color: var(--heading);
    margin-right: 12px;
    cursor: pointer;
}

.sidebar .head .bi {
    color: var(--heading);
}

.sidebar .menu a {
    display: block;
    padding: 16px;
    font-size: 16px;
    color: var(--heading);
    text-align: right;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease-out;
}

/* Animasi saat masuk */

.sidebar.active .menu a {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.active .menu a:nth-child(6) {
    transition-delay: 0.3s;
}

.sidebar.active .menu a:nth-child(5) {
    transition-delay: 0.6s;
}

.sidebar.active .menu a:nth-child(4) {
    transition-delay: 0.8s;
}

.sidebar.active .menu a:nth-child(3) {
    transition-delay: 1s;
}

.sidebar.active .menu a:nth-child(2) {
    transition-delay: 1.3s;
}

.sidebar.active .menu a:nth-child(1) {
    transition-delay: 1.5s;
}

/* Animasi saat keluar */

.sidebar.closing .menu a {
    opacity: 0;
    transform: translateX(-20px);
}

.sidebar.closing .menu a:nth-child(1) {
    transition-delay: 0s;
}

.sidebar.closing .menu a:nth-child(2) {
    transition-delay: 0.2s;
}

.sidebar.closing .menu a:nth-child(3) {
    transition-delay: 0.4s;
}

.sidebar.closing .menu a:nth-child(4) {
    transition-delay: 0.6s;
}

.sidebar.closing .menu a:nth-child(5) {
    transition-delay: 0.8s;
}

.sidebar.closing .menu a:nth-child(6) {
    transition-delay: 1s;
}



.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.5);
}

.hero .text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20%;
}

.hero .text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero .text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff !important;
}

.hero .btn {
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
}



.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 3s ease-out infinite;
    animation-delay: 1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.home .about {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 48px;
}



.home .book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.home .book-grid .book-item .title {
    height: 50px;
    overflow: hidden;
}

.home .audio .item {
    display: grid;
    grid-template-columns: 1fr 10fr;
    gap: 28px;
    align-items: center;
}

.home .gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.home .video video {
    width: 100%;
}


@media (max-width: 576px) {

    .hero {
        position: relative;
        height: 50vh;
        overflow: hidden;
    }

    .hero video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 0;
        transform: translate(-50%, -50%);
        object-fit: cover;
        filter: brightness(0.5);
    }

    .hero .text {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--heading);
        text-align: center;
        padding: 0 10%;
    }

    .hero .text h1 {
        font-size: 24px;
        margin-bottom: 1rem;
    }

    .hero .text p {
        font-size: 12px;
        margin-bottom: 1.5rem;
        color: var(--heading);
    }

    .hero .btn {
        padding: 7px 28px;
        font-size: 14PX;
    }

    .home .box {
        padding: 2.5%;
    }

    .home h4 {
        font-size: 16px;
    }

    .home h5 {
        font-size: 14px;
    }

    .home p {
        font-size: 13px;
    }

    .home a {
        font-size: 13px;
    }

    .home .about {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home .book-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home .book-grid .book-item .title {
        height: 28px;
    }

    .home .about .img {
        text-align: center;
    }

    .home .about img {
        width: 100%;
    }

    .home .audio .item {
        grid-template-columns: 1fr 8fr;
        gap: 28px;
    }

    .home .video video {
        width: 100%;
    }

    .home .gallery-item {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: center;
    }
}




/* === Auth === */

.auth {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
}

.auth .item {
    width: 40%;
}

.auth .logo {
    text-align: center;
}

.auth .logo img {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.auth .logo h6 {
    font-size: 14px;
    color: var(--heading);
}

@media (max-width: 678px) {

    .auth .item {
        width: 90%;
    }
}




/* === JOIN LOGIN REGISTER === */

.me_auth {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
}

.me_auth form label {
    color: var(--heading);
}

.me_auth h4 {
    color: var(--heading);
}

.me_auth .item {
    width: 40%;
}

.me_auth .contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.me_auth .contact .box {
    padding: 7px 21px;
}

.me_auth .contact .box img {
    width: 50px;
    margin-right: 21px;
}

.me_auth .contact .box a {
    color: var(--heading);
    font-size: 20px;
}

@media (max-width: 678px) {

    .me_auth .item {
        width: 90%;
    }
}


.f_user_create {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
}

.f_user_create .item {
    width: 50%;
}

.f_user_create .item .head img {
    width: 50px;
    margin-right: 24px;
}

.f_user_create .item .head h5,
.f_user_create .item .head p {
    margin-bottom: 0;
}

.f_user_create .button {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary);
    color: var(--secondary);
}

@media (max-width: 678px) {
    .f_user_create .item {
        width: 95%;
    }
}