* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}


body {
    font-family: "Poppins", sans-serif;
    background-color: #161010;
}

.header {
    background-color: #2a1e13;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 63px;
    margin-right: 0;
    padding: 20px;
    border-radius: 20px;
    top: 0;
    margin-top: -10px;
    box-shadow: 0 0 10px rgba(239, 233, 233, 0.5);
    z-index: 999;
    
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navbar ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navbar li {
    list-style: none;
    gap: 5rem;
}

.header-logo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
}

.navbar a {
    margin-right: 1rem;
    margin-left: 1rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
}

.navbar a:hover {
    color: #8d7156;
}

.header-logo span {
    color: #8d7156;
    font-style: italic;
}

.main-section {
    background-image: url(img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 80vh;
    position: relative;
    display: flex;
    justify-content: space-around;
    color: #fff;
    z-index: -1;
   

}

.main-section::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgb(23, 15, 15) 3%, rgba(255, 255, 255, 0) 30%);
}

.main-text {
    margin-left: 75px;
    margin-top: 100px;
}

.main-text h2 {
    font-size: 45px;
    font-weight: 700;
    line-height: -1px;
}

.main-text button {
    height: 2rem;
    width: 10rem;
    background-color: #2a1e13;
    color: hsl(0, 0%, 100%);
    border: 3px solid #362c23;
    box-shadow: -10 0 5rem rgba(141, 113, 86, 0.7);
    border-radius: 20px;
    font-size: 15px;
    margin-top: 15px;
}

.main-img {
    margin-top: 90px;
}

.main-img img{
    width: 400px;
}

.main-img-2 {
    margin-left: 10rem;
    margin-top: -5rem;
    margin-bottom: 10rem;
}

.main-img-2 img {
    width: 500px;
}

.header-book {
    text-align: center;
    color: #fff;
}

.accordion {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 400px;
    gap: 16px;
    transition: 0.3s;
    margin-top: 50px;
    margin-bottom: 80px;
    overflow: hidden;

}

.accordion:hover {
    gap: 0;
}

.accordion h2{
    font-weight: 400;
    font-size: 20px;
    line-height: 45px;
    border-bottom: 2px solid #fff;
    white-space: nowrap;
}

.accordion li {
    position: relative;
    overflow: hidden;
    flex: 0 0 80px;
    border-radius: 50px;
    opacity: 0.75s;
    cursor: pointer;
}

.accordion li img {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accordion li,
.accordion li img,
.accordion li .content,
.accordion li .content span {
    transition: 0.3s;
}

.accordion li .content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    color: #fff;
    padding: 15px;
    background: rgba(209, 205, 201, 0.1);
    background: linear-gradient(0deg, rgb(0 0 0 / 70%) 10%, rgb(255, 255, 255 / 0%) 100%);
    opacity: 0;
    visibility: hidden;
}

.accordion li .content span {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 50px;
    translate: -300px 0;
    visibility: hidden;
    opacity: 0;
}

.accordion li:hover {
    flex: 0 1 260px;
    scale: 1.1;
    z-index: 10;
    opacity: 1;
}

.accordion li:hover 
.content {
    opacity: 1;
    visibility: visible;
}

.accordion li:hover span {
    translate: -50% 0;
    opacity: 1;
    visibility: visible;
}

.book-collection {
    color: #fff;
    padding: 20px;
    margin: 40px;
}

.header-collection {
    text-align: center;
    margin-bottom: 20px;
}

.list-collection {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-left: 18px;
    flex-wrap: wrap;
    padding: 1em;
}

.row {
    background-color: #0b0b0a;
    padding: 1rem;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-out;
    
}

.row:hover {
    background-color: rgba(95, 95, 90, 0.1);
    box-shadow: 0 0 5px rgba(218, 214, 214, 0.5);
}

.header-collection h1 {
    font-size: 30px;
}

.list-collection img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10.5px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.list-collection h3, p {
    font-size: 15px;

}

.button-collection {
    display: flex;
    gap: 0.5rem;
}

.button-collection button {
    background-color: #e3dede;
    border: none;
    outline: none;
    padding: 5px;
    margin-top: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
}

.buy {
    width: 100px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 30px;
    transition: all 0.3s ease-out;
}

.buy:hover {
    background-color: #8d7156;
}

.cart {
    transition: all 0.3s ease-out;
}

.cart:hover {
    background-color: #8d7156;
}


.bx-heart {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    transition: all 0.2s ease-out;
}

.best-book {
    color: #fff;
    font-size: 25px;
    margin-top: 100px;
}

.header-best-book {
    text-align: center;
    font-size: 20px;
    margin-bottom: 8px;
}

.main-best-book {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin-left: 90px;
    margin-top: -20px;
    margin-bottom: 50px;
}

.main-best-book button {
    border: 2px solid #392a1d;
    padding: 8px 30px;
    border-radius: 18px;
    margin-top: 10px;
    background-color: rgb(27, 26, 26);
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 15px;
    justify-content: space-around;
    box-shadow: 0 0 3px rgba(143, 114, 87, 0.5);
}

.deskripsi-book {
    max-width: 500px;
    font-size: 18px;
    margin-right: 33px;
}

.footer {
    background: #2a1e13;
    color: #fff;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-header {
    max-width: 400px;
}

.footer-header h2 {
    font-size: 30px;
}

.footer-header span {
    color: #8d7156;
    font-style: italic;
}

.footer-header p {
    font-size: 15px;
}

.media-footer i {
    font-size: 30px;
    margin-top: 10px;
    transition: all 0.3s ease-out;
    background-color: #33271c;
    border-radius: 100%;
    padding: 5px;
    margin-right: 3px;
}

.media-footer i:hover {
    color: #8d7156;
    transform: scale(1.1, 1.1);
}

.list-link {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: 25px;
    gap: 5rem;
}

.list-link li {
    list-style: none;
}

.list-link a {
    text-decoration: none;
    color: #fff;
}

.list-style a:hover {
    color: #8d7156;
}

.link-footer-2 {
    margin-top: -50px;
}

.link-footer-3 {
    margin-top: -25px;
}

.footer-copy {
    background-color: #2a1e13;
    color: #fff;
    text-align: center;
    padding-bottom: 20px;
}



