body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #63AFBD;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.bg-base-body {
    background: #63AFBD;
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Ensure it takes at least the full viewport height */
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
.bg-navbar {
    width: 100%;
    /* Make the navbar take the full width */
    height: 86px;
    background-color: #63AFBD;
    position: fixed;
    z-index: 100;
}

.navbar {
    width: 100%;
    height: 71px;
    background-color: #FFF;
    margin-top: 15px;
    display: flex;
    align-items: center;
    /* Align items vertically in the center */
    justify-content: space-between;
    /* Space out items evenly */
    padding: 0 85px;
    /* Add padding for spacing */
    box-sizing: border-box;
    gap: 15px;
    position: fixed;
    z-index: 100;
}

/* Apply styles to the select element */
select.corner-lib {
    border: none;
    /* Removes the border */
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    color: #63AFBD;
    text-align: center;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    cursor: pointer;
    /* Change cursor to pointer */
    margin-left: -45px;
}

/* Add a custom dropdown arrow */
select.corner-lib::after {
    content: '\25BC';
    /* Unicode character for down arrow */
    position: absolute;
    right: 10px;
    pointer-events: none;
    /* Allows clicking through the arrow */
}

/* Optional: style the container to position the custom arrow */
.select-container {
    position: relative;
    display: inline-block;
}

/* Remove outline on focus */
select.corner-lib:focus {
    outline: none;
}

.corner {
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #63AFBD;
    min-width: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    margin: 90px 0px 0px 0px;
    border-radius: 5px;
}

.dropdown-content a {
    color: #3EB9F7;
    padding: 0px 15px;
    text-decoration: none;
    display: block;
    height: 25px;
}

.dropdown-content a:hover {
    background-color: yellow;
    border-radius: 10px;
}

.show {
    display: block;
}

/* SEARCH */
.search-bar {
    display: flex;
    align-items: center;
    width: 639px;
    height: 43px;
    background: #E4E4E4;
    border: 0px solid #0D344B;
    border-radius: 30px;
    overflow: hidden;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 100%;
    background: #E4E4E4;
    margin-left: 83%;
}

.submit-src {
    border: none;
    background: #E4E4E4;
    cursor: pointer;
}

.search-bar input {
    height: 100%;
    width: 245%;
    border: none;
    padding: 0 20px;
    border-radius: 30px 0 0 30px;
    background: #E4E4E4;
    outline: none;
    font-family: Montserrat;
    font-size: 20px;
    color: #63AFBD;
    /* Text color */
}

.search-bar input::placeholder {
    color: #63AFBD;
    /* Placeholder color */
}

/* NAVIGATOR */
.navigator {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navigator a {
    text-decoration: none;
}

.navigator p {
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
}

.home {
    color: #63AFBD;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.login {
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    width: 65px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #FFFEFE;
    background: #63AFBD;
    margin-right: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    line-height: normal;
}

.login a p {
    margin: 0;
    padding: 0;
}

/* CONTENT */
.main {
    background-image: url('../img/catalog/bg-catalog.png');
    height: 1400px;
    margin-top: 80px;
    background-size: cover;
}

.content {
    width: 1360px;
    height: 1155px;
    grid-template-columns: 0.5fr 3fr;
    display: grid;
}

/* SIDEBAR */
.sidebar {
    width: 115px;
    height: 385px;
    flex-shrink: 0;
    border-radius: 50px;
    border: 1px solid #63AFBD;
    margin-left: 60px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* Adjust the gap between icons as needed */
}

.sidebar a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
}

.sidebar a img {
    height: 100%;
    /* Adjust based on the actual icon size */
    object-fit: cover;
}

.perpustext {
    color: #63AFBD;
    text-align: center;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 15px;
}

.ebooktext {
    color: #63AFBD;
    text-align: center;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 15px;
}

.umkmtext {
    color: #63AFBD;
    text-align: center;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 0;
}

.front-sidebar {
    z-index: 1;
}

.box-bg {
    width: 211px;
    height: 120px;
    position: absolute;
    border-radius: 20px;
    background: #FFF;
    z-index: 0;
    margin-bottom: 235px;
    margin-left: 70px;
}

/* DETAIL */
.detailframe {
    grid-template-columns: 1fr 3fr;
    display: grid;
    border-radius: 20px;
    background: #63AFBD;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 1100px;
    height: 750px;
    z-index: 1;
    margin-top: 15px;
}

.title-detail {
    color: #FFF;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    margin: 20px 0px 0px 50px;
}

.picbook {
    margin-top: 10px;
    margin-left: 50px;
}

.photobook img {
    width: 200px;
    height: 280px;
    margin: 10px 10px 0px 10px;
}

.title-book {
    color: #FFF;
    font-family: MMontserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.name-author {
    color: #FFF;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.status {
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.book-desc {
    grid-template-columns: 2fr 2fr;
    display: grid;
}

.desc-1 {
    margin-bottom: -20px;
}

.desc-2 {
    margin-bottom: -20px;
}

.desc-3 {
    margin-bottom: -20px;
}

.desc-4 {
    margin-bottom: -20px;
}

.detail-2 p {
    color: #FFF;
    font-family: Montserrat;
    padding: 10px;
}

/* Add the following CSS to style the white line */
.white-line {
    border: none;
    /* Remove default border style */
    background-color: white;
    /* Set the color to white */
    margin: -20px 0 0 12px;
    /* Adjust the margin as needed */
    width: 715px;
    height: 1px;
}

.sb {
    width: 145px;
    height: 33px;
    border-radius: 10px;
    border: 2px solid #fff;
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Center items vertically */
    justify-content: center;
    margin-top: 7px;
}

.sb-none {
    width: 145px;
    height: 33px;
    border-radius: 10px;
    border: 2px solid yellow;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
}

.wa-disabled {
    width: 145px;
    height: 35px;
    border-radius: 10px;
    background-color: #17a2b8;
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Center items vertically */
    justify-content: center;
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    margin-top: 7px;
}

.chatwa {
    margin-left: 2px;
    max-width: 30px;
}

/* POP UP PINJAM */
.popup-form {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 425px;
    border-radius: 20px;
    background: #1C7EA5;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.success-popup-form {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    border-radius: 20px;
    background: #1C7EA5;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.popup-form h2 {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 25px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.success-popup-form h2 {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 25px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.popup-form p {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 40px;
}

.success-popup-form .center-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-image-container img {
    max-width: 100%;
    max-height: 100%;
}

.popup-form input[type="text"],
.popup-form input[type="date"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
}

.popup-form .close-btn {
    position: absolute;
    right: 15px;
    top: 0px;
    cursor: pointer;
    font-size: 50px;
    color: #fff;
}

.popup-form .submit-btn {
    position: absolute;
    background-color: #4CAF50;
    color: white;
    padding: 0px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    height: 40px;
    margin: 220px 0px 0px 230px;
    display: block;
    font-size: 20px;
}

.success-popup-form .ok-btn {
    position: absolute;
    background-color: #7CFF00;
    color: white;
    padding: 0px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    height: 40px;
    margin: 30px 0px 0px 275px;
    display: block;
    font-size: 20px;
}

form {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Membagi form menjadi 2 kolom dengan lebar yang sama */
    grid-gap: 10px;
    /* Jarak antara grid items */
    width: 100%;
    max-width: 600px;
    /* Atur lebar maksimum form sesuai kebutuhan */
    margin: 0 auto;
    /* Pusatkan form secara horizontal */
}

form label {
    color: #fff;
    margin-bottom: 8px;
}

.input_borrow {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    /* Biarkan input mengisi lebar grid item */
    box-sizing: border-box;
    /* Pastikan padding tidak mempengaruhi lebar total */
}

.labelborrow {
    margin-top: 10px;
    color: #fff;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/*  */

.rentbutton {
    text-decoration: none;
    background-color: transparent;
    color: #fff;
    width: 177px;
    height: 35px;
    border-radius: 10px;
    border-color: #fff;
    background-color: #17a2b8;
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Center items vertically */
    justify-content: center;
    margin-top: 2px;
    cursor: pointer;
}

.rentbutton:hover {
    text-decoration: none;
    /* Menghilangkan garis bawah pada teks saat dihover */
    background-color: #127a8e;
    /* Ubah warna latar belakang saat dihover */
    border-color: #127a8e;
    /* Ubah warna border saat dihover */
}

.rentbutton:hover span {
    text-decoration: none;
    /* Menghilangkan garis bawah pada teks saat dihover */
}

/* BOX REKOMENDASI */
.frame-container-wrapper {
    width: 100%;
    overflow: hidden;
}

.frame-container {
    gap: 20px;
    display: flex;
    transition: transform 0.3s ease-in-out;
    margin: 0px 25px 25px;
}

.frame-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
}

.frame-card:hover {
    transform: scale(1.02);
    /* Scale up on hover */
}

.frame-card-link {
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Inherit text color */
    /* display: block; */
    flex: 0 0 17%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
}

.frame-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    /* Ensure link fills the card */
}

.img-p {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.name-book {
    color: #000;
    font-family: Montserrat;
    font-size: 16px;
    margin-top: 10px;
    font-weight: bold;
}

.name-author {
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    margin-top: 5px;
}

.status {
    font-size: 12px;
    margin-top: 5px;
    color: #888888;
}

.other-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.other-btn.other-btn-1 {
    left: 25px;
}

.other-btn.other-btn-2 {
    right: 25px;
}

.title-rec {
    color: #FFF;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 25px 0px 15px 25px;
}

.recomend {
    display: grid;
    grid-template-columns: 0.5fr 3fr;
    position: relative;
    margin-top: -570px;
}

.box-2 {
    width: 1100px;
    height: 500px;
    border-radius: 20px;
    background: #63AFBD;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    /* Add this line to position arrows */
}

.box-4 {
    width: 1100px;
    height: 270px;
    border-radius: 20px;
    background: #63AFBD;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    position: relative;
    /* Add this line to position arrows */
}

/* Styles for the arrow icons */
.box-2 i,
.box-4 i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    /* Adjust the size as needed */
    color: white;
    /* Adjust the color */
}

.box-2 .fas.fa-arrow-left {
    left: 20px;
    /* Adjust the position */
}

.box-2 .fas.fa-arrow-right {
    right: 20px;
    /* Adjust the position */
}

.box-4 .fas.fa-arrow-left {
    left: 20px;
    /* Adjust the position */
}

.box-4 .fas.fa-arrow-right {
    right: 20px;
    /* Adjust the position */
}

/* FOOTER */
.footer {
    height: 278px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    margin-top: 20px;
    background-color: #63AFBD;
}

.linked {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    /* Adjust gap between columns as needed */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    margin-top: 35px;
    color: #FFF;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.linked a,
.linked p {
    margin: 5px 0;
}

.linked a {
    color: #FFF;
    text-decoration: none;
    /* Remove underline */
}

.linked a:hover {
    color: #FFF;
    /* Ensure hover color stays white */
    text-decoration: underline;
    /* Optional: underline on hover */
}

.callfot img {
    width: 30px;
    /* Adjust icon size as needed */
}

.copyright {
    text-align: center;
    color: #FFF;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top: 30px;
}

.copy {
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px), (max-width: 840px), (max-width: 768px) {
    .detailframe {
        width: 880px;
        height: 750px;
        z-index: 1;
        margin-top: -390px;
        margin-left: 125px;
    }

    .photobook img {
        width: 150px;
        height: 195px;
        margin: 10px 10px 0px 10px;
    }

    .content {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        padding: 10px;
    }

    select.corner-lib {
        margin-left: 20px;
        font-size: 20px;
    }

    .logo-nav img {
        margin-left: -50px;
    }

    .navigator {
        margin-right: -60px;
    }

    .sidebar {
        position: unset;
        left: 0;
        top: 0;
        width: 100px;
        height: 300px;
        z-index: 1;
        margin-left: 15px;
    }

    .sidebar a img {
        width: 65%;
    }

    .catalog {
        margin: -385px 30px 0px 200px;
    }

    .frame-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .frame-card {
        padding: 8px;
    }

    .title-catalog {
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }

    .box-2 {
        width: 880px;
        height: 500px;
        margin-top: 20px;
        margin-left: 125px;
    }

    .recomend h1 {
        font-size: 15px;
    }

    .box-bg {
        width: 160px;
        height: 90px;
        margin-bottom: 190px;
        margin-left: 45px;
    }

    .detailframe {
        width: 630px;
        height: 750px;
        z-index: 1;
        margin-top: -325px;
        margin-left: 110px;
    }

    .detail-2 {
        width: 450px;
        height: 750px;
        margin-left: -20px;
        margin-top: 10px;
    }

    .photobook img {
        width: 100px;
        height: 140px;
        margin: 10px 10px 0px 10px;
    }

    .box-2 {
        width: 630px;
        height: 500px;
        margin-top: 0px;
        margin-left: 104px;
    }

    .detail-2 h2 {
        font-size: 15px;
    }

    .detail-2 h1 {
        font-size: 20px;
    }

    .sipnopsis, .detailbook {
        font-size: 10px;
    }

    .stasusbook, .rentbutton {
        font-size: 10px;
    }

    .sb {
        width: 100px;
    }

    .linked {
        width: 70%;
    }

    .sipnopsis-desc{
        width: 300px;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 60%;
        margin: 5px auto;
        gap: 3px;
        height: 100%;
    }
    .perpus{
        margin: 0px 0px 0px -35px;
        width: 100px;
    }
    .ebook{
        margin: -97px 0px 0px 55px;
        width: 100px;
    }
    .umkm{
        margin: -95px 0px 0px 150px;
        width: 100px;
    }
    .box-bg {
        width: 105px;
        height: 180px;
        margin-bottom: -100px;
        margin-left: -222px;
    }
    .detailframe {
        width: 550px;
        height: 750px;
        z-index: 1;
        margin-top: 20px;
        margin-left: 0px;
    }
    .detail-2{
        width: 450px;
        height: 750px;
        margin-left: -20px;
        margin-top: 10px;
    }
    .photobook img {
        width: 75px;
        height: 100px;
        margin: 25px 10px 0px 10px;
    }
    .content {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        padding: 10px;
    }
    select.corner-lib {
        margin-left: 20px;
        font-size: 15px;
    }
    .logo-nav img{
        margin-left: -50px;
    }
    .navigator {
        margin-right: -60px;
    }
    .catalog {
        margin: -385px 30px 0px 200px;
    }
    .frame-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .frame-card {
        padding: 8px;
    }
    .box-2 {
        width: 540px;
        height: 500px;
        margin-top: 50px;
        margin-left: 0px;
    }
    .detail-2 h2{
        font-size: 15px;
    }
    .detail-2 h1{
        font-size: 20px;
    }
    .sipnopsis, .detailbook{
        font-size: 10px;
    }
    .stasusbook, .rentbutton{
        font-size: 10px;
        width: 130px;
    }
    .sb{
        width: 100px;
    }
    .linked{
        width: 100%;
    }
    .sipnopsis-desc{
        width: 300px;
    }
    .recomend h1 {
        font-size: 15px;
    }
}

@media (max-width: 430px), (max-width: 400px), (max-width: 375px)  {
    .logo-nav a img{
        margin-left: 10px;
        width: 3em;
    }
    .navbar {
        padding: 0 15px;
        gap: 10px;
    }
    .navigator p {
        font-size: 13px;
        margin-bottom: 5px;
        padding: 5px;
    }
    .navigator a {
        font-size: 14px;
    }
    .navigator {
        display: block;
    }
    .sidebar {
        width: 70%;
        margin: 5px auto;
        gap: 3px;
        height: 100%;
    }
    .perpus{
        margin: 0px 0px 0px -35px;
        width: 100px;
    }
    .ebook{
        margin: -97px 0px 0px 55px;
        width: 100px;
    }
    .umkm{
        margin: -95px 0px 0px 150px;
        width: 100px;
    }
    .box-bg {
        width: 105px;
        height: 180px;
        margin-bottom: -100px;
        margin-left: -222px;
    }
    .detailframe {
        width: 360px;
        height: 750px;
        z-index: 1;
        margin-top: 20px;
        margin-left: 0px;
    }
    .detail-2 {
        width: 410px;
        height: 750px;
        margin-left: -85px;
        margin-top: 125px;
    }
    .photobook img {
        width: 75px;
        height: 100px;
        margin: 25px 10px 0px 30px;
    }
    .content {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        padding: 10px;
    }
    select.corner-lib {
        margin-left: -8px;
        font-size: 14px;
    }
    .logo-nav img{
        margin-left: -50px;
    }
    .catalog {
        margin: -385px 30px 0px 200px;
    }
    .frame-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .frame-card {
        padding: 8px;
    }
    .box-2 {
        width: 360px;
        height: 430px;
        margin-top: 50px;
        margin-left: 0px;
    }
    .detail-2 h2{
        font-size: 15px;
    }
    .detail-2 h1{
        font-size: 20px;
        width: 360px;
    }
    .sipnopsis, .detailbook{
        font-size: 10px;
    }
    .stasusbook, .rentbutton {
        font-size: 10px;
        width: 100px;
        margin: 50px 0px 0px -125px;
        padding: 1px;
    }
    .sb{
        width: 100px;
    }
    .sipnopsis-desc{
        width: 300px;
    }
    .recomend h1 {
        font-size: 15px;
    }
    .detail-2 p {
        color: #FFF;
        font-family: Montserrat;
        padding: 4px;
        font-size: 12px;
    }
    .copyright{
        font-size: 13px;
    }
    .logofot{
        display: none;
    }
    .linked{
        grid-template-columns: repeat(4, 1fr);
        font-size: 12px;
    }
}

@media (max-width: 360px){
    .navbar {
        padding: 0 15px;
        gap: 4px;
    }
    .detailframe {
        width: 340px;
    }
    .detail-2 h1 {
        font-size: 20px;
        width: 300px;
    }
    .stasusbook, .rentbutton {
        font-size: 10px;
        width: 100px;
        margin: 50px 0px 0px -125px;
        padding: 1px;
    }
    .box-2 {
        width: 340px;
    }
}

@media (max-width: 320px) {
    .logo-nav a img{
        margin-left: 10px;
        width: 3em;
    }
    .navbar {
        padding: 0 15px;
        gap: 10px;
    }
    .navigator p {
        font-size: 10px;
        margin-bottom: 7px;
        padding: 3px;
    }
    .navigator{
        display: block;
    }
    .login{
        width: 50px;
        height: 25px;
    }
    .sidebar {
        border: none;
        width: 60%;
        margin: 5px auto;
        gap: 3px;
        height: 100%;
    }
    .perpus{
        margin: 0px 0px 0px -35px;
        width: 100px;
    }
    .ebook{
        margin: -97px 0px 0px 55px;
        width: 100px;
    }
    .umkm{
        margin: -95px 0px 0px 150px;
        width: 100px;
    }
    .box-bg {
        width: 105px;
        height: 180px;
        margin-bottom: -100px;
        margin-left: -222px;
    }
    .detailframe {
        width: 320px;
        height: 750px;
        z-index: 1;
        margin-top: 20px;
        margin-left: -11px;
    }
    .detail-2 {
        width: 280px;
        height: 750px;
        margin-left: -85px;
        margin-top: 125px;
    }
    .photobook img {
        width: 75px;
        height: 100px;
        margin: 25px 10px 0px 30px;
    }
    .content {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        padding: 10px;
    }
    select.corner-lib {
        font-size: 10px;
    }
    .logo-nav img{
        margin-left: -50px;
    }
    .navigator {
        margin-right: -60px;
    }
    .catalog {
        margin: -385px 30px 0px 200px;
    }
    .frame-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .frame-card {
        padding: 8px;
    }
    .box-2 {
        width: 320px;
        height: 430px;
        margin-top: 50px;
        margin-left: 0px;
    }
    .detail-2 h2{
        font-size: 15px;
    }
    .detail-2 h1{
        font-size: 20px;
    }
    .sipnopsis, .detailbook{
        font-size: 10px;
        display: none;
    }
    .stasusbook{
        font-size: 10px;
        width: 130px;
    }
    .rentbutton{
        font-size: 10px;
        width: 130px;
    }
    .sb {
        margin: 0px 0px 0px -120px;
    }
    .stasusbook, .rentbutton {
        margin: -6px 0px 0px -80px;
        padding: 1px;
    }
    .sipnopsis-desc{
        width: 300px;
    }
    .recomend h1 {
        font-size: 15px;
    }
    .linked{
        font-size: 10px;
    }
    .copyright{
        font-size: 10px;
    }
    .logofot img {
       display: none;
    }
    .recomend h1{
        font-size: 12px;
    }
}