h1, h2, h3, h4, h5, p, a, span, summary, details { 
    color: white;
    font-family: Muli, sans-serif;
} 

a {
    text-decoration: none
}

body {
    width:100%;
    margin: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url(../assets/img/slideshow/1.jpg) no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    background-color: black;
    section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

header {
    background-color: rgb(7, 0, 48);
    height: 5em;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 100px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    width: 100%;
    padding-right: 1em;
    button {
        background-color: rgb(255, 255, 255);
        border-radius: 100%;
        height: 40px;
        width: 40px;
        cursor: pointer;
        border: none;
        font-size: 15px;
        align-items: center;
    }
}

.logo {
    margin-left: 0;
    padding-left: 0;
}

nav {
    margin-left: auto ;
    ul {
        display: flex;
        list-style: none;
        gap: 5em;
        margin: 0;
        padding: 0;
        align-items: center;
    }
}

input#search {
    border: none;
    border-radius: 5px;
    padding: 5px;
    margin-right: -60px;
}

button i {
  scale: 1.00;
  transition: scale 0.15s ease;
}

button:hover i {
  scale: 1.05;
}

i {
    margin-top: 2.5px;
}

.BookDescription {
    color: rgb(200, 200, 200);
}

a:hover {
    color: rgb(188, 188, 188);
}

footer {
    background-color: rgb(7, 0, 48);
    height:3.5em;
    display: flex;
    align-items: center;
    bottom: 0;
    width: 100%;
    button {
        background-color: rgb(255, 255, 255);
        border-radius: 100%;
        height: 40px;
        width: 40px;
        cursor: pointer;
        border: none;
        font-size: 23px;
    }
    ul {
        width: 100%;
        display: flex;
        /* flex-direction: row; */
        gap: 8em;
        list-style:none;
        /* background-color: rgb(12, 0, 50); */
        justify-content: space-evenly;
        align-items: center;
    }
}

.socials {
    justify-content: flex-end;
    gap: 2em;
    margin-right: 20px;
}

.page-links {
    display: flex;
    justify-content: space-evenly;
    gap: 20em;
}

.book-caroussel {
    background-color: rgb(7, 0, 48);
    width: 600px;
    border-radius: 20px;
    padding: 20px;
    color: white;
    box-shadow: 10px 10px 10px black;
    margin-bottom: 100px;
    margin-left: 80px;
}

.book-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.book-text {
    flex: 1;
}

.book-image {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    img {
        width:90%;
        height: auto;
        border-radius: 10px;
        position: relative;
        cursor: pointer;
        transition: scale 0.15s ease;   
        @media (min-width: 760px) {
            max-width: 300px;
        }
    }
}

.book-image img:hover {
    scale: 0.97;
}

button.nextBookBtn {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    border: none;
    font-size: 15px;
    align-items: center;    
    color: white;
    font-size: 20px;
    position: absolute;
    bottom: 225px;
}

.nextBookBtn i {
    margin-left: 0px;
    transition: margin-left 0.15s ease;
}

.nextBookBtn:hover i {
    margin-left: 5px;
    scale: 1.0;
}

button.descBtn {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    height: 35px;
    width: 35px;
    cursor: pointer;
    border: none;
    font-size: 15px;
    align-items: center;    
    color: white;
    font-size: 20px;
    i {
        margin-left: 0px;
        transition: margin-top 0.15s ease;
    }
}

.descBtn:hover i {
    margin-top: 8px;
    scale: 1.0;
}

.buttonLayout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

summary {
    list-style: none;
    cursor: pointer;
    i {
        margin-left: 10px;
        transition: margin-bottom 0.15s ease;
    }
}

.book-grid {

    gap: 50px;
    text-align: center;
    width: 90%;
    margin: 20px auto;
    height: auto;
    @media (min-width: 724px) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

.book {
    background-color: rgb(5, 0, 33);
    padding: 20px;
    border-radius: 30px;
    color: white;
    box-shadow: 10px 10px 10px black;
    img {
        margin-top: 15px;
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        cursor: pointer;
        transition: scale 0.15s ease;
    }
}

.book img:hover {
    scale: 0.97;
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Voor tablets en kleinere schermen */
@media screen and (max-width: 1024px) {
    .header-container nav ul {
        gap: 2em;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav {
        margin-left: 0px;
    }

    .book-caroussel {
        margin: 0 auto 60px auto;
        width: 50%;
    }

    .book-content {
        flex-direction: column;
        align-items: center;
    }

    .book-image img {
        max-width: 90%;
    }

    button.nextBookBtn {
        position: static;
        margin-top: 20px;
    }

    footer ul {
        flex-wrap: wrap;
        gap: 1em;
        padding: 10px;
    }
}

/* Voor mobiele schermen */
@media screen and (max-width: 768px) {
    header {
        height: auto;
        padding: 10px 0;
        position: static;
        width: 100%;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 1em;
        padding: 0px;
    }

    .logo img {
        height: 60px;
    }

    nav ul {
        flex-direction: column;
        gap: 1em;
    }

    input#search {
        width: 80%;
        margin: 0 auto;
        display: block;
    }

    .book-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .book-caroussel {
        width: 90%;
    }

    footer {
        height: auto;
        padding: 20px 0;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
    }
}
