/* ================ Reset ================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    border: none;
    background: none;
}



/* ================ Global ================ */
h1, h2, p, a {
    color: white;
    font-family: system-ui;
}

a:hover {
    color: rgb(50, 50, 220)
}

button {
    cursor: pointer;
}

img {
    /* background: rgb(32, 32, 32); */
    background: linear-gradient(to top right, rgb(20,20,20), rgb(40,40,40));
}




/* ============================================ */
/* ================ Background ================ */
/* ============================================ */
html {
    scroll-behavior: smooth;
    background-color: black;
}

body {
    min-height: 100vh;
    background: linear-gradient(to left bottom, rgb(8,8,18), rgb(5,5,5));
}



/* ======================================== */
/* ================ Header ================ */
/* ======================================== */
header {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 70px;
    background: linear-gradient(rgb(0, 0, 100), rgb(0, 0, 50));
}

header h1 {
    text-shadow: rgba(0,0,0,0.50) 0 0 15px;
}



nav {
    position: sticky;
    top: 0;
    z-index: 1;

    background: rgb(27,27,27);
    box-shadow: rgba(0,0,0, 0.30) 0 10px 10px;
}

nav ul {
    display: flex;
    align-items: center;
    
    margin: auto;
    max-width: 1080px;
    
    height: 25px;
    padding-left: 10px;
}

nav a {
    white-space: nowrap;
    font-weight: 500;
    margin-right: 12px;
}




/* ====================================== */
/* ================ Main ================ */
/* ====================================== */
main {
    margin: 0 auto;
    width: 100%;
    max-width: 1080px;
    min-height: 100vh;
    
    padding-top:    40px;
    padding-left:   10px;
    padding-right:  10px;
    padding-bottom: 20px;
}   




/* ================ Sections ================ */
section {
    overflow: hidden;
    margin-bottom:          50px;
    border-top-left-radius:  8px;
    border-top-right-radius: 8px;
    background: rgb(15,15,15);
    box-shadow: rgba(0,0,0,0.50) 0 0 15px;
}

section h2 {
    display: flex;
    justify-content: center;
    
    background: linear-gradient(rgb(0, 0, 100), rgb(0, 0, 50));
}



/* ================ Containers ================ */
section div {
    margin: 15px;
}



/* ========================================= */
/* ================ Anchors ================ */
/* ========================================= */
#books a {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    overflow: hidden;
    border-radius: 5px;
    gap: 2px;
    margin-bottom: 16px;
}

#books a:hover img {
    filter: brightness(1.05);
}

#books img {
    display: block;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 2/3;
}





/* ================ Navigation ================ */
#gohead {
    position: fixed;
    bottom: 25px;
    right:  25px;

    border-radius: 15px;
    width:  30px;
    height: 30px;
    background-color: darkblue;
    box-shadow: rgba(0,0,0, 0.50) 0 0 12px;
}

#gohead:hover {
    background-color: rgb(0, 0, 180);
}

#gohead p {
    color: white;
    font-size: 15px;
    margin-top: -5px;
}



/* ======================================== */
/* ================ Footer ================ */
/* ======================================== */
footer {
    box-shadow: black 0 0 20px;
}

footer h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    
    text-shadow: rgba(0,0,0,0.50) 0 0 15px;
    background: linear-gradient(rgb(0, 0, 100), rgb(0, 0, 50));
    min-height: 90px;
}

footer div {
    text-align: center;
    background: linear-gradient(rgb(20,20,20), black);
    height: 24px;
}

footer a {
    font-weight: 500;
}